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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-28-2003, 04:57 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Rep:
|
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?
|
|
|
|
09-28-2003, 09:33 AM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
The problems is on hda1 to get an idea of where the space is going:
cd /
du -hs `ls`
|
|
|
|
09-28-2003, 11:10 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Original Poster
Rep:
|
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. :-/
|
|
|
|
09-28-2003, 12:41 PM
|
#4
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try running fsck on hte drive.
|
|
|
|
09-28-2003, 01:50 PM
|
#5
|
|
Moderator
Registered: Aug 2002
Posts: 10,684
|
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.
|
|
|
|
09-28-2003, 07:29 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Original Poster
Rep:
|
thanks! it worked 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|