2Big Network 2, Hard disk 2 failed

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Thu Jun 08, 2017 6:29 pm

No need to rebuild the partition table.

We go first restore the raid on partition 8 and 9

So do
Code: Select all
mdadm --zero-superblock /dev/sdb8
mdadm --zero-superblock /dev/sdb9

mdadm --assemble /dev/md1 /dev/sda8 --run
mdadm --assemble /dev/md2 /dev/sda9 --run

post
Code: Select all
cat /proc/mdstat

You should see now 2 active raid1

In this case do
Code: Select all
mdadm --manage /dev/md1 --add /dev/sdb8
mdadm --manage /dev/md2--add /dev/sdb9

post again
Code: Select all
cat /proc/mdstat
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Thu Jun 08, 2017 7:18 pm

Hi Jocko,
Here is below the data result after the command cat /proc/mdstat
Code: Select all
root@fvdw-sta-kirkwood:/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sda9[0]
      874432 blocks [2/1] [U_]
     
md1 : active raid1 sda8[0]
      850304 blocks [2/1] [U_]
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Thu Jun 08, 2017 7:28 pm

:thumbup
So you can now add sdb8 and sdb9 in their related raid
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Thu Jun 08, 2017 7:42 pm

Thanks for the compliment :-)

Ok, but how I do this "add sdb8 and sdb9 in their related raid" ???
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Thu Jun 08, 2017 7:43 pm

:shocked
Already posted...
Jocko wrote:You should see now 2 active raid1

In this case do
Code:
mdadm --manage /dev/md1 --add /dev/sdb8
mdadm --manage /dev/md2--add /dev/sdb9

post again
Code:
cat /proc/mdstat
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Thu Jun 08, 2017 7:46 pm

is it something like :

mdadm --add /dev/md1 /dev/sda8
mdadm --add /dev/md2 /dev/sda9

Correct ?
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Thu Jun 08, 2017 7:47 pm

This synthax is also correct but lazzy...
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Thu Jun 08, 2017 7:50 pm

Ok, I did your last post (mdadm --manage /dev/md1 --add /dev/sdb8 etc.
It seems the last mdadm md2 with sdb9 is long before the prompt come back ?
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Thu Jun 08, 2017 7:55 pm

Did you do by pasting the 2 lines at the same time . In this case you need to type "enter"
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Thu Jun 08, 2017 7:57 pm

No, I typed the first cmd then ENTER (I got the prompt back quickly after the 1st entry)
and after I typed the 2nd one (md2 > sdb9) and typed ENTER key. The prompt is not back and I can see the rear BLue led of disk 1 flashing a bit, then no flashing, etc. It seems the data are written from disk1. Is this correct ?
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 11 guests