public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsdump quota failures
@ 2016-07-19 19:00 Andy Bennett
  2016-07-19 19:03 ` Andy Bennett
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Bennett @ 2016-07-19 19:00 UTC (permalink / raw)
  To: xfs

Hi,

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

-- 
andyjpb@ashurst.eu.org
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfsdump quota failures
  2016-07-19 19:00 xfsdump quota failures Andy Bennett
@ 2016-07-19 19:03 ` Andy Bennett
  2016-07-19 20:24   ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Bennett @ 2016-07-19 19:03 UTC (permalink / raw)
  To: xfs

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'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

-- 
andyjpb@ashurst.eu.org
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfsdump quota failures
  2016-07-19 19:03 ` Andy Bennett
@ 2016-07-19 20:24   ` Eric Sandeen
  2016-07-19 20:45     ` Andy Bennett
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2016-07-19 20:24 UTC (permalink / raw)
  To: xfs

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
> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfsdump quota failures
  2016-07-19 20:24   ` Eric Sandeen
@ 2016-07-19 20:45     ` Andy Bennett
  2016-07-19 20:49       ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Bennett @ 2016-07-19 20:45 UTC (permalink / raw)
  To: Eric Sandeen, xfs

Hi,

>> 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?

Thanks!

How would I confirm that? I'm only taking a dump at this time and if I
pipe the dump file into `xfsrestore -i` it doesn't say anything about
quota or seem to have any commands to inspect them.





Regards,
@ndy

-- 
andyjpb@ashurst.eu.org
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfsdump quota failures
  2016-07-19 20:45     ` Andy Bennett
@ 2016-07-19 20:49       ` Eric Sandeen
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2016-07-19 20:49 UTC (permalink / raw)
  To: xfs


On 7/19/16 1:45 PM, Andy Bennett wrote:
> Hi,
> 
>>> 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?
> 
> Thanks!
> 
> How would I confirm that? I'm only taking a dump at this time and if I
> pipe the dump file into `xfsrestore -i` it doesn't say anything about
> quota or seem to have any commands to inspect them.

Sorry, got ahead of myself.  ;)  Forgot you were still at the dump
stage.

I guess you'd need to restore the dump to an xfs filesystem somewhere
and check whether the quotas are present as expected.

-Eric

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2016-07-19 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 19:00 xfsdump quota failures Andy Bennett
2016-07-19 19:03 ` Andy Bennett
2016-07-19 20:24   ` Eric Sandeen
2016-07-19 20:45     ` Andy Bennett
2016-07-19 20:49       ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox