Re: weird quota issue

Weber, Charles (NIH/NIA/IRP) [C]
2014-12-23T16:48:07Z

here you go

no quota mount
very quick to mount
dmesg
XFS (dm-7): delaylog is the default now, option is deprecated.
XFS (dm-7): Mounting Filesystem

uquota mount
hangs for long time after mount command
XFS (dm-7): Mounting Filesystem
XFS (dm-7): Ending clean mount
XFS (dm-7): Quotacheck needed: Please wait.
XFS (dm-7): Quotacheck: Done.

uquota/prjquota mount
quick mount time
XFS (dm-7): Mounting Filesystem
XFS (dm-7): Ending clean mount
XFS (dm-7): Failed to initialize disk quotas.

prjquota mnt
XFS (dm-7): Failed to initialize disk quotas.

I’ll look into the tracecmd stuff after lunch.
Chuck
> On Dec 22, 2014, at 9:42 PM, Dave Chinner <david@fromorbit.com> wrote:
>
> On Tue, Dec 23, 2014 at 02:12:15AM +0000, Weber, Charles (NIH/NIA/IRP) [E] wrote:
>> here you go
>>
>> # xfs_db -c "inode 131" -c p /dev/dm-7
>
> Nothing obviously wrong there, so there's no clear indication of why
> the quota initialisation failed. If hasn't got to quotacheck,
> because theat throws verbos errors when it fails, so it's something
> going wrong during initialisation.
>
> Just to narrow it down, if you mount with just uquota does the
> mount succeed? Please post the dmesg output whatever the outcome.
> Does mounting with just pquota succeed? If neither succeed, what
> happens if you mount with no quotas, then unmount and mount again
> with quotas enabled?
>
> If it still doesn't work, I'm going to need an event trace of a
> failed mount (install trace-cmd and run:
>
> # trace-cmd record -e xfs\* mount -o uquota,pquota /dev/dm-7 /mnt/pt
> <some output>
> # trace-cmd report > trace.out
>
> And then compress the trace.out file and attach it.
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@fromorbit.com