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
|