[ZFS-5] Reading userquota returns null Created: 05/May/11  Updated: 09/Mar/12

Status: Open
Project: zfs
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: galinette Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Setting userquota works but getting userquota always returns null.

LibZFS zfs = new LibZFS();
ZFSFileSystem userfs = zfs.create("mypool/home", ZFSFileSystem.class);
userfs.setProperty( "userquota@murphy", "1g");
System.out.println( "userquota for murphy:" + userfs.getUserProperty( "userquota@murphy" ) );

The userquota has been really set while verifying with "zfs get userquota@murphy mypool/home" returns the right value;



 Comments   
Comment by galinette [ 05/May/11 ]

Im using libzfs 0.5.

Comment by galinette [ 09/Mar/12 ]

The support for userquota has been added in libzfs 0.7 (https://bitbucket.org/tludewig/libzfs/)

Generated at Sun May 03 23:31:58 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.