Wizard Raid 1 is degraded at start

369 views
Skip to first unread message

Martin Melissen

unread,
Jul 19, 2013, 6:36:32 PM7/19/13
to al...@googlegroups.com
First of all I wanna thank Joäo for his dedicated work on this piece of software.
I'm a newbie in Linux. So I hope that I don't make stupid mistakes.

I have the following sytem working on a flashed Alt-F 0.1RC3
I've used the Wizard to make a raid 1 on 2x 3 TB HDD,s. When the wizard is done, I have to restart the DNS otherwise I can't connect to it anymore.
After the progress I have a degraded RAID1. 
When I look at the filesystems I see that I have a md0 with 2.74 TB en there is sdb2 with also 2.7 TB. So the second disc isn't brought into the RAID.

Can you tell me what I probably did wrong? And is there a way to transfer the second disc into the RAID?

Thank you in advance for the answer

Greetings Martin
 
Name: DNS-323Device: DNS-323 rev-B1

Disks
BayDev.ModelCapacityPower StatusTempHealth
rightsdaWDC WD30EFRX-68AX9N03000.6 GBactive or idle37°C/98.6°Fpassed
leftsdbWDC WD30EZRX-00MMMB03000.6 GBactive or idle38°C/100.4°Fpassed
RAID
Dev.CapacityLevelStateStatusActionDoneETA
md02794.0 GBraid1cleandegradedidle
Mounted Filesystems
Dev.LabelCapacityAvailableFSModeDirtyAutomatic FSCK in
md02.7TB
2.7TB
ext4RW29 mounts or 179 days

Filesystems
Dev.SizeFSMntLabelMount OptionsFS OperationsNew FS Operations
md02.7TBext4*
sdb22794.0GBnone

Joao Cardoso

unread,
Jul 20, 2013, 5:22:57 PM7/20/13
to Alt-F Group

...


On Jul 19, 2013 11:36 PM, "Martin Melissen" <mrm...@gmail.com> wrote:
>
> First of all I wanna thank Joäo for his dedicated work on this piece of software.
> I'm a newbie in Linux. So I hope that I don't make stupid mistakes.
>
> I have the following sytem working on a flashed Alt-F 0.1RC3
> I've used the Wizard to make a raid 1 on 2x 3 TB HDD,s. When the wizard is done, I have to restart the DNS otherwise I can't connect to it anymore.

dont know what happened. what did the status page shows after the wizard finish? what do you mean with cant connect?

> After the progress I have a degraded RAID1. 
> When I look at the filesystems I see that I have a md0 with 2.74 TB en there is sdb2 with also 2.7 TB. So the second disc isn't brought into the RAID.
>
> Can you tell me what I probably did wrong? And is there a way to transfer the second disc into the RAID?

in the disk>raid page , in the md0 device line you have to select the sdb2 partition, then select the add operation, and wait for the resync to finish.
for more info read the online raid help page.

> --
> You received this message because you are subscribed to the Google Groups "Alt-F" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
> To post to this group, send email to al...@googlegroups.com.
> Visit this group at http://groups.google.com/group/alt-f.
> To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/3ade195c-13a1-4e95-8eed-23d0fa484842%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

Martin Melissen

unread,
Jul 21, 2013, 2:18:36 PM7/21/13
to al...@googlegroups.com
Thanks for your quick answer. 

Now I understand what I couldn't find. Because this is what I see:

RAID Creation and Maintenance help

When done you must save settings help
fdisk: device has more than 2^32 sectors, can't use all of them fdisk: device has more than 2^32 sectors, can't use all of them
RAID Creation
Dev.TypeComponent 1Component 2Spare
md0

RAID Maintenance
Dev.CapacityLevelComponentsArrayRAID OperationsComponent Operations


That means that I miss a important part. I hope you can help me out.

Thanks again,
Greetings Martin



Op zaterdag 20 juli 2013 23:22:57 UTC+2 schreef Joao Cardoso het volgende:

João Cardoso

unread,
Jul 21, 2013, 4:38:03 PM7/21/13
to al...@googlegroups.com
I don't understand who you got these results, nobody else reported that. And the Status Page seems OK. Can you get a screen dump of the Disk->Partitioner, with one disk selected at a time? Posting the 'Alt-F.log' that you will find at the root of the md0 filesystem (/mnt/md0) can also help

I really need to get one 3TB disk to test this myself, pitty that I don't need one.

Can you afterwards please repeat the Disk->Wizard again, selecting both disks in the upper section, RAID1/ext4 in the lower section, hitting Abracadabra and screen-capturing any error message?
Beware that you will loose all data currently on disks!

Martin Melissen

unread,
Jul 21, 2013, 7:22:02 PM7/21/13
to al...@googlegroups.com

This is the screendump from the both Disk partioner screens

I really don't know how to get the log out of the root.

Thanks


João Cardoso

unread,
Aug 15, 2013, 7:45:47 PM8/15/13
to al...@googlegroups.com

On Monday, July 22, 2013 12:22:02 AM UTC+1, Martin Melissen wrote:

This is the screendump from the both Disk partioner screens


Sorry for the late answer, holidays :-)
Everything looks OK in the screenshots.
 

I really don't know how to get the log out of the root.


you can use ftp, login as the 'root' user, same password as the webUI:

ftp nas
Connected to nas.
220 (vsFTPd 3.0.2)
Name (nas:jcard): root
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /mnt/md0
250 Directory successfully changed.
ftp> get alt-f.log
local: alt-f.log remote: alt-f.log
229 Entering Extended Passive Mode (|||30039|).
150 Opening BINARY mode data connection for alt-f.log (42122 bytes).
100% |***************************************| 42122      77.39 MB/s    00:00 ETA
226 Transfer complete.
42122 bytes received in 00:00 (53.13 MB/s)
ftp> bye

Anyway I need more info than the one available in the log.
Please telnet or ssh the box, login as the 'root' user, same password as the webUI, execute and post the output of the following commands:

mdadm --examine /dev/sda2 /dev/sdb2
mdadm --detail /dev/md0
 

Thanks


René Beauchemin

unread,
Apr 9, 2014, 7:58:04 PM4/9/14
to al...@googlegroups.com
Hi,

I've got the exact same problem, with a DNS-321 running ALT-F version 0.1RC3 and two new HD.

Should I start all again ( already lost a week copying all the data from the old HD...

Here is the results of the commands you asked to run:

# mdadm --examine /dev/sda2 /dev/sdb2
mdadm: No md superblock detected on /dev/sda2.
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 8fc73d02:b29a220f:84dbef52:380d572a
           Name : DNS-321:0  (local to host DNS-321)
  Creation Time : Mon Apr  7 19:57:47 2014
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 5859480496 (2794.02 GiB 3000.05 GB)
     Array Size : 5859480224 (2794.02 GiB 3000.05 GB)
  Used Dev Size : 5859480224 (2794.02 GiB 3000.05 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 027ac196:7100821b:9ece016d:79b41209

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Apr  9 19:46:41 2014
       Checksum : 28bf36a4 - correct
         Events : 448306


   Device Role : Active device 0
   Array State : A. ('A' == active, '.' == missing)
# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Mon Apr  7 19:57:47 2014
     Raid Level : raid1
     Array Size : 2929740112 (2794.02 GiB 3000.05 GB)
  Used Dev Size : 2929740112 (2794.02 GiB 3000.05 GB)
   Raid Devices : 2
  Total Devices : 1
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Wed Apr  9 19:46:41 2014
          State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           Name : DNS-321:0  (local to host DNS-321)
           UUID : 8fc73d02:b29a220f:84dbef52:380d572a
         Events : 448306

    Number   Major   Minor   RaidDevice State
       0       8       18        0      active sync   /dev/sdb2
       1       0        0        1      removed
#

João Cardoso

unread,
Apr 10, 2014, 10:12:13 AM4/10/14
to al...@googlegroups.com


On Thursday, April 10, 2014 12:58:04 AM UTC+1, René Beauchemin wrote:
Hi,

I've got the exact same problem, with a DNS-321 running ALT-F version 0.1RC3 and two new HD.

Should I start all again ( already lost a week copying all the data from the old HD...

I don't understand, is your data already on the RAID? Do you still have a backup?
The procedure I give below should not affect it, but I'm assuming that your problem is similar to Martin's, I don't have your box logs/screenshots (System->Utilities->View Logs->System Configuration, hit the Download button at the page end)
 

Here is the results of the commands you asked to run:

# mdadm --examine /dev/sda2 /dev/sdb2
mdadm: No md superblock detected on /dev/sda2.

This is the issue, sda2 was not added to the RAID, don't know why.

Your RAID doesn't appears in the RAID Maintenance section of the RAID webUI, does it? I suspect it does not, a patch is needed to fix that (I think that it's in the bug reports or old issues on sourceforge tickets https://sourceforge.net/p/alt-f/_list/tickets).

But adding the missing sda2 component to the RAID using the command line is easy:

mdadm /dev/md0 --add /dev/sda2

But *first* verify under the Disk Partitioner that sda2 is a partition of type RAID with ~3TB, and that in the Disk Filesystems webUI it does not has a filesystem on it  ("none" should appear under the FS column) and it is not mounted  (no * under the Mnt column) . It should be similar to Martin's first and third posts screen shots.
Reply all
Reply to author
Forward
0 new messages