Usage of my /dev/ad6s1a partition (mounted on /) is 108%:
However, I have difficulties to understand what is occupying the space on the / directory :\ As I understand those need to be files not in the directories /dev, /tmp, /usr and /var? If so, I constructed following search pattern:
Majority of larger files are in the /rescue directory. Should I delete the content of the /rescue directory? Any other techniques to find out what exactly occupies the / directory as there aren't any large files there? :OOO
Code:
[root@ ~]# df -hiT
Filesystem Type Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ad6s1a ufs 496M 491M -35M 108% 3.9k 62k 6% /
devfs devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
/dev/ad6s1e ufs 496M 1.2M 455M 0% 83 66k 0% /tmp
/dev/ad6s1f ufs 70G 18G 46G 28% 731k 8.7M 8% /usr
/dev/ad6s1d ufs 1.9G 120M 1.6G 7% 7.7k 251k 3% /var
[root@ ~]#
However, I have difficulties to understand what is occupying the space on the / directory :\ As I understand those need to be files not in the directories /dev, /tmp, /usr and /var? If so, I constructed following search pattern:
Code:
[root@ ~]# find / \( -path /dev -o -path /tmp -o -path /usr -o -path /var \) -prune -o -size +1M -print
/boot/kernel/kernel
/boot/kernel/kernel.symbols
/boot/kernel/acpi.ko.symbols
/boot/kernel/if_ath.ko.symbols
/boot/kernel/ispfw.ko
/boot/kernel/wlan.ko.symbols
/boot/kernel/xfs.ko.symbols
/boot/kernel/zfs.ko
/boot/kernel/zfs.ko.symbols
/lib/libc.so.7
/lib/libzpool.so.2
/lib/libcrypto.so.6
/rescue/rescue
/rescue/cat
/rescue/chflags
/rescue/chio
/rescue/chmod
/rescue/cp
/rescue/date
/rescue/dd
/rescue/df
/rescue/echo
/rescue/ed
/rescue/red
/rescue/expr
/rescue/getfacl
/rescue/hostname
/rescue/kenv
/rescue/kill
/rescue/ln
/rescue/link
/rescue/ls
/rescue/mkdir
/rescue/mv
/rescue/pkill
/rescue/pgrep
/rescue/ps
/rescue/pwd
/rescue/realpath
/rescue/rm
/rescue/unlink
/rescue/rmdir
/rescue/setfacl
/rescue/sh
/rescue/stty
/rescue/sync
/rescue/test
/rescue/[
/rescue/rcp
/rescue/csh
/rescue/tcsh
/rescue/atacontrol
/rescue/badsect
/rescue/camcontrol
/rescue/ccdconfig
/rescue/clri
/rescue/devfs
/rescue/dmesg
/rescue/dump
/rescue/rdump
/rescue/dumpfs
/rescue/dumpon
/rescue/fsck
/rescue/fsck_ffs
/rescue/fsck_4.2bsd
/rescue/fsck_ufs
/rescue/fsck_msdosfs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/glabel
/rescue/gpart
/rescue/ifconfig
/rescue/init
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mknod
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_ntfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/ping
/rescue/reboot
/rescue/fastboot
/rescue/halt
/rescue/fasthalt
/rescue/restore
/rescue/rrestore
/rescue/rcorder
/rescue/route
/rescue/routed
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/spppcontrol
/rescue/swapon
/rescue/sysctl
/rescue/tunefs
/rescue/umount
/rescue/atmconfig
/rescue/ping6
/rescue/ipf
/rescue/zfs
/rescue/zpool
/rescue/bsdlabel
/rescue/disklabel
/rescue/sconfig
/rescue/fdisk
/rescue/dhclient
/rescue/head
/rescue/mt
/rescue/sed
/rescue/tail
/rescue/tee
/rescue/gzip
/rescue/gunzip
/rescue/gzcat
/rescue/zcat
/rescue/bzip2
/rescue/bunzip2
/rescue/bzcat
/rescue/tar
/rescue/vi
/rescue/ex
/rescue/id
/rescue/groups
/rescue/whoami
/rescue/chroot
/rescue/chown
/rescue/chgrp
/root/ping.core
/root/nuttcp_deltas
/root/Ocsinventory-Agent-2.0.tar.gz
/root/.cpan/Metadata
/iperf.core
[root@ ~]#
Majority of larger files are in the /rescue directory. Should I delete the content of the /rescue directory? Any other techniques to find out what exactly occupies the / directory as there aren't any large files there? :OOO