From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Subject: Re: mdadm raid1 stops to work after kernel panic Date: Tue, 6 May 2008 07:46:55 +0200 Message-ID: <26c008d70805052246g4533876cm172e296ca07d8295@mail.gmail.com> References: <26c008d70805042347g1afaa67em5a7af935bed434ca@mail.gmail.com> <56088.192.168.1.70.1209979931.squirrel@neil.brown.name> <26c008d70805050256q65972fa7jb86c6d5254828fc1@mail.gmail.com> <54900.192.168.1.70.1209987714.squirrel@neil.brown.name> <26c008d70805050509q40acc59cg94d22d0f9ad3b8b6@mail.gmail.com> <18463.51033.969459.795526@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18463.51033.969459.795526@notabene.brown> Content-Disposition: inline Sender: linux-raid-owner@vger.kernel.org To: Neil Brown , linux-raid@vger.kernel.org List-Id: linux-raid.ids Yeah! thank you for your help! :D 2008/5/6 Neil Brown : > > On Monday May 5, undicizeri@gmail.com wrote: > > > What happens if you: > > > mdadm -S /dev/md2 > > > mdadm -A /dev/md2 /dev/sda1 /dev/sdc1 > > > > root@persifae:~#mdadm -S /dev/md2 > > mdadm: stopped /dev/md2 > > root@persifae:~#mdadm -A /dev/md2 /dev/sda1 /dev/sdc1 > > mdadm: failed to add /dev/sdc1 to /dev/md2: Invalid argument > > mdadm: /dev/md2 assembled from 0 drives - not enough to start the array. > > Ahhh... They have a different "preferred minor". Presumably when you > tried to boot with the wrong grub parameters it tried to assemble the > array as /dev/md0 instead of /dev/md2. > > You can fix with: > > mdadm -A /dev/md2 /dev/sdc1 > mdadm /dev/md2 -a /dev/sda1 > > NeilBrown >