View Full Version : fstab config

13th November 2008, 10:18 AM
i have configured my fstab file like this:
the problem is that when i run df
the mount file is 98%
if i delete something from
and i run df again still 98%

why is this hapening?

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/LABEL=SWAP-sda3 swap swap defaults 0 0
// /opt/mnt cifs user=,password=,uid=500,ro 0 0

13th November 2008, 11:30 AM
What's df show if you unmount the network folder? I can't really see what a mounted folder has to do with local disk space. In fact, I'm reasonably sure that df wouldn't show free space on a network folder at all.

13th November 2008, 11:40 AM
[root@localhost etc]# df
Filesystem 1K-blocks Used Available Use% Mounted on
149280940 5562196 136013352 4% /
/dev/sda1 101086 12225 83642 13% /boot
tmpfs 1033496 0 1033496 0% /dev/shm
20073184 19648680 424504 98% /opt/mnt

13th November 2008, 11:51 AM
Now that I think of it, and although I'm no expert, why would a mount folder show any free space at all? Isn't it sort of dynamic, just a marker of sorts? How much free space if you check myfolder on the other computer?

13th November 2008, 01:18 PM
well i was thinking that this is kind of a swap memory and it has a limit where those files are mounted.

on the shared computer this file is abouth 70 MB

13th November 2008, 01:27 PM
The mount is more of a link to a folder on the other (networked) computer. Any concern for free space regarding the mount should be directed towards the computer that the folder lives on, not the computer that the folder is mounted on.