xfs
[Top] [All Lists]

Re: Question: Does XFS journal data or only metadata?

To: Anders Saaby <as@xxxxxxxxxxxx>
Subject: Re: Question: Does XFS journal data or only metadata?
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 3 Feb 2005 20:47:10 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200502031005.57621.as@cohaesio.com>; from as@cohaesio.com on Thu, Feb 03, 2005 at 10:05:57AM +0100
References: <200502031005.57621.as@cohaesio.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Feb 03, 2005 at 10:05:57AM +0100, Anders Saaby wrote:
> Hi List,
> 
> We are considering using NVRAM for external journal on some of our XFS 
> filesystems, but questions emerge which I can not find answers for:
> 
> Does XFS journal everything (data and metadata) or only metadata?

Only metadata.

> Are we able to move an internal log to external log on an existing 
> filesystem? 
> (xfs_growfs has an option for it "-x", but the man page says it is "not 
> implemented") - If this is not implemented, do we have alternative measures 
> for creating an external log on an existing filesystem?

Its not implemented.  It would be quite straightforward to do
offline (I remember Steve sent mail about an unsupported way to
do this a few years ago) - could be done through xfs_db.  It's
really not a difficult extension to xfs_db if you want to try
coding it.

Online would be more involved, though could be done (probably
via xfs_freeze, then xfs_growfs-x+<new code>, then thaw).

cheers.

-- 
Nathan


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