Software RAID 5 problem

elfedac
Posts: 3
Joined: Wed Mar 23, 2011 2:15 am

Software RAID 5 problem

Postby elfedac » Wed Mar 23, 2011 2:37 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Software RAID 5 problem

Postby bigfoot65 » Wed Mar 23, 2011 5:02 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

elfedac
Posts: 3
Joined: Wed Mar 23, 2011 2:15 am

Re: Software RAID 5 problem

Postby elfedac » Wed Mar 23, 2011 5:46 am

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 ;)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Software RAID 5 problem

Postby bigfoot65 » Wed Mar 23, 2011 7:31 am

Awesome. Is there anything in the wiki that needs updated to make this simpler? If so, feel free to do so.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

elfedac
Posts: 3
Joined: Wed Mar 23, 2011 2:15 am

Re: Software RAID 5 problem

Postby elfedac » Wed Mar 23, 2011 8:25 am

Before editing anything in the wiki, I need to know if others RAID 5 Software users encounter the same issue...

xacrowx
Posts: 1
Joined: Thu Jun 16, 2011 6:14 am

Re: Software RAID 5 problem

Postby xacrowx » Thu Jun 16, 2011 6:18 am

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".

Who is online

Users browsing this forum: No registered users and 15 guests