[Grml] Loop mount not automatically cleaned
][
mlist4suntong at yahoo.com
Tue Feb 6 05:36:38 CET 2007
Hi,
I noticed that loop mounts are not automatically cleaned in my system.
Is there any way that I can fix it?
Each time after I loop mount, the loop device number increased. When I do
ps, I found that there are many loop process in execution:
$ ps -eaf | grep loop
root 5566 1 0 Jan05 ? 00:01:44 [loop0]
root 5597 1 0 Jan05 ? 00:00:00 [loop1]
root 5603 1 0 Jan05 ? 00:00:00 [loop2]
root 10995 1 0 00:28 ? 00:01:41 [loop3]
root 26656 1 0 11:42 ? 00:01:40 [loop4]
root 6234 1 0 17:45 ? 00:00:00 [loop5]
Previously, the loop process will be gone after I umount the loop mount.
As the result, my disk space did not re-gain after deleting loop mounted iso
files:
sudo mount -o loop my-big.iso /mnt/tmp1
$ df
/dev/sda14 79631676 52241640 27390036 66% /lfs/cache12
/dev/loop3 4571190 4571190 0 100% /mnt/tmp1
sudo umount /mnt/tmp1
$ lsof | grep my-big
rm my-big.iso
$ df
/dev/sda14 79631676 52241640 27390036 66% /lfs/cache12
The my-big.iso is over 4G in size, but there is no space increase after
it being deleted. I've checked with lsof that no one is using it.
please help. thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sf.net/techdocs/
http://xpt.sf.net/tools/
More information about the Grml
mailing list