Page 1 of 1

Software RAID 5 problem

Posted: Wed Mar 23, 2011 2:37 am
by elfedac
Hi,
I tested Greyhole but I prefer using a RAID 5 software. The reason is a good compromise between performance/redundancy. Especially as all my data need to be duplicated...
So I tried the howto RAID 5 installation steps (http://wiki.amahi.org/index.php/RAID_5), everything went well until this step >

move all your shares to the RAID array:

mv /var/hda/files/* /dev/md0

I've got this message error : "dev/md0 isn't a directory"
Therefore, I can't move my shares which are empty. I'm at the stage of the Amahi configuration and didn't start copying my datas into Amahi shares. And to be as specific as possible, I've got one SATA hard drive (sda) with four partitions : /boot /swap / and /var/hda/files/
Four sata drives are dedicated to my RAID 5 software (sdb, sdc, sdd & sde).
So how could I resolve this issue ?
Thanks

Re: Software RAID 5 problem

Posted: Wed Mar 23, 2011 5:02 am
by bigfoot65
I am presuming that /dev/md0 should be where the RAID array is mounted. It might be different on your machine.

I may be wrong as I know very little about this topic. Moving files to a location such as this leads me to believe it is a mount point, which does not currently exist on your machine. Once you determine your mount point, you can move the files there.

Re: Software RAID 5 problem

Posted: Wed Mar 23, 2011 5:46 am
by elfedac
I finaly resolve this issue alone.

First, I created the directory /mnt/raid trough this terminal root command : mkdir /mnt/raid
Then, I wrote the command "mv /var/hda/files/* /mnt/raid" and it finaly work fine for me ^^
Now, I have my shares Movies, Pictures & Music in the directory mnt/raid/files
Thanks for your help ;)

Re: Software RAID 5 problem

Posted: Wed Mar 23, 2011 7:31 am
by bigfoot65
Awesome. Is there anything in the wiki that needs updated to make this simpler? If so, feel free to do so.

Re: Software RAID 5 problem

Posted: Wed Mar 23, 2011 8:25 am
by elfedac
Before editing anything in the wiki, I need to know if others RAID 5 Software users encounter the same issue...

Re: Software RAID 5 problem

Posted: Thu Jun 16, 2011 6:18 am
by xacrowx
Hi,
I tested Greyhole but I prefer using a RAID 5 software. The reason is a good compromise between performance/redundancy. Especially as all my data need to be duplicated...
So I tried the howto RAID 5 installation steps (http://wiki.amahi.org/index.php/RAID_5), everything went well until this step >

move all your shares to the RAID array:

mv /var/hda/files/* /dev/md0

I've got this message error : "dev/md0 isn't a directory"
Therefore, I can't move my shares which are empty. I'm at the stage of the Amahi configuration and didn't start copying my datas into Amahi shares. And to be as specific as possible, I've got one SATA hard drive (sda) with four partitions : /boot /swap / and /var/hda/files/
Four sata drives are dedicated to my RAID 5 software (sdb, sdc, sdd & sde).
So how could I resolve this issue ?
Thanks
I am having the same issue following the wiki step-by-step where I am at the same point and am getting the message "dev/md0 isn't a directory".