We just met the case that usedbydataset  is bigger than refquota. It prevents 
users from removing files while the file system is full.
I  guess it could come from quota setting(we set both quota and refquota). 
Normally we have the equation -- “usedbydataset” = “userdata” + “metadata”.
Will refquota also constraint metadata? In this case, usedbydataset  is only 
98107 bigger than refquota(zfs get –Hp …). It is really trivial if we don’t 
feed “-Hp”.
       zfs get quota,refquota,usedbysnapshots,usedbydataset,used cn03/3/is8169am
      NAME             PROPERTY         VALUE     SOURCE
     cn03/3/is8169am  quota            55G       local
     cn03/3/is8169am  refquota         50G       local
     cn03/3/is8169am  usedbysnapshots  3.24G     -
     cn03/3/is8169am  usedbydataset    50.0G     -
     cn03/3/is8169am  used             53.2G     -

For metadata is variable, I think it should not be accounted in refquota. 
Correct?


Thanks.

Fred
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to