RE: Reading beyond the end of drive again - solution

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

 



Just to have the solution in the archive:

Earlier this month I wrote about Linux reading beyond
the end of the disk partition:

QUOTE
root l440gx /]# dd bs=10k skip=12000000 of=/dev/null
if=/dev/hdg1
dd: reading `/dev/hdg1': Input/output error
5371+1 records in
5371+1 records out

There were errors in /var/log/messages as well:
Oct  5 21:10:28 localhost kernel: attempt to access
beyond end of device
Oct  5 21:10:28 localhost kernel: 22:01: rw=0,
want=120053716, limit=120053713
Oct  5 21:10:28 localhost kernel: attempt to access
beyond end of device
Oct  5 21:10:28 localhost kernel: 22:01: rw=0,
want=120053716, limit=120053713

END OF QUOTE.

The problem was with the drive. It was initially used
with Windows XP, before being installed in Linux
machine. Windows wrote something on it, so the disk
was reporting wrong (well, _different_ from what
Maxtor thinks it should be) geometry to Linux. 

Solution was to low-level format the drive. If one has
MBR expertize, he/she can try first to clean MBR to
save time.

Thanks,

         Sergey 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux