[Top] [All Lists]

Re: weird quota issue

To: "Weber, Charles (NIH/NIA/IRP) [C]" <weberc@xxxxxxxxxxxxxxx>
Subject: Re: weird quota issue
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 23 Dec 2014 09:35:40 +1100
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <6F43BF63-A44E-43F6-A184-9AAC10DDDFDF@xxxxxxxxxxxxxxx>
References: <3BD1EE39-8C26-4C5B-94B5-492422EECEDA@xxxxxxxxxxxx> <20141222204857.GK24183@dastard> <6F43BF63-A44E-43F6-A184-9AAC10DDDFDF@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Dec 22, 2014 at 05:13:06PM -0500, Weber, Charles (NIH/NIA/IRP) [C] 
> Thanks for replying. The project part is a red herring and I have
> abandoned it. The only reason project quotas even came up was the
> winbind/quota issue. UID is fine.  The more interesting part is
> the way the /proc/self/mounts and mtab/fstab are not coherent.

If /etc/mtab is not linked to /proc/mounts, then userspace maintains
it and it does not reflect the mount options the kernel have active.
YOU can put any amount of crap in invalid mount options that mount
will just dump in /etc/mtab even though the kernel ignores them.

We generally expect that systems are set up like this:

$ ls -l /etc/mtab
lrwxrwxrwx 1 root root 12 Jan  9  2012 /etc/mtab -> /proc/mounts

> dmesg output
> SGI XFS with ACLs, security attributes, large block/inode numbers, no debug 
> enabled
> SGI XFS Quota Management subsystem
> XFS (dm-7): delaylog is the default now, option is deprecated.
> XFS (dm-7): Mounting Filesystem
> XFS (dm-7): Ending clean mount
> XFS (dm-7): Failed to initialize disk quotas.

Which indicates that there's problems reading or allocating the
quota inodes. What is the output of 'xfs_db -c "sb 0" -c p


Dave Chinner

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