bug#79752: Feature suggestion: detect partition tables with sector-size mismatch
"Brian C. Lane" via Bug reports for the GNU Parted disk partition editor <[email protected]> Mon, 23 Mar 2026 12:08:18 -0700
| Newsgroups | gmane.comp.gnu.parted.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Nov 01, 2025 at 10:06:09PM +0100, Samuel Plavec wrote: > Package: parted > Severity: wishlist > > Hello, > > I would like to suggest a new feature. In the case parted couldn't > recognize the partition table on a disk, I think it would be helpful > if parted attempted to check whether the partition table didn't assume > a sector size different from the sector size that the disk currently > uses. > > The context is that I recently ran into an issue when I accidentally > partitioned a disk with a logical sector size of 4096 bytes, and then > tried to read it with a logical sector size of 512 bytes. (This was > because of a USB--SATA adapter acting strangely. Physical sector size > of the disk is 4096 bytes.) When I tried diagnosing this issue using > parted, it didn't recognize the partition table, which created a false > impression that the data could have become corrupted. > > (This issue is not particularly uncommon; when I finally learned what > was its cause, I could find several posts online describing exactly > the same problem.) Thanks, I'm not sure how we would be able to detect this. But this kind of discussion belongs on the parted-devel mailing list, not the bug tracker. https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/parted-devel Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart