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
|