Ubuntu – Why is the /dev/loop0 showing full

12.04memorymemory usage

I have sufficent memory , but somehow I get my /dev/loop0 showing usage of 9 GB
here's my df-h.

Filesystem      Size  Used Avail Use% Mounted on
/dev/loop0       12G   10G  1.4G  88% /
udev            2.0G  4.0K  2.0G   1% /dev
tmpfs           785M  904K  784M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G  1.9M  2.0G   1% /run/shm
/dev/sda6        20G   14G  6.4G  68% /host
/dev/sdb1       400M  4.5M  395M   2% /media/LABEL1
/dev/sdb2       3.3G  1.9G  1.2G  62% /media/LABEL2
/dev/sda5       175G  142G   33G  82% /media/DATA

I tried checking out what was in there. But that only cause a loadof gibberish to be printed on the terminal following which my system crashed.

Any help would be appreciated.

Best Answer

This loop device is not taking up any space. Image and ISO files can be mounted to this virtual device. With /dev/loop0 being mounted on /, I assume this is a Wubi system? If so, something else is using your space. If this is a Wubi system, /dev/loop0 will show the space left and used on the virtual hard-drive image on the physical hard-drive.

You can use the "du" command to figure out the real file(s) taking your space.