We want to do someting smart to limit the number of mountpoints for our Netapp users, and to make admin more easy. Question is: "Is there a way to let the filer tell cifs and nfs -boxes to follow links pointing between volumes ,in the same way as they do concerning homedirs? "
On our Netapp 760 running 6.1.1R1 we have 2 big volumes for projects :
/vol/vol0/proj1 -access=eto-hosts,root=grimstad1:bagri1 /vol/vol1/proj2 -access=eto-hosts,root=grimstad1:bagri1
the same volumes are also cifs shares: PROJ1 /vol/vol0/proj1 Prosjektkataloger (PROJ1) everyone / Full Control PROJ2 /vol/vol1/proj2 Prosjektkataloger (PROJ2)
Tried this experiment to limit the users to mount just /vol/vol0/proj :
Made a /vol/vol/vol0/proj directory, containing links :
# ls -l /fagri2/vol/vol0/proj/
lrwxrwxrwx 1 root other 19 Aug 9 15:59 adm -> /vol/vol0/proj1/adm lrwxrwxrwx 1 root other 20 Aug 9 15:59 alex -> /vol/vol0/proj1/alex lrwxrwxrwx 1 root other 19 Aug 9 15:59 aps -> /vol/vol0/proj1/aps . . .
and a new cifs share:
proj /vol/vol0/proj everyone / Full Control
Mounted /vol/vol0/proj on a unix workstation, and it sees only links , win2000 and NT doesnt even understand what to do with a link....
....so this is probably not the way to do it...
-any good ideas?
Torkel.
Symbolic Links on directories are ok; you should prevent links on files.
Relative Symbolic Links could followed by cifs clients.
you have follwing options for the behaviour: options cifs.symlinks.enable on/off options cifs.symlinks.cycleguard off should prevent .,..-troubles
i think you could also try to use absolute sybolic links with /etc/symlink.translations .
cu hannes
TORKEL LEIKANGER wrote:
We want to do someting smart to limit the number of mountpoints for our Netapp users, and to make admin more easy. Question is: "Is there a way to let the filer tell cifs and nfs -boxes to follow links pointing between volumes ,in the same way as they do concerning homedirs? "
On our Netapp 760 running 6.1.1R1 we have 2 big volumes for projects :
/vol/vol0/proj1 -access=eto-hosts,root=grimstad1:bagri1 /vol/vol1/proj2 -access=eto-hosts,root=grimstad1:bagri1
the same volumes are also cifs shares: PROJ1 /vol/vol0/proj1 Prosjektkataloger (PROJ1) everyone / Full Control PROJ2 /vol/vol1/proj2 Prosjektkataloger (PROJ2)
Tried this experiment to limit the users to mount just /vol/vol0/proj :
Made a /vol/vol/vol0/proj directory, containing links :
# ls -l /fagri2/vol/vol0/proj/
lrwxrwxrwx 1 root other 19 Aug 9 15:59 adm -> /vol/vol0/proj1/adm lrwxrwxrwx 1 root other 20 Aug 9 15:59 alex -> /vol/vol0/proj1/alex lrwxrwxrwx 1 root other 19 Aug 9 15:59 aps -> /vol/vol0/proj1/aps . . .
and a new cifs share:
proj /vol/vol0/proj everyone / Full Control
Mounted /vol/vol0/proj on a unix workstation, and it sees only links , win2000 and NT doesnt even understand what to do with a link....
....so this is probably not the way to do it...
-any good ideas?
Torkel.