DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-09-15 18:33:15

ipsographic
Member
Registered: 2009-04-16
Posts: 12

If mdstat is reporting '[_U]' is it actually a recovering RAID1 ?

Recently added a new disk, I have a RAID1 setup, I turned off auto rebuild and set it off manually, but it keeps restarting.

cat /proc/mdstat:

Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sda2[1] sdb2[2]
      974133312 blocks [2/1] [_U]
      [>....................]  recovery =  0.9% (9664192/974133312) finish=1587.4min speed=10124K/sec
unused devices: <none>

But as this 'recovery' has restarted a few times, is it really working, or do I have to add the disk manually and then recover?

I have just noticed that after a reboot the disks are blue, they were pink before, is it really working this time?

Offline

 

#2 2009-09-15 20:08:12

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: If mdstat is reporting '[_U]' is it actually a recovering RAID1 ?

it seems to work. although the speed is quite low. afair i had 80-100 mb/s.

Offline

 

#3 2009-09-15 20:12:35

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: If mdstat is reporting '[_U]' is it actually a recovering RAID1 ?

ipsographic wrote:

Recently added a new disk, I have a RAID1 setup, I turned off auto rebuild and set it off manually, but it keeps restarting.

cat /proc/mdstat:

Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sda2[1] sdb2[2]
      974133312 blocks [2/1] [_U]
      [>....................]  recovery =  0.9% (9664192/974133312) finish=1587.4min speed=10124K/sec
unused devices: <none>

But as this 'recovery' has restarted a few times, is it really working, or do I have to add the disk manually and then recover?

I have just noticed that after a reboot the disks are blue, they were pink before, is it really working this time?

Maybe I'm mistaken, but earlier today I saw a post very similar to this, but it included some detail missing from this one - the fact that the array had been "manipulated" in a somewhat unothodox manner.

Now, if I'm right, and that was your post - it might help the folks you're asking to help you, understand how you got into your present predicament, if you gave them the rest of the details - and if I'm wrong - please accept my apologies for butting in.

In a nutshell though - I'd say removing the RAID disks from the unit and formatting a single disk, by itself, destroyed the RAID array and it's not going to rebuild without some additional manipulation, but this time with mdadm to recreate the array.

Offline

 

#4 2009-09-15 21:02:08

ipsographic
Member
Registered: 2009-04-16
Posts: 12

Re: If mdstat is reporting '[_U]' is it actually a recovering RAID1 ?

Thanks all for replying.

You are correct fordem, I did post earlier but had only 3 views, so I rewrote the post.

I had 2 Hitachi Deathstars, and configured RAID 1, one died, so I replaced with another disk. After reading the problems people had with the auto rebuild I thought it best to disable it. I thought I had read that it was best to remove the existing disk and format the new one alone, so that's what I did.

I then put my old working disk back in and moved the new disk to slot 2.

That was yesterday, it now just seems to be constantly restarting the recovery, but the difference today (following a reboot) seems to be that the drive lights are blue.

I'm not convinced that all is well and that the recovery is working, it restarted several times yesterday, for a start should 'cat /proc/mdstat' still be reporting [_U] if it is recovering?

Last edited by ipsographic (2009-09-15 21:14:02)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB