I am new to amahi, though I have used Linux off and on for a number of years. I was able to get the server running off a 64GB USB drive and to assemble my 3 4TB drives in a RAID5 array.
I cannot, for the life of me, figure out how to get amahi to put shares by default on the new RAID array.
I have spent multiple days searching for answers to this issue, but the RAID 5 installation guide on the wiki returns an error that the /dev/md* is not a valid drive. All other tutorials on moving the shares are related to greypool which is great and all, but it doesn't seem to apply to RAID arrays.
I was able to move the folders onto /mnt/raid5 where my RAID array (/dev/md127) is mounted, but they don't show up correctly on the web interface.
Any help you could provide would be greatly appreciated.
CLOSED: Moving Shares To RAID5 Array
Re: Moving Shares To RAID5 Array
Change the path in the Share tab for each in the Dashboard.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Moving Shares To RAID5 Array
Thanks for your reply Bigfoot. I have tried this, though I may be entering the wrong path to move the shares to. I've tried changing them to /mnt/raid5/* with the * replaced with the name of the corresponding folder, but it just appends this onto the normal share path. If I delete the share and try to add a new one with the path /mnt/raid5/*, I get a message that it isn't a valid path.
What should I be using in the dashboard as the path to link to these new share locations?
Thanks.
What should I be using in the dashboard as the path to link to these new share locations?
Thanks.
Re: Moving Shares To RAID5 Array
Can you create folders on the RAID drive? If so, ensure they are owned by your first admin user:users. Next the permissions have to be a minimum of 775.
That may be your issue.
You could also move the shares to the RAID drive, then replace the /var/hda/files/sharename with a symbolic link pointing to the RAID drive corresponding share folder.
If these two items do not work, then I am unsure what to suggest. We don't have many users who mess with RAID.
It's easier to use Greyhole for most cases. If you are only seeking file redundancy or pooling drives, that is the simpler process in my opinion. It works quite well for me and I have 3 drives pooled with max redundancy.
That may be your issue.
You could also move the shares to the RAID drive, then replace the /var/hda/files/sharename with a symbolic link pointing to the RAID drive corresponding share folder.
If these two items do not work, then I am unsure what to suggest. We don't have many users who mess with RAID.
It's easier to use Greyhole for most cases. If you are only seeking file redundancy or pooling drives, that is the simpler process in my opinion. It works quite well for me and I have 3 drives pooled with max redundancy.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Moving Shares To RAID5 Array
Thanks, I wasn't aware Greyhole had a redundancy feature. At first glance, it just looked pretty much like JBOD.
It's my understanding that you can choose which shares to have saved redundantly across multiple drives. I can't think of a situation where a single drive failing would cause permanent data loss of any kind, but let me know if I'm mistaken.
Would there be any problem with a different system recognizing the files if I say, removed a drive and inserted it into a Windows or Linux box?
The only drawback of Greyhole that I can tell is not being able to store frequently accessed/edited files there (i.e. word documents, torrents or an in process download) Media files would be fine. Therefore, it should also save space over RAID5 since those kind of documents would not be duplicated.
I will likely perform a completely fresh install of Amahi to make sure the drives work properly under greyhole since I have been futsing with this RAID array so much.
Thanks for all your help, not very familiar with Amahi and it's protocols and functionality quite yet.
It's my understanding that you can choose which shares to have saved redundantly across multiple drives. I can't think of a situation where a single drive failing would cause permanent data loss of any kind, but let me know if I'm mistaken.
Would there be any problem with a different system recognizing the files if I say, removed a drive and inserted it into a Windows or Linux box?
The only drawback of Greyhole that I can tell is not being able to store frequently accessed/edited files there (i.e. word documents, torrents or an in process download) Media files would be fine. Therefore, it should also save space over RAID5 since those kind of documents would not be duplicated.
I will likely perform a completely fresh install of Amahi to make sure the drives work properly under greyhole since I have been futsing with this RAID array so much.
Thanks for all your help, not very familiar with Amahi and it's protocols and functionality quite yet.
Re: Moving Shares To RAID5 Array
That is correct. Providing you have it do max copies, any drive that fails will hold a copy.It's my understanding that you can choose which shares to have saved redundantly across multiple drives. I can't think of a situation where a single drive failing would cause permanent data loss of any kind, but let me know if I'm mistaken.
No you could still get the files, but keep in mind they would be on the Linux file system typically.Would there be any problem with a different system recognizing the files if I say, removed a drive and inserted it into a Windows or Linux box?
That is correct as well. I typically keep my frequently accessed files on client machines. Then run a client backup software to sync them with the HDA nightly. That method works well for me.The only drawback of Greyhole that I can tell is not being able to store frequently accessed/edited files there (i.e. word documents, torrents or an in process download) Media files would be fine.
Glad to hear I helped clarify the use of Greyhole and will save you some future headaches potentially. Good luck and let us know if you have any other questions.
I will close this thread.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 25 guests