Re: I'd like to fix read failure issue on Mac OS X
Kimio Miyamura <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
2014/12/18 3:15, Nathan Stratton Treadway <nathanst <at> ontko.com> wrote:
> On Wed, Dec 17, 2014 at 18:03:04 +0900, Kimio Miyamura wrote:
>> $ sudo fdisk /dev/disk5
>> Password:
>> Disk: /dev/disk5 geometry: 60801/255/63 [976773168 sectors]
>> Signature: 0xAA55
>> Starting Ending
>> #: id cyl hd sec - cyl hd sec [ start - size]
>> ------------------------------------------------------------------------
>> 1: EE 1023 254 63 - 1023 254 63 [ 1 - 976773167] <Unknown ID>
>> 2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
>> 3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
>> 4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
>
> I'm not sure if this will actually resolve your LBA v.s. size problem,
> but the id value of "EE" shown above indicates that this disk is using
> GPT for partitioning, and thus probably the "gpt" command is what you
> want to be using to see the layout of the actual partitions on that
> disk....
Thanks for your advice. Now I can get partition layout using Mac OS X built-in command.
$ sudo gpt show -l /dev/disk5
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - "EFI System Partition"
409640 976101344 2 GPT part - "USB HD 3"
976510984 262151
976773135 32 Sec GPT table
976773167 1 Sec GPT header
But sadly, the max result 976773167 < 976783240.
I confirmed (976773167+1)*512=976773168*512=500,107,862,016bytes is exactly same as the bytes number of this hdd on my mac os x.
Is there any wrong with usage or setting of smartctl?
In addition, I'm using OS-X-SAT-SMART-Driver ver. 0.10 to enable S.M.A.R.T capability of external hdd. Is this related with this mismatch of LBA?
I have re-compiled smartmontools ver.6.3 but the result is same...
Note: Currently all data on this hdd were taken shelter. So I can do anything on this hdd...
// Miya
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk