xfs
[Top] [All Lists]

Re: does XFS support block sizes other than 512 bytes?

To: "Linda A. Walsh" <xfs@xxxxxxxxx>
Subject: Re: does XFS support block sizes other than 512 bytes?
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Wed, 22 Jul 2009 09:12:20 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4A6119B5.6000706@xxxxxxxxx>
References: <4A6119B5.6000706@xxxxxxxxx>
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
Linda A. Walsh wrote:
> This one's a bit more specific than the last.  If memory serves me,
> XFS supported differing block sizes (which you could do on a hardware
> format
> of a SCSI drive) back on IRIX.  But when first ported to Linux it didn't
> work.  Was that ever fixed?  I seem to remember that going to 1-2K
> block sizes
> gave and extra 10%, and it almost seems logical that going to a 4kK
> block size
> would be ideal for xfs (presuming your disk doesn't start getting errors,
> then it might get harder to remap sectors and you'd hit hard disk failure
> (w/o remappable sectors) sooner.
>
> But at least 1K might be a reasonable tradeoff?  Been quite a while since
> I tried it and don't even know if the SAS drives allow it (if they do,
> I wonder
> if the newer SATA drives do?)
Yes
XFS can support any power of 2 sector size up to the page size of your
system.
And it is recommend that on things like raid5 devices that the sector
size be
set to the same size as the filesystem block size.

>
> thanks more... :-)
> -linda
>
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
>

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