Results 1 to 3 of 3

Thread: Multiple NASs on a single mounted directory.

  1. #1
    Join Date
    Jul 2010
    Beans
    32

    Question Multiple NASs on a single mounted directory.

    I have a WD Mybook NAS that is SAMBA and NFS compatible. Everything works an absolute dream in Ubuntu 13.04. I mount the drive on bootup using an entry in FSTAB.

    I am about to run out of space on my NAS and a double sized NAS is a bit expensive. A cheaper option could be to buy an identical sized NAS, and use two drives. I could add a 2nd entry in FSTAB and have two directories mapped to my two NASs. However.... could I mount BOTH the drives onto a single directory so the two NASs would appear as one single mapped/mounted directory?

    TIA

  2. #2
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    804
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Multiple NASs on a single mounted directory.

    You should try mhddfs (in the repos). It's very simple to use and has few options; most operations are done intelligently. It will merge two mount points into a third.
    It can be run by a user or used in the context of fstab.
    Example of a commandline:
    Code:
    mhddfs /nfs/mount1 /nfs/mount2 /mergednfs
    See man mhddfs for more info.
    Cheers!
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  3. #3
    Join Date
    Jul 2010
    Beans
    32

    Re: Multiple NASs on a single mounted directory.

    Thanks! Sorry for taking so long to reply, I've only just bought my 2nd NAS. mhddfs looks like just what I need. I'll try it when I get home.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •