From single user I tried
VGChange. I got a message that said 0 volumes are active. So I then tried
vgexport. and it said volumes are active.
I have been trying to export my LVM (save the LVM so it can be accessed on the new install) so I can clear and re-setup my server from scratch. I am using the guide here. http://tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html
My VG (fileserver) is made of 4 drives with one LV (data) formatted ext3
I unmounted data and then tried
vgchange -an but it failed. I found eleswhere that I need to do
lvchange -an first. I tried that and got,
device-mapper: remove ioctl on failed: Device or resource busy Unable to deactivate fileserver-data (252:0)
I tried fuser and nothing shows up.
So I then found
dmsetup ls --tree and got
fileserver-data (252:0) ââ (8:65) ââ (8:33) ââ (8:49) ââ (8:17)
I read about kpartx but I don't have it and can't install it. I also remember reading that the export commands are not necessary. If I just reinstall ubuntu from scratch as it is now will VGimport work? I am wondering if I am making more work then I need to. The filesystem is unmounted and the system will be shut down. Its not like I am hot swapping or anything.
Result of 'df'
/dev/mapper/nas-root 236245760 181508940 42736156 81% / udev 1949492 4 1949488 1% /dev tmpfs 796812 1836 794976 1% /run none 5120 0 5120 0% /run/lock none 1992024 4 1992020 1% /run/shm none 102400 0 102400 0% /run/user /dev/sda1 233191 224808 0 100% /boot
Nothing seems to be related to the LV
I made this VG seperate from any system drives. It is literally 4 drives setup as a VG (fileserver) that VG is utilized 100% by LV (data). data is one partition 100% of the space formatted ext3. And no encryption