- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Replacing the failed disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 04:06 PM
07-01-2005 04:06 PM
Replacing the failed disk
Thanks & Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2005 05:02 AM
07-02-2005 05:02 AM
Re: Replacing the failed disk
1. Replace the failed disk.
2. To detect the new add disk
# ioscan -fnC disk
3. Restore the LVM header on the disk:
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t3d0
4. Activate the volume group:
# vgchange -a y /dev/vg00
5. Check, which logical volumes have extents on the hard disk:
# pvdisplay -v /dev/dsk/c3t3d0 |more
6. The backup of these logical volumes has to be restored.
For logical volumes with file systems a newfs has to be executed prior to restoring the data.
# newfs -F vxfs /dev/vg01/rlvol5
# newfs -F vxfs /dev/vg01/rlvol6
...
7. Then reboot the server
# shutdown -ry 0
Now you need to restore your filesystem backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2005 05:23 AM
07-02-2005 05:23 AM
Re: Replacing the failed disk
The steps given by twang are absolutely right except what i feel is that you may have to boot the system in lvm maintenance mode (hpux -lm) to do these steps. Now since you are saying that you dont have mirror, hope c3t3d0 is not a boot disk. if its a boot disk, then you may have to reignite the server. Best Luck
Cheers!!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2005 06:04 PM
07-02-2005 06:04 PM
Re: Replacing the failed disk
The vgcfgrestore command restores the LVM header informations(LVM structuaral info) from a backup config file which is created using vgcfgbackup.
However vgcfgrestore doesn't restore the LIF volume. So for a bootable disk you may have to use mkboot to create the lfi volume, after the vgcfgrestore.
Use #vgcfgrestore -l -n vgxx will display the content of the backup file(vgxx)
Regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2005 12:17 AM
07-03-2005 12:17 AM
Re: Replacing the failed disk
All these steps needs to be executed in LVM maintenance mode if the failed disk was a mirrored bootable disk. For disks in other than root VG's the vgcfgrestore can be done without reboot for hot pluggable disks by stopping access to VG & deactivating VG.
For non-hot pluggabe disks also it can be done provided you have some spare disk allready connected to the systm & you can wait for removing defective till next reboot.
HTH,
Devender