LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No space on root after large move operation (https://www.linuxquestions.org/questions/linux-newbie-8/no-space-on-root-after-large-move-operation-789436/)

ulver 02-16-2010 05:08 AM

No space on root after large move operation
 
Ok, so I tried to move 2.7TB of data from my /var/webroot/ partition (4.5TB total in size). I left it to run over night, this morning when I came to check I saw that all data on / paratition is used up and no operations can be done because of the "no space left on device" message.
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/cciss/c0d0p7    911G  911G    0 100% /
tmpfs                7.9G    0  7.9G  0% /lib/init/rw
udev                  10M  736K  9.3M  8% /dev
tmpfs                7.9G    0  7.9G  0% /dev/shm
/dev/cciss/c0d0p1      37M  17M  19M  48% /boot
/dev/cciss/c0d0p6    2.0G  36M  1.9G  2% /tmp
/dev/cciss/c0d1      4.5T  1.7T  2.6T  39% /var/webroot/

durep -td 1 gives
Code:

2596.2G [############################# ]  99.32% var/
  17.0G [                              ]  0.65% proc/
 435.2M [                              ]  0.02% usr/
  78.4M [                              ]  0.00% lib/
  60.4M [                              ]  0.00% sys/
  44.1M [                              ]  0.00% root/
  16.2M [                              ]  0.00% boot/
  12.8M [                              ]  0.00% emul/
  6.9M [                              ]  0.00% sbin/
  4.5M [                              ]  0.00% bin/
  1.8M [                              ]  0.00% etc/
  12.5K [                              ]  0.00% dev/
  8.1K [                              ]  0.00% home/
    30b [                              ]  0.00% initrd.img
    27b [                              ]  0.00% vmlinuz
    20b [                              ]  0.00% lib32
    4b [                              ]  0.00% lib64
    0b [                              ]  0.00% media/
    0b [                              ]  0.00% mnt/
    0b [                              ]  0.00% srv/
    0b [                              ]  0.00% lost+found/
    0b [                              ]  0.00% selinux/
    0b [                              ]  0.00% tmp/
    0b [                              ]  0.00% opt/

I freed up several hundred MB from / but still the usage is at 100% and I cant free up any more space or complete the transfer ?

smoker 02-16-2010 06:05 AM

Where were you moving the data to ?
According to your listings, the only place big enough was the place you were moving it from.
I hope you have backups ...

If you can't log in as a single user and move the data back, you'll have to get a live cd and clean the root directory out like that. Put all the moved data back on the original drive.

Alan


All times are GMT -5. The time now is 02:56 AM.