Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions
Reload this Page where does disk space go?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Other Distributions Post questions about distributions that do not have their own forums in here

Reply
 
Thread Tools Display Modes
Old 05-08-2008   #1 (permalink)
conandor
Just Joined!
 
Join Date: May 2008
Posts: 1
where does disk space go?

i du -hd on the root directory and it came back show the / use only 4.2G
but df showing me i have 16G of space and its almost fully use
where is the rest of the space go to if it is not in / ?

here part of the screenshot

Quote:
bash-3.00$ du -hd /
.
.
.
79M ./export/home/mydirec
137M ./export/home
137M ./export
1K ./vol
4.2G .
bash-3.00$ df -ah
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 16G 15G 518M 97% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 813M 992K 812M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
fd 0K 0K 0K 0% /dev/fd
swap 512M 4.8M 507M 1% /tmp
swap 812M 24K 812M 1% /var/run
bash-3.00$ pwd
/
bash-3.00$
conandor is offline   Reply With Quote
Old 05-08-2008   #2 (permalink)
kazler
Just Joined!
 
Join Date: Jul 2007
Posts: 29
I have had something similar to this before where some one had tried to zip up a log file while it was still in use e.g. apache access log, the problem occurs as the inodes still exist on the drive for the log file even though it has been zipped up and a new log spawned. A quick fix is to reboot if a reboot is a no no then you could run lsof which will list open files and look for any thing suspicious and restart that app which makes the suspicious file or possibly delete the file. The drive could also just be calculating wrong due to corruption which is a bit tricky as it is the root partition, you could boot a live cd and run fsck on the partition and see what it finds (dont do this while it is mounted though as it could lead to data loss).
kazler is offline   Reply With Quote
Old 05-10-2008   #3 (permalink)
jayd512
Linux User
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 256
Hi, conandor! Welcome to LinuxForums!

Do this:
Code:
fdisk -l
Post output here.
__________________
Jay

New member? Little confused? Check it out!
Registered Linux User #463940

Lookin' for a Distro?
jayd512 is offline   Reply With Quote
Old 05-10-2008   #4 (permalink)
HROAdmin26
Linux User
 
Join Date: Nov 2007
Posts: 388
It's Solaris/OpenSolaris - there is no lsof or fdisk command.
HROAdmin26 is offline   Reply With Quote
Old 05-10-2008   #5 (permalink)
jayd512
Linux User
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 256
Oops... didn't realize
__________________
Jay

New member? Little confused? Check it out!
Registered Linux User #463940

Lookin' for a Distro?
jayd512 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:19 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0