Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing mirrored drive

Status
Not open for further replies.

june54

Technical User
Jun 4, 2003
160
US
Had hdisk1 crash the drive was mirroed . Bad drive was replaced now I have /usr in stale mode . I have tried reducevg rootvg and the PVID it would not remove . What do i need to do ........
 
Have you backed up your system lately? Was all of rootvg mirrored?

Have you tried rmdev -l <PVID> -d?

Then bring the new disk into rootvg and remirror, including doing a bosboot.
 
Thanks for the quick response . We have a 2 week olds mksysb and it my understanding all of rootvg was mirrored .
I tried your command no luck .. At this point they are going to re-install the O/S .. I was trying to avoid that route .. Do you have a step by step procedure remove a mirrored disk drive from the system ... The way Iam doing it is not correct ...

Thanks for your help .....
 
If the disk is completely mirrored, then to replace hdisk1 from an hdisk0/hdisk1 mirror:

1. unmirror rootvg hdisk1 (remove copies from disk)
2. chpv -c hdisk1 (clear boot image so it doesn't try to boot)
3. bosboot -ad /dev/hdisk0 (create new boot image)
4. bootlist -m normal hdisk0 (boot only from hdisk0)
5. reducevg rootvg hdisk1 (remove hdisk1 from the rootvg)
6. rmdev -dl hdisk1 (remove device from ODM)
7. physically remove/replace bad disk
8. mirrorvg rootvg (by default creates 2 copies onto replaced disk)
9. bosboot -ad /dev/ipldevice (new boot image - ipldevice can be used instead of the actual disk)
10. bootlist -m normal hdisk0 hdisk1 (reset bootlist for both disks)
 
THANKS A Million .... Have a great DAY !!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top