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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX rootvg issues

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
Hey

I had a failed rootvg disk, hdisk1 and its been replaced.

lsvg -p rootvg gives me:

Code:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         342         69..00..55..109..109
0516-304 : Unable to find device id 00c9e2cf0eaa207a in the Device
        Configuration Database.
00c9e2cf0eaa207a  missing           546         350         77..00..55..109..109

How can I put new hdisk1 in?

I also did
rmdev -dl hdisk1;
cfgmgr;
extendvg rootvg hdisk1
Code:
0516-008 extendvg: LVM system call returned an unknown
        error code (-271).
0516-792 extendvg: Unable to extend volume group.

Any ideas?
TIA


 
try to reducevg - remove the missing disk using its PVID 00c9e2cf0eaa207a

 
I thought you always had to remove the disk from the VG before you remove the device. Going by Serial Number should remove it.

I also thought that you had to add the bootstrap before adding a disk to a mirror of your primary boot device.

bosboot -ad /dev/hdisk1

Then you need to add hdisk1 as your seconday boot device.

Maybe different in 5.3......
 
You have to unmirrovg the VG first before you can reducevg.

man unmirrovg,
Example number 3:

3. To replace a bad disk drive in a mirrored volume group, enter:

unmirrorvg workvg hdisk7

reducevg workvg hdisk7

rmdev -l hdisk7 -d

replace the disk drive, let the drive be renamed hdisk7

extendvg workvg hdisk7

mirrorvg workvg

Note: By default in this example, mirrorvg will try to create 2 copies for
logical volumes in workvg. It will try to create the new mirrors onto the
replaced disk drive. However, if the original system had been triply
mirrored, there may be no new mirrors created onto hdisk7, as other copies
may already exist for the logical volumes. This follows the default
behavior of unmirrorvg to reduce the mirror copy count to 1.

laters
zaxxon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top