Changes

From Amahi Wiki
Jump to: navigation, search
==DISCLAIMER==
This is what worked for me. This may not work for you. I recommend testing this '''ONLY ''' if all of your data is backed up and recoverable outside of greyholeGreyhole.We Amahi cannot be held responsible if you lose all of your data attempting this. YMMV.
==How To Do It==
Look for your mount points and change them to the new folders you want to mount the data drives in. <br />
 
If you haven't commented your fstab file, now's a good time for that. Here's mine:
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
mount -a
If there are any errors from this command, FIX THEM before you reboot.<br />
 
Check the drives have mounted in the new mount points with:
mount
===Reboot===
From the HDA dashboard: <br />
* Setup > Settings > Settings > click the reboot button.
===Fix Greyhole===
Some of these steps may not be necessary, but this is the path I took that got me results. <br />
 
Several of these steps can take a LONG time depending on how many files are on the drives you have remounted. <br />
 
I recommend keeping an eye on greyhole to ensure it is doing what it should.
tail -f /var/log/greyhole.log​
Press Ctrl+Z to pause this task. Note the number in brackets or use the "jobs" command to see where it is queued. <br />
 
Bring it to the foreground to check it at anytime with:
fg 1
greyhole --fsck --find-orphaned-files --dir=/var/hda/files/drives/bay2/gh
This will run an fsck on the drive mounted in /var/hda/files/drives/bay2 and look for files without metadata. <br />
 
Repeat this for each drive you have changed the mount points for.<br />
At this point, your files should begin reappearing in your shares. If not, try running another fsck:
greyhole --fix-symlinks
greyhole --fsck
12,424

edits