- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: commands for Disk replacemant mirror boot disk...
Operating System - HP-UX
1753469
Members
4975
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО08-19-2009 12:32 AM
тАО08-19-2009 12:32 AM
We have an HP9000 N-class server running 11.00,
and its hotswappable mirror boot disk does not respond anymore to diskinfo or pvdisplay, and it does not show up on any ioscan. Still in /etc/lvmtab it shows up:
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0 -->(this one is dead)
Furthermore lvlnboot -v complains that the disk is missing. Yeah right.
So we suspect the disk is dead
I have ordered a new disk, in the meantime I try to puzzle out what to do when I get the new good disk.
Do I need to just to swap the disks (or do run some oommand before I remove it ?)
and then run vgcfgrestore and vgchange ?
Or did I miss anything ?
Thanks
and its hotswappable mirror boot disk does not respond anymore to diskinfo or pvdisplay, and it does not show up on any ioscan. Still in /etc/lvmtab it shows up:
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0 -->(this one is dead)
Furthermore lvlnboot -v complains that the disk is missing. Yeah right.
So we suspect the disk is dead
I have ordered a new disk, in the meantime I try to puzzle out what to do when I get the new good disk.
Do I need to just to swap the disks (or do run some oommand before I remove it ?)
and then run vgcfgrestore and vgchange ?
Or did I miss anything ?
Thanks
Look before you leap
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 01:18 AM
тАО08-19-2009 01:18 AM
Solution
Here is the procedure of replacing a failed harddisk in a mirrored (software - mirror ux) VG.
1. As you mentioned the disk is completely dead and hot swappable you can go ahead and
replace the disk physically after that
2. Login as root
3. ioscan -fnCdisk (Detecting the new disk) and note down the path of the Disk
say c2t6d0 is our new disk
4. pvcreate -B /dev/rdsk/c2t6d0 creating PV on the new disk with boot option.
5. vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0 restoring the VG information to the new disk
6.vgchange -a y /dev/vg00 re-activate the VG
7. vgsync /dev/vg00 Synchronize the VG - This will resync each and every LV and will take 30 to 60 minutes depending on the size of the LVs.
8. Use mkboot(1M) to place boot utilities in the boot area:
mkboot /dev/rdsk/c0t3d0
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c2t6d0
9. lvlnboot -v Verify the disk is properly updated, an ideal output of this command look like this,
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
1. As you mentioned the disk is completely dead and hot swappable you can go ahead and
replace the disk physically after that
2. Login as root
3. ioscan -fnCdisk (Detecting the new disk) and note down the path of the Disk
say c2t6d0 is our new disk
4. pvcreate -B /dev/rdsk/c2t6d0 creating PV on the new disk with boot option.
5. vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0 restoring the VG information to the new disk
6.vgchange -a y /dev/vg00 re-activate the VG
7. vgsync /dev/vg00 Synchronize the VG - This will resync each and every LV and will take 30 to 60 minutes depending on the size of the LVs.
8. Use mkboot(1M) to place boot utilities in the boot area:
mkboot /dev/rdsk/c0t3d0
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c2t6d0
9. lvlnboot -v Verify the disk is properly updated, an ideal output of this command look like this,
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 01:31 AM
тАО08-19-2009 01:31 AM
Re: commands for Disk replacemant mirror boot disk N-class
hi,
check this link :
http://piyut.wordpress.com/2008/02/06/replace-primary-boot-disk-at-hp-ux/
or follow the oficial procedure from HP :
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
mikap
check this link :
http://piyut.wordpress.com/2008/02/06/replace-primary-boot-disk-at-hp-ux/
or follow the oficial procedure from HP :
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 01:48 AM
тАО08-19-2009 01:48 AM
Re: commands for Disk replacemant mirror boot disk N-class
I already had the document "When good disks go bad" , but for me the overview bu unix_admin is the cookbook recipte I wanted: thanks a million !!!
Look before you leap
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP