Installing the 2 drives in mirror RAID 1

HiGreat job with the firmware for the MVIXBOX. Finally something else than the very crappy original firmware!Even better that you can revert it back to the original firmware from OpenWRT!Installation vent well except that the "default IP" for the MVIXBOX is not a default one. It is the last one set within the MWIXBOX firmware before you remove the drives and access the recovery page. This is at least what I discovered with my unit.After this discovery I successfully got new life into my MVIXBOX with OpenWRT!But I have been searching on how to install and enable the 2 drives in the MVIXBOX as a RAID1 configuration.Is it doable and how is it then performed?Best,Pelle

Hi again,All how-to's I have found for Linux RAID-setup uses "mdadm" to achive RAID configurations. It looks like the mdadm package is not included in this version of OpenWRT. It would have been good the firmware had the possibility to mirror its drives. Stripe or plain drives is nothing I use any more due to previous experiences with lost data on single drive NAS systems.BestPelle

Its nice to receive feedback that someone is actually trying out this very interesting firmware.

I checked the OpenWRT site and it seems that others have used this mdadm module for setting up some kind of software raid configuration.
Also checked the OpenGemini blog and notice it hasn't been cross compiled for the storlink gemini soc.

Must admit I never use this NAS with 2 HDD installed as it becomes quite crowded inside with poor air flow to ventilate both HDD's.

Anyway it seems very possible to achieve, try:

1) Build a compatible ipk module yourself using the OpenWRT buildroot with the williboard target.
2) Ask the embedded software developer of the OpenGemini blog to compile it for you.
His name is Frederic Pecourt, a very co-operative young man that ported OpenWRT port to the MBOX,
(with a little bit of help and encouragement from yours truly). His contact details are on his blog/wiki site.
3) If that fails I might be able to compile the module for you, but can't really provide any technical support on how to use it.
The penalty here is that I would want you to share your experience in setting up a raid 1 with this mdadm module.

I have been waiting sooo long for someone with the brains to do something like this. More or less since the day I bought it 2008 because I can't imagine what the firmware guys thought of when they made the original firmware. I sucked really bigtime!I failed with the http://opengemini.free.fr firmware previously so when yours worked I am so happy.I am a happy Qnap NAS owner nowadays but I have always hoped to get some use for the MvixBOX. I have by the way a pre-release of the box. This is indicated on the name printed on my unit as MBOX and not MvixBOX.I do a try to get mdadm into it in either way.Thanks!/Pelle

HiI am not that familiar with compiling and definitely not for these embedded devices. If you could be so kind and compile the package for me I would be very thankful.For sure I will put my experiences of the process to achieve RAID1 on the board. I would actually even try to do a RAID5 with a third USB disk just for fun.What I can see this is the path to the mdadm source and the current version is 3.2.3 http://www.kernel.org/pub/linux/utils/raid/mdadm/ The application is still in development and the GIT is here http://neil.brown.name/git/mdadm Instructions how to use it is extensive http://en.wikipedia.org/wiki/Mdadm Best, Pelle

I've booted up Ubuntu and did a make on the OpenWRT buildroot with the mdadm source included.
No problems cross compiling mdadm 3.2 source for the armv4 machine architecture.
It also created a firmware compatible IPK package for it. (Isn't OpenWRT wonderfull!)

I'ts about 250 kB in size, and might be too big to fit in the remaining empty partition space of the MBox internal flash memory. If it doesn't fit, you can delete some unwanted components, or boot into a bigger root file system (eg on a USB dongle).

Hopefully you know your way around Linux better than me, being a mere MS windows user except for fiddling with the NAS firmware.

Do you still want to try it and write a small how to article in exchange?

I guess pelle900 has lost interest in using mdadm to set up a software raid for the 2 HDDs.

If anyone else is interested in trying this on an OpenWRT-MvixBOX/Planex, just let me know and I'll post the IPK for it.
For what it is worth: Neil Brown (the coder of this program) said that mdadm should work fine with our Linux kernel (3.04).

I compiled it long time ago for the chap that started this thread on the forum.
Luckily I still have that build run on my Ubuntu partition, so I have attached the IPK for it here.

[attach]284[/attach] (Please let me know if you DL this IPK)

There are others less familiar with this kind of add-on that could do with some help.
So if you or anyone else tries out this package do please provide some feedback (installation - setting up the software raid - problems etc).

thank you for the package.
The package work well but I have something to do to have the NAS in working condition. I have to reduce the amount of internal memory used by system because after installing mdadm the free space was only 77k and the system will easy stop to write files. Another problem is that the raid is not built after reboot, I to do "mdadm --assemble" and "mount" every time.

Never used this package myself, but it is a stable program that has been around for some time.
Hence, I am sure the raid should survive a reboot.
Most likely guess is that this issue arises due to a lack of flash memory.

Use LUCI to remove some of the other (unused) stuff and free up some flash mem.
Better yet, set the NAS up to boot from a USB stick with OpenWRT on it (see Opengemini blog), then you can experiment with lots of memory freedom.