Pardon my slip, sector was the word I had been searching for. I've always used fdisk in the past, so it never occurred to me that the SDHC wasn't faulty. The penny dropped when I tried re-partitioning the HD. Definitely looks like a fdisk bug, cfdisk was totally OK. Regards Sid. On 27/01/11 04:36, Greg Freemyer wrote:
On Wed, Jan 26, 2011 at 9:04 PM, Sid Boyce<sboyce@blueyonder.co.uk> wrote:
Insists cylinder 2048 is the start of the disk.
2048 sectors == 1 MiB
That's the new standard offset for the first partition. I don't use fdisk that much anymore, but I suspect it is reporting the starting sector, not the starting cylinder.
If it really is reporting cylinder 2048 and not sector 2048, that is a bug.
Same problem on x86_64. two weeks ago I returned a SDHC as bad because of the problem on 3 x86_64 boxes.
I suspect user error or fdisk bug, but not bad drives.
Yesterday while partitioning a 160G IDE HD on the x86 I saw it again. I used cfdisk which worked.# rpm -qf /sbin/fdisk util-linux-2.18.91-10.1.i586
Size of HD is much less than it should be, e.g I couldn't set partition 1 to a size of 150G.
G is not a valid unit for this discussion. You can use GB or GiB but they are different, so be sure to use the right one.
Anyway, a manufacturer sells a 160 GB drive and Fdisk reports it as 150 GiB. Sounds right to me. ie. There is a 7% delta between GB and GiB. GB is the small unit so drive manufactures like to use it.
It's like measuring in yards instead of meters because yards gives you a bigger number.
cfdisk works.
Curious. Maybe it reports GB not GiB?
I can assure you a 160 GB drive only holds 150 GiB of data.
Bug #667514 submitted. Regards Sid.
Greg
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org