GNU bug report logs - #18920
Parted always chooses the logical sector size.

Previous Next

Package: parted;

Reported by: dE <de.techno <at> gmail.com>

Date: Sat, 1 Nov 2014 17:02:03 UTC

Severity: normal

Done: Phillip Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 18920-done <at> debbugs.gnu.org (full text, mbox):

From: Phillip Susi <psusi <at> ubuntu.com>
To: dE <de.techno <at> gmail.com>, 18920-done <at> debbugs.gnu.org
Subject: Re: bug#18920: Parted always chooses the logical sector size.
Date: Wed, 05 Nov 2014 14:30:33 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/4/2014 9:56 AM, dE wrote:
> Yes, the kernel reports both -- the logical and the physical.
> Parted knows about it, it shows both the logical and physical
> sector size, but then also it uses the logical sector size. It
> should not. There must be an option at least, and I suggest it
> should be made the default otherwise the partitions may start
> unaligned.

Incorrect:  the logical sector size is what the drive uses to address
sectors, and therefore, how all software, including partitioning tools
addresses the drive.  The physical sector size is only provided as a
hint about the internal structure of the disk because it can have
performance implications.  Partitioning tools use this information to
pick the optimal alignment.  If you run parted -a min, it will take
care to align partitions to a 4k boundary, aka a multiple of 8 logical
sectors.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUWnrZAAoJEI5FoCIzSKrwIyoH/izigrpVziWEeCfvPy6Wp9P1
FJ9HF4Lp4m1/szSVYYi7TvoUolmOUqMdt14HC179GNI7hFw0ktBTx5E4M+2WDtCO
6ThtLbqugfNQbZETb7nISOEKwMqf+k1s35fvHNB1ZggwOdNHBvS6JsDRvjDD6+gB
WkkACB3ZD94WfRlMmx6ML4WGyY8NxK4c2zXQvFXIb8bd9bsUYKjNe7NE4hSX0Cez
g5hbfjqKyrcNxPiq0J7qHY01JHTgeFJ8eGr+x0WMNXeVADrCKc/TWK+BuH4F2/sR
TBSvYRDZP0DNxIXE6542Ee+d7Ed7SKf1INI041SxkYh64cKLd0/g+sh4+IRBPVY=
=4nVE
-----END PGP SIGNATURE-----




This bug report was last modified 10 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.