View Full Version : [ubuntu] Union Mount

June 1st, 2010, 02:48 PM
Hey guys I just got a new 1.5 terra byte HDD because I ran out of room on my other 1.5 terra byte HDD but I hate them being separate. I really would like the computer to see them as one. I was looking at UnionFS but was wondering is there any other options people have used on here to get that to work?

June 1st, 2010, 05:23 PM
LVM (Logical Volume Manager) is typically used for this sort of thing.http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29

The Union FS is typically used for LiveCDs or USBs, to mix read-write and read-only filesystems to transparently overlay changes to the read-only filesystem. Not appropriate for two normal hard drives.

June 2nd, 2010, 04:15 PM
Cool thank you gmargo! Looks like I will be waiting a little while longer and getting a third HDD to make a RAID 5 array

April 22nd, 2011, 11:27 PM
you can also mount using aufs:
sudo mount -t aufs -o dirs=/dir1/=rw:/dir2/=rw aufs /mnt/test

I am using this in a chrooted environment to combine two source directories. I'm not exactly sure of the internals, but I notice that if I create a file/folder it will be on the first dir entry (/dir1 above) when unmounted.