LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-12-2008, 11:37 AM   #16
eldondehart
LQ Newbie
 
Registered: Oct 2008
Location: Saint Petersburg ,Florida
Distribution: OpenSuse 10.3 Mandrivia 2009
Posts: 18

Original Poster
Rep: Reputation: 0

so if my mount point / files up what happens? as you can see from prior posts this is at 86% but there is still 60 gigs free on the drive....is the partitions resizing automatically?
 
Old 12-12-2008, 11:51 AM   #17
eldondehart
LQ Newbie
 
Registered: Oct 2008
Location: Saint Petersburg ,Florida
Distribution: OpenSuse 10.3 Mandrivia 2009
Posts: 18

Original Poster
Rep: Reputation: 0
I understand that the / mount point and /home are on the same drive. But what I don't understand is why / has all the file in it and it is only 10 gig and /home which is a 62 gig partition has only /home/"user" files. The / mount point even has files from a separate drive.
 
Old 12-12-2008, 01:45 PM   #18
eldondehart
LQ Newbie
 
Registered: Oct 2008
Location: Saint Petersburg ,Florida
Distribution: OpenSuse 10.3 Mandrivia 2009
Posts: 18

Original Poster
Rep: Reputation: 0
I think I have figured this out. what I was going on was in opensuse 10.3 if you click on the my computer it shows sda2 and sda3 as separate partitions but I don't think they are. At least they don't show up in any other utility that way.

Thanks to all who worked with me on this. Now I can't wait to get opensuse 11.1 on the 18th
Happy Holidays to all.

Eldon
 
Old 12-12-2008, 01:59 PM   #19
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You haven't yet understood how (wonderfully) the linux filesystem works.

Your / partition has a /home directory in it.
If you just mount your / partition the /home directory will work, but it will be limited by the max storage of the partition mounted at / which is 10GB.

The cleverness comes when you (or the system, via an entry in fstab) mount a different partition to the /home directory: What was in /home "disappears", it is still there, but is no longer seen. Instead, it is replaced by the contents of the partition that is now mounted at /home.

For example:

My eee701 only has a 4G root partition: /dev/sda1
The OS takes up most of that, so there is very little room in /home.

So I have permanently plugged in a SD card of 16GB and I mount that over /home with an entry in fstab like yours.

So I can put 16GB of data into the directory called /home but it is actually stored on the partition /dev/sdb1

If I power it down, remove the SD card, and boot it up again, /home is still there (but 16GB of files are not).

/home is just a directory, or mountpoint, and you can mount anything there:

If I wanted to, I could have my /home appear in the root filesystem perfectly normally, when in reality it is of many Terabytes, on another server (runing nfs) thousands of miles away.

Linux is awesome. But it takes a while to get your head around it. Then you think "That's a really sensible way of doing things".

... You posted whilst I was composing - hope you get it sorted out.

Last edited by tredegar; 12-12-2008 at 02:00 PM.
 
  


Reply



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
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
restoring desktop directory in /root (or any home directory) mel_lai Linux - Newbie 3 02-04-2008 03:13 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration