Everyone who works in IT industry and with Unix systems should have suffered filesystem related issues. The most common one is the filesystem getting filled up.
The scenario is
Filesystem is filled up
Determine largest files
Filesystem is using different mounts. So the files you see are not within the filesystem.
But there is a trick to find the largest files within the same filesystem
Some other helpful commands in AIX to see the filesystem volume groups and if all disk is used
The scenario is
Filesystem is filled up
Determine largest files
Filesystem is using different mounts. So the files you see are not within the filesystem.
But there is a trick to find the largest files within the same filesystem
# Shows the largest 20 files within the same filesystem
# xdev will make sure its within the filesystem
find . -xdev -ls | sort +6 -nr | head -20
Some other helpful commands in AIX to see the filesystem volume groups and if all disk is used
lsvg -o # displays all volume groups
lsvg -l <lvname> # list (including mounts)
lsvg <lvname> # show details like free space etc