hi,
I've a little problem...
I'm on aix 5.3TL9. I've a Vg with 5 pv, 90% of this vg was used by a FS, which has been removed.
Can i remove some PV from VG without umount other FS? How?
Thanks,
hi,
I've a little problem...
I'm on aix 5.3TL9. I've a Vg with 5 pv, 90% of this vg was used by a FS, which has been removed.
Can i remove some PV from VG without umount other FS? How?
Thanks,
If there aren't any PP in use on the drive then just do:
reducevg VGname hdisk##
Also see: man reducevg
HTH
Thanks for your answer, but it would be too much easy...
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk30 active 1399 1395 280..280..279..280..276
hdisk5 active 199 199 40..40..39..40..40
hdisk2 active 199 199 40..40..39..40..40
hdisk14 active 105 105 21..21..21..21..21
hdisk15 active 919 919 184..184..183..184..184
hdisk22 active 99 99 20..20..19..20..20
hdisk21 active 99 99 20..20..19..20..20
hdisk11 active 99 99 20..20..19..20..20
disk wanted to be remove is hdisk30...of course...
Is it possible to move data to hdisk 11,21 or 22?
If I'm reading your output correctly, you have 1399 PP's on hdisk30 and 1395 of them are free. If that's right then all you have to do is move the PPs over to any of the other disks in the VG that have enough free space on them.
# migratepv hdisk30 hdisk11
# reducevg VGname hdisk30
Well... finally it was easy...
I thought migratepv was for migrate pv between vg... i'ven't understood man ^^
Thx a lot