Skip to contentSkip to conversation

xfsdump quota failures

DISCUSSION Andy Bennett 2 participants 5 messages Jul 19, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 8 lines
[email protected]
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw

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?

Quoted 51 lines

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?

Quoted 8 lines

Thanks for your help.

Regards,
@ndy

Regards,
@ndy

Signature · 8 lines
[email protected]
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
Quoted 8 lines · Andy Bennett

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

Quoted 66 lines
Quoted 53 lines

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?

Quoted 8 lines

Thanks for your help.

Regards,
@ndy

Quoted 3 lines

Regards,
@ndy

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw

Hi,

Quoted 9 lines
Quoted 6 lines

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

Signature · 8 lines
[email protected]
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#4 lore raw
Quoted 9 lines · Andy Bennett

Hi,

Quoted 7 lines
Quoted 6 lines

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?

Quoted 8 lines
Quoted 2 lines

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs