I am in a desperate situation because I am Getting a disk full message and it is keeping several daemons from launching at boot.
I have one partition for suse and home I have a second partition on a seperate drive for sound files which is mounted in fstab as /var/snd
The system is using only about 40gb of the 289 gb / partition, however apparently when adding up space it is counting the /var/snd symlink as part of / because df returns the combination of the two.
This is a opensuse server which only runs mysql and stores audio data on /var/snd no x-server.
Any solution to this, am I mounting the /var/snd wrong in fstab?
/dev/sdb1 /var/snd ext3 rw.sync 0 0
Thanks for any suggestions, my server is down until I figure this out.
A silly question, but your are certain you are not using up all of your hard drive space?
I had 2 cases in the past week, where an aborted print job (that was still in the print queue) created a massive “message” and “warn” file in /var/log, that filled up my hard drive.
In the 1st case, the PC had 75GB free space, and that was completely filled with 4 files, (2 x message and 2 x warn) in /var/log that filled the hard drive. Only 4 files and they took up 75GB! Amazing. And they filled up the drive in less than a day.
A few days later, on a different PC, I saw the same behaviour, this time 625GB free space was filled up completely by just 2 files ! 1 x message and 1 x warn. In these cases in the files there were a zillion warning messages related to the aborted print job (where the job was still in the queue). Here it took less than a day to fill up 625 GB with only 2 massive and rapidly growing files !
When it first happened, I did not believe it, … but eventually there was no denying that /var/log was filling up my drive.
I understand what df shows point is that it shows
/dev/sda as 0 space with 289gb being used.
adding up everything using du shows only about 48gb used.
df also shows /dev/sdb as having 249gb of 500 being used.
/dev/sdb is mounted as /var/snd
if you add the two together you get 289gb which I believe is why it shows as full on /
du confirms the space in use on mount point /var/snd as 249gb
I will post the output of
mount
df
as soon as I can get back on that box
If df says / is using 289GB, then it’s using 289GB. It doesn’t add in space from other partitions.
As another post said, are you sure there isn’t really that much used on / due to logs, and other stuff?
Another possibility is that you have mounted /dev/sdb1 on a non-empty /var/snd. Maybe you already had something in /var/snd when you did the mount. When you mount on a non-empty directory, it hides the existing contents.
Try umounting /dev/sdb1, and then do an audit of where your space is going on /dev/sda.
Tip: To find out which disk holds a particular partition, do a df on that directory and it will show you the corresponding partition.
Well the numbers look alot different tonight than they did this morning, anyway here is the output of mount and df
Thanks
mount
/dev/sda2 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sdb1 on /var/snd type ext3 (rw,acl,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/stream/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=stream)
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 238845120 226789788 0 100% /
udev 1552892 128 1552764 1% /dev
/dev/sdb1 961432072 309991364 602602708 34% /var/snd