Two mounting points merge into a Virtual HD

Hello Guys,

Im just wondering if you could help me , any hint is welcome, in perfom the following:

I have two drives physically in which they mount it instantely with no problem to Finder, my question is if is possible to manually mount this two drives and to be merge into a only one drive, lets a virtual one.

E.G.

Disk_a
Disk_b

#mount Disk_a Disk_b into /Volumes/Disk_c_virtual.

Or if is possible to do it in linux? :confused:

There is a tool named "mhddfs" which supposedly supports exactly that; never tried it myself though.

It runs over fuser so -if you don't mind the performance hit- you could give it a try.

Thanks for the quick answer. I will search more about it. On the other hand I came up with the idea of doing the following:

  1. Create a intermediary folder call Disk_c_virtual
  2. see the mount point done automatically with "mount"
  3. cd /mnt/Unify
  4. do: ln -s /media/Diska/* .
    ln -s /media/Diskb/*.

And seems going but dunno possible sideffects, any comment/sugesstions are very welcome.

Thanks!

While it should work just fine, it's perhaps one of the dirtiest solutions I could possibly imagine.

Side effects that immediately come to my mind would be that if you delete a file in one of the 'real' filesystems, you'll end with an orphan symlink.

And if you have thousands of files, you'll end with a huge mess.

When mounting each drive, would you be able to mount both of them them into the same directory under /Volumes ? Such as mount -t ... /Volumes/Drive + mount -t ... /Volumes/Drive ?

Pardon me for dropping in on the conversation, but I thought I would add what I could... Let me know if you have any feedback... I hope I expressed myself clearly :slight_smile:

Happy computing!