Web lists-archives.com

Re: disk partitioners vs disk with 2048 byte phusical sectors




Hi,

Gene Heskett wrote:
> > [ 2404.664052] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
> > [ 2404.676277] sd 0:0:0:0: [sda] 2048-byte physical blocks

Pascal Hambourg wrote:
> Don't bother with alignment.

As far as oldfashioned "cylinder" aligment is concerned: certainly.

But even if only for superstition i'd align everything to the physical
block size, i.e. a multiple of 4 blocks of 512 bytes.
An oldfashioned partition start at logical block 63 would give me the
idea to cause extra i/o. But nowadays one often sees partition 1
start block address 2048. Giving the first MiB to the gods of booting
and being reasonably aligned to 4. Such a broad precaution must work.


Gene Heskett wrote:
> > Nothing seems to satisfy parted.

What is it nagging, exactly ?

For MBR partitions ("msdos", "primary" and "logical") i'd use fdisk.
For GPT there is gdisk, but i never challenged it much.


Have a nice day :)

Thomas