I am currently migrating from Amahi on FC14 to Amahi 7. I am moving to a new machine, which does not have a optical drive, so I installed fedora 19 first before I installed Amahi. My old server was an old Dell laptop with 3 external USB drives (2x2TB and 1x500GB). I was using Greyhole to keep at least one duplicate of my most important files (namely Document, Pictures, Music, Home video's, and some Movies). Since my new server will not be using the 500GB drive, I removed it using greyhole and insured that the data was moved to the other drives, so that I would have 2 copies of each file (as per my pool directive).
My new server has 4 drive bays and will be stocked with 4x2 TB internal drives. As of right now, Drive 1 will not be part of the Greyhole pool, Drives 2,3,4 will be part of the Greyhole pool. I took one of my new drives (let's call it DRIVE 2) and using a drive enclosure and rsync, I copied all of the data from one of the external drives and put it into drive bay 2. I followed the instructions for installing Greyhole on Amahi 7, added DRIVE 2 to the pool and set the shares that I wanted to keep to 1 copy (since there was only one drive in the pool). I ran an fsck, and everything was found as expected. I left Greyhole alone for several days to make sure I didn't have any issues with it....none were found.
Now I'm trying to add a third drive (let's call it DRIVE 3) to the new server which used to be a WD external drive which I removed from it's enclosure. I formatted it as ext4, and again using an external enclosure and rsync, I copied all the data from the last remaining external drive on my old server to the DRIVE 3. I install it onto the server, using hda-diskmount it is mounted, update greyhole.conf to add DRIVE 3 to the the pool, and now I update the number of copies per share to 2. I run fsck once again and initially all there was an issue with greyhole not recognizing that DRIVE 3 was part of the pool. I tried restarting the greyhole service but to no avail. Eventually, I reboot the server and am happy to see that greyhole now recognized that DRIVE 3 is part of the pool. I run fsck again and watch greyhole do it's thing. After all was said and done I didn't see any issues.......
....until I tried moving a file to the share. It seems greyhole keeps copying the same file over and over again as if stuck in a loop. I keep seeing the following in the logs
Code: Select all
Jan 28 15:46:42 6 write: Now working on task ID 132422: write DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Looking for ignore match between DVDs/02 PS3 Movies and .*/_UNPACK_.*
Jan 28 15:46:42 6 write: File changed: DVDs/02 PS3 Movies/Monsters University.mp4 - 1.42GB
Jan 28 15:46:42 7 write: Will use source file: /var/hda/files/drives/drive3/gh/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Loading metafiles for DVDs/02 PS3 Movies/Monsters University.mp4 ...
Jan 28 15:46:42 7 write: Got 2 metadata files.
Jan 28 15:46:42 7 write: Will remove copy at /var/hda/files/drives/drive2/gh/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Moved copy from /var/hda/files/drives/drive2/gh/DVDs/02 PS3 Movies/Monsters University.mp4 to trash: /var/hda/files/drives/drive2/gh/.gh_tra$
Jan 28 15:46:42 7 write: Drives with available space: /var/hda/files/drives/drive2/gh (347GB avail) - /var/hda/files/drives/drive3/gh (340GB avail)
Jan 28 15:46:42 7 write: Saving 2 metadata files for DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Saving metadata in /var/hda/files/drives/drive2/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Saving metadata in /var/hda/files/drives/drive3/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Copying 1.42GB file to /var/hda/files/drives/drive3/gh/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: (using rename)
Jan 28 15:46:42 7 write: Creating symlink in share pointing to the above file copy.
Jan 28 15:46:42 7 write: Saving 2 metadata files for DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:42 7 write: Saving metadata in /var/hda/files/drives/drive2/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:43 7 write: Saving metadata in /var/hda/files/drives/drive3/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:46:43 7 write: Copying 1.42GB file to /var/hda/files/drives/drive2/gh/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:47:07 7 write: Copy created at 60.7 MBps.
Jan 28 15:47:07 7 write: Saving 2 metadata files for DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:47:07 7 write: Saving metadata in /var/hda/files/drives/drive2/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
Jan 28 15:47:07 7 write: Saving metadata in /var/hda/files/drives/drive3/gh/.gh_metastore/DVDs/02 PS3 Movies/Monsters University.mp4
is what is found. Not sure if this is from the DB or the tombstones.
Please find the trouble shooting information attached as a text document, any help would be appreciated. Thanks.