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/ _______________________________________________ Grml mailing list - [email protected] http://lists.mur.at/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://grml.supersized.org/
