PDA

View Full Version : Problems with lvm/mount


patulo
24th August 2006, 16:52
Hi. I'm having a problem with lvm commands which I think are correct.
The thing is that if I try to remove an LV, it seems to be busy, even if it is unmounted: look:
rs01:/usr/local/sbin# lvremove /dev/vg00/vs104
Can't remove open logical volume "vs104"

The mount command doesn't show anything related to vs104, and even worse, fuser -v -m /dev/vg00/vs104 shows nothing

Here is my complete /proc/mounts:

rs01:/usr/local/sbin# cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
udev /dev tmpfs rw 0 0
/dev/md2 / reiserfs rw 0 0
/dev/md2 /dev/.static/dev reiserfs rw 0 0
proc /proc proc rw,nodiratime 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/md0 /boot ext2 rw,nogrpid 0 0
/dev/md1 /var reiserfs rw 0 0
/dev/mapper/vg00-vservers /home ext3 rw,data=ordered 0 0
/dev/mapper/vg00-vs101 /home/vservers/vs101 ext3 rw,data=ordered 0 0
/dev/vg00/vs103 /home/vservers/vs103 ext3 rw,data=ordered 0 0
/dev/vg00/vs106 /home/vservers/vs106 ext3 rw,data=ordered 0 0
/dev/mapper/vg00-vs105 /home/vservers/vs105 ext3 rw,data=ordered 0 0
/dev/vg00/vs107 /home/vservers/vs107 ext3 rw,data=ordered 0 0
/dev/vg00/vs100 /home/vservers/vs100 ext3 rw,data=ordered 0 0

Any idea ???. Thank you in advance !!!

falko
26th August 2006, 01:40
I'm not quite sure, but maybe this article helps you? http://www.linuxdevcenter.com/pub/a/linux/2006/04/27/managing-disk-space-with-lvm.html

joeytriviano
19th September 2006, 12:48
Hi, I hadexactly the same problem as you, I tried to ask Vserver mailing-list http://www.paul.sladen.org/vserver/archives/200609/0102.html
Three possible solutions to this problem were given and one worked great for me!
Give it a try...