Results 1 to 5 of 5

Thread: quota v3.17 vfsv1 support and upper limit expansion

  1. #1

    Default quota v3.17 vfsv1 support and upper limit expansion

    Hello, world!
    Could sombody help me with info on the case: server with OpenSUSE 11.4 installed
    (#uname -a
    Linux dataserver0 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux)

    posesses 9 Tb raid array with ext4 on it in single partition.
    (#df -hT /volume1/
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sdb1 ext4 9.0T 9.1G 8.5T 1% /volume1 )

    Quota tools from official repo sucsessfully installed
    (#quota -V
    Quota utilities version 3.17.
    Compiled with: EXT2_DIRECT HOST_ACCESS ALT_FORMAT RPC BSD_BEHAVIOUR
    # zypper info quota
    Repository: @System
    Name: quota
    Version: 3.17-12.15.1
    Arch: x86_64
    Vendor: openSUSE
    Status: up-to-date)

    PROBLEM: I'm trying to set up disk quota hardlimit more than 999 999 999 1k blocks (~954Gb) both by Yast2 and setquota,
    so I've got an error

    #setquota -u commonmaster 0 7745000000 0 0 /volume1
    setquota: Cannot set quota for user 1003 from kernel on /dev/sdb1: Numerical result out of range
    setquota: Cannot write quota for 1003 on /dev/sdb1: Numerical result out of range
    # setquota -u -F vfsv1 commonmaster 0 7745000000 0 0 /volume1
    setquota: Unknown quota format: vfsv1
    Supported formats are:
    vfsold - original quota format
    vfsv0 - new quota format
    rpc - use RPC calls
    xfs - XFS quota format

    Meantime, according to the link Setup user/group quotas >4TiB on Ubuntu - Server Fault
    I've checked the system already has patches for Ext* FS, it must know about vfsv1 format:

    /usr/src/linux/fs/ext3/super.c: fmtname = "vfsv1";
    /usr/src/linux/fs/ext3/super.c: Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_jqfmt_vfsv1, Opt_quota,
    /usr/src/linux/fs/ext3/super.c: {Opt_jqfmt_vfsv1, "jqfmt=vfsv1"},
    /usr/src/linux/fs/ext3/super.c: case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext3/super.c: case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext4/super.c: fmtname = "vfsv1";
    /usr/src/linux/fs/ext4/super.c: Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_jqfmt_vfsv1, Opt_quota,
    /usr/src/linux/fs/ext4/super.c: {Opt_jqfmt_vfsv1, "jqfmt=vfsv1"},
    /usr/src/linux/fs/ext4/super.c: case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext4/super.c: case Opt_jqfmt_vfsv1:

    I think the quota utilities are not familiar with vfsv1.
    May be some repos provide updated quota package?

    Well, I wonder, how to enable quota limit more than current 954Gb?
    Remark - I can't use OpenSUSE v12.1 due to the incompatibility with some important Intel software

    Thanks in advance,
    and sorry, it's my first posting here.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: quota v3.17 vfsv1 support and upper limit expansion

    On 2012-05-31 09:56, razoumovsky denis wrote:
    > and sorry, it's my first posting here.


    To make it easily readable, you have to use code tags for computer text.

    Posting in Code
    Tags - A Guide


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3

    Default Re: quota v3.17 vfsv1 support and upper limit expansion

    Thanks, robin_listas, I will try use codes, so re-post my message again:

    Could somebody help me with info on the case:
    server with OpenSUSE 11.4 installed
    Code:
    # uname -a 
    Linux dataserver0 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux
    posesses 9 Tb raid array with ext4 on it in single partition.
    Code:
    # df -hT /volume1/
    Filesystem    Type    Size  Used Avail Use% Mounted on
    /dev/sdb1     ext4    9.0T  9.1G  8.5T   1% /volume1
    Quota tools from official repo sucсessfully installed
    Code:
    # quota -V
    Quota utilities version 3.17.
    Compiled with: EXT2_DIRECT HOST_ACCESS ALT_FORMAT RPC BSD_BEHAVIOUR
    
    # zypper info quota
    Repository: @System
    Name: quota
    Version: 3.17-12.15.1
    Arch: x86_64
    Vendor: openSUSE
    Status: up-to-date
    PROBLEM: I'm trying to set up disk quota hardlimit more than 999 999 999 1k blocks (~954Gb) both by Yast2 and setquota,
    so I've got an error
    Code:
      # setquota -u commonmaster 0 7745000000 0 0 /volume1
    setquota: Cannot set quota for user 1003 from kernel on /dev/sdb1: Numerical result out of range
    setquota: Cannot write quota for 1003 on /dev/sdb1: Numerical result out of range
    
      # setquota -u -F vfsv1 commonmaster 0 7745000000 0 0 /volume1
    setquota: Unknown quota format: vfsv1
    Supported formats are:
      vfsold - original quota format
      vfsv0 - new quota format
      rpc - use RPC calls
      xfs - XFS quota format
    Meantime, according to the link Setup user/group quotas >4TiB on Ubuntu - Server Fault I've checked the system already has patches for Ext* FS, it must know about vfsv1 format:
    Code:
    # grep vfsv1 /usr/src/linux/fs/ext[3,4]/*
    /usr/src/linux/fs/ext3/super.c:                 fmtname = "vfsv1";
    /usr/src/linux/fs/ext3/super.c: Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_jqfmt_vfsv1, Opt_quota,
    /usr/src/linux/fs/ext3/super.c: {Opt_jqfmt_vfsv1, "jqfmt=vfsv1"},
    /usr/src/linux/fs/ext3/super.c:         case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext3/super.c:         case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext4/super.c:                 fmtname = "vfsv1";
    /usr/src/linux/fs/ext4/super.c: Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_jqfmt_vfsv1, Opt_quota,
    /usr/src/linux/fs/ext4/super.c: {Opt_jqfmt_vfsv1, "jqfmt=vfsv1"},
    /usr/src/linux/fs/ext4/super.c:         case Opt_jqfmt_vfsv1:
    /usr/src/linux/fs/ext4/super.c:         case Opt_jqfmt_vfsv1:
    I think the problem is that quota utilities used are not familiar with vfsv1 format. May be some repos provide updated quota package?

    Well, I wonder, how to enable quota limit more than current 954Gb?
    Remark - I can't use OpenSUSE v12.1 due to the incompatibility with some important Intel software

    Thanks in advance

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: quota v3.17 vfsv1 support and upper limit expansion

    On 2012-05-31 21:46, razoumovsky denis wrote:
    >
    > Thanks, robin_listas, I will try use codes, so re-post my message again:
    >


    Wow, now I understand it :-)

    I have not used quotas, but I'm going to give you an idea, if you don't get
    a better answer.

    >
    > PROBLEM: I'm trying to set up disk quota hardlimit more than 999 999
    > 999 1k blocks (~954Gb) both by Yast2 and setquota,


    Actually, ~954 GiB or 1023 GB >;-)

    Gibibyte
    Binary prefix


    > so I've got an error


    which I think you should report in Bugzilla for a proper answer.

    openSUSE:Submitting bug
    reports



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5

    Default Re: quota v3.17 vfsv1 support and upper limit expansion

    as a result:
    "Michal Marek 2014-12-03 14:39:29 UTC vfsv1 is supported nowadays."

    In the repo used there is no updated quota package still.
    Let's think it is implemented in new versions of distro!
    Thanks for the attention

    Denis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •