I used NAS system(Readynas) with Raid5 , but somehow trouble happened. So I connected every four disks to my Ubuntu machine and trying to rescue data.
$cat /etc/mdstat/mdstat.conf
ARRAY /dev/md/1 metadata=1.2 UUID=fd545cb6:345342544:7384acde:3847cad3 name=0e35cfc4:1
ARRAY /dev/md/0 metadata=1.2 UUID=93129d53:adbc6384:cba5637d:34859482 name=0e35cfc4:0
ARRAY /dev/md/1 metadata=1.2 UUID=06c043e4:55913070:bfdf08b2:6483ab43: name=0e35cfc4:1
ARRAY /dev/md/data-0 metadata=1.2 UUID=64b1f000:0b88551e:38b4a42b:d42dd5bd name=0e35cfc4:data-0
I think I need to mount md/data-0 for rescuing,
$sudo mdadm -R /dev/md/data-0
mdadm: error opening /dev/md/data-0: No such file or directory.
Maybe I must have some misunderstanding, but what can I do for mounting data-0
?
$cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid6 sde2[0] sdd2[1]
1046528 blocks super 1.2 level 6, 512k chunk, algorithm 2 [4/2] [UU__]
md0 : active raid1 sdc1[0] sdf1[3] sde1[5] sdd1[4]
4190208 blocks super 1.2 [4/4] [UUUU]
unused devices: <none>
Thanks to @SYN, I could add the two disks to md1. Status changed like this .
$cat /proc/mdstat
md1 : active raid6 sdf2[5] sdc2[4] sde2[0] sdd2[1]
1046528 blocks super 1.2 level 6,512k chunk,algorithm 2 [4/4] [UUUU]
Howeverm 1046528 blocks is too small for my purpose.
This is logs from my another Nas Hardware(same bland). It has md127
.
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md127 : active raid5 sda3[0] sde3[5] sdd3[3] sdc3[2] sdb3[1]
31236699136 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
md1 : active raid10 sda2[0] sde2[4] sdd2[3] sdc2[2] sdb2[1]
1308160 blocks super 1.2 512K chunks 2 near-copies [5/5] [UUUUU]
md0 : active raid1 sda1[0] sde1[5] sdd1[3] sdc1[2] sdb1[1]
4190208 blocks super 1.2 [5/5] [UUUUU]
So I guess my broken one has lost md127
somehow, is there any way to recover md127
???
There is a md127
under /dev
directory
$ls /dev/md*
/dev/md0 /dev/md1 /dev/md127
/dev/md:
0 1
cat /proc/mdstat
to confirm your arrays availability, edit your post including output, ...mdadm --manage /dev/md1 --add /dev/sdc2
, thenmdadm --manage /dev/md1 add /dev/sdf2
?/etc/fstab
, referring to your/dev/md1
. If so, just typemount /path/on/the/left/column
to mount corresponding device. You might have to scan for logical volumes first (? unlikely, not impossible,vgscan
thenvgchange -a y VolName
). In doubt: you should be able to reboot from there, and let boot process do whatever it used to