* does XFS support block sizes other than 512 bytes?
@ 2009-07-18 0:39 Linda A. Walsh
2009-07-20 11:14 ` Michael Monnerie
2009-07-22 14:12 ` Russell Cattelan
0 siblings, 2 replies; 4+ messages in thread
From: Linda A. Walsh @ 2009-07-18 0:39 UTC (permalink / raw)
To: xfs-oss
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?)
thanks more... :-)
-linda
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does XFS support block sizes other than 512 bytes?
2009-07-18 0:39 does XFS support block sizes other than 512 bytes? Linda A. Walsh
@ 2009-07-20 11:14 ` Michael Monnerie
2009-07-22 14:12 ` Russell Cattelan
1 sibling, 0 replies; 4+ messages in thread
From: Michael Monnerie @ 2009-07-20 11:14 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 1328 bytes --]
On Samstag 18 Juli 2009 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?)
XFS can only use sector sizes that the hard disks provide. There will be
4K drives from vendors "soon", and XFS is prepared to use that.
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does XFS support block sizes other than 512 bytes?
2009-07-18 0:39 does XFS support block sizes other than 512 bytes? Linda A. Walsh
2009-07-20 11:14 ` Michael Monnerie
@ 2009-07-22 14:12 ` Russell Cattelan
2009-07-29 1:31 ` Linda A. Walsh
1 sibling, 1 reply; 4+ messages in thread
From: Russell Cattelan @ 2009-07-22 14:12 UTC (permalink / raw)
To: Linda A. Walsh; +Cc: xfs-oss
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@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does XFS support block sizes other than 512 bytes?
2009-07-22 14:12 ` Russell Cattelan
@ 2009-07-29 1:31 ` Linda A. Walsh
0 siblings, 0 replies; 4+ messages in thread
From: Linda A. Walsh @ 2009-07-29 1:31 UTC (permalink / raw)
To: Russell Cattelan, xfs-oss
Russell Cattelan wrote:
>> 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
---
Just tried a 146GB-15K Seagate Cheetah SAS. It didn't like anything other than 512bytes. Any larger size ended up with a 528 byte sector size which really miffed the linux kernel so bad, it wouldn't expose it as a device
in /dev. If you don't know mknod and the correct dev num, it would
make for a very interesting time formatting it back down. ;-)
Do you know what brands might allow resizing? You say SATA might
allow...just a WAG...but maybe a Seagate SATA might not? ;^)
Also, I wonder what might happen with a HW RAID card -- if it would
deal with 4K block sizes. It deals with up to 1MB stripe sizes...so
you'd think it'd handle 4K block sizes...???
Thanks for the fun times so far...;^)
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-29 1:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 0:39 does XFS support block sizes other than 512 bytes? Linda A. Walsh
2009-07-20 11:14 ` Michael Monnerie
2009-07-22 14:12 ` Russell Cattelan
2009-07-29 1:31 ` Linda A. Walsh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox