Results 1 to 7 of 7
Hi all,
I have designed (on paper) that my new Linux install will use several partitions to form the single root filesystem. In details it looks like this:
/dev/sda1: /boot ...
- 11-27-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
My partition setup, but cannot mount?
Hi all,
I have designed (on paper) that my new Linux install will use several partitions to form the single root filesystem. In details it looks like this:
/dev/sda1: /boot directory
/dev/sda5: swap partition
/dev/sda6: /var/log
/dev/sda7: /var
/dev/sda8: /tmp
/dev/sda9: /usr,/bin,/sbin,/lib,/opt
/dev/sda10: /, /dev, /proc
/dev/sda11: /home, /root
However i now come to realise that it in fact may not be possible to mount the /dev/sda9 partition properly, since as far as I understood about 'mount', it will mount a single device (partition in this case) at a single filesystem point. In other words, how will I be able to keep /usr,/bin,/sbin,/lib,/opt on a same partition, and fuse them into my root tree? I really dont want to split the partition into 5, one per directory, and I dont want to have a single partition for the drive...Is my design realisable?
Thanks...
- 11-27-2007 #2
You might be able to put this all together, but I dont get why youd want this.
Well you need to have mount(executeable) and /etc and /proc for sure on one partition.
Id put /bin and /sbin on the sda10 if you want it as big as this.
Id change sda6 with 7. Just since it makes more logic.
But again I dont get this.
If you want to make a Huge Partition Schreme Id do:
/boot
/
/home
/root
/var
swap
Ahwell, you can try it
Make sure the fstab file makes sence to you before you begin with this.
Cheers,
Robin
- 11-27-2007 #3Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Hi Amn,/dev/sda9: /usr,/bin,/sbin,/lib,/opt
/dev/sda10: /, /dev, /proc
/dev/sda11: /home, /root
How do you propose to mount these points ?RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-27-2007 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
- 11-27-2007 #5Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
The reason my layout is the way it is, is that files obviously have different lifetimes, and I facilitated this fact by splitting parts of the known UNIX tree into several partitions, so each can let the filesystem optimise it independently of others, not to mention eventually i might decide to use different filesystems (xfs/jfs/reiserfs) for different partitions, those having many small files like /tmp (PERHAPS) managed by reiser4 for instance. Not to mention if a partition dies, if it is not the last one hosting my private files (/home) in most cases i will be able to reinstall the system without too much trouble.
Also the outer tracks (lower partitions are faster), so parts of / tree that are accessed most often use lower partition numbers. /home and /root are last for instance, because i project they will host many large files, but the user is usually the slowest part of the human-machine interface, so i predict my own files will "live in peace" compared to system files.
- 11-27-2007 #6Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
I mean it is easy to mount a /usr hosting partition to /usr tree branch. Let's say / is hosted on partition sda10 and /usr (with all its subbranches) on sda9.
Then i just do:
But how do i proceed mounting /lib for instance, which is ALSO on partition sda9 ? Thats the tricky part. I could get away with LVM, since my original design only requires separated hosting of different parts of / tree, but LVM only creates device nodes, which in turn have to be mounted anyways, so the problem still stands.Code:mount /dev/sda10 / mkdir /usr mount /dev/sda9 /usr
UnionFS looked like a possible solution, but it turned out it is for slightly different purposes.
RobinVossen, you mentioned having /etc and /opt on ONE partition. How do i mount these then, the same problem arises as the one i am trying to solve?
- 11-28-2007 #7
Ah I see waht you want.
Well on the Disk you already need the folders like usr and etc for example.
You have to mount that on / but since you want to mount more filesystems this way I think you might need Statical Linking to Acomlish what you want.
I get the point. But I think you are one of the first people trying this


Reply With Quote
