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


View this message in rfc822 format

From: "Brian C. Lane" <bcl <at> redhat.com>
To: dE <de.techno <at> gmail.com>
Cc: 18920 <at> debbugs.gnu.org
Subject: bug#18920: Parted always chooses the logical sector size.
Date: Tue, 4 Nov 2014 08:40:53 -0800
On Tue, Nov 04, 2014 at 08:26:24PM +0530, dE wrote:
> On 11/04/14 03:24, Brian C. Lane wrote:

> >Assuming you are talking about linux -- parted uses the logical sector
> >size returned by the kernel, which gets it from the drive.  We don't set
> >to 512 arbitrarily. So if there is an actual problem it should be
> >reported against the kernel.
> >
> 
> 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.

Can you cite specific instances of problems using the logical size?
Every tool that I am aware of uses it. As for not aligning parted
defaults to 1MiB so unless you are forcing it to a specific sector you
aren't going to see an issue.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




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.