Thank you all for your input and ideas, it has been an interesting time.



I have ended up with the following conclusions, some of which are 
specific to our circumstance.


* lofs

   Having all zfs file-systems as one export, would have been very 
attractive, but unfortunately, lofs will only let you export one zfs.

If there is another file-system it will only appear as an empty 
directory after NFS export. Worse, you can write to this directory on 
the NFS clients, and the changes happen "under" the zfs file-system.

This solution will not work here. If only it handled just 2-levels of 
file-systems!



* automount

   Apart from my initial reservation on using automount, I did find that 
if I set the timeout to 1 minute or so, I successfully managed to rsync 
the NetApp users on the volumes I copied, to the x4500. (during copy the 
number of mounts stayed around ~500). With a higher timeout, it reached 
about 2000 mounts before the NFS client stalled, and rsync died with errors.

However, I have not been about to find a way to make automount detect a 
newly created zfs. Not even forcing re-mount appears to work if the 
mount is busy.

Re-mounting, successful or not, on 500 servers when we create a new user 
is not acceptable.


* NFSv4 mirror-mounts

Untested as it is not available (at least not as a Solaris install DVD 
from sun.com). However, upgrading 500 NFS client servers to NFSv4 means 
this is simply not feasible. [1]



* What I have not tested:

Since I fill users into LDAP, perhaps I can configure automount to read 
user's home-directory paths there, and detect new accounts quicker. Maybe?




I have run out of solutions to test, so unless someone can come up with 
other suggestions or solutions, we have to consider that the x4500 can 
not live up to the requirements of our current NetApp system.




Jorgen Lundman




[1]
I am also unsure if the nfsv4-idmapping will be an issue. The NetApp / 
NAS does not care about uids, nor should it, whereas Solaris appears to 
map "unknown" users to nobody with nfsv4. Having a complete 
uid->textname listed on a NAS should not be required, but maybe there is 
a way around it, I have not had time to test.







-- 
Jorgen Lundman       | <[EMAIL PROTECTED]>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to