xfs
[Top] [All Lists]

Re: xfs + lvm on software raid5

To: Alexander Bergolth <leo@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs + lvm on software raid5
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 5 Mar 2004 09:09:33 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4047590D.5030904@strike.wu-wien.ac.at>
References: <4047590D.5030904@strike.wu-wien.ac.at>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Thu, Mar 04, 2004 at 05:27:57PM +0100, Alexander Bergolth wrote:
> Hi!
> 
> I'd like to create a xfs-formatted filesystem in an lvm logical volume 
> that resides on a software raid5 device.
> 
> Searching the list archives, I've found that performance should be ok 
> using an internal log for kernel versions > 2.4.18. Additionally, I 
> found a recommendation to use log version 2.
> 
> However, when creating the filesystem, the kernel reports that the cache 
> buffer size is reduced to 512 bytes:
> 
> # mkfs.xfs -l version=2 /dev/vg_raid5/lv_images
> raid5: switching cache buffer size, 1024 --> 512
> 
> Are there additional arguments needed for mkfs.xfs?

Try instead mkfs.xfs -ssize=4k /dev/vg_raid5/lv_images

> Does this mean a performance penalty? Is there a way to avoid these 
> switches?

Above option should do so.

cheers.

-- 
Nathan


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