# Two mounting points merge into a Virtual HD

**URL:** <https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731>\
**Category:** macOS\
**Created:** [March 14, 2013, 7:57pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731 "2013-03-14T19:57:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VicoAndres](https://community.unix.com/letter_avatar/vicoandres/32/5_5575768a8748004e209b776fc1b2916d.png) [@VicoAndres](https://community.unix.com/u/VicoAndres)\
**Post date:** [March 14, 2013, 7:57pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731/1 "2013-03-14T19:57:24Z")

</div>

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? 😕

---

<div class="post-metadata">

**Author:** ![verdepollo](https://community.unix.com/user_avatar/community.unix.com/verdepollo/32/1854_2.png) [@verdepollo](https://community.unix.com/u/verdepollo)\
**Post date:** [March 14, 2013, 9:00pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731/2 "2013-03-14T21:00:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![VicoAndres](https://community.unix.com/letter_avatar/vicoandres/32/5_5575768a8748004e209b776fc1b2916d.png) [@VicoAndres](https://community.unix.com/u/VicoAndres)\
**Post date:** [March 14, 2013, 9:24pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731/3 "2013-03-14T21:24:36Z")

</div>

> [@verdepollo](#):
>
> 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!

---

<div class="post-metadata">

**Author:** ![verdepollo](https://community.unix.com/user_avatar/community.unix.com/verdepollo/32/1854_2.png) [@verdepollo](https://community.unix.com/u/verdepollo)\
**Post date:** [March 14, 2013, 9:46pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731/4 "2013-03-14T21:46:57Z")

</div>

> [@vicoandres](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![danielsutton](https://community.unix.com/letter_avatar/danielsutton/32/5_5575768a8748004e209b776fc1b2916d.png) [@danielsutton](https://community.unix.com/u/danielsutton)\
**Post date:** [March 27, 2013, 3:03pm UTC](https://community.unix.com/t/two-mounting-points-merge-into-a-virtual-hd/325731/5 "2013-03-27T15:03:26Z")

</div>

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 🙂

Happy computing!
