LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-25-2003, 09:40 AM   #1
ealpert1
LQ Newbie
 
Registered: May 2003
Location: Colorado
Posts: 24

Rep: Reputation: 15
25% of my disk space appears to be missing


Something very odd is happening on my debian box.

du -ks / shows I'm using 12.5 GB of my 19.2 GB disk

df -ks shows I'm using 17.7 GB

I only have two partitions swap which is 500MB and my main partition.

How could I be missing over 4 GB?

-ethan
 
Old 11-25-2003, 10:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
it'll probably make a lot more sense if you run "df" instead of "du", if not, give us the whole "df" output
 
Old 11-25-2003, 11:48 AM   #3
ealpert1
LQ Newbie
 
Registered: May 2003
Location: Colorado
Posts: 24

Original Poster
Rep: Reputation: 15
Does this help? Below is my df output and my du output and the output of sfdisk showing that I have only two partitions.

So my question again is where is the missing 4+GB?

Is there any util that can give me more information?


ethanalpert:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 19228276 17788808 462720 98% /
ethanalpert:~# du -ks /
12652022 /
ethanalpert:~# sfdisk --force /dev/hda
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy

This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.

Disk /dev/hda: 2491 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 2431 2432- 19535008+ 83 Linux
/dev/hda2 2432 2490 59 473917+ 82 Linux swap
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).
 
Old 11-25-2003, 12:04 PM   #4
ealpert1
LQ Newbie
 
Registered: May 2003
Location: Colorado
Posts: 24

Original Poster
Rep: Reputation: 15
mysqld had a 5 GB deleted file open

I determined this with lsof +L1

apparently msqld wasn't rotating logs properly

-ethan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
data recovery from crashed disk. on boot grub promt appears vinshe Linux - Newbie 7 09-11-2006 06:18 AM
Lots of disk space missing Tsuroerusu *BSD 7 11-25-2005 07:29 AM
missing disk space Ayman.mashal Linux - Software 4 06-16-2005 02:41 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
I seem to be missing disk space... Brother Michael Linux - Newbie 13 12-07-2003 06:49 PM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration