public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Patryk Lason <p.lason@cyfronet.pl>
To: xfs@oss.sgi.com
Subject: XFS + LVM + quota = disk quota exceeded
Date: Thu, 18 Feb 2010 11:06:36 +0100	[thread overview]
Message-ID: <201002181106.36672.p.lason@cyfronet.pl> (raw)

Hello,

I'm not able to touch a file on an XFS filesystem with quotas created on an LVM 
volume.
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 
(rw,noatime,usrquota,grpquota)

  --- 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 
on
/dev/mapper/lvm--people-people
                        742740 10737418240 10737418240   00 [--------] /people


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


What may be wrong and where?

Regards,
Patryk

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2010-02-18 10:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 10:06 Patryk Lason [this message]
2010-02-18 22:10 ` XFS + LVM + quota = disk quota exceeded Eric Sandeen
2010-02-19  6:42   ` Patryk Lason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201002181106.36672.p.lason@cyfronet.pl \
    --to=p.lason@cyfronet.pl \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox