Computing.Net > Forums > Solaris > Disk space under /

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Disk space under /

Reply to Message Icon

Name: simon p
Date: September 18, 2006 at 03:20:12 Pacific
OS: Solaris 8
CPU/Ram: SPARC
Product: Sun E250
Comment:

Disk usage under / as displayed by a df command shows as 96%. Files displayed by ls -al under / (excluding other mount points) add up to a fraction of this - how do I find what is using up all the disk space?



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: September 18, 2006 at 06:11:32 Pacific
Reply:

This find command finds the 5 largest files in the present working directory:

# all on one line
find . -follow -mount -type f -print | xargs ls -l | sort -r -n -k 5,5 | head -10


0

Response Number 2
Name: simon p
Date: September 18, 2006 at 09:47:57 Pacific
Reply:

Thanks for that, a useful command, but it basically gives the same files as my ls -al command. The disk usage has grown by 300Mb in the last 3 weeks (in fact it jumped by about 250Mb in on day) but I can't find any files of significant size that would explain this. All the largest files shown by the find command haven't been updated for years.


0

Response Number 3
Name: Action Force
Date: September 24, 2006 at 12:56:22 Pacific
Reply:

Hi
1. which solaris are you using?
2. is that a stand-alone station or network?

check the /var/adm/messeges - it can grow sometime...
and the /var/adm/utmpx + wtmpx

good luck


0

Response Number 4
Name: simon p
Date: September 25, 2006 at 04:21:27 Pacific
Reply:

Thanks - we're running Solaris 8 on an E250, and it is connected to the network.

We've checked /var/adm/messages and /var/adm/utmpx + wtmpx but they're not of significant size.

I'm not sure where to look next - might have to get a unix expert in...


0

Response Number 5
Name: mndavies
Date: October 9, 2006 at 03:53:47 Pacific
Reply:

Hi, I get this for a number of reasons, but the way I find it is using the du command. Use:
du -k|more
it is alittle time consuming, but it always works for me. Usually I find the problem with a core file or a big file in /var
Hope this helps


0

Related Posts

See More



Response Number 6
Name: fushigi
Date: November 9, 2006 at 23:29:01 Pacific
Reply:

Try this command, it will display all hidden dir/files w/ corresponding file size

# du -dk | sort -n

hello forum


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Disk space under /

Available Disk Space on a Mount point www.computing.net/answers/solaris/available-disk-space-on-a-mount-point/695.html

Disk Space Allocation www.computing.net/answers/solaris/disk-space-allocation/236.html

script disk space www.computing.net/answers/solaris/script-disk-space/3543.html