Thanks for the responses.

I’m sorry if this is a bit long winded but I thought that explaining the 
context might assist in describing the proposed solution.

I work for a University and we have an artificially high number of user 
accounts. We have applicants, current students and those that have just left 
(completed course/failed). All users get personal file space regardless of 
whether they use it or not hence, the need to host the personal file space of 
some 50k users.
Concurrency is actually only about 3k.

It been confirmed that the .zfs subdirectory only exists as the direct child of 
the mount point. 

The question was then... can someone suggest how I can make it visible lower 
down without requiring me (even if it were possible for 50k users) to make each 
users’ home folder a file system?

First thing, it’s simply not practical to have so many file systems. I’d 
already tested 5k and boot time was unacceptable, never mind the other inherent 
implications of such a strategy. Therefore, access to Previous Versions via 
Windows is out.

Having given consideration to the responses it’s essentially confirmed that 
that I need to expose a higher-level structure via a UNC path to allow access 
to .zfs.

Our student user accounts are prefixed with a letter.
Therefore I intend to have 26 volumes and within each volume, a directory per 
user. The smbautohome works fine and allows the path for Home Directory 
attribute in AD to be nice and short e.g. \\server\a123456.

The 26 top-level volumes will each need to be shared to allow the users to 
explore the snapshots via drilling down into the path e.g. 
\\server\prefixa\.zfs\snapshot\Monday\a124567\.

Not ideal since currently the snapshots are visible in their default home 
folder.

Edward Ned Harvey made a very good suggestion in his post regarding creating a 
symbolic link in their personal file space to drop them directly into the 
snapshot folder. Nice and simple so it should work well.

As an aside and perhaps I should log this as a different post, does anyone have 
any experience of making Windows see the assigned user quota value and not the 
physical allocation to the volume?
When we allocate personal quotas (zfs set userqu...@a1234567=5g pstuds/a) the 
actual amount of space reported by Windows is that of the volume and not the 
user.
I know the quotas are being enforced because Windows tells me there is not 
enough space when I’ve consumed the user quota. It would be nice for the user 
to see 5G and not say 50TB since it’ll raise expectations and confuse them.

Thanks again for the responses.

Michael.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to