Hopefully this will confirm to you that it should work:

x4500-10:~# zfs get userqu...@57564 zpool1/sd02_www
NAME             PROPERTY         VALUE            SOURCE
zpool1/sd02_www  userqu...@57564  29.5G            local



prov01# df -h |grep sd02
x4500-10.unix:/export/sd02/www    16T   839G    15T     6%    /export/sd02/www

remote/read/write/setuid/devices/vers=4/hard/intr/quota/xattr/dev=4700038


# quota -v 57564
Disk quotas for (no account) (uid 57564):
Filesystem     usage  quota  limit    timeleft  files  quota  limit    timeleft
/export/sd02/www
                  15 30932992 30932992                  0      0      0



I would suggest the usual things to check:

online         Aug_20   svc:/network/nfs/rquota:default

If you are using NFSv4, check /var/run/nfs4_domain match, we mount the volumes with "-o rq" (due to legacy reasons, it was UFS at one time) but I don't know if that is still required.



Willi Burmeister wrote:
Hi,

we have a new fileserver running on X4275 hardware with Solaris 10U8.

On this fileserver we created one test dir with quota and mounted these
on another Solaris 10 system. Here the quota command didnot show the
used quota. Does this feature only work with OpenSolaris or is it
intended to work on Solaris 10?

Here what we did on the server:

# zfs create -o mountpoint=/export/home2 zpool1/home
# zfs set sharenfs=rw=sparcs zpool1/home
# zfs set userqu...@wib=1m zpool1/home

# mkdir /export/home2/wib
# cp<some stuff>  /export/home2/wib
# chown -Rh wib:sysadmin /export/home2/wib

# zfs userspace zpool1/home
TYPE        NAME    USED  QUOTA
POSIX User  root      3K   none
POSIX User  wib     154K     1M

# quota -v wib
Disk quotas for wib (uid 90):
Filesystem     usage  quota  limit    timeleft  files  quota  limit    timeleft
/export/home2
                  154   1024   1024           -      -      -      -           -

and the client:

# mount<server>:/export/home2/wib /mnt

% cd /mnt
% du -sk .
154     .

% quota -v wib
Disk quotas for wib (uid 90):
Filesystem     usage  quota  limit    timeleft  files  quota  limit    timeleft


A simple snoop on the network shows us:

   client ->  server   PORTMAP C GETPORT prog=100011 (RQUOTA) vers=1 proto=UDP
   server ->  client   PORTMAP R GETPORT port=32865
   client ->  server   RQUOTA C GETQUOTA Uid=90 Path=/export/home2/wib
   server ->  client   RQUOTA R GETQUOTA No quota

Why 'no quota'?

Both systems are nearly fully patched.


Any help is appreciated. Thanks in advance.

Willi

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


--
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

Reply via email to