xfs
[Top] [All Lists]

Re: Is restore FS-independant ?

To: Vincent Bernat <bernat@xxxxxxx>
Subject: Re: Is restore FS-independant ?
From: ivanr@xxxxxxx
Date: Thu, 25 Oct 2001 10:37:28 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200110241347.f9ODlnI15296@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 24 Oct 2001, Steve Lord wrote:

> > I would like to know if xfsrestore can be issued on a file system
> > which is not XFS and which doesn't have all the possibilities of it ?
>
> The latest version should not complain about missing xfs functionality
> in a filesystem, and does not need to sit in a directory on an xfs
> filesystem to run. I am not sure what happens if you attempt to restore
> files with quotas and extended attributes though. Apart from that it should
> work.

xfsrestore could always restore to a non-xfs filesystem, but it would
issue some harmless warnings which have recently been removed.  However,
it wont be able to restore extended attributes, and though I've never
tried it, I expect it'll just give a warning and continue to restore
files.  (ACLs and DMAPI attributes are stored in extended attributes)

Quota information is stored in the dump as a regular file (ie. the output
of repquota in IRIX or xfsdq in Linux), and that file will get restored
without a problem.  It's up to the admin to reinstate the quotas if needed
using edquota.

Oh, and until recently, xfsrestore -t (ie. get the table of contents of a
dump) would fail if the current working directory was not xfs.

'Course the real question is ... why would you want to run any other
filesystem than XFS in the first place? :)

Ivan

-- 
Ivan Rayner
ivanr@xxxxxxx


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