LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-15-2004, 09:40 AM   #1
scottlyter
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 5

Rep: Reputation: 0
Mandrake 10.1 - Linux doesn't "see" free hard drive space


OK, first of all, I'm a relative newbie. It took me about 4 evenings to install and set everything up, including a struggle to configure a winmodem, and configure an ISA sound card. Well, that is all done (gave up on the winmodem and used a hardware modem on COM1), but now I have another issue.

I have 2 hard drives, both 1.9 Gig. I loaded linux onto the first hard drive, and formatted it, as Linux is the only OS that I am running. I did a custom install, to keep space usage down a bit, as I didn't need all of the software offered.

Now - here's the thing:

If I go into OTHER>PACKAGES>INSTALL SOFTWARE under KDE it only shows about 300 Meg available disk space. It seems that the second hard drive is not being counted.

I went into DiskDrake, and the second hard drive is there, and I have formatted it. It has 3 partitions, including 100Meg swap file. It seems that the partitions are not mounted, and there is no "mount" available in the menu.

Do I need to set a mount point on this disk for the OS to see the available space? If I click on the "set mount point" option, it suggests /var. Is this a valid/good choice? Should I also set a mount point on the second partition? Also, should I select the option to 'move the files to new partition' or 'hide'?

So, my general question is this: Does each partition need to have a mount point, and be mounted, in order for linux to see the available space?

And lastly: Will DiskDrake make the proper adjustments so that the OS knows where these mount points are located for the next restart?

Thanks for your kind assistance,

Scott
 
Old 10-15-2004, 11:42 AM   #2
Adony
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Gentoo 2004.2 - working on LFS 6
Posts: 126

Rep: Reputation: 15
Re: Mandrake 10.1 - Linux doesn't "see" free hard drive space

Quote:
Originally posted by scottlyter


If I go into OTHER>PACKAGES>INSTALL SOFTWARE under KDE it only shows about 300 Meg available disk space. It seems that the second hard drive is not being counted.

I went into DiskDrake, and the second hard drive is there, and I have formatted it. It has 3 partitions, including 100Meg swap file. It seems that the partitions are not mounted, and there is no "mount" available in the menu.

Do I need to set a mount point on this disk for the OS to see the available space? If I click on the "set mount point" option, it suggests /var. Is this a valid/good choice? Should I also set a mount point on the second partition? Also, should I select the option to 'move the files to new partition' or 'hide'?
Yes you need to step up a mount point for each partition and mount it to allow the OS to "see" it.
If you want to use the new partition to hold the system (or part of it) a good option is to mount it under /usr (as many programs get installed into it).
Another good ideia is to choose a separate partition to hold your home (thus mounting it under /home) because your personal data and a great amount of personal config files are stored there, allowing you to safelly upgrade your whole system and even installing a new linux distro without touching that data.

In the above options you should move the data to the new mounted partitions so that you can free that space in your root (/) partition.

As a side note remember to do a backup of you important date because we never know when somethings goes wrong ..

Hope that helps
 
Old 10-15-2004, 01:42 PM   #3
scottlyter
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Re: Re: Mandrake 10.1 - Linux doesn't "see" free hard drive space

Quote:
Originally posted by Adony
Yes you need to step up a mount point for each partition and mount it to allow the OS to "see" it.
If you want to use the new partition to hold the system (or part of it) a good option is to mount it under /usr (as many programs get installed into it).
Another good ideia is to choose a separate partition to hold your home (thus mounting it under /home) because your personal data and a great amount of personal config files are stored there, allowing you to safelly upgrade your whole system and even installing a new linux distro without touching that data.

In the above options you should move the data to the new mounted partitions so that you can free that space in your root (/) partition.

As a side note remember to do a backup of you important date because we never know when somethings goes wrong ..

Hope that helps
Thank you very much. Am I correct in assuming that DiskDrake will make any necessary mods to fstab (I thinks that's what the file is called)?

I did set up mount points earlier. but chose the 'hide' option, and then the system could not boot. I received a slew of "can't touch file:/usr/....." I then had to do a reinstall to get things working again. I guess I should have moved them to the new partition instead.(?)

Thanks,

Scott
 
Old 10-15-2004, 04:39 PM   #4
Adony
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Gentoo 2004.2 - working on LFS 6
Posts: 126

Rep: Reputation: 15
Yes DiskDrake saves the mods to /etc/fstab .


Quote:


I did set up mount points earlier. but chose the 'hide' option, and then the system could not boot. I received a slew of "can't touch file:/usr/....." I then had to do a reinstall to get things working again. I guess I should have moved them to the new partition instead.(?)
The system couldn't boot 'cause you've choosen to hide the files and so it cannot find the /usr dir (thus the "can't touch file /usr" message ).
Now if you choose to move it it will be (as the name said) moved to the new partition freeing up the respectiv space in the old partition.
 
  


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
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 08:21 PM
Linux on "broken" hard drive md2bn08 Linux - General 4 07-02-2004 10:33 AM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
Hard Drive free space gatorbyte Linux - Software 3 05-12-2003 06:28 AM


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