xfs
[Top] [All Lists]

Re: xfsdump quota failures

To: xfs@xxxxxxxxxxx
Subject: Re: xfsdump quota failures
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 19 Jul 2016 13:24:33 -0700
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <578E7988.6020102@xxxxxxxxxxxxxx>
References: <578E78B0.2010602@xxxxxxxxxxxxxx> <578E7988.6020102@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 7/19/16 12:03 PM, Andy Bennett wrote:
> Hello again,
> 
> My Google-fu failed me before I posted but, of course, succeeded
> immediately after I hit send:
> 
> http://xfs.9218.n7.nabble.com/xfsdump-3-0-6-ERROR-xfs-quota-failed-with-exit-status-1-td30691.html
> 
> Does that mean that this error can be safely ignored in xfs_dump 3.0.6?

I believe so.  Can you confirm that quotas were correctly
restored?

-Eric
 
> 
> 
>> I'm running XFS for a few filesystems under a i686 Debian Linux VPS.
>>
>> Last night I upgraded from Debian Squeeze to Debian Wheezy. Before I
>> started the upgrade I took a backup using xfs_dump with my usual script
>> and everything went fine.
>>
>> Tonight I am trying to upgrade from Debian Wheezy to Debian Jessie so I
>> am taking another backup before I start.
>>
>> In the logs tonight I see the following errors for file systems that
>> have quotas enabled:
>>
>> -----
>> /usr/sbin/xfsdump: saving user quota information for: /home
>> /usr/sbin/xfsdump: ERROR: xfs_quota failed with exit status: -1
>> /usr/sbin/xfsdump: ERROR: failed to save user quota information, continuing
>> /usr/sbin/xfsdump: saving group quota information for: /home
>> /usr/sbin/xfsdump: ERROR: xfs_quota failed with exit status: -1
>> /usr/sbin/xfsdump: ERROR: failed to save group quota information, continuing
>> -----
>>
>> -----
>> /usr/sbin/xfsdump: saving user quota information for: /var
>> /usr/sbin/xfsdump: ERROR: xfs_quota failed with exit status: -1
>> /usr/sbin/xfsdump: ERROR: failed to save user quota information, continuing
>> /usr/sbin/xfsdump: saving project quota information for: /var
>> /usr/sbin/xfsdump: ERROR: xfs_quota failed with exit status: -1
>> /usr/sbin/xfsdump: ERROR: failed to save project quota information,
>> continuing
>> -----
>>
>> One of the file systems has user and group quotas enabled and the other
>> has user and project quotas enabled.
>>
>> The root file system is XFS but does not have quotas enabled and it
>> dumps without error.
>>
>> When I run xfs_quota as root by hand it gives me an interactive prompt
>> and xfs_quota commands such as `df` and `print` seem to do what I would
>> expect without errors.
>>
>>
>> Both last night's dump and tonight's are level 0 dumps.
>>
>> Last night's dump used Debian Squeeze's xfsdump 3.0.4 with xfsprogs 3.1.4.
>> Tonight's dump uses Debian Wheezy's xfsdump 3.0.6 with xfsprogs 3.1.7.
>>
>>
>> Can anyone give me any guidance about what's going on and how to fix it?
>>
>>
>> Thanks for your help.
>>
>>
>>
>>
>> Regards,
>> @ndy
>>
> 
> 
> 
> 
> 
> Regards,
> @ndy
> 

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