Restore mdadm: Difference between revisions

From Karmaking
Jump to navigationJump to search
Created page with "<tt> mv /etc/mdadm/mdadm.conf /root/ mdadm -Escpartitions > /etc/mdadm/mdadm.conf mdadm -A /dev/mdX </tt> Once the system is up, compare the output of <tt> /usr/share/mdadm/mk..."
 
No edit summary
 
Line 18: Line 18:
</tt>
</tt>
and now the system should boot.
and now the system should boot.
[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570516#35| http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570516#35]

Latest revision as of 19:50, 5 April 2012

mv /etc/mdadm/mdadm.conf /root/

mdadm -Escpartitions > /etc/mdadm/mdadm.conf

mdadm -A /dev/mdX

Once the system is up, compare the output of /usr/share/mdadm/mkconf with the contents of /etc/mdadm/mdadm.conf and update the file with the data from the command output.

When done, run update-initramfs -u and now the system should boot.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570516#35