Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Mounting one fileserver volume on another?

  • 22-11-2006 06:41PM
    #1
    Registered Users, Registered Users 2 Posts: 2,011 ✭✭✭


    We've got a linux fileserver in the office, which is fine, but one of the partions is getting quite full with our project archive. I want to archive this off onto another machine which has more space - all very well and good.

    However I don't want to have to setup and sync logins for the 2 machines, is it possible to mount one volume on another and use a symlink?

    That way users wouldn't even notice the difference?

    I'm not too worried about security, as it's a read-only folder and I'm the only one who archives the projects.


Comments

  • Registered Users, Registered Users 2 Posts: 3,312 ✭✭✭mr_angry


    I'd imagine that the following command should work fine:

    mount -t <filesystem-type> <remote-path> <local-path>

    That should setup everything you need. I can't see anything that would cause any complications with that.


  • Registered Users, Registered Users 2 Posts: 2,011 ✭✭✭colm_c


    Perfect!

    Worked first time!


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    the only thing there is that you need global read on a file, unless you sync the passwd/group files between the boxes(assuming using nfs exports/mounts)... though for your own user you could just manually change your uid/gid on the second box to match that on the first if its only for yourself.


  • Registered Users, Registered Users 2 Posts: 2,011 ✭✭✭colm_c


    Any scripts that would sync users and groups between boxes?

    Potentially run it as a cron every night (we don't get that many new users)


Advertisement