All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: mdadm can't start RAID0 volume after power failure
@ 2004-12-17 17:44 AndyLiebman
  2004-12-17 17:59 ` Philippe Gramoullé
  0 siblings, 1 reply; 5+ messages in thread
From: AndyLiebman @ 2004-12-17 17:44 UTC (permalink / raw)
  To: philippe.gramoulle, linux-raid

Looking at your mdadm.conf file, and at the results of your mdadm -QE --scan, 
I can see that the UUID numbers are different. Which UUID numbers do you get 
when you run mdadm -E /dev/sd{e,f,g,h,i,j,k}1? I tried to follow the web page 
link in your post and I couldn't get to it. Are you trying to start your array 
with the wrong UUID number by chance? 

Regards, 
Andy Liebman

># cat /etc/mdadm/mdadm.conf
>
>DEVICE /dev/sd[efghijk]1
>ARRAY /dev/md0 level=raid0 num-devices=7 
>UUID=46c66ef8:8acf2810:48adb2d3:85b04900
>

>Still, every # mdadm -E /dev/sd[efghijk]1 looks ok, output can be found 
here: >http://philou.org/mdadm.log
>mdadm.conf is here : http://philou.org/mdadm.conf
>
># mdadm -QE --scan
>ARRAY /dev/md0 level=raid0 num-devices=7 
>UUID=3c1ad678:d3a7a1ed:1112143d:68b4e569

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: mdadm can't start RAID0 volume after power failure
@ 2004-12-17 18:06 AndyLiebman
  2004-12-18  1:41 ` Philippe Gramoullé
  0 siblings, 1 reply; 5+ messages in thread
From: AndyLiebman @ 2004-12-17 18:06 UTC (permalink / raw)
  To: philippe.gramoulle; +Cc: linux-raid


Phillipe

>Still, this is the first time that such a thing happens to me. What could be 
the reason that >UUID would be changed ?

If I were a betting person, I would say that the mdadm.conf file was old, and 
that you had created a new array since the time you made that conf file. And 
you just didn't update the conf file. 

As I'm sure you know, you don't need to use a conf file anyway to use mdadm. 
That's what makes it so beautiful! All kinds of things -- like device ids -- 
can change on your system and mdadm just figures it out (provided you give it a 
minimal amount of info, like the correct uuid!). 

Glad to help :)
Andy Liebman

^ permalink raw reply	[flat|nested] 5+ messages in thread
* mdadm can't start RAID0 volume after power failure
@ 2004-12-17 17:29 Philippe Gramoullé
  0 siblings, 0 replies; 5+ messages in thread
From: Philippe Gramoullé @ 2004-12-17 17:29 UTC (permalink / raw)
  To: linux-raid


 Hello,

i'm looking to understand why i can't start my RAID0 volume since i had a power failure this afternoon.
Nothing regarding hardware was changed/added/removed.

System    : Debian Unstable + Kernel 2.6.7-mm4 (worked rock solid for months)
Hardware  : Dell Poweredge 2600 + 2xPowervault 210S diskshelves + PERC3/QC RAID adapter
Filesystem: ReiserFS, /dev/md0 built last February, 500 Go
mdadm     : 1.7.0

The underlying Hardware RAID 1 part looks ok : each /dev/sd[efghijk]1 is a hardware RAID 1
which is set on the PERC RAID adapter. Every logical volume is reported as "optimal" state

Out of these 7 logical volumes, i've built a Software RAID-0 using mdadm:

# cat /etc/mdadm/mdadm.conf

DEVICE /dev/sd[efghijk]1
ARRAY /dev/md0 level=raid0 num-devices=7 UUID=46c66ef8:8acf2810:48adb2d3:85b04900
   devices=/dev/sdk1,/dev/sdj1,/dev/sdi1,/dev/sdh1,/dev/sdg1,/dev/sdf1,/dev/sde1

After the power failure, i can't start the RAID0 device anymore:
 
# mdadm -v -A /dev/md0
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdk1 has wrong uuid.
mdadm: /dev/sdj1 has wrong uuid.
mdadm: /dev/sdi1 has wrong uuid.
mdadm: /dev/sdh1 has wrong uuid.
mdadm: /dev/sdg1 has wrong uuid.
mdadm: /dev/sdf1 has wrong uuid.
mdadm: /dev/sde1 has wrong uuid.
mdadm: no devices found for /dev/md0


Still, every # mdadm -E /dev/sd[efghijk]1 looks ok, output can be found here: http://philou.org/mdadm.log
mdadm.conf is here : http://philou.org/mdadm.conf

# mdadm -QE --scan
ARRAY /dev/md0 level=raid0 num-devices=7 UUID=3c1ad678:d3a7a1ed:1112143d:68b4e569
   devices=/dev/sdk1,/dev/sdj1,/dev/sdi1,/dev/sdh1,/dev/sdg1,/dev/sdf1,/dev/sde1


Any hope to get my data back ?

Thanks,

Philippe

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-18  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-17 17:44 mdadm can't start RAID0 volume after power failure AndyLiebman
2004-12-17 17:59 ` Philippe Gramoullé
  -- strict thread matches above, loose matches on Subject: below --
2004-12-17 18:06 AndyLiebman
2004-12-18  1:41 ` Philippe Gramoullé
2004-12-17 17:29 Philippe Gramoullé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.