Jump to content
xisto Community
djXternal

Mount Two Hdd's In One Location

Recommended Posts

Hey guys I'm using Fedora Core 5, I was wondering if its possible to mount two hardrives (hdb and hdd on my system) on one folder using /etc/fstab.... if I just mount them with default options on the same folder the newest mounted takes over the folder and nothing on the older mount can be seen

Share this post


Link to post
Share on other sites

Hey guys I'm using Fedora Core 5, I was wondering if its possible to mount two hardrives (hdb and hdd on my system) on one folder using /etc/fstab.... if I just mount them with default options on the same folder the newest mounted takes over the folder and nothing on the older mount can be seen

Not sure of the proper way, maybe you can try to mount it as another folder, then copy/move everything over, then mount back as what you just did. Crude, but should work

Share this post


Link to post
Share on other sites

You don't really need to mount them on the same folder.I suppose that you want both of them to be mounted at the same time, and do copy-paste from the first one to the second one ?The, mount the first one on /mnt/oneAnd mount the second one on /mnt/twoAnd then, use a symbolic link to the real directory.

CONSOLE
ln -s /home/myreal_folder /mnt/two
The, when you want to youse /home/myreal_folder you will use the first disk.If you prefer switch to the first folder, just type
CONSOLE
unlink /home/myreal_folder ln -s /home/myreal_folder /mnt/one
Hope this helpedYordan

Share this post


Link to post
Share on other sites

Hey guys I'm using Fedora Core 5, I was wondering if its possible to mount two hardrives (hdb and hdd on my system) on one folder using /etc/fstab.... if I just mount them with default options on the same folder the newest mounted takes over the folder and nothing on the older mount can be seen

It's hard to understand what you really need. If you want to access two hard drives as one big drive, LVM is right tool.
Fedora installer by default create LVM, so you can add phisical volumes, hdb and hdd, to system's VolGroup00.
Another option is to create new volume group on first hard drive, say hdb, then add second, hdd, as new phisical volume. After that you can create logical volume which will reside on both disks.
Tips:
man lvm
vgcreate
lvcreate

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.