Skip to content

[Installing] Two identical drives mounted as home dir?

Hello, I have already installed arch on a vm in prior, now I am installing it on my test rig with specs as follows:

Core 2 duo 64bit

2Gb of ram

1 * 40Gb IDE HDD -- unknown age; picked it up from school from a dead pc, previously had Ubuntu on it before arch.

2 * ~320Gb samsung sata HDDs -- circa 2004, used to hold vista in FAKEraid, then died, causing Ubuntu restore

Hauppage media recorder

I tried remaking the FAKEraid, but I could never get dmraid to activate. I then resorted to mdadm, but it also did not like the setup. I know these disks work because they do in non-raid formation.

I am in the part of the setup where I mounted the root partition under /mnt, and now I am to mount the home partition under /mnt/home. I know not to mount two partitions under the same dir, so I tried to make something akin to /mnt/home/one and /mnt/home/two, but this did not work because there is no /mnt (?)

Is what I'm trying to do possible? Or should I avoid mounting the second disk until after the install process is over? (when I can make the sub-dirs in /home)

EDIT: it appears I had a brain-fart: just had to make the /mnt/home dir first. Sometimes I wonder about myself :P

Should this still work with genfstabe?

Edited 30 Jun 2014. We only hold this version.

2 points7 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
2 · 100% up
Kind
Text
ID
29fi4f

Author

9
posts
50
comments
20
media
View profile

7 comments

The root partition should be mounted under / (that's why it's called root partition, right? ;) ). Then, if I were you, I'd mount one of the samsung drivers under /home and the other one wherever you please (/mnt/data for example). Of course, this should all be done during installation. Your writing is confusing, maybe have another look at the archwiki guide?

2 points

Set them both up as one LVM partition, then make /home use that entire partition.

2 points

Could always try out btrfs for home. You can easily bring in a second (or more) device and run in software raid.

1 points

It appears I managed to get mdadm to work with each large HDD having: 297G and 1.1G partitions

raid0'd the large partitions together as ext4, and the small are raid0'd swap C:

1 points

Good to hear! Mdadm is pretty awesome. I personally would have set the swap to be two independent partitions so you can balance usage of which drive gets used for swap how you see fit.

I can't recommend btrfs enough for home usage. You could do raid0 data and raid1 for Metadata and compress it all using the compress mount flag. This nets you best performance with the file system.

1 points

Just stick with one for the install then once you have everything running put the second under /mnt.

1 points

i'd like to suggest btrfs raid0, but all my butterface attempts have ended in tears.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.