D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: pardsbane on November 13, 2010, 10:14:18 AM

Title: Advanced format repartition lost Volume_1 on reboot
Post by: pardsbane on November 13, 2010, 10:14:18 AM
Hello,

I followed the RAID-1 Advanced Format repartition guide I found here:

http://forums.dlink.com/index.php?topic=11631.0

Everything worked according to the guide, except that a few executables were in different places and instead of:

write_hdverify

I used:

hd_verify -w

Also, the special partition didn't have and mdadm.conf files, so I didn't update them.

Anyway, when I finished formatting the new partition, I started and stopped the raid to make sure everything was working, then I rebooted the SAN.

When the SAN came back up, it didn't recognize the RAID or the partition, and there was no SMB fileshare.

Does anyone have any idea what I did wrong, or what step I messed up?

Thanks!
Title: Re: Advanced format repartition lost Volume_1 on reboot
Post by: pardsbane on November 13, 2010, 08:46:28 PM
I found the problem. The guide above says to do this:

# mdadm -Es > /mnt/HD_b4/mdadm.conf
# mdadm -Es > /mnt/HD_a4/mdadm.conf
# mdadm -Es > /etc/mdadm.conf


But you really need to do this on the updated firmware:

# mdadm -Es > /mnt/HD_b4/.systemfile/mdadm.conf
# mdadm -Es > /mnt/HD_a4/.systemfile/mdadm.conf
# mdadm -Es > /mnt/HD_a4/backup/.systemfile/mdadm.conf
# mdadm -Es > /mnt/HD_b4/backup/.systemfile/mdadm.conf
# mdadm -Es > /etc/mdadm.conf           

Also, don't forget to do "hdverify -w" instead of "write_hdverify"