Hi!
We have two DSS 5 servers which have to be backuped to an external storage system (IBM Tivoli):
Model: Data Storage Server
Version: 5.0up62.7102.3518 64bit
Release date: 2009-05-26
The NFS shares have therefore to be exported with the no_root_squash option. The goal is to have the no_root_squash option only set for a specific host (which runs the backup client). The workstations (192.168.1.x subnet) shall use root squashing. To do this I tried the following:
One logical volume "lvdss100" with two NAS shares, "home" and "nrs", which export the same directory "/lvdss100/home/", without and with no_root_squash, respectively.
First share: "home"
Path: /lvdss100/home/
[x] Use NFS
Allow access IP: 192.168.0.16/32;192.168.1.0/27
Allow write IP: 192.168.0.16/32;192.168.1.0/27
[ ] No root squash
Squash User: nobody
Squash Group: nogroup
Second share: "nrs"
Path: /lvdss100/home/
[x] Use NFS
Allow access IP: 192.168.0.16/32 <- The backup host.
Allow write IP: 192.168.0.16/32
[x] No root squash
Squash User: nobody <- irrelevant
Squash Group: nogroup <- irrelevant
This does not work, unfortunately. The "nrs" share is mounted properly:
dss1:/share/nrs on /mnt/dss/nrs1 type nfs (rw,acl,rsize=8192,wsize=8192,addr=192.168.4.1)
But "root" does not have root privileges.
To have "no_root_squash" work properly, I also have to check the "No root squash" option for the first share "home". But then all client "root" users have root access to the NFS directories.
If, e.g., the "nrs" mountpoint is changed to a subdirectory of /lvdss100/home/, everything works fine. But this is useless in this context.
Any hint what I did wrong?
Best regards,
-mcr