Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Jun 24, 2018 3:26 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Feb 22, 2011 1:05 am 

Joined: Sun Aug 05, 2007 2:43 pm
Posts: 19
For some reason, my TS Live lost the md2 array. It boots into the EM. I am doing the following:
1. mdadm --assemble /dev/md2 /dev/sda6 .... /dev/sdd6
2. mount /dev/md2 /mnt/array1 - no problem, the information is available. Even xfs_repair /dev/md2 finds no issues
3. Fix /etc/melco/discinfo (lines "array1=raid5" and "disk1=array1")

The arrays md0 and md1 are fine. I can see them (but not md2!) in /etc/mdadm.conf. And mdadm --assembly --scan, straight after boot, sees md0 and md1

I even asked acp_commander.jar to do the normal boot next time!

And ... after boot again in EM! And I can do these operations again and again.

What's wrong? :( Any hints would be appreciated.

I would not like to reflash the firmware. I know the data would not change - but I installed some software (using ipkg), would not like to reconfigure it all again...

Here is dmesg:


TS Live 1.0T -> 4.0T

PostPosted: Sun Mar 20, 2011 3:37 am 

Joined: Mon Oct 05, 2009 2:57 am
Posts: 18

Using mdadm I don't think you will get the info into mdadm.conf automatically. Here is my working mdadm.conf which you might be able to use to get yours working again

root@TS1:~# cat /etc/mdadm.conf
DEVICE /dev/disk?_6 /dev/md2 /dev/md3
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=a1e83a54:1a7d9fe0:60c23628:20ba0a3b
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=e0fb3939:04bcd2cd:8e9e7381:36e6dc04
ARRAY /dev/md4 level=raid0 num-devices=2 UUID=0e76bb77:9e55d291:2b53bd0f:1f3ea168

Now, I assume since you only mentioned md2 that youre using RAID5 which is never a good idea IMHO. In that case, yours might look like this:

DEVICE /dev/disk?_6 /dev/md2
ARRAY /dev/md2 level=raid5 num-devices=4 UUID=(some string you can get from 'mdadm -D /dev/md2')

Unfortunately, your dmesg mentions nothing about partition 6 which is where your data is stored in md2.

Hope this helps

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited