PDA

View Full Version : Parition full : /


DreamK
29th July 2011, 17:15
Hi,

I have made an upgrade from debian 5 to 6, and my partition / seems to be full each time more after each backup.

My backup are done from /home to my external usb-hd.
the trouble occured when the power supply of the usb-hd was accidentally pull off.

At the present time, i don't manage to recover the free space of sda1.

/dev/sda1 ext3 28G 26G 876M 97% /
tmpfs tmpfs 2,0G 0 2,0G 0% /lib/init/rw
udev tmpfs 10M 112K 9,9M 2% /dev
tmpfs tmpfs 2,0G 0 2,0G 0% /dev/shm
/dev/sda2 ext3 942M 39M 856M 5% /boot
/dev/sdc2 ext3 899G 12G 842G 2% /home
/dev/sdc3 ext3 9,4G 150M 8,8G 2% /tmp
/dev/sdb1 ext3 17G 3,9G 13G 24% /usr
/dev/sdb2 ext3 17G 2,7G 14G 17% /var

FSTAB :
/dev/sda1 / ext3 usrquota,grpquota,errors=remount-ro 0 1


Whit du -s * | sort -nr | head

du: impossible d'accéder à « proc/24137/task/24137/fd/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/24137/task/24137/fdinfo/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/24137/fd/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/24137/fdinfo/4 »: Aucun fichier ou dossier de ce type
26023688 media
12040056 home
3846904 usr
2647576 var
111780 root
92884 lib
55464 etc
21760 boot
5748 bin
5280 sbin


If you have any idea, your welcome ;)

Regards,

Yoan

till
29th July 2011, 17:38
If you backup data to the mountpoint of a usb drive while the usb drive is not connected or working, then the backup is stored in the filesystem of the server instead.

To clean up your harddrive, make sure that the usb drive is not connected, then go to the directory where you store the backups. You should see there all backups now that where stored on the local disk instead of the USB drive. Delete these backup files and directories now. You should then have your free space back. Now turn on the usb deive again.

DreamK
29th July 2011, 17:52
/dev/sda1 ext3 28G 440M 26G 2% /


Command line to locate bif folder

du / | sort -nr | less
df --print-type

It s was some error to solve

cd /root ; du -s $(ls -A)
cd /home ; du -s *

;)

Have a nice week end ;)

DreamK
29th July 2011, 17:56
If you backup data to the mountpoint of a usb drive while the usb drive is not connected or working, then the backup is stored in the filesystem of the server instead.

To clean up your harddrive, make sure that the usb drive is not connected, then go to the directory where you store the backups. You should see there all backups now that where stored on the local disk instead of the USB drive. Delete these backup files and directories now. You should then have your free space back. Now turn on the usb deive again.

Hi Till

Thanks for your reply. I will change the backup process with a Synology DS 207+.

Seems to be right :)

Have a nice week end ,

Yoan