xfs
[Top] [All Lists]

Re: How to determine the reserved blocks in xfs filesystem ?

To: Mukul Malhotra <smilemukul2005@xxxxxxxxx>
Subject: Re: How to determine the reserved blocks in xfs filesystem ?
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Mon, 24 Aug 2015 17:08:08 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <CAJtCNH1EyP6d+rGeJRzaAx7Mh+s89hEudDbfbwofYK_tJD6x4A@xxxxxxxxxxxxxx>
Organization: Intellique
References: <CAJtCNH0tgtCw0F7322b_qvbM9-uGGSsLLiPQj6jk1yyvWDQMYg@xxxxxxxxxxxxxx> <CAJtCNH1EyP6d+rGeJRzaAx7Mh+s89hEudDbfbwofYK_tJD6x4A@xxxxxxxxxxxxxx>
Le Mon, 24 Aug 2015 10:14:52 +0530
Mukul Malhotra <smilemukul2005@xxxxxxxxx> Ã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@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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