- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replace mirror boot disk on ia64
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
04-15-2008 10:38 AM
04-15-2008 10:38 AM
I Need replace primary boot disk on ia64.
# idisk -wf /tmp/partitionfile /dev/rdsk/c0t6d0
# diskinfo /dev/rdsk/c0t6d0s1 | grep size
# diskinfo /dev/rdsk/c0t6d0s3 | grep size
# efi_fsinit -d /dev/rdsk/c0t6d0s1
# mkboot -e -l /dev/rdsk/c0t6d0
# efi_ls -d /dev/rdsk/c0t6d0s1 (to check EFI)
# lifls -l /dev/rdsk/c0t6d0s2 (to check LIF)
# efi_cp -d /dev/rdsk/c0t6d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x
# mkboot -a "boot vmunix -lq" /dev/rdsk/c2t6d0
# mkboot -a "boot vmunix -lq" /dev/rdsk/c0t6d0
# dd if=/dev/rdsk/c0t6d0s3 of=/dev/rdsk/c2t1d0s3 bs=1024k
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t6d0s2
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c0t6d0s2",
Detach the PV or detactivate the VG, before restoring the PV.
fail when i use vgcfgrestore... any idea??
Thanks
Miguel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 10:57 AM
04-15-2008 10:57 AM
Re: replace mirror boot disk on ia64
# pvchange -a n /dev/...
now replace the disk
# vgcfgrestore ...
# pvchange -a y ...
see
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
for complete steps!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:17 AM
04-15-2008 11:17 AM
Re: replace mirror boot disk on ia64
# pvchange -a N /dev/dsk/c0t6d0
pvchange: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t6d0" belongs.
???
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:22 AM
04-15-2008 11:22 AM
Re: replace mirror boot disk on ia64
Did you vgreduce this disk???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:22 AM
04-15-2008 11:22 AM
Re: replace mirror boot disk on ia64
Did you vgreduce this disk???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:23 AM
04-15-2008 11:23 AM
SolutionHope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 12:06 PM
04-15-2008 12:06 PM
Re: replace mirror boot disk on ia64
# pvchange -a n /dev/dsk/c0t6d0s2
Warning: Detaching a physical volume reduces the availability of data
within the logical volumes residing on that disk.
Prior to detaching a physical volume or the last available path to it,
verify that there are alternate copies of the data
available on other disks in the volume group.
If necessary, use pvchange(1M) to reverse this operation.
Physical volume "/dev/dsk/c0t6d0s2" has been successfully changed.
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t6d0s2
Volume Group configuration has been restored to /dev/rdsk/c0t6d0s2
# pvchange -a y /dev/dsk/c0t6d0s2
Physical volume "/dev/dsk/c0t6d0s2" has been successfully changed.
# vgsync /dev/vg00
Resynchronized logical volume "/dev/vg00/lvol1".
Resynchronized logical volume "/dev/vg00/lvol2".
Resynchronized logical volume "/dev/vg00/lvol9".
Resynchronized logical volume "/dev/vg00/lvol3".
Resynchronized logical volume "/dev/vg00/lvol4".
Resynchronized logical volume "/dev/vg00/lvol5".
Resynchronized logical volume "/dev/vg00/lvol6".
Resynchronized logical volume "/dev/vg00/lvol7".
Resynchronized logical volume "/dev/vg00/lvol8".
Resynchronized logical volume "/dev/vg00/lvol10".
Resynchronized volume group "/dev/vg00".
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 12:06 PM
04-15-2008 12:06 PM
Re: replace mirror boot disk on ia64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 12:07 PM
04-15-2008 12:07 PM
Re: replace mirror boot disk on ia64
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
