Narrowing down the scope of the bug, the following two lines from the
kernel log confirm the reason:

[17179581.096000] end_request: I/O error, dev hde, sector 135202804
[17179581.096000] Buffer I/O error on device hde2, logical block 21510976

Bearing in mind the partition table on hde is actually the partition
table for the stripe-set hde+hdf, some entries in it will likely have
sector numbers that are larger than the number of sectors on the
physical drive hde, as can be seen from the partition table of the RAID
device after dmraid has loaded:

# fdisk -u -l /dev/mapper/pdc_biieicaii

Disk /dev/mapper/pdc_biieicaii: 121.9 GB, 121999982592 bytes
255 heads, 63 sectors/track, 14832 cylinders, total 238281216 sectors
Units = sectors of 1 * 512 = 512 bytes

                    Device Boot      Start         End      Blocks   Id  System
/dev/mapper/pdc_biieicaii1   *          63    49158899    24579418+   7  
HPFS/NTFS
/dev/mapper/pdc_biieicaii2        49158900   135203039    43022070    7  
HPFS/NTFS
/dev/mapper/pdc_biieicaii3       135203040   238276079    51536520    5  
Extended
/dev/mapper/pdc_biieicaii5       135203103   141082829     2939863+  82  Linux 
swap / Solaris
/dev/mapper/pdc_biieicaii6       141082893   142094924      506016   83  Linux
/dev/mapper/pdc_biieicaii7       142094988   181181069    19543041   83  Linux
/dev/mapper/pdc_biieicaii8       181181133   238276079    28547473+  83  Linux

So the logical sector 21,510,976 in hde2 is being sought, which is
physical sector 135,202,804, but hde only has 120,103,200 sectors.

The  report of the logical sector number in 'hde2' suggests the issue is
caused by an fsck, although it doesn't explain why so many thousands of
errors are being generated.

There aren't an overwhelming number of seek errors, as shown by doing:

# grep 'end_request: I/O error, dev hde' dmesg.diskerrors.txt |  sed
's/\(\[[0-9\.]*\]\) \([a-z]*\)/\2/'   | sort  | uniq

end_request: I/O error, dev hde, sector 135202804
end_request: I/O error, dev hde, sector 135202808
end_request: I/O error, dev hde, sector 135202972
end_request: I/O error, dev hde, sector 135202976
end_request: I/O error, dev hde, sector 135203028
end_request: I/O error, dev hde, sector 135203032
end_request: I/O error, dev hde, sector 135203036
end_request: I/O error, dev hde, sector 135203040

So, all but sector 135,203,040 are part of the NTFS file-system in
partition 2. That sector is the first sector of partition 3, which is an
extended partition-table entry.

-- 
Disk Read Errors during boot-time probe of physical softRAID drives
https://launchpad.net/bugs/77734

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to