Comment 8 for bug 320638

Revision history for this message
Stephan Diestelhorst (syon) wrote : Re: Raid1 HDD and SD card -> bio too big device md0 (248 > 200)

After re-adding my HDD to the RAID and waiting for the synch to complete, I retried
$ sudo LANG=C apt-get update
[..]
Hit http://de.archive.ubuntu.com intrepid-updates/multiverse Sources
Fetched 378B in 0s (1106B/s)
Reading package lists... Error!
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.

Strace'ing suggests that the file /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_intrepid_main_binary-i386_Packages is to blame.
And indeed:

$ LANG=C dd if=/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_intrepid_main_binary-i386_Packages of=/dev/null
dd: reading `/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_intrepid_main_binary-i386_Packages': Input/output error
320+0 records in
320+0 records out
163840 bytes (164 kB) copied, 0.00293396 s, 55.8 MB/s

$ LANG=C cat /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_intrepid_main_binary-i386_Packages > /dev/null
cat: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_intrepid_main_binary-i386_Packages: Input/output error

Same is true after I remove the SD card from the RAID.

HELP, this thing eats my data!