LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 09-28-2003, 04:57 AM   #1
cellphone
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
After removing another hard drive, system sees incorrect amount of free space


I'm running Mandrake 9.1, and I was doing some drive moving, copying files from a 111gb NTFS partition to a 111gb ext3 partition. I got everything copied over ok, and took my computer home after shutting down.

Bringing it up, the system was loading, and X wouldn't start. So, I looked at the errors, one of which was 'no space left on device'.

sure enough, df -h gives:

Filesystem Size Used Avail Use% Mounted on
/dev/hda1 11G 9.8G 0 100% /
/dev/hda6 28G 262M 27G 1% /home
/dev/hdb1 111G 106G 0 100% /files

Which makes absolutely no sense to me. I obviously am not using all the space, so what gives?

Being a semi-newbie to this, I tried this fsck that I'd been hearing about on hdb1, which didn't do anything.

Is there any way to fix this?
 
Old 09-28-2003, 09:33 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
The problems is on hda1 to get an idea of where the space is going:
cd /
du -hs `ls`
 
Old 09-28-2003, 11:10 AM   #3
cellphone
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
For the heck of it, I reinstalled on the root partition, but I'm still having problems with the 111gb partition.

/dev/hdb1 111G 106G 0 100% /files

The usage of the drive is completely correct. It's the amount of free space that it's reporting that seems to be the issue.

Driving 45 minutes to borrow another 120gb drive to backup data while a reformat the partition is starting to sound like less of a hassle then trying to figure out how to fix it while preserving the data. :-/
 
Old 09-28-2003, 12:41 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try running fsck on hte drive.
 
Old 09-28-2003, 01:50 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,534

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
Quote:
Originally posted by cellphone
For the heck of it, I reinstalled on the root partition, but I'm still having problems with the 111gb partition.

/dev/hdb1 111G 106G 0 100% /files

The usage of the drive is completely correct. It's the amount of free space that it's reporting that seems to be the issue.

If hdb1 is the ext3 partition then when you formated the drive 5% is reserved for root.

To change this value use tune2fs. See man pages for the correct option letter and syntax.
 
Old 09-28-2003, 07:29 PM   #6
cellphone
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thanks! it worked
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caculating free space on Hard Drive adamb10 Linux - General 3 06-12-2005 12:18 PM
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 08:21 PM
how do you determine amount of free space? elamigo2004 Linux - Software 3 04-17-2004 07:31 PM
How to determine the free Hard Drive space ako Linux - Newbie 2 12-28-2003 10:11 PM
Hard Drive free space gatorbyte Linux - Software 3 05-12-2003 06:28 AM


All times are GMT -5. The time now is 10:37 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