I need to do a fresh re-install of Amahi. Previosuly, I had Greyhole running on most of my shares, but something happened to Fedora (or the disk it's installed on) which requires me to re-install everything. I have several HD managed by Greyhole besides the HD where the OS is installed. Because of the problem, I don't think I will be able to connect via SSH to my machine to do any sort of pre-reinstall operations.
So, assume my OS drive has completely failed and have a bunch of drives managed by Greyhole (with some shares having multiple copies for redundancy).
On the wiki, I found this useful:
Reconnect the Greyhole storage pool after re-install of Fedora / Amahi
•Disconnect all data drives before you reinstall. This will prevent you from destroying them by mistake during the Fedora/Amahi install!
•Install Amahi per the regular instructions.
•Connect the data drives, and use hda-diskmount to remount all of them.
Note that if you can, it would be faster if you can re-mount the drives in the same paths they used to have.
Example: If you have one 1TB and one 2TB, and the 1TB was mounted as /var/hda/files/drives/drive1, and the 2TB was mounted as /var/hda/files/drives/drive2, it would be better to re-mount that like that on your new HDA. If you mount them otherwise, it will still work, but Greyhole will work a while to re-build the links in your share before they can be usable.
•Select the drives in the Amahi Dashboard: Setup > Shares > Storage Pool
•Re-create your shares in the Amahi Dashboard: Setup > Shares.
Make sure to select 'Use Pool', and select the correct number of extra copies. If you don't remember all the shares you had, just check inside the 'gh' folder found at the root of your drives to get a reminder!
Questions:
1. When it says to use "hda-diskmount to remount all of them", should I follow the instructions (Wiki: http://wiki.amahi.org/index.php/Adding_ ... orage_pool)
where I edit fstab and add each drive?
2. The Wiki article says to "re-mount the drives in the same paths they used to have" if possible. Assuming I can get a hold of my old pre-crash fstab, is it safe to just copy the old entries onto the new fstab? For example:
Code: Select all
UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/sdb1 ext4 defaults 1 2
3. The article says: "If you don't remember all the shares you had, just check inside the 'gh' folder found at the root of your drives to get a reminder!"
Code: Select all
ls -1 /var/hda/files/drives/*/gh/ | grep -v : | sort -u
4. Finally, I have to ask, is this method current, safe and tried? I love Greyhole and never had any problems with it (thanks Guillaume!), but this is a different scenario. Assuming the data drives are healthy, is there any other tip or suggestions to follow? I want to make sure I have all the info and details ready for when I'm going to re-install everything tonight

Thnaks so much for any assistance!