D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-343 => Topic started by: Video-Guy on January 21, 2011, 11:37:39 AM

Title: DNS-343 Expansion from 3 to 4 Hard Drives in RAID 5
Post by: Video-Guy on January 21, 2011, 11:37:39 AM
Can I add a fourth hard drive to the 3 running RAID 5 without losing anything?

I am using firmware beta 1.04b.  I have 3 Hitachi 2 terabyte drives and the fourth one is the same model. 

I actually tried to format the new one.  First it stalled for hours at 20%.  Then, it made it over 90% and failed with error code 24.  I ran out of time for another test, but I really need to know if it can become part of the RAID 5 configuration made up of the first 3 drives. 

Thank you very much.
Title: Re: DNS-343 Expansion from 3 to 4 Hard Drives in RAID 5
Post by: JavaLawyer on January 21, 2011, 11:43:04 AM
Unfortunately, no.  You have to reformat:  See the following thread: http://forums.dlink.com/index.php?topic=2233.0 (http://forums.dlink.com/index.php?topic=2233.0)
Title: Re: DNS-343 Expansion from 3 to 4 Hard Drives in RAID 5
Post by: skas on March 15, 2011, 05:11:42 PM
Well theoricaly, it is possible to grow the device.
mdadm which is the command used has the possibility to do it (-G option).
However, you need to do it by hand after getting a shell on the machine.
Not for the faint of heart.
Then, once the /dev/mdx is grown, one need to use the resize2fs to grow the filesystem.
This command is not provided in the official firmware. Have a look at the fun_plug distrib to get it.