stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Betreff: crashed linux mdadm raid
@ 2019-06-12 16:50 Alexander Sommer
  2019-06-12 17:09 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Sommer @ 2019-06-12 16:50 UTC (permalink / raw)
  To: stable

Hello,

after a problem with my external disk enclosure my md-raid is broken.

if I do an assemble I got this:
root@server:~ # mdadm --assemble /dev/md2 /dev/sd[lmnop]1
mdadm: /dev/md2 assembled from 2 drives - not enough to start the array.

I assume the broblem is that the disks events counter has different
states:

root@server:~ # mdadm --examine /dev/sd[lmpno]1 | egrep -e "/dev/sd" -e
"Raid Level" -e Events -e "Device Role" -e "Array State"
/dev/sdl1:
      Raid Level : raid5
          Events : 253626
    Device Role : Active device 0
    Array State : AA.AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdm1:
      Raid Level : raid5
          Events : 253626
    Device Role : Active device 1
    Array State : AA.AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdn1:
      Raid Level : raid5
          Events : 253618
    Device Role : Active device 2
    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdo1:
      Raid Level : raid5
          Events : 253618
    Device Role : Active device 3
    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdp1:
      Raid Level : raid5
          Events : 253618
    Device Role : Active device 4
    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)

This raid is used for backup, I do rsync to this device and have for
every day on directory and I need some of the old data, so I need only a
way, to read some old files, and than it is no problem to clean the
disks and create it new. So I do not need the realy last state. If I got
the files which are some days old it will be ok, on this device normaly
I do not delete something, there come only new files and hardlinks to
the old ones.

So, do I have a chance to start it?

Gruß Alex

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

* Re: Betreff: crashed linux mdadm raid
  2019-06-12 16:50 Betreff: crashed linux mdadm raid Alexander Sommer
@ 2019-06-12 17:09 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-06-12 17:09 UTC (permalink / raw)
  To: Alexander Sommer; +Cc: stable

On Wed, Jun 12, 2019 at 06:50:09PM +0200, Alexander Sommer wrote:
> Hello,
> 
> after a problem with my external disk enclosure my md-raid is broken.
> 
> if I do an assemble I got this:
> root@server:~ # mdadm --assemble /dev/md2 /dev/sd[lmnop]1
> mdadm: /dev/md2 assembled from 2 drives - not enough to start the array.
> 
> I assume the broblem is that the disks events counter has different
> states:
> 
> root@server:~ # mdadm --examine /dev/sd[lmpno]1 | egrep -e "/dev/sd" -e
> "Raid Level" -e Events -e "Device Role" -e "Array State"
> /dev/sdl1:
>      Raid Level : raid5
>          Events : 253626
>    Device Role : Active device 0
>    Array State : AA.AA ('A' == active, '.' == missing, 'R' == replacing)
> /dev/sdm1:
>      Raid Level : raid5
>          Events : 253626
>    Device Role : Active device 1
>    Array State : AA.AA ('A' == active, '.' == missing, 'R' == replacing)
> /dev/sdn1:
>      Raid Level : raid5
>          Events : 253618
>    Device Role : Active device 2
>    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)
> /dev/sdo1:
>      Raid Level : raid5
>          Events : 253618
>    Device Role : Active device 3
>    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)
> /dev/sdp1:
>      Raid Level : raid5
>          Events : 253618
>    Device Role : Active device 4
>    Array State : AAAAA ('A' == active, '.' == missing, 'R' == replacing)
> 
> This raid is used for backup, I do rsync to this device and have for
> every day on directory and I need some of the old data, so I need only a
> way, to read some old files, and than it is no problem to clean the
> disks and create it new. So I do not need the realy last state. If I got
> the files which are some days old it will be ok, on this device normaly
> I do not delete something, there come only new files and hardlinks to
> the old ones.
> 
> So, do I have a chance to start it?

No idea, try contacting your distribution for support.

good luck!

greg k-h

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

end of thread, other threads:[~2019-06-12 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-12 16:50 Betreff: crashed linux mdadm raid Alexander Sommer
2019-06-12 17:09 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).