System Linux

From MDWiki
Jump to navigationJump to search

Mounting your home directory on your laptop

1. create a folder where you want to mount the directory (you probably have to be root) for example;

mkdir /mnt/guava

2. edit the file: /etc/fstab add the folowing line (you must be root):

guava.md.smms.uq.edu.au:/ /mnt/guava nfs4 rw,rsize=8192,wsize=8192,timeo=14,intr

3. reboot

4. Go into /mnt/guava you should now see data1 data2 data6 home and software. I don't know why, but the username and group name are not correctly set (I have nobody and nobody) when I do a ls -la on my mounted home directory. Nevertheless, I still have the correct privilege. If you find a solution, please update this wiki page!

5. If you don't have the correct write privilege, it is probably because your userid and groupid on YOUR laptop doesn't match your userid and groupid in the system. So you will probably have to create a new acount on your laptop with the same name, uid, gid as on the system, and migrate your old account to your new account.