LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Multiple devices on the same mount point (https://www.linuxquestions.org/questions/linux-hardware-18/multiple-devices-on-the-same-mount-point-59882/)

Knotz 05-15-2003 04:10 AM

Multiple devices on the same mount point
 
Hi everyone :)
I'm wondering if it's possible to mount multiple devices on the same mount point.
I wish to have both devices (hda2 and hda4) mounted on the root dir.

I tried to just mount the two device on the same point.
Mount command issued by itself:
bash-2.05b# mount
/dev/hda2 on / type ext3 (rw)
/dev/hda4 on / type ext3 (rw)

Then I checked the diskspace using df:
bash-2.05b# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 4730632 2577056 1909388 58% /
/dev/hda4 4730632 2577056 1909388 58% /

It is showing the same size, anyone have a clue on how to solve this?
I tried to copy over a large file and the diskspace ran out at 100% even though there's enough space to save it on hda4.

Thanks :)

MasterC 05-15-2003 04:16 AM

So you are trying to mount these 2 devices on the same mount point and have the full "size" of both partitions available? Sounds like a cool idea, but I don't think it's possible. You might be able to do something like that with LVM, but that's waaay beyond me (check www.tldp.org ).

Cool

MasterC 05-15-2003 04:23 AM

http://tldp.org/HOWTO/LVM-HOWTO/index.html

There is the link to the HowTo. That really is sounding more and more like what it is you are looking for ;)

Cool

acid_kewpie 05-15-2003 04:27 AM

you really can't do that at all. maybe you're not quite up on how unix file systems work together, but that's certainly nothing you should be trying to do. typically a root filesystem would actually be very small with things like /usr and /home having their own partitions. What you're after would be a really bad idea, *IF* it was even possible, which (i hope and presume) it isn't


All times are GMT -5. The time now is 10:00 PM.