[Top] [All Lists]

Re: weird quota issue

To: xfs@xxxxxxxxxxx
Subject: Re: weird quota issue
From: Charles Weber <chaweber@xxxxxxxxx>
Date: Mon, 22 Dec 2014 11:34:42 -0500
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=X0h1UQ3UW9VgHZ8H7VF1jXAmBOSC+p3kDtcJzxbTvbs=; b=UiqT47EsIALaTFyMPBz/xZtXLJYH3MCa3tgdVYXMjOiicpYbNraikOvcwEjaZ7to6L itI37UEmKJ+16BvJbSWjEBdFVhWzZ/uBnG78uz8UhsMBnkNI7Zms3AUqGE7lW184YADW qriDiPtNdRTJg2FHV73nU8U2+/Uk7IRHwoYO1wk99XDSzsgSgFvXtr0L+JvWSZqL+/6J eu+Cgdi46jtkvTaj6/Ij4shdkj2OhDxyplyHrlBZfKVb2e3kpc5QqRkSoFnCxDiUb5F8 eIuG947ATz08v53f5VPgxHu7iIGWxu/jvVzVWIrkWR6WfFWtsP/i41YsJPW7gOlJxoxQ 6kcw==
In-reply-to: <3BD1EE39-8C26-4C5B-94B5-492422EECEDA@xxxxxxxxxxxx>
References: <3BD1EE39-8C26-4C5B-94B5-492422EECEDA@xxxxxxxxxxxx>
Odd fix but there you go.
1. I saw in earlier list mail to look at /proc/self/mounts. 
Indeed my /home was mounted there with the noquota option, even though the fstab clearly stated the quota user and project options. 
This persisted even if I dismounted and ran xfs_repair of the partition in question.

2. I rebooted with a forcefsck file. After the reboot/fsck, proc and fstab now match. Both list the partition with valid quota options.

On Dec 19, 2014, at 4:26 PM, Weber, Charles (NIH/NIA/IRP) [E] <WeberC@xxxxxxxxxxxxxxx> wrote:

HI everyone, long time xfs/quota user with new server and problem
hardware is HP BL460 G7 blade, qlogic fiber channel and 3Par 7200 storage
3 16TB vols exported from 3Par to server via FC. These are thin volumes, but plenty of available backing storage.

Server runs current patched CentOS 6.6
kernel 2.6.32-504.3.3.el6.x86_64
xfsprogs 2.1.1-16.el6
Default mkfs.xfs options for volumes

mount options for logical volumes  home_lv 39TB imap_lv 4.6TB
/dev/mapper/irphome_vg-home_lv on /home type xfs (rw,delaylog,inode64,nobarrier,logbsize=256k,uquota,prjquota)
/dev/mapper/irphome_vg-imap_lv on /mail type xfs (rw,delaylog,inode64,nobarrier,logbsize=256k,uquota,prjquota)

Users are from large AD via winbind set to not enumerate. I saw the bug with xfs_quota report not listing winbind defined user names. Yes this happens to me.
I can assign project quota to smaller volume. xfs_quota will not report it. I cannot assign a project quota to larger volume. I get this error: xfs_quota: cannot set limits: Function not implemented.

xfs_quota -x -c 'report -uh' /mail
User quota on /mail (/dev/mapper/irphome_vg-imap_lv)
User ID      Used   Soft   Hard Warn/Grace   
---------- --------------------------------- 
root         2.2G      0      0  00 [------]

[xfs_quota -x -c 'report -uh' /home

nothing is returned

I can set user and project quotas on /mail but cannot see them. I have not tested them yet.
I cannot set user or project quotas on /home.
At one time I could definitely set usr quotas on /home. I did so and verified it worked. 

Any ideas what is messed up on the /home volume?

Weber, Charles (NIH/NIA/IRP) 
p: 410-558-8001
c: 443-473-6493
251 Bayview Blvd
Baltimore MD 21224
NCTS performance comments and survey at:

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