- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11.11 - Replace primary mirror disk from...
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
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
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
06-10-2011 01:16 AM
06-10-2011 01:16 AM
HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
our hpux is B.11.11.
I completly lost the primary boot disk (mirrored)and the IOSCACN shows NO_HW.
I have another same modal HPUX machine with the mirrored boot disk (it is not in use but the machine is up and running).
So I am going to use one of the boot disk from that machine.
Anyway.. I have removed the secondary disk on the old machine and put in this live machine.
The disk was claimed.
Can you please tell me how to remove or delete all existing information from the disk, before
start the setup?
I tried to delete using pvremove /dev/rdsk/c1t2d0 and getting the following message.
The physical vulume /dev/rdsk/c1t2d0 belongs to volume group /dev/vg00, could not remove.
Please advise me.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 01:26 AM
06-10-2011 01:26 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
try following the famous document to re-mirror the disk again:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
To owerwrite the old LVM headers from the disk, #pvcreate -f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 03:06 AM
06-10-2011 03:06 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
# pvdisplay /dev/dsk/cxtydz
# pvcreate -f /dev/dsk/cxtydz
Force the creation of a physical volume (thus
deleting any file system or volume manager
information present) without first requesting
confirmation.
man pvcreate
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 03:20 AM
06-10-2011 03:20 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
Yes, it worked.
I have did the vgcfgrestore and vgsync
its now working.
I will reboot using primary disk and let see the the outcome.
Regards, Dunstan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 06:18 AM
06-10-2011 06:18 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
I have now fixed this primary disk with your help, and rebooted successfuly using primary boot disk.
However, the secondary disk is now showing Stale, when I do the
pvdisplay -v /dev/dsk/c2t2d0
The stale disk is in /dev/vg00/lvol3.
by doing`bdf` i can see it is mounted to root (/).
FYI, there were no stale before I doing the work on primary disk.
Please advise.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 07:57 AM
06-10-2011 07:57 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
Did you mirror the secondary disk correctly, considering the contigious order of the first 3 lvols? I mean, you mirrored lvol1 first, then lvol2 and then lvol3 and so on....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 08:14 AM
06-10-2011 08:14 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
I followed this step.
pvcreate -f /dev/rdsk/c1t2d0
pvcreate -B /dev/rdsk/c1t2d0
mkboot -l /dev/dsk/c1t2d0
mkboot -a "hpux -lq" /dev/dsk/c1t2d0
vgcfgrestore â n vg00 /dev/rdsk/c1t2d0
vgsync vg00
vgchange -a y /dev/vg00
Then rebooted using primary boot disk.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2011 10:26 AM
06-10-2011 10:26 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
what if you issue:
#lvsync /dev/vg00/lvol3
I don't know in what state was the lvol3 before the failure of your disk.
If the lvsync won't help, then try creating the mirror from scratch, which is described in Appendix D of the doc 'when good disks go bad'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2011 02:26 AM
06-14-2011 02:26 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
It will be great if you are checking the output of #lvdisplay /dev/vg00/lvol3 and check for each pvdisplay -v which will give pe status (allocated /free ) pls ensure both disks are having same no of pe's free. otherwise do a #lvsync /dev/vg00/lvol3 .it will solve the issue.
Cheers
Roopesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2011 02:33 AM
06-14-2011 02:33 AM
Re: HPUX 11.11 - Replace primary mirror disk from another hpux machine secondary mirror disk
Thanks for your help resolving this issue.
Last Friday, I did the vgsync again and it was success, everything sync correctly.
all the stale disk disappeared.
Then I did the ignite backup successfully.
But..
today, the replaced disk crashed completely.
ioscan showes as NO_HW, and everything stale on this disk.
I am not sure, the issue is with the disk, or somewhere else.
Can someone point me in correct direction.
Thanks,