Hello,
Due to disk failure I lost certain lv.
Before running reducevg I'm trying to remove lv by using rmlv:
0516-1008 rmlv: Logical volume xxx must be closed. If the logical volume
contains a filesystem, the umount command will close the LV device.
lv is still open:
# lslv xxx
LOGICAL VOLUME: xxx VOLUME GROUP: rootvg
VG STATE: active/complete LV STATE: opened/syncd
I cannot use umount to close this lv since disk is gone and lv is no longer mounted.
How do I close this lv without using umount ?
I don't want to reboot if possible.
Thanks,
Vilius M.
Would this be sysdumpdev or something like that?
I think what I had to do was to add a new dump device on the other mirror then drop the old one. I was then able to do a bit more. If the disk (say hdisk0) has gone, you may have to do something like:
reducevg -d rootvg hdisk0
Sadly I haven't got the manual pages available any more given I've lost my last AIX server. Have a good read of that page, because getting it wrong could cause bad things to happen.
If it refuses, you might be into editing the ODM, which is a whole other discussion that i would not feel comfortable giving advice on.
I hope that these pointers help, but be careful. Perhaps you could post the output from:-
lsvg -l rootvg
lspv -v rootvg
If you have replaced the disk and rebuilt the mirrors, have you created the boot block on the new disk and adjusted the boot list? It doesn't happen automatically.
Kind regadrs,
Robin