How to determine the reserved blocks in xfs filesystem ?

Emmanuel Florac eflorac at intellique.com
Mon Aug 24 10:08:08 CDT 2015


Le Mon, 24 Aug 2015 10:14:52 +0530
Mukul Malhotra <smilemukul2005 at gmail.com> écrivait:

> Hi,
> 
> I have below queries on XFS log device as,
> 
> 1. After creating a XFS filesystem with an external log device
> (journal), is there a way to mount the filesystem if I lose the
> external log device or a way to recover files?

You can use some other device to hold the log. You could use a ramdisk,
a loop device pointing to some file, etc. No problem as long as you
unmounted the filesystem properly.

> 2. Is there a way to convert an existing XFS filesystem which has
> internal log to external log and vice versa.
>

Apparently no. xfs_growfs should be able to do it, but the man page
states that this function is not implemented.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list