LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-15-2003, 03:10 AM   #1
Knotz
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
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
 
Old 05-15-2003, 03:16 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 05-15-2003, 03:23 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 05-15-2003, 03:27 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
  


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
can I mount two devices to the same mount point? gsgleason Linux - Hardware 7 03-04-2005 05:29 AM
One mount point, multiple filesystems - how? hellwyn Linux - Hardware 4 02-15-2005 04:15 PM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:00 AM.

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