bin/148471: fdisk(8) prompts with negative partition size
[regression]
Daniel Feenberg
feenberg at nber.org
Mon Jul 12 19:50:04 UTC 2010
The following reply was made to PR bin/148471; it has been noted by GNATS.
From: Daniel Feenberg <feenberg at nber.org>
To: Tom Couch <tom.couch.storage at gmail.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/148471: fdisk(8) prompts with negative partition size
[regression]
Date: Mon, 12 Jul 2010 15:37:50 -0400 (EDT)
On Mon, 12 Jul 2010, Tom Couch wrote:
> What is the drive model and serial number?
They are Samsung HD203WI. Here is the output of diskinfo:
diskinfo -ctv /dev/da0
/dev/da0
512 # sectorsize
1999988850688 # mediasize in bytes (1.8T)
3906228224 # mediasize in sectors
243151 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
WZ402752F36918001E9B # Disk ident.
>
> The 3ware 9500S controller will not support > 2TB drives.
>
OK, but this drive is south of 2TB.
I subsequently newfs'ed the bare drive, and am testing the result now. It
appears to me that the filesystem is corrupted in some way, but I don't
have sufficient information yet to file another bug report. So far the
problems appear only after writing over 1 TB to the drive, which takes
many hours. (The problem seems to be that the filesize measured by wc does
not correspond to the filesize reported by ls or the space used by
reported by df).
In any case, even if the 9500S-8 is providing bad data, it would seem
prudent for fdisk to do some range checking before suggesting a default
action that is physically impossible.
Thank you
Daniel Feenberg
feenberg at nber.org
> Tom Couch
>
More information about the freebsd-bugs
mailing list