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 2008-09-21 17:20:01

McKite
New member
Registered: 2008-09-21
Posts: 3

dns-323 raid problems after factory reset by button

I recently upgraded my dns-323 with
1. firmware 1.5
2. two 1tB Harddrives

At first everything went fine, until i decided to use itunes server. I made a mistake and used the one of ht gui. I didn't want to have a password, so i set the password to be empty. Then i saved that and then the problems began:
1. The gui would fail to show the itunes-settings page correctly. Instead it seemed, that the webbrowser crashed. After that it took some time to be able to log into the web-GUI again.
Several times i tried to go to the settings page of itunes, but it would always do the same like in 1.

Then i tried to do some changes directly to the saved configuration file, where i did some mistakes, so the DNS-323 wouldn't boot anymore.
In order not to loose data, i took out the drives, made a reset to factory settings by pushing the reset button in the back.
Then i just put one drive in (unfortunately the left one, because i didn't know better sad  ) and bootet to make sure, that i have one drive, that would be save...

After reloading my settings, that worked, i shut down and put the second drive (right side) into the DNS. After booting it told me, that the drives where i wrong order and that i had to switch them. Anyways i managed to go to the raid page of the gui and it showed, that it was synchronizing so i didn't touch it anymore until the next day.
When checking the sync it told me, that sync was ready and the following output came up in the telnet session:

/mnt/HD_a2 # mdadm --misc -D /dev/md0
/dev/md0:
        Version : 00.90.01
  Creation Time : Wed Sep 17 09:44:19 2008
     Raid Level : raid1
     Array Size : 974133312 (929.01 GiB 997.51 GB)
    Device Size : 974133312 (929.01 GiB 997.51 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Sep 21 10:57:20 2008
          State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
  Spare Devices : 0

           UUID : e093a6fa:314114be:2864502f:4a9e8984
         Events : 0.242307

    Number   Major   Minor   RaidDevice State
       0       8       18        0      active sync   /dev/sdb2
       1       8        2        1      active sync   /dev/sda2

Nevertheless i can't normally logg into my GUI without having that information, that the drives have to be swaped and reformated.
When i o to the raid page of the gui it says:

HARD DRIVE INFO :

Total Drive(s):     0
Volume Name:     Volume_1
Volume Type:     RAID 1
Sync Time Remaining:     Completed
Total Hard Drive Capacity:     981858 MB
Used Space:     288754 MB
Unused Space:     693104 MB

What went wrong, and how can i fix that?
Can you help me with that?
I have a USB-Drive attached to the Box, where i could copy all the files to and then reformat the raid. But first it takes a long time, second i would like to understand and learn what happend in order to prevent that from happeneing in the future.:

The commands:
mount -t minix /dev/mtdblock0 /sys/mtd1
mount -t minix /dev/mtdblock1 /sys/mtd2
cat /sys/mtd1/hd_magic_num
cat /sys/mtd2/hd_magic_num
cat /sys/mtd1/raidtab2web
cat /sys/mtd2/raidtab2web
cat /sys/mtd1/raidtab
cat /sys/mtd2/raidtab
cat /mnt/HD_a4/.systemfile/hd_magic_num
cat /mnt/HD_b4/.systemfile/hd_magic_num
cat /mnt/HD_a4/.systemfile/raidtab2web
cat /mnt/HD_b4/.systemfile/raidtab2web
cat /mnt/HD_a4/.systemfile/raidtab
cat /mnt/HD_b4/.systemfile/raidtab
umount /sys/mtd1
umount /sys/mtd2

produced the following output:
562361
0


562361
0


raiddev /dev/md0
raid-level      raid1
nr-raid-disks   1
chunk-size      32
persistent-superblock   1
device  /dev/sda2
raid-disk       0
device  /dev/sdb2
raid-disk       1
Status  Start
raid-masterdisk /dev/sda2
FirstStart      1
FormatwebFlag   1
SatamountFlag   1
SatamountFlag1  0
raidsize        929
filesystem      EXT2
parti3  1
Version 1.5
raiddev /dev/md0
raid-level      raid1
nr-raid-disks   1
chunk-size      32
persistent-superblock   1
device  /dev/sda2
raid-disk       0
device  /dev/sdb2
raid-disk       1
Status  Start
raid-masterdisk /dev/sda2
FirstStart      1
FormatwebFlag   1
SatamountFlag   1
SatamountFlag1  0
raidsize        929
filesystem      EXT2
parti3  1
Version 1.5
raiddev /dev/md0
        raid-level      raid1
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev null
        raid-level      null
        nr-raid-disks   0
        chunk-size      64
        persistent-superblock   1
        device          null
        raid-disk       null
        device          null
        raid-disk       null
        Version 1.3

raiddev /dev/md0
        raid-level      raid1
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev null
        raid-level      null
        nr-raid-disks   0
        chunk-size      64
        persistent-superblock   1
        device          null
        raid-disk       null
        device          null
        raid-disk       null
        Version 1.3

460376
133405460376
133405raiddev   /dev/md0
raid-level      raid1
nr-raid-disks   1
chunk-size      32
persistent-superblock   1
device  /dev/sda2
raid-disk       0
device  /dev/sdb2
raid-disk       1
Status  Start
raid-masterdisk /dev/sda2
FirstStart      1
FormatwebFlag   1
SatamountFlag   1
SatamountFlag1  0
raidsize        929
filesystem      EXT2
parti3  1
Version 1.5
raiddev /dev/md0
raid-level      raid1
nr-raid-disks   1
chunk-size      32
persistent-superblock   1
device  /dev/sda2
raid-disk       0
device  /dev/sdb2
raid-disk       1
Status  Start
raid-masterdisk /dev/sda2
FirstStart      1
FormatwebFlag   1
SatamountFlag   1
SatamountFlag1  0
raidsize        929
filesystem      EXT2
parti3  1
Version 1.5
raiddev /dev/md0
        raid-level      raid1
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev null
        raid-level      null
        nr-raid-disks   0
        chunk-size      64
        persistent-superblock   1
        device          null
        raid-disk       null
        device          null
        raid-disk       null
        Version 1.3

raiddev /dev/md0
        raid-level      raid1
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev null
        raid-level      null
        nr-raid-disks   0
        chunk-size      64
        persistent-superblock   1
        device          null
        raid-disk       null
        device          null
        raid-disk       null
        Version 1.3

Thanks  a lot for your help!

Greets

Chris

Offline

 

#2 2008-09-21 18:15:57

erleone
Member
Registered: 2008-09-15
Posts: 14

Re: dns-323 raid problems after factory reset by button

Unfortunately I can't help you with the RAID issue, but just wanted to say that I've always had trouble with the ITunes server and firmware 1.05. It would just crash the browser and I couldn't do anything until restarting the DNS and finally having to reset it to factory defaults.

Now I use MediaTomb instead with ffp 0.5

/e

Offline

 

#3 2008-09-21 19:43:39

McKite
New member
Registered: 2008-09-21
Posts: 3

Re: dns-323 raid problems after factory reset by button

I currently do a backup to my external USB Hard-Drive. That Mediatomb is better? Where do i find it, and what are the advantages?

Offline

 

#4 2008-09-21 22:16:19

erleone
Member
Registered: 2008-09-15
Posts: 14

Re: dns-323 raid problems after factory reset by button

Mediatomb is a media server. I never got Itunes to work on the DNS and decided to install firefly according to the HowTo:Firefly instructions. Never managed to install a debian environment so I gave up. Fortunately I saw that Fonz Funplug 0.5 had Mediatomb included so I tested. Now I have my music library streamed from the DNS tp my Pinnacle Soundbridge. The only advantage so far is that Mediatomb works for me and Itunes never did. I'd say quite an advantage :-)
Check  http://mediatomb.cc for more info.

Offline

 

#5 2008-09-22 03:43:31

McKite
New member
Registered: 2008-09-21
Posts: 3

Re: dns-323 raid problems after factory reset by button

thanks a lot. but that Mediatomb does not really fix the issues with my raid... sad What can I do to fix the fact, that the gui shows no raid volume but the command line says it is ok?

I still get the Message:

"The hard drives have been installed incorrectly. Please power off and swap hard drive locations."

when i log into the Web-Interface.

Last edited by McKite (2008-09-22 03:48:51)

Offline

 

#6 2008-09-22 09:13:51

erleone
Member
Registered: 2008-09-15
Posts: 14

Re: dns-323 raid problems after factory reset by button

I don't have a raid configuration so on that point I cannot help you. Sorry.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB