LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-12-2005, 06:28 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
strange Hard drive statistics


Hi,

I've been running Suse 9.3 for about 8 months and I have 2 hard drives: one of which is a 2nd drive ( fat32 ) used for storage.
However, in the last couple of days, it has started reporting that the drive size is 37gb instead of the 70 gb that it actually is.
If i go into the partition manager, it shows that the drive is really 70 gb, but for some reason Linux is only allowing me to use 37gb.

Does anyone have a clue as to why this might be?

Cheers!!
 
Old 09-12-2005, 07:17 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Hi, not sure I can help very much
If you want further help you may want to post

fdisk -l

I've seen this:
<<A spiffy way to see what directories are taking up the most space on your hard drive is
du -sk * | sort -n
this will show just the base- level directories in whatever directory you run this in. So it will include
the size of sub- directories, but not list them in the output.>>

Look for a directory abnormally big

Have you got smartmontools installed (is your HD a smart enabled one)
Maybe your drive is on the way to failure?
Maybe full of log and so on taking lots and lots of space

Is this 37gb space left of total visible space
 
Old 09-12-2005, 07:17 AM   #3
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Hi, not sure I can help very much
If you want further help you may want to post the result of (this may help)

fdisk -l

I've seen this:
<<A spiffy way to see what directories are taking up the most space on your hard drive is
du -sk * | sort -n
this will show just the base- level directories in whatever directory you run this in. So it will include
the size of sub- directories, but not list them in the output.>>

Look for a directory abnormally big

Have you got smartmontools installed (is your HD a smart enabled one)
Maybe your drive is on the way to failure?
Maybe full of log and so on taking lots and lots of space

Is this 37gb space left of total visible space (free space + files)
What command / utility do you use to get this 37 gb value?

Last edited by Emmanuel_uk; 09-12-2005 at 07:19 AM.
 
Old 09-12-2005, 07:27 AM   #4
mgmax
Member
 
Registered: Jul 2005
Location: Erlangen, DE
Distribution: Debian testing/unstable
Posts: 82

Rep: Reputation: 16
Hello,

this sounds really strange.

Perhaps the partition is only 37GB big?!?!?!
Does anything strange in dmesg appear?
what does hdparm report?

mgmax

Last edited by mgmax; 09-12-2005 at 07:28 AM.
 
Old 09-12-2005, 12:41 PM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
My HDD got filled up over the last month or so, so I started deleting to make some space. I deleted a huge 20gb folder of movies plus another 20gb of ISO's . However, no matter how much I deleted, it still said it was full, so I went into windows, defraged the drive, checked that there was no hidden folders hiding the deleted stuff and went back into Linux.
However, it still said the drive was full!! When I right click the drive (in Konqueror) and check it's size, it says it's 37gb, whereas it's really 77gb.
When I df it I get:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              18G   15G  3.1G  83% /
tmpfs                 506M     0  506M   0% /dev/shm
/dev/hda4              26G   17G  9.3G  64% /home
/dev/hdb1              77G   70G  7.2G  91% /windows_d
/dev/hda1              32G   11G   21G  34% /windows_c

and the dogy HDD is hdb1. Here it reports it's 77G, which if memory serves, is about right. But it's only used about half that yet still says it's used 70G (91%), which is complete tosh.
 
Old 09-12-2005, 12:51 PM   #6
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
here is fdisk -l:

Code:
linux:/home/ives # fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4083    32793773+   7  HPFS/NTFS
/dev/hda2            4084        4151      546210   82  Linux swap / Solaris
/dev/hda3            4152        6418    18209677+  83  Linux
/dev/hda4            6419        9728    26587575   83  Linux

Disk /dev/hdb: 82.3 GB, 82348277760 bytes
16 heads, 63 sectors/track, 159560 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1      159559    80417704+   c  W95 FAT32 (LBA)
 
Old 09-12-2005, 02:05 PM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Hope somebody else can help from there. I would go with a hammer: backup on dvd and reformat partition. I only know e2fsck, but this is for ext2/3 file system.
Looks strange anyhow
Do as root in a terminal and see if there is any clues
cat /var/log/syslog | grep -i hdb
and look in dmesg (see if there is any clue of what is going on)

Last edited by Emmanuel_uk; 09-12-2005 at 02:06 PM.
 
Old 09-12-2005, 02:35 PM   #8
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks anyway.
I might just back up on DVD and reformat, as you suggest.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Strange hard drive behaviour Draiocht Linux - Security 2 10-18-2005 04:28 AM
Strange problem with lilo and booting other Hard Drive BajaNick Linux - General 5 01-15-2005 11:43 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
Strange Hard Drive Error rh *8.0 sbilstein Linux - Hardware 0 07-23-2003 06:50 PM


All times are GMT -5. The time now is 01:40 AM.

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