Oh I forgot the more important question.
Importing all the user quota settings; Currently as a long file of "zfs
set" commands, which is taking a really long time. For example,
yesterday's import is still running.
Are there bulk-import solutions? Like zfs set -f file.txt or similar?
If not, I could potentially use zfs ioctls perhaps to write my own bulk
import program? Large imports are rare, but I was just curious if there
was a better way to issue large amounts of "zfs set" commands.
Jorgen Lundman wrote:
Matthew Ahrens wrote:
Thanks for the feedback!
Thank you for the work, it sure is great!
This should work, at least on Solaris clients. Perhaps you can only
request information about yourself from the client?
Odd, but I just assumed it wouldn't work and didn't check further. But
telnet/rquota wasn't running.
But I do find that, from a server mounting the NFS volume:
# quota -v 1234
Disk quotas for (no account) (uid 1234):
Filesystem usage quota limit timeleft files quota limit
timeleft
/export/leroy
55409 1048576 1048576 0 0 0
However, on the x4500 server itself:
# quota -v 1234
Disk quotas for (no account) (uid 1234):
Filesystem usage quota limit timeleft files quota limit
timeleft
Of course I should use "zfs get userused" on the server, but that is
probably what confused the situation. Perhaps something to do with that
"mount" doesn't think it is mounted with "quota" when local.
I could try mountpoint=legacy and explicitly list rq when mounting maybe .
But we don't need it to work, it was just different from legacy
behaviour. :)
Lund
--
Jorgen Lundman | <lund...@lundman.net>
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