| View previous topic :: View next topic |
| Author |
Message |
math n00b

Joined: 16 Sep 2010 Posts: 12
|
Posted: Wed Jul 04, 2012 7:15 am Post subject: [SOLVED] disk space available on / |
|
|
Hi
As I installed gentoo I decided the following partitioning scheme:
boot: 500 MB
swap: 5 GB
/: 50 GB
home: 444.5 GB
Furthermore, I have an external HD for my backup. Yesterday the system told me that there is just 500MB free disk space available on the root partition. After that I first deleted old distfiles. However, this does not solve the problem. Here's an output:
| Code: | workstation home # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 50G 47G 437M 100% /
udev 10M 0 10M 0% /dev
/dev/sda3 50G 47G 437M 100% /
tmpfs 8.9G 308K 8.9G 1% /run
rc-svcdir 1.0M 96K 928K 10% /lib64/rc/init.d
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
shm 8.9G 80K 8.9G 1% /dev/shm
/dev/sda1 494M 16M 453M 4% /boot
/dev/sda4 410G 19G 371G 5% /home
/dev/sdb1 466G 122G 321G 28% /mnt/backup
none 8.9G 264K 8.9G 1% /tmp
none 8.9G 0 8.9G 0% /var/tmp
workstation home # |
and for completeness the fstab:
| Code: | workstation home # less /etc/fstab
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 defaults,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext4 noatime 0 1
/dev/sda4 /home ext4 defaults,user_xattr 1 2
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/sdb1 /mnt/backup ext4 defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /tmp tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0 |
As you can see, the external HD is mounted at /mnt/backup. Using Disk Usage Analyzer shows that the /mnt/backup causes the problem, which I do not understand since it is an external HD, nothing to do with the root partition. Deleting some old backups really shows that this is the problem, since after that new disk space was available on the root partition. So, how can I fix this problem, i.e. why does the system thinks that free disk space is used from the root partition, when it is actually used from this external hd?
Thank you in advance for your help.
cheers
math
Last edited by math on Wed Jul 04, 2012 12:13 pm; edited 1 time in total |
|
| Back to top |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Wed Jul 04, 2012 7:59 am Post subject: |
|
|
can you unmount the backup disk, and check the contents of /mnt/backup?
I have a feeling, that you did a backup while the backup disk was not mounted.
V. _________________ read the portage output!
If my answer is too short, just ask for an explanation. |
|
| Back to top |
|
 |
math n00b

Joined: 16 Sep 2010 Posts: 12
|
Posted: Wed Jul 04, 2012 12:12 pm Post subject: |
|
|
Thank you Veldrin! Exactly this was the problem! Now everything is working again.
cheers
math |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|