using NFS - how to allow file system of another disk on server
My server has two disks - one mapped root/data where I keep all my pictures. I'm having trouble accessing this filesystem frommy client using NFS. There are no other issues with NFS - I can access anything else. How should I edit the /etc/export file? Here is what I tried:
Code:
/home 192.168.1.4(rw,sync,no_root_squash,no_subtree_check) thanks |
You should not be root as the regular user on your system. There is too much potential for error. Standard setup on Linux systems is to disable root login and have a login as a regular user. Use sudo for admin tasks.
Your specific problem is mounting data under root's private directory /root. Fix the other problems and mount data at /data. Change the permissions so that it can be accessed by your regular user. Then you will be able to export it without problems. |
I'm aware of the danger associated with logging on as root. I only do this for administration purposes. I have the file permissions as such:
Code:
drwxrwxrwx 11 root root 4096 Jan 6 09:08 data solved - I just wasn't mounting /data on the client. duh! thanks |
All times are GMT -5. The time now is 12:01 PM. |