Hello, On Sun, 2007-01-07 at 02:39 +0000, ][ wrote: > On Sat, 06 Jan 2007 16:54:38 +0000, I wrote: > > > I noticed that my disk space did not re-gain after deleting a big iso file. > > Is it because that the iso file has been previously loop mounted? It was > > unmounted before deletion of cause: > > > > $ 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. why there is no space increase after > > it being deleted? I've checked with lsof that no one is using it. > > More info: > > I did the loop mount as usual: > > sudo mount -o loop my-big.iso /mnt/tmp1 > > I noticed that each time the loop device number increased. When I do ps, I > found that there are still 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] > > please comment >
Maybe the loop device is still set up even after unmounting it. Try the following command (replacing the loop device if necessary) : losetup /dev/loop0 To delete a loop device use : losetup -d /dev/loop0 -- regards, strawks <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part