#643625 Allow arbitrary optimal size

Package:
parted
Source:
parted
Description:
disk partition manipulator
Submitter:
martin f krafft
Date:
2013-12-20 02:45:05 UTC
Severity:
wishlist
#643625#5
Date:
2011-09-28 07:23:31 UTC
From:
To:
While libparted fails to detect the true physical sector size of
newer "advanced format" drives, please allow us to override the
detected size (_device_set_sector_size in libparted/arch/linux.c),
e.g. with a command line switch and/or a command.

Thanks,

#643625#10
Date:
2013-01-08 14:56:16 UTC
From:
To:
Why?

Parted already aligns partitions to 1 MiB by default, so it doesn't
really matter that WD's firmware fails to report the correct hw sector
size.

#643625#17
Date:
2013-01-20 19:33:35 UTC
From:
To:
also sprach Phillip Susi <psusi@ubuntu.com> [2013.01.19.0448 +1300]:

That is true. In my case, I need to add a drive to an existing RAID
setup and unless I align the partition at 8k, I don't have enough
blocks to join the RAID. That is because the RAID was created using
tools that do not align at 1Mb.

#643625#22
Date:
2013-01-20 22:34:54 UTC
From:
To:
In that case getting the correct logical sector size would not help
because it would still align to 1 MiB.  It sounds like what you want
is the ability to specify an arbitrary alignment to use?

#643625#27
Date:
2013-01-21 02:17:52 UTC
From:
To:
also sprach Phillip Susi <psusi@ubuntu.com> [2013.01.21.1134 +1300]:

Yes, one way or another.