** You should make sure to select "Use Pool" and select the correct number of extra copies. If you don't remember all of your original shares, you can check your old /etc/greyhole.conf file (which includes the extra number of copies) or within the "gh" folder found at the root of your data drives.
* Run Greyhole's fsck command to rebuild your shares.
== Previous Guide ==
<!--After re-install, recreate all your shares exacty as they were.<br>
Add the shares to the storage pool.<br>
As root, run greyhole --fsck.<br>
This will recreate the symlinks in the landing zone /var/hda/files.<br>-->
* 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!
'''Example:'''
{{Code|ls -1 /var/hda/files/drives/*/gh/ <nowiki>|</nowiki> grep -v : <nowiki>|</nowiki> sort -u}}
* Launch a fsck to have Greyhole rebuild your shares.
{{Code|greyhole --fsck}}
Until this completes, some of your files will be missing from your shares.