xfs
[Top] [All Lists]

Re: Any specific options for creating XFS fs over software raid ?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Any specific options for creating XFS fs over software raid ?
From: David Sparks <daves@xxxxxxxxxxxxxxx>
Date: Tue, 25 May 2004 11:30:03 -0700
In-reply-to: <20040524044653.GA21546@outblaze.com>
Organization: ActiveState
References: <20040524044653.GA21546@outblaze.com>
Reply-to: daves@xxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040316
Yusuf Goolamabbas wrote:
Hi, Was reading Christophs and Nathan's email on lkml about using v2 XFS
log format when using software raid5 and then Nathan's message about
creating the filesystem with -ssize=4096

I've got a software MD RAID5 that was not created with that option. I could've sworn that I read that mkfs.xfs would query the block size if it was being created on a MD device and adjust accordingly.


In any case the logs fill up with this seems to confirm a block mismatch (512 vs 4096).

May 25 11:17:13 [kernel] raid5: switching cache buffer size, 512 --> 4096
May 25 11:17:13 [kernel] raid5: switching cache buffer size, 4096 --> 512
May 25 11:17:14 [kernel] raid5: switching cache buffer size, 512 --> 4096
May 25 11:17:14 [kernel] raid5: switching cache buffer size, 4096 --> 512
May 25 11:17:14 [kernel] raid5: switching cache buffer size, 512 --> 4096
May 25 11:17:14 [kernel] raid5: switching cache buffer size, 4096 --> 512
May 25 11:17:14 [kernel] raid5: switching cache buffer size, 512 --> 4096
May 25 11:17:15 [kernel] raid5: switching cache buffer size, 4096 --> 512
May 25 11:17:15 [kernel] raid5: switching cache buffer size, 512 --> 4096
May 25 11:17:15 [kernel] raid5: switching cache buffer size, 4096 --> 512
----->%-----

What is the best course of action to fix this problem? Backup data, reformat partition and restore data? Should I adjust the MD device to match XFS or adjust XFS to match MD?

TIA!

ds


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