zfs
  1. zfs
  2. ZFS-5

Reading userquota returns null

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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;

        Activity

        Hide
        galinette added a comment -

        Im using libzfs 0.5.

        Show
        galinette added a comment - Im using libzfs 0.5.
        Hide
        galinette added a comment -

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

        Show
        galinette added a comment - The support for userquota has been added in libzfs 0.7 ( https://bitbucket.org/tludewig/libzfs/ )

          People

          • Assignee:
            Unassigned
            Reporter:
            galinette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: