Changes between Version 4 and Version 5 of disk_alignment


Ignore:
Timestamp:
Mar 29, 2011, 7:10:46 PM (14 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • disk_alignment

    v4 v5  
    77here are the things to think about when setting up a disk:
    88
    9  * physical disk partitions -- should start at a multiple of 8192s (where s means "512Byte sector")
     9 * physical disk partitions -- should start at a multiple of 8192s (where s means "512Byte sector"). See [wiki:install_debian debian install page] for more details.
    1010 * RAID -- mdadm should use 0.90 or 1.0 [https://raid.wiki.kernel.org/index.php/RAID_superblock_formats superblocks], which are written at the end of the device.  If metadata version 1.1 or 1.2 are used, then the `data_offset` field needs to be a multiple of 8192. [http://www.issociate.de/board/goto/2027709/Alignment_of_RAID_on_specific_boundary.html there does not seem to be a way to force a custom data_offset with metadata 1.1 or 1.2] (i filed [DebianBug:614841] as a wishlist).  in squeeze, 1.2 is the default, so use `--metadata 1.0` during `mdadm --create` :(
    1111 * dm_crypt/LUKS -- `cryptsetup LuksFormat` should use `--align-payload=8192`