I found a solution here:
http://www.howtoforge.com/forums/showthread.php?t=65066
Obtain the UUID for your array in question with the command: mdadm --misc --detail /dev/mdX
(where X is the array number) and edit /etc/mdadm/mdadm.conf
and replace them with:
ARRAY /dev/md1 UUID=dffcb503:bc157198:3fb6082e:e5593158
ARRAY /dev/md3 UUID=a46d442b:4e5b8a52:3fb6082e:e5593158
Replacing my /dev/mdX device and UUID with yours. I just did this on one of mine and it worked. I'm posting this not really for you as you likely solved it ages ago but for anyone else who this happened to.
"Input/output error" indicates a reading/writing error, possibly caused by a disk defect. It seems not being able to read/write blocks, and so it can't modify the partition.
I recommend backing up all your personal data on the disk and checking the filesystem with a tool of your choice.
-- Update --
for filesystem-check you could use
fsck.ext2 -p -f -C0 /dev/sda2
It will check the filesystem (-f), give you some information what's going on, show a progress bar (-C0) and ask you, whether it should try to fix major problems (-p).
If you got a lot of problems, I'd advise to install
smartmontools
and run
sudo smartctl -H /dev/sda
for a fast test
sudo smartctl -t long /dev/sda
check the hard disk thoroughly
sudo smartctl -a /dev/sda
to show hard disk state
sudo smartctl -A /dev/sda
to show hard disk attributes.
Best Answer
You can disable resuming from swap devices by adding
RESUME=none
to the initramfs configuration.Put this into a file named
/etc/initramfs-tools/conf.d/noresume.conf
: