LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Two partitions one mount point? (https://www.linuxquestions.org/questions/linux-newbie-8/two-partitions-one-mount-point-722799/)

1337 04-30-2009 04:01 PM

Two partitions one mount point?
 
Like the title says, I'm wondering if this is possible. I have several hard drives in my box and I want to mount 2 of them as /home. I am doing a reinstall of Slackware 12.2 btw

rweaver 04-30-2009 04:15 PM

Quote:

Originally Posted by 1337 (Post 3526165)
Like the title says, I'm wondering if this is possible. I have several hard drives in my box and I want to mount 2 of them as /home. I am doing a reinstall of Slackware 12.2 btw

No. (You can do the reverse, but not that.)

custangro 04-30-2009 04:18 PM

Quote:

Originally Posted by 1337 (Post 3526165)
Like the title says, I'm wondering if this is possible. I have several hard drives in my box and I want to mount 2 of them as /home. I am doing a reinstall of Slackware 12.2 btw

You can create them as a "stripe" software RAID...but the problem with that is that you lose one hard disk...ALL your data is gone...

You can "mirror" the data but you only get 50% of capacity (i.e. if you have 2 100G drives...you only get 100G in a "mirror" NOT 200)

The "ideal" way is to RAID5 them...but this requires 3 disks...

A software RAID is good...but a Hardware RAID would be preferable.

-C

1337 04-30-2009 04:21 PM

Thanks for the quick reply!

@custangro: I'm not trying to set it up as raid, I just want to increase the capacity of /home. Thanks anyways.

billymayday 04-30-2009 04:27 PM

You could look into LVMs then. Not sure about under slack though.

custangro 04-30-2009 04:30 PM

Quote:

Originally Posted by 1337 (Post 3526184)
Thanks for the quick reply!

@custangro: I'm not trying to set it up as raid, I just want to increase the capacity of /home. Thanks anyways.

Then I think billymayday is right. LVM will probably be the way to go.

You can create an LVM logical volume with the 2 disks...but remember LVM dosen't provide fault tolerance (i.e. if you loose 1 disk...you run the risk of losing all your data!!!).

Just a friendly warning :)

1337 04-30-2009 05:08 PM

@billymayday: Thanks for pointing me in the right direction.

[SOLVED] - Check out http://fedoranews.org/mediawiki/inde...tions_with_LVM for setting up LVM to increase your /home capacity.

ajlewis2 04-30-2009 08:17 PM

I have /home on one partition and then /home/ajlewis2/Documents on another and then /home/ajlewis2/media on another. That increases the size of /home quite a bit.

1337 04-30-2009 10:58 PM

thanks for the suggestion ajlewis, but I have already formatted and I've got a nice big /home using LVM. This way I don't have to worry if I'm downloading some big file which partition to save it to, I can save all my torrents to /home/ryan/downloads. Thanks again


All times are GMT -5. The time now is 09:37 AM.