[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard drive bad sector warning



2011/9/11 Scott Ferguson <prettyfly.productions@gmail.com>:
> On 11/09/11 15:38, consul tores wrote:
>>
>> 2011/9/10 yudi v<yudi.tux@gmail.com>:
>
> <snipped>
>>>
>>> --
>>> Kind regards,
>>> Yudi
>>
>> I think that, it is a problem with Squeeze fdisk+GPT; please try
>> cfdisk, it seems updated.
>>
>>
>
> Yudi is not using GPT.

Ooops, it should says: Squeeze fdisk + LBA

>
> cfdisk and fdisk are both part of (upstream) util-linux-ng[*1], so both
> handle large sectors the same. In Squeeze they are both (currently) at
> 2.17.2-9.
> Essentially cfdisk is just fdisk with less features and capabilities, and,
> at least in Debian AFAIK, is only available as part of d-i (it's a udeb).

Nop, i did a test to Squeeze fdisk, and cfdisk over similar conditions
(windows 7, and Debian, it shows
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7221e240

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         153     1227776    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2             153       19370   154357760    7  HPFS/NTFS
/dev/sda3           59527       60802    10238976    7  HPFS/NTFS
/dev/sda4           19370       41291   176074880+   5  Extended
/dev/sda5           19370       19893     4198400   82  Linux swap / Solaris
/dev/sda6           19893       35212   123045888   83  Linux
/dev/sda7           35212       41291    48829536   83  Linux

Partition table entries are not in disk order


>
> Where did you get a version of cfdisk that is installable on normal Debian
> system?

I did not do it, but GNU-fdisk use libparted; I did another test using
windows 7, and Slackware-13.37; both fdisk, and cfdisk work correctly,
they do not say "Partition 1 does not end on cylinder boundary.", then
the problem could be that 4k-aware (as it is named by Seagate)  is not
present on Squeeze fdisk, sfdisk, and cfdisk. I really do not know if
the block errors are by the same cause.

>
> Kind regards
>
> [*1]just to confuse the issue, util-linux-ng (New Generation), originally a
> fork of util-linux, has recently been renamed "util-linux"   I swear I'm not
> making that up! :-)
>
> Refs:-
> ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17-ReleaseNotes
> http://karelzak.blogspot.com/2010/01/util-linux-ng-217.html
> http://userweb.kernel.org/~kzak/util-linux/ (currently down for maintenance)
> http://en.wikipedia.org/wiki/Util-linux
>
> --
> "It's really weird how your life changes. Tonight I'm drinking water. Four
> years ago? Opium. Night and day, you know?"
> — Bill Hicks
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4E6C842F.2080603@gmail.com">http://lists.debian.org/[🔎] 4E6C842F.2080603@gmail.com
>
>


Reply to: