Ubuntu Root partition full until /mnt/USB folder deleted

2013-02-19  Source: Original Site  Category:Ubuntu  Views:0 

Advertisement

I am running 6.06.2 Server as an email server and have been backing things up with a daily rsync to an external USB drive. This morning, following the cron.daily jobs my root partition was full. I could not find any problems with big log files or anything else. After looking all over I decided to unmount the USB drive and finally tried deleting the /mnt/USB/migration/zimbra folder that held my backups. That did the trick. But I do not understand why. Anybody out there know why?

Here's how I mount the USB drive:
sudo mount -t ext3 /dev/sda1 /mnt/USB/

Here's the output from my console while I was hosed:

$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 19G 18G 0 100% /
varrun 2.0G 48K 2.0G 1% /var/run
varlock 2.0G 4.0K 2.0G 1% /var/lock
udev 2.0G 112K 2.0G 1% /dev
devshm 2.0G 0 2.0G 0% /dev/shm
/dev/cciss/c0d0p3 437G 80G 335G 20% /opt

$ sudo du -s -h *
3.1M bin
9.6M boot
0 cdrom
224K dev
6.3M etc
112K home
4.0K initrd
0 initrd.img
76M lib
48K lost+found
8.0K media
18G mnt
80G opt
du: `proc/23471': No such file or directory
du: `proc/23573': No such file or directory
915M proc
24K root
8.0M sbin
4.0K srv
0 sys
1.3M tmp
182M usr
502M var
0 vmlinuz

So, I did the following:
$ sudo umount /mnt/USB
umount: /mnt/USB: not mounted

$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 19G 18G 0 100% /
varrun 2.0G 48K 2.0G 1% /var/run
varlock 2.0G 4.0K 2.0G 1% /var/lock
udev 2.0G 112K 2.0G 1% /dev
devshm 2.0G 0 2.0G 0% /dev/shm
/dev/cciss/c0d0p3 437G 80G 335G 20% /opt

/$ cd /mnt
/mnt$ ls -l
total 4
drwxr-xr-x 3 root root 4096 2008-06-19 06:25 USB
/mnt$ cd USB
/mnt/USB$ ls -l
total 4
drwxr-xr-x 3 root root 4096 2008-06-19 06:25 migration

/mnt/USB$ sudo rm -r -d migration/zimbra/

$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 19G 916M 17G 6% /
varrun 2.0G 48K 2.0G 1% /var/run
varlock 2.0G 4.0K 2.0G 1% /var/lock
udev 2.0G 112K 2.0G 1% /dev
devshm 2.0G 0 2.0G 0% /dev/shm
/dev/cciss/c0d0p3 437G 80G 335G 20% /opt

Related articles
  • Ubuntu Root partition full until /mnt/USB folder deleted 2013-02-19

    I am running 6.06.2 Server as an email server and have been backing things up with a daily rsync to an external USB drive. This morning, following the cron.daily jobs my root partition was full. I could not find any problems with big log files or any

  • Ubuntu root partition full? 2014-05-29

    I've got a separate home and root folder. I now wanted to download something but it says that I don't have enough space in /tmp. I had a look and it seems that my root partition (37 GB) is full. How can this be? I don't have so many programs to use s

  • Ubuntu Root partition full after upgrade 2014-09-29

    I upgraded from Hoary to Breezy the other day using apt-get. Afterwards everything seemed fine (or most things anyway). I played around a lot, logged on to different users, rebooted, everything ok. Then today I could suddenly not log in to any users.

  • Ubuntu Root partition full (sbackup) 2015-02-08

    Ok, while searching for a decent backup I reinstalled sbackup in the hope it was fixed (didn't realise it was abandonware). Anyway, the bug with filling the root partition got me. this happened me once before when trying sbackup but I found the tar.g

  • Ubuntu Root partition full! Now what? 2013-05-13

    My root is full, no disk space left. Home is on a different partition. I can't start synaptic to remove software anymore. What can I delete? The home partition still has space. Can I resize the / partition and the home partition to transfer space fro

  • Ubuntu Root Partition full, inaccessible installation - Please Help! 2015-03-02

    aaaaaaaarrrrrrggggggghhhhhhhh! My 1st HDD is partitioned so: 1 x root partition 1 x $home partition 1 x data partition I also have a second disk is currently empty, as I have only just installed it and was planning to use for media files and a system

  • Ubuntu Root partition full help 2013-02-18

    I was getting a disk full error on my / partition, which is sda2. I have /boot, /home, /opt, and /swap on other partitions. My / was 10GB. I booted to live disk, ran gparted, and shrank home to 200GB and expanded / to 20GB. After rebooting, gparted l

  • Ubuntu Root partition full - no space left on device 2015-05-17

    I'm using ubuntu server edition, for the past 3 days I unable to do "Rsync backup" which involves "mkdir" and "cp" functionality. my "df -h": Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG-root--lv 30G 29G 0 100% / tmpfs 2.9G 0 2.9G 0% /li

  • How can I get a larger Ubuntu root partition? 2012-05-10

    I have an Acer Aspire 3104 laptop running Windows Vista and Ubuntu 10.4. I installed Ubuntu using something called Wubi.exe from Windows. It installed Ubuntu and offers a boot menu that give preference (1st place in a menu) to Windows Vista, then Ubu

  • Input/Output error while resizing Ubuntu root partition 2012-11-05

    I have an extra 6GB of unallocated space on my Hdd. So I booted to my ubuntu live CD and attempted to resized the Ubuntu root partition(ext4) to fill that space. About 90% of the way through reading the partition, it stops and under libparted message

  • truecrypt encrypt ubuntu root partition 2013-12-24

    I would like to use truecrypt to encrypt the root volume on an Ubuntu laptop, but all the howtos are for chainloading an unencrypted Ubuntu partition from an encrypted windows partition. Can truecrypt boot encrypted Ubuntu root partitions? If so, how

  • Move Grub from MBR to Ubuntu Root Partition? 2014-05-15

    Having screwed up and put grub in the MBR of my hard drive where it dual boots Windows XP and Ubuntu, is there any way to move it to the root partition of Ubuntu 8.04.2 so that I can use an alternative boot loader, or do I have to do a reinstall? I a

  • Ubuntu lvm root partition full 2014-12-12

    I have multiple LVM partitions on my 9.10 desktop. The /boot partition is outside the LVM. $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/server-root 4805760 4559672 1968 100% / udev 1030104 360 1029744 1% /dev none 1030104 232

  • Ubuntu Root partition 100% of full usage 2012-09-15

    hi, I have a problem with my root partition which gives me 100% of full usage can it be corrected? I recently grow it up to 8GB, and I thought it was enough... What am I doing wrong? Please help..

  • Ubuntu Root partition is full, how can that be? 2012-12-20

    Hi, I have been trying to install some stuff, like python scripts for Gimp, and I kept getting the message that there was no space left, then I checked and it seems like my root partition is full! I have 9.4 gb as root partition, and I cant seem to f

  • Ubuntu New Jaunty install root partition full 2013-12-25

    I have a Jaunty install with 4 partitions /dev/sda1 ntfs boot 19GB /dev/sda2 ext3 / 19GB /dev/sda3 swap 2 GB /dev/sda4 extended /dev/sda5 ext3 /home 80GB I have been going through and using it normally for about 4 days without to many issues, but tod

  • Ubuntu Root partition almost full after upgrading. 2014-01-11

    After upgrading from Gutsy to Hardy my / partition is almost full. I checked around and noticed my /usr/lib is using 830 Megabytes and /usr/share is using 530 Megabytes. Isn't this a little excessive? If not, I may have to resize my root partition (a

  • Ubuntu Root Partition Almost FULL 2015-05-04

    I few months ago I was forced to do a fresh clean install of Karmic becasue my root partition (then 80 GB) was full. I shooulkd have used a LiveCD to resize partitions then but I didn't so when I installed Karmic this time I ended up with a 160GB par

  • Ubuntu Root partition out of space 2012-09-05

    I installed Gutsy via the alternate disc on an Averatec 3200 series laptop with the following partitions: sda1 /root 3.7G, sda5 /home 31.2G, swap 880MB. There is no free space left. I then upgraded to Hardy via update manager. My system has been runn

  • Ubuntu root is full. can i delete this? 2012-11-19

    My root partition is full. du returns: [email protected]:/$ sudo du -sh * [sudo] password for walter: 6.1M bin 43M boot 0 cdrom 3.7M dev 16M etc du: cannot access `home/walter/.gvfs': Permission denied 50G home 4.0K initrd 0 initrd.img 0 initrd.im