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
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
linux-stable-mirror@lists.linaro.org