Page 1 of 1

Help with auto mounting raid and Amahi share service

Posted: Sat Jan 02, 2010 6:17 pm
by digitaldissent
Ok, let me try and explain. New install of F12 on a 80GB drive and two 500GB drives setup as Raid 1 using the software utility in Fedora (not LVM)

I am another one of those Windows guys who knows very little about nix.

I created all my shares under the Amahi dashboard which then auto created all the folders on my raid array, I called it "500GB". I edited the conf file for ushare to point to the new shares. Everything worked great until I rebooted.

I have to start the array and mount "500GB" manually after I log in to the server, no biggie but....
The share service Amahi uses starts at boot and auto creates all the shares so when I start the array it mounts as "500GB_". I have all the correct shared folders under "500GB" but all my data is under "500GB_" make sense?

Is there a way to set my array to start and mount at boot before the Amahi service starts and auto creates the shares? or maybe set the Amahi service to not start at boot? I could then start the raid then start Amahi manually?

And by Amahi service I mean Samba or whatever else is providing that service and creating shares on the fly.

If you Linux guys know a better way to do this I would love to hear, I do however want to make this work on my existing hardware, I know a new board with on-board raid would be better.

Thanks!! :?

Re: Help with auto mounting raid and Amahi share service

Posted: Sun Jan 03, 2010 9:18 am
by lou1z
is your raid in the /etc/fstab?
i don't use software raid so i'm not that familiar with it but when disks don't automount, it's usually a sign that the entry point isn't mounted in fstab eg /dev/sdb1 /var/hda/files/share

Re: Help with auto mounting raid and Amahi share service

Posted: Sun Jan 03, 2010 11:44 am
by moredruid
the exact syntax eludes me ATM, but you need to give an mdadm command which will write your config to /etc/mdadm.conf, which makes it possible to have them loaded at boot time.

Re: Help with auto mounting raid and Amahi share service

Posted: Wed May 05, 2010 7:13 am
by robnix
You'll most likely run into issues with seeing the RAID volume in Linux using cheap on board raid controllers, since it's all done with a driver at the OS level anyway. If you want to use RAID, use Linux software RAID, it's a lot more flexible and resilient than the cheap on board raid you'll see on most motherboards. Linux RAID is portable across systems because the RAID config isn't tied to the hardware, you'll most likely get better performance letting the CPU handle the i/o than a cheap raid controller, and you can use LVM to make the array expandable. Here's a good guide on getting it setup:

http://www.gagme.com/greg/linux/raid-lvm.php

You may want to take a look at Amahi's storage pooling though, it'll give you more flexibility, letting you mirror only the data you want instead of the entire drive, plus you can add more storage to your pool much more easily.

Re: Help with auto mounting raid and Amahi share service

Posted: Sun Jul 18, 2010 1:09 am
by hfxrzw
Robnix, did you actually read the first post? Particularly the first line?? :roll: