UFS system being filled up somehow

this os was on a different laptop, now it is on this one. for some strage reason it is eatting up my free space, every time I delete something to free up space, a few later it is filled again, from where I do not know.
Code:
userx@FreeBSD12.net:~
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0s1    107G     98G      0B   100%    /
devfs          1.0K    1.0K      0B   100%    /dev
map -hosts       0B      0B      0B   100%    /net
map -media       0B      0B      0B   100%    /media
/dev/fuse        0B      0B      0B   100%    /usr/home/userx/.gvfs
userx@FreeBSD12.net:~
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0s1    107G     97G    1.0G    99%    /
devfs          1.0K    1.0K      0B   100%    /dev
map -hosts       0B      0B      0B   100%    /net
map -media       0B      0B      0B   100%    /media
/dev/fuse        0B      0B      0B   100%    /usr/home/userx/.gvfs



$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0s1    107G     97G    881M    99%    /
devfs          1.0K    1.0K      0B   100%    /dev
map -hosts       0B      0B      0B   100%    /net
map -media       0B      0B      0B   100%    /media
/dev/fuse        0B      0B      0B   100%    /usr/home/userx/.gvfs
/dev/ada0s2     19G     14G    4.6G    75%    /media/slack64
/dev/ada0s3     62G     29G     30G    49%    /media/ada0s3

all within a matter of minutes..

it went back to zero and logged me out of everything on firefox, I freed up some more space in my home and am posting this before it might happen again to keep this recorded.

let me also go look into where or what I can do to try and off load some of the files in my home without having to delete them.

all I did was reboot,
Code:
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0s1    107G     97G    702M    99%    /
devfs          1.0K    1.0K      0B   100%    /dev
map -hosts       0B      0B      0B   100%    /net
map -media       0B      0B      0B   100%    /media
/dev/da0s2     1.8T    1.4T    285G    84%    /media/extdata01

from 1.0G down to 702M and I did not download anything, log files maybe?

Code:
userx@FreeBSD12.net:~
$ ls /var/log
ConsoleKit     cron           messages       sendmail.st    userlog
Xorg.0.log     cups           messages.0.bz2 sendmail.st.0  utx.lastlogin
Xorg.0.log.old debug.log      messages.1.bz2 sendmail.st.1  utx.log
auth.log       devd.log       mount.today    sendmail.st.2  xferlog
auth.log.0.bz2 dmesg.today    ppp.log        sendmail.st.3
automount.log  lpd-errs       samba4         setuid.today
bsdinstall_log maillog        security       slim.log
 
userx@FreeBSD12.net:~
$ du -h  /var/log
4.0K    /var/log/cups
 88K    /var/log/ConsoleKit
4.0K    /var/log/samba4
1.5M    /var/log
 
Find the 'where' to help figure out the 'what'.

As root:
Code:
cd /
du -shx *

Move into the directory/directories that are taking a lot of space and repeat. Once you find the places where the space is being used,
examining what's there should be a clue as to what is using that space.
 
I normally use du -sk /some/dir/* | sort -n. The biggest directory/files will be at the bottom of the list. Then try to 'drill' down where most of the data is being stored.

Don't use du -h when piping through sort(1) though, it doesn't understand the differences between K, M and G for example. So you'll want to have the same prefix for all values.
 
Don't use du -h when piping through sort(1) though, it doesn't understand the differences between K, M and G for example.
SirDice you might want to refresh the info of sort(1) option -h.
Rich (BB code):
-h, --human-numeric-sort, --sort=human-numeric
         Sort by numerical value, but take into account the    SI suffix, if
         present.  Sort first by numeric sign (negative, zero, or posi-
         tive); then by SI suffix (either empty, or    `k' or `K', or one of
         `MGTPEZY',    in that    order);    and finally by numeric value.  The SI
         suffix must immediately follow the    number.     For example, '12345K'
         sorts before '1M',    because    M is "larger" than K.  This sort op-
         tion is useful for    sorting    the output of a    single invocation of
         'df' command with -h or -H    options    (human-readable).
 
Back
Top