How To Fix Not Active RAID After 4.1.0 Firmware

I – Using md_checker Command To Get İnfo About RAID;

II – Fixing RAID With Usign AFR Command (Safe Way)

III – Fixing RAID With Using CFR Command (Warning, Dangerous)

.

I – Using md_checker Command To Get İnfo About RAID;

Type this command to get more info about your RAID;

md_checker

Qnap Raid not active (1.1)

this commant may not be avaible, so type this commands to install it;

1 – Download the file to NAS:

# wget http://download.qnap.com/Storage/tsd/utility/md_checker

2 – Apply execute permission:

# chmod +x md_checker

3 – Run the script:
# ./md_checker

.

II – Fixing RAID With Usign AFR Command (Safe Way)

If your RAID structure seems “Not Active” and cannt access your files, you can fix this by this way;

Warning; if you’re not sure, don’t do it yourself, contact qnap support!

Qnap Raid not active (1.2)

so we type this command line to fix our RAID;

mdadm -AfR /dev/md0 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3

.

What if we got “missing” or “Rebuildin” HDD? you must fallow right order & dont add “Missing” HDD’s to this command line

raid hdd order

.

So in this case;

Qnap afr command (1)

.

1 – Type This command to get RAID back online again;

mdadm -AfR /dev/md0 /dev/sdg3 /dev/sdh3 /dev/sda3 /dev/sdf3 /dev/sdc3 /dev/sdd3 /dev/sdb3

Qnap afr command (2)

2 – And Now RAID Becomes Active Again!

Qnap afr command (3)

3 – Type /etc/init.d/init_lvm.sh to mount RAID back again;

Qnap afr command (4)

4 – Now RAID Comes back, and rebuilding start!

Qnap afr command (5)

Qnap afr command (6)

5 – İf you cant see your files under filestation;

Qnap afr command (7)

6 – Just login with winscp, and check under /share/MD0_DATA folder;

Qnap afr command (8)

.

III – Fixing RAID With Using CFR Command (Warning, Dangerous)

Type this command to fix your RAID;

This command shows that we have a RAID 5 with 4 HDD,

Qnap Raid not active (1.2)

so we type this command line to fix our RAID;

mdadm -CfR –assume-clean /dev/md1 -n 4 -l 5 -c 64 -e 1.0 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3

Qnap Raid not active (2)

.

2.1 – .. IF you have a RAID 6 with 10 HDD, type this command;

mdadm -CfR –assume-clean /dev/md1 -n 10 -l 6 -c 64 -e 1.0 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3 /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3 /dev/sdi3 /dev/sdj3

.

-n 10 means you have 10 HDD!

-l 6 means you have a RAID 6 structure!

/dev/sda3 means your first HDD,

/dev/sdb3 means your 2.th HDD

.

2.2 – .. IF you have a RAID 5 with 8 HDD and 4.th HDD seems like broken, type this command;

mdadm -CfR –assume-clean /dev/md1 -n 8 -l 5 -c 64 -e 1.0 /dev/sda3 /dev/sdb3 /dev/sdc3 missing /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3 /dev/sdi3 /dev/sdj3

Note; you must type missing for broken HDD’s to fix your RAID

.

2.3 – If your HDD order is not going just like “dev/sda3 /dev/sdb3 /dev/sdc3″ order, fix this mdadm command with right order;

mdadm -CfR –assume-clean /dev/md1 -n 15 -l 5 -c 64 -e 1.0 /dev/sdc3 /dev/sdd3 /dev/sdb3 /dev/sda3 /dev/sde3…

raid hdd order

.

3 – Your RAID should be online again;

Qnap Raid not active (3.1)

Qnap Raid not active (3.2)

.

4 – Now, mount your RAID to access your files back again;

/etc/init.d/init_lvm.sh

…and your files should be back again!

Qnap Raid not active (4).

.

VN:F [1.9.22_1171]
Rating: 9.6/10 (14 votes cast)
VN:F [1.9.22_1171]
Rating: +4 (from 6 votes)
How To Fix Not Active RAID After 4.1.0 FirmwareNot Active Görünen RAID Yapısını Nasıl Düzeltebilirsiniz (4.1.0 Firmware'i Sonrası), 9.6 out of 10 based on 14 ratings

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>