xfsrestore -t and default location of housekeeping dir

Christoph Hellwig hch at infradead.org
Thu Jul 17 04:05:50 CDT 2014


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.



More information about the xfs mailing list