I recently ran into an issue with my previous Amahi install. I decided to upgrade to an SSD instead of a USB 3 thumb drive and reinstalled fedora 23 and Amahi 8.
I had 3 4Tb drives configured in a storage pool through greyhole.
Looking through the various guides on the wiki, it seems most of the guidance is around upgrading Amahi and rebuilding your greyhole pool or around installing fresh drives and mounting them.
Currently the drives are not mounted. Is there any danger of mounting the drives and the data being erased?
What is the recommended way of reconnecting the drives in a storage pool and having all the files and shares recognized?
Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Re: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
You should be able to mount them without affecting the data. Should follow the same path you did when initially adding the drives. Ensure the drive mount points are the same as before if possible.Currently the drives are not mounted. Is there any danger of mounting the drives and the data being erased?
See reconnect existing Greyhole storage pool guidance in the wiki.What is the recommended way of reconnecting the drives in a storage pool and having all the files and shares recognized?
ßî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: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
The old server wouldn't boot, so I am not sure what the paths were previously. Is it safe to assume the default paths will work? Or do I run a risk of erasing the data?Should follow the same path you did when initially adding the drives. Ensure the drive mount points are the same as before if possible.
Re: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
The shares have to be named the same as before.
You might boot a Live CD and examine the drives.
That's the best way to minimize loss of data.
You might boot a Live CD and examine the drives.
That's the best way to minimize loss of data.
ßî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: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Thanks for your help bigfoot.
I've gotten to the point where are the drives are mounted, but they are greyed out when I try to add them to the storage pool.
The instructions in https://wiki.amahi.org/index.php/Adding ... o_your_HDA seem to detail adding another harddrive to the pool and https://wiki.amahi.org/index.php/Reconn ... orage_pool doesn't help in ungreying the drives.
I've gotten to the point where are the drives are mounted, but they are greyed out when I try to add them to the storage pool.
The instructions in https://wiki.amahi.org/index.php/Adding ... o_your_HDA seem to detail adding another harddrive to the pool and https://wiki.amahi.org/index.php/Reconn ... orage_pool doesn't help in ungreying the drives.
Re: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Are they mounted via /etc/fstab file? Can you see the /gh directory on each drive via command line? Are they owned by your 1stadminuser:users?I've gotten to the point where are the drives are mounted, but they are greyed out when I try to add them to the storage pool.
You might try adding them to /etc/greyhole.conf manually, then restarting Greyhole. Also there is a Greyhole command that might help as well:
Code: Select all
sudo greyhole --replace=/drivepath
ßî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: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Thanks bigfoot. It seems like greyhole is not being installed properly. It is not shown as running in the dashboard and there is no .conf file that has been created.
Re: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Try the following to see if it's installed:It seems like greyhole is not being installed properly. It is not shown as running in the dashboard and there is no .conf file that has been created.
Code: Select all
sudo dnf install amahi-greyhole
You can also check /var/log/amahi-app-installer.log for errors.
ßî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: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
Error: nothing provides php-mysql needed by amahi-greyhole-0.9.67-1.x86_64
I get that error above, but when I run dnf update/upgrade, the package bellow is already installed.
php-mysqlnd.x86_64 7.0.15-1.fc25
I get that error above, but when I run dnf update/upgrade, the package bellow is already installed.
php-mysqlnd.x86_64 7.0.15-1.fc25
Re: Rebuilding Greyhole Storage Pool after replacing boot drive & reinstalling Amahi
You are using Fedora 25 right?
We are still developing Amahi for that OS version. It is not currently supported.
Please install Fedora 23, Amahi 9.
See http://docs.amahi.org for install guidance.
We are still developing Amahi for that OS version. It is not currently supported.
Please install Fedora 23, Amahi 9.
See http://docs.amahi.org for install guidance.
ßî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 8 guests