xfs
[Top] [All Lists]

Re: Resizing XFS partition and external journal

To: Lee Go-Tze <leegotze@xxxxxxxxx>
Subject: Re: Resizing XFS partition and external journal
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 31 Aug 2001 15:46:30 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20010831040943.97281.qmail@web20204.mail.yahoo.com>; from leegotze@yahoo.com on Thu, Aug 30, 2001 at 09:09:43PM -0700
References: <20010831040943.97281.qmail@web20204.mail.yahoo.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi,

On Thu, Aug 30, 2001 at 09:09:43PM -0700, Lee Go-Tze wrote:
> Dear list,
> 
> Can someone explain why it's not a good idea to
> use xfs_growfs on a mounted XFS file system?

It is _only_ possible to grow a mounted XFS filesystem.

> Is there a plan to make it work?  Isn't this the
> preferred way to grow a XFS partition when the
> support is in place from LVM to integrate with 
> file system?
> 

There is an unresolved bug in either LVM or XFS here, no
one knows which.  growfs seems to work fine on a non-LVM
partition and there are automated tests to check that case
(it is less interesting than the LVM case of course, but
without LVM in the picture it always seems to work).

[Not passing-the-buck, just stating what we know so far]

> A separate question on external journal.  I heard
> it is possible to use an external journal with XFS, 
> can someone confirm this? And how can I do it?

Yes, use "-l logdev=/dev/XXX" to mkfs.xfs(8) and mount(8)
with the "-o logdev=/dev/XXX" option.

> If the external journal is supported will it
> be possible to store it in a NVRAM disk (like
> ext3fs external journal)?
> 

Yes.

cheers.

-- 
Nathan


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