linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* alignment of metadata 1.2 and mkfs.ext4
@ 2011-07-06  7:11 Tyler J. Wagner
  2011-07-06  8:35 ` Werner Fischer
  2011-07-06  9:20 ` Roman Mamedov
  0 siblings, 2 replies; 8+ messages in thread
From: Tyler J. Wagner @ 2011-07-06  7:11 UTC (permalink / raw)
  To: linux-raid

Hi all (well, Neil, really),

The the following, Neil states that that is no issue with alignment of
metadata 1.2 and mkfs.ext4 on 4K drives:

http://www.issociate.de/board/post/507176/filesystem_on_mdadm_raid_from_unpartioned_block_devices.html

Sorry to ask again, but I just want to clarify. Metadata 1.2 puts the
data 4K from the start of the device/partition. Does mkfs put the start
of the filesystem at 64K from the start? IE, will the following align,
without any need for options?

(create partitions starting 2048 512-byte sectors from start = 1MB)
mdadm --create /dev/md0 -v --raid-devices=4 --level=raid10
--metadata=1.2 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
mkfs.ext4 /dev/md0

And, slightly off-topic, it's not necessary to define stride and stripe
any longer?
mkfs.ext4 -E stride=16,stripe-width=32 /dev/md0

Regards,
Tyler


-- 
"The belief in immortality has always seemed cowardly to me. When very
young I learned that all things die, and all that we wish of good must
be won on this earth or not at all."
   -- Anne Smedley


^ permalink raw reply	[flat|nested] 8+ messages in thread
* alignment of metadata 1.2 and mkfs.ext4
@ 2011-07-06  7:10 Tyler J. Wagner
  0 siblings, 0 replies; 8+ messages in thread
From: Tyler J. Wagner @ 2011-07-06  7:10 UTC (permalink / raw)
  To: linux-raid

Hi all (well, Neil, really),

The the following, Neil states that that is no issue with alignment of
metadata 1.2 and mkfs.ext4 on 4K drives:

http://www.issociate.de/board/post/507176/filesystem_on_mdadm_raid_from_unpartioned_block_devices.html

Sorry to ask again, but I just want to clarify. Metadata 1.2 puts the
data 4K from the start of the device/partition. Does mkfs put the start
of the filesystem at 64K from the start? IE, will the following align,
without any need for options?

(create partitions starting 2048 512-byte sectors from start = 1MB)
mdadm --create /dev/md0 -v --raid-devices=4 --level=raid10
--metadata=1.2 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
mkfs.ext4 /dev/md0

And, slightly off-topic, it's not necessary to define stride and stripe
any longer?
mkfs.ext4 -E stride=16,stripe-width=32 /dev/md0

Regards,
Tyler

-- 
Tyler J. Wagner
Chief Technical Officer, Talia Ltd
http://www.talia.net
email: tyler@talia.net
mobile: +44 790 863 1442
office: +44 203 3181 500 x503
fax: +44 207 631 3343


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

end of thread, other threads:[~2011-07-06 13:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06  7:11 alignment of metadata 1.2 and mkfs.ext4 Tyler J. Wagner
2011-07-06  8:35 ` Werner Fischer
2011-07-06  9:20 ` Roman Mamedov
2011-07-06  9:52   ` Tyler J. Wagner
2011-07-06 10:02     ` Roman Mamedov
2011-07-06 13:40       ` Tyler J. Wagner
2011-07-06 10:03     ` Robin Hill
  -- strict thread matches above, loose matches on Subject: below --
2011-07-06  7:10 Tyler J. Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).