PDA

View Full Version : Mount multiple drives in 1 folder?


MetalMusicAddict
January 21st, 2006, 01:24 PM
Im putting together my server and Im wondering if there is a way to make seperate physical drives mount in 1 folder? Or mount them so as they look to be 1 drive/folder. I want to do this so sharing them is easier.

example:
I have video spread out over multiple drives. If I could mount them in 1 folder called "Video" I could just share that folder on the network and have access to everything without having multiple shares leading to all my video.

localzuk
January 21st, 2006, 05:15 PM
I think the easiest thing would be to mount them as subdirectories of one spot. For example, I have a directory /multimedia and then 3 other hdd's mounted as /multimedia/video /multimedia/audio /multimedia/images

I then share /multimedia and everyone can get to all 3. The other solution would be to create a raid array of the drives you wish to use together (which involves wiping them) and then mounting the array at one point - but I don't think this will be what you will be looking for.

spectre_25gt
January 23rd, 2006, 07:49 PM
Another problem with doing raid is that budgetary considerations would probably make you look toward raid 0 which is inherently unsafe. If one drive dies then all of your data is gone. Also, the drives should be the same size (some would say same model) for raid 0.

Glut
January 24th, 2006, 12:44 AM
Im putting together my server and Im wondering if there is a way to make seperate physical drives mount in 1 folder? Or mount them so as they look to be 1 drive/folder. I want to do this so sharing them is easier.

As above, you can RAID 0 or RAID JBOD (Just a Bunch of Disks). JBOD has the advantages that you can use disks with differing sizes and if one drive fails you [i]may[i] be able to recover some of the data from other disks.

I personally feel that the safest option is that of the original reply and mounting sub-directories.

superm1
January 24th, 2006, 04:11 AM
You may also want to look into LVM (Logical Volume Management). Its setup very similar to JBOD, but easier to add several drives to the mix as needed and dynamically remove as needed. I use 5 drives for my mythtv setup all mount at one mount point this way.