[Top] [All Lists]

XFS + LVM + quota = disk quota exceeded

To: xfs@xxxxxxxxxxx
Subject: XFS + LVM + quota = disk quota exceeded
From: Patryk Lason <p.lason@xxxxxxxxxxx>
Date: Thu, 18 Feb 2010 11:06:36 +0100
Organization: ACK CYFRONET AGH
Reply-to: p.lason@xxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.30-gentoo-r8; KDE/4.3.5; i686; ; )

I'm not able to touch a file on an XFS filesystem with quotas created on an LVM 
Even if I set limits to 10TB on 2TB device.

OS: CentOS release 5.4 (Final)
Kernel: Linux nfs 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 
x86_64 x86_64 x86_64 GNU/Linux
Path to xfs: /lib/modules/2.6.18-164.11.1.el5/kernel/fs/xfs/xfs.ko

Device: /dev/mapper/lvm--people-people on /people type xfs 

  --- Volume group ---
  VG Name               lvm-people
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.00 TB
  PE Size               4.00 MB
  Total PE              524031
  Alloc PE / Size       524031 / 2.00 TB
  Free  PE / Size       0 / 0
  VG UUID               XYOrZr-6Pqv-JPKP-cuKU-xcbO-vfet-rbRgkO

  --- Logical volume ---
  LV Name                /dev/lvm-people/people
  VG Name                lvm-people
  LV UUID                X766hc-NkTy-TGFb-3FJE-syOg-uwwk-LrbYyc
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.00 TB
  Current LE             524031
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:12

# xfs_info /people/
meta-data=/dev/mapper/lvm--people-people isize=256    agcount=32, 
agsize=16768992 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=536607744, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0

From xfs_quota:
Disk quotas for User xxx (1111)
Filesystem              Blocks      Quota      Limit  Warn/Time      Mounted 
                        742740 10737418240 10737418240   00 [--------] /people

# su - xxx
$ pwd
$ touch a
touch: cannot touch `a': Disk quota exceeded

What may be wrong and where?


<Prev in Thread] Current Thread [Next in Thread>