Tuesday, September 6, 2016

RAID Resync Interrupted - How To Recover

Using Ubuntu 16.04 with RAID and Logical Volumes. I am adding Disk Encryption to my skill set. After using the Fedora 24 installer to do all of these in one night (and day) of operating system installation fiesta, I am now trying to finish the same thing using the Ubuntu installer this early morning. There's a power loss of about 30 seconds. It happens in the very early morning. Some power engineer decided to test a new hardware or to pull out an equipment for servicing in the wee hours of the morning while I'm in the middle of resyncing my RAID. I heard the sigh of the fan motors.

I checked the status of the RAID - inactive, okay. Then bring it back on, right? I had to continue the resync somehow so I went back to the mdadm man pages.

#mdadm -assemble --update=resync /dev/md0 /dev/sdb1... /dev/sdd1

 This returns a message that my component devices are BUSY. Are they just trying to ignore me? Not at this ungodly hour, okay. So I have to stop the devices.

#mdadm /dev/md0 --stop

I retried the previous command. It worked. The resync restarted from where it was interrupted.

Good night. Oh it's morning. Good morning then.

Donato Roque@desktop
mobile:  63-9185721710
I'm on twitter and facebook.
Check out my blog.
Consider using my PGP key for privacy. 
Post a Comment

Guake!

Guake is a drop-down terminal application in GNOME. Installing Guake is easy. Use your distribution's package manager, most distros hav...