beta ~ # /sbin/mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1
mdadm: cannot get array info for /dev/md0
beta ~ # cat /proc/mdstat 
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : inactive dm-0[0](S)
      104320 blocks super non-persistent
       
unused devices: <none>


--- On Sat, 8/8/09, Volker Armin Hemmann <volkerar...@googlemail.com> wrote:

> From: Volker Armin Hemmann <volkerar...@googlemail.com>
> Subject: Re: [gentoo-user] fixing raid1 /boot
> To: gentoo-user@lists.gentoo.org
> Date: Saturday, August 8, 2009, 2:19 PM
> On Samstag 08 August 2009, Kevin
> Haddock wrote:
> > For the life of me I can't figure out the canonical
> way to rebuild my
> > mirrored /boot.  The second disk (/dev/sdb1) got
> corrupted and it is
> > interfering with my rebuilding the kernel (genkernel
> can't mount /boot).
> >
> 
> forget genkernel.
> 
> put in correctly partitioned disk.
> 
> 
> read man mdadm
> 
> /sbin/mdadm /dev/md0 –fail /dev/sdb1 –remove /dev/sdb1
> /sbin/mdadm /dev/md0 –add /dev/sdb1
> 
> as example. Found on google in less than 2 minutes.
> 
> Seriously, google is your friend ;)
> 
> 




Reply via email to