Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread David Wright
On Wed 27 Sep 2017 at 13:14:41 (-0400), Gene Heskett wrote: […] > Here's what I found that worked after wiping the part table out: > fdisk > o > w > > which made and wrote an empty dos part table. > then > sfdisk /dev/sda > , 1G > , 8G > , > write > > Which made a 1G boot partition, an 8G destine

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Thomas Schmitt
Hi, Gene Heskett's parted wrote: > > > Start? 163,840B > > > End? 167,772,160B > > > Error: The maximum head value is 254. i wrote: > > I think it takes the commas for a CHS addrss and the "772" for heads. > > https://www.gnu.org/software/parted/manual/html_node/unit.html > I don't recall that

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Cousin Stanley
Gene Heskett wrote: > > Do we have a disk partitioner that does understand a physical sector size > of any power of 2 ? > > gparted is out as this machine does not yet have an x server installed, > so I need a commandline tool. > Gene You might try the cfdisk partit

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 13:25:06 Michael Stone wrote: > On Wed, Sep 27, 2017 at 11:32:31AM -0400, Gene Heskett wrote: > >Oh? The last time I used fdisk I wound up with writes under 15 > >megs/second, and read of about 21 megs/second. Fixed it so it was > >aligned, and its now around 120 meg

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 12:03:12 Thomas Schmitt wrote: > Hi, > > Gene Heskett's parted wrote: > > Sector size (logical/physical): 512B/4096B > > Wasn't that 2048 bytes per physical sector, last time ? yes, thats the figures quote elsewhere here, which came from the discovery stanza in dme

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Michael Stone
On Wed, Sep 27, 2017 at 11:32:31AM -0400, Gene Heskett wrote: Oh? The last time I used fdisk I wound up with writes under 15 megs/second, and read of about 21 megs/second. Fixed it so it was aligned, and its now around 120 megs/second both ways. And that was presumably a very long time ago. Cur

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 11:28:53 Pascal Hambourg wrote: > Le 27/09/2017 à 16:43, Gene Heskett a écrit : > > Secondary question. On efi setups, how much blank space in front of > > the 1st partition is needed for that stuff on a terrabyte drive? > > None. > That space is not used in EFI setu

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 10:57:24 Roberto C. Sánchez wrote: > On Wed, Sep 27, 2017 at 10:43:29AM -0400, Gene Heskett wrote: > > On Wednesday 27 September 2017 08:46:30 Roberto C. Sánchez wrote: > > > On Wed, Sep 27, 2017 at 08:42:08AM -0400, Gene Heskett wrote: > > > > Do we have a disk part

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread David Wright
On Wed 27 Sep 2017 at 11:32:31 (-0400), Gene Heskett wrote: > On Wednesday 27 September 2017 09:09:26 Pascal Hambourg wrote: > > > Le 27/09/2017 à 14:42, Gene Heskett a écrit : > > > [ 2404.664052] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: > > > (1.00 TB/932 GiB) > > > [ 2404.676277] s

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Thomas Schmitt
Hi, Gene Heskett's parted wrote: > Sector size (logical/physical): 512B/4096B Wasn't that 2048 bytes per physical sector, last time ? > Start? 163,840B > End? 167,772,160B > Error

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 09:09:26 Pascal Hambourg wrote: > Le 27/09/2017 à 14:42, Gene Heskett a écrit : > > [ 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 > > > > But I've now spent se

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Pascal Hambourg
Le 27/09/2017 à 16:43, Gene Heskett a écrit : Secondary question. On efi setups, how much blank space in front of the 1st partition is needed for that stuff on a terrabyte drive? None. That space is not used in EFI setups. Instead the bootloaders are in a regular EFI partition.

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Michael Stone
On Wed, Sep 27, 2017 at 10:43:29AM -0400, Gene Heskett wrote: Secondary question. On efi setups, how much blank space in front of the 1st partition is needed for that stuff on a terrabyte drive? Or is there even a rule of thumb about that? You're overthinking this. The defaults should work fin

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Roberto C . Sánchez
On Wed, Sep 27, 2017 at 10:43:29AM -0400, Gene Heskett wrote: > On Wednesday 27 September 2017 08:46:30 Roberto C. Sánchez wrote: > > > On Wed, Sep 27, 2017 at 08:42:08AM -0400, Gene Heskett wrote: > > > Do we have a disk partitioner that does understand a physical sector > > > size of any power o

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Gene Heskett
On Wednesday 27 September 2017 08:46:30 Roberto C. Sánchez wrote: > On Wed, Sep 27, 2017 at 08:42:08AM -0400, Gene Heskett wrote: > > Do we have a disk partitioner that does understand a physical sector > > size of any power of 2? gparted is out as this machine does not yet > > have an x server in

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Thomas Schmitt
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: ce

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Pascal Hambourg
Le 27/09/2017 à 14:42, Gene Heskett a écrit : [ 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 But I've now spent several hours trying to put the 1st of 3 partitions on it with figures that satisfy

Re: disk partitioners vs disk with 2048 byte phusical sectors

2017-09-27 Thread Roberto C . Sánchez
On Wed, Sep 27, 2017 at 08:42:08AM -0400, Gene Heskett wrote: > > Do we have a disk partitioner that does understand a physical sector size > of any power of 2? gparted is out as this machine does not yet have an x > server installed, so I need a commandline tool. > > Suggestions will be invest