xfsrestore -t and default location of housekeeping dir
Iustin Pop
iusty at k1024.org
Fri Jul 18 14:07:30 CDT 2014
On Thu, Jul 17, 2014 at 02:05:50AM -0700, Christoph Hellwig wrote:
> On Mon, Jul 14, 2014 at 09:19:35AM +0200, Iustin Pop wrote:
> > Hi,
> >
> > While testing a just-made dump with via 'xfsrestore -t', I learned that
> > the default housekeepingdir path is still under the original filesystem.
> > My xfsrestore therefore failed, since that filesystem was read-only.
> >
> > Since '-t' should denote a pure no-op operation, with no changes, would
> > it make more sense to default the housekeeping location to a temporary
> > location if it is used?
>
> It seems to me like -t shouldn't recreate the files in the housekeeping
> directory at all. I did take a brief look at the code and is a huge
> mess that seems to recreate files unconditionally, so I don't really
> have a good solution for this yet.
Understood. Thanks!
iustin
More information about the xfs
mailing list