* XFS + LVM + quota = disk quota exceeded
@ 2010-02-18 10:06 Patryk Lason
2010-02-18 22:10 ` Eric Sandeen
0 siblings, 1 reply; 3+ messages in thread
From: Patryk Lason @ 2010-02-18 10:06 UTC (permalink / raw)
To: xfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: XFS + LVM + quota = disk quota exceeded
2010-02-18 10:06 XFS + LVM + quota = disk quota exceeded Patryk Lason
@ 2010-02-18 22:10 ` Eric Sandeen
2010-02-19 6:42 ` Patryk Lason
0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2010-02-18 22:10 UTC (permalink / raw)
To: p.lason; +Cc: xfs
Patryk Lason wrote:
> 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.
...
> 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?
file quota maybe, not block quota; quota -i ?
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XFS + LVM + quota = disk quota exceeded
2010-02-18 22:10 ` Eric Sandeen
@ 2010-02-19 6:42 ` Patryk Lason
0 siblings, 0 replies; 3+ messages in thread
From: Patryk Lason @ 2010-02-19 6:42 UTC (permalink / raw)
To: Eric Sandeen; +Cc: xfs
On Thursday 18 of February 2010, Eric Sandeen wrote:
> Patryk Lason wrote:
> > 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.
>
> ...
>
> > 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?
>
> file quota maybe, not block quota; quota -i ?
Looks like I've found it.
I played with "-d" parameter for "limit" in xfs_quota.
I wanted to set default quota for users, but using the following
command:
limit -u bsoft=5g bhard=7g isoft=0 ihard=0 -d
the limit is set also for groups.
That's why I couldn't created any file.
I have xfsprogs-2.9.4.
Regards,
Patryk
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-19 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 10:06 XFS + LVM + quota = disk quota exceeded Patryk Lason
2010-02-18 22:10 ` Eric Sandeen
2010-02-19 6:42 ` Patryk Lason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox