Linux RAID subsystem development
 help / color / mirror / Atom feed
* very large data-offset?
@ 2017-11-30 10:26 Duane
  2017-11-30 10:45 ` Wols Lists
  2017-12-04  0:51 ` NeilBrown
  0 siblings, 2 replies; 6+ messages in thread
From: Duane @ 2017-11-30 10:26 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

Why is the data offset set so big? I created a 3x4TB RAID5 array and the 
data offset was 128MB. Chunk size was the default 512kB.

I cannot see why such a large offset is used. I would think the data 
offset need only be at most the chunk size plus the space (1 sector) for 
the superblock and bitmap.

When reshaping the array, I am prompted to use an external file, so I 
don't see that mdadm ever uses the space.


I tried making some test arrays and got much smaller sizes. A 3x1GB 
RAID5 array with 64k chunks had a 1MB data offset.


If I make a 7x4TB RAID5 array with 64kB chunks, is there a problem with 
setting the data offset to around 2MB?


Thanks


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: duane.vcf --]
[-- Type: text/x-vcard; name="duane.vcf", Size: 4 bytes --]

null

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-05 21:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 10:26 very large data-offset? Duane
2017-11-30 10:45 ` Wols Lists
2017-12-05  3:26   ` Duane
2017-12-04  0:51 ` NeilBrown
2017-12-05  3:33   ` Duane
2017-12-05 21:53     ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox