alignment of metadata 1.2 and mkfs.ext4

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_mdad m_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 [at] talia.net
mobile: +44 790 863 1442
office: +44 203 3181 500 x503
fax: +44 207 631 3343

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Tyler [ Mi, 06 Juli 2011 09:10 ] [ ID #2061780 ]
Linux » gmane.linux.raid » alignment of metadata 1.2 and mkfs.ext4

Vorheriges Thema: `pvmove stuck' in RH bugzilla
Nächstes Thema: Curious problem with asynchronous RAID1 rebuild operations