Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187307

Re: disk partitioners vs disk with 2048 byte phusical sectors

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: disk partitioners vs disk with 2048 byte phusical sectors
Date 2017-09-27 15:40 +0200
Message-ID <uukJb-3qZ-1@gated-at.bofh.it> (permalink)
References <uukga-35a-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

disk partitioners vs disk with 2048 byte phusical sectors Gene Heskett <gheskett@shentel.net> - 2017-09-27 14:50 +0200
  Re: disk partitioners vs disk with 2048 byte phusical sectors Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-27 15:10 +0200
    Re: disk partitioners vs disk with 2048 byte phusical sectors "Thomas Schmitt" <scdbackup@gmx.net> - 2017-09-27 15:40 +0200
    Re: disk partitioners vs disk with 2048 byte phusical sectors Gene Heskett <gheskett@shentel.net> - 2017-09-27 17:40 +0200
      Re: disk partitioners vs disk with 2048 byte phusical sectors "Thomas Schmitt" <scdbackup@gmx.net> - 2017-09-27 18:10 +0200
        Re: disk partitioners vs disk with 2048 byte phusical sectors Gene Heskett <gheskett@shentel.net> - 2017-09-27 19:30 +0200
          Re: disk partitioners vs disk with 2048 byte phusical sectors "Thomas Schmitt" <scdbackup@gmx.net> - 2017-09-27 21:20 +0200
      Re: disk partitioners vs disk with 2048 byte phusical sectors David Wright <deblis@lionunicorn.co.uk> - 2017-09-27 18:40 +0200
      Re: disk partitioners vs disk with 2048 byte phusical sectors Michael Stone <mstone@debian.org> - 2017-09-27 19:30 +0200
        Re: disk partitioners vs disk with 2048 byte phusical sectors Gene Heskett <gheskett@shentel.net> - 2017-09-27 19:40 +0200
  Re: disk partitioners vs disk with 2048 byte phusical sectors Cousin Stanley <cousinstanley@gmail.com> - 2017-09-27 19:40 +0200

csiph-web