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

EINVAL returned when scanning at 1MB scan size on Linux #13

Open baruch opened 11 years ago

baruch commented 11 years ago

Tried to scan on Linux (scsi commands) at 1MB scan size and got an EINVAL, scanning at the default 64K works.

baruch commented 11 years ago

Looks like there are inherent limits in the normal Linux kernel that prevent such large accesses so this is not likely to be fixed any time soon.