baruch / diskscan

Scan disk for bad or near failure sectors, performs disk diagnostics
GNU General Public License v3.0
108 stars 29 forks source link

Failed to generate scan order #17

Closed fmarier closed 11 years ago

fmarier commented 11 years ago

Using 0.13, I get the following error message if I fail to specify a scan order:

sudo diskscan -v /dev/sda
diskscan version unknown-1104c45

V: Verbosity set
I: Validating path /dev/sda
I: Opened disk /dev/sda sector size 512 num bytes 320072933376
I: Scanning disk /dev/sda
E: Failed to generate scan order

but it works fine if I specify a scan order explicitly:

sudo diskscan -s seq /dev/sda

Let me know if I can provide more useful information about my setup.

baruch commented 11 years ago

Can you try the latest git head? I can't recall just now but I believe I saw this and fixed something like this.

baruch commented 11 years ago

hash cd639d5e8e7073cee5f10f156e7cce4609a94ad6 should fix this, can you please check and report back? Thanks!

fmarier commented 11 years ago

I wasn't able to build master from source (./autogen.sh && make didn't work), but I patched my 0.13 with that commit and it worked fine.