linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.2.2: edquota: WARNING - /dev/md2: cannot change current block allocation
@ 2012-02-02 21:40 Carlos Carvalho
  2012-02-06 16:10 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Carvalho @ 2012-02-02 21:40 UTC (permalink / raw)
  To: linux-ext4

When I tried to increase the quota of a user (postgres) I got this
edquota warning. The output of quota still showed the * indicating the
limit and the user couldn't allocate more disk. After a reboot (to
3.2.1) and quotacheck I had to use edquota again, and then it accepted
the increase and unblocked the allocations.

This is the output of mount|grep /dev/md2:
/dev/md2 on /home type ext4 (rw,relatime,user_xattr,acl,barrier=0,stripe=128,data=ordered,inode_readahead_blks=64,jqfmt=vfsv1,usrjquota=aquota.user,grpjquota=aquota.group)

How can this be?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.2.2: edquota: WARNING - /dev/md2: cannot change current block allocation
  2012-02-02 21:40 3.2.2: edquota: WARNING - /dev/md2: cannot change current block allocation Carlos Carvalho
@ 2012-02-06 16:10 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2012-02-06 16:10 UTC (permalink / raw)
  To: Carlos Carvalho; +Cc: linux-ext4

On Thu 02-02-12 19:40:04, Carlos Carvalho wrote:
> When I tried to increase the quota of a user (postgres) I got this
> edquota warning. The output of quota still showed the * indicating the
> limit and the user couldn't allocate more disk. After a reboot (to
> 3.2.1) and quotacheck I had to use edquota again, and then it accepted
> the increase and unblocked the allocations.
> 
> This is the output of mount|grep /dev/md2:
> /dev/md2 on /home type ext4 (rw,relatime,user_xattr,acl,barrier=0,stripe=128,data=ordered,inode_readahead_blks=64,jqfmt=vfsv1,usrjquota=aquota.user,grpjquota=aquota.group)
> 
> How can this be?
  Well, the message suggests that you edited actual block usage of user and
not his limit. That's why edquota complained and didn't change anything...
So it's nothing related to kernel nor a bug ;).

  As a side note, I always found edquota(8) error prone and I think
setquota(8) is a better tool to do what I need. But I guess it depends on
one's taste.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-06 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 21:40 3.2.2: edquota: WARNING - /dev/md2: cannot change current block allocation Carlos Carvalho
2012-02-06 16:10 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).