SOLVED: Greyhole getting stuck
Posted: Mon Jul 31, 2017 2:33 am
I recently began an effort to bring order to the chaos that is my media collection. This has resulted in a good deal of renaming and deleting (similar) files, but not actually much new information. I know that changing lot of files is not greyhole's strong suit, but I'm beginning to wonder if I need to start over from scratch.
The greyhole queue keeps getting stuck in endless loops where it repeats the same small set of commands over and over. Viewed in real time using the TAIL command, I can often see a pattern emerge visually, based on the different line lengths because it is moving so fast. Using the GH Logmon app, I can view a snapshot of the queue. I'll search for unique piece of text from the queue using the browser's find command, and see that text repeated over and over dozens of times.
I am able to stop the queue to from looping using the procedure on the greyhole troubleshooting page (https://wiki.amahi.org/index.php/Greyho ... Work Queue), but eventually the loop starts again during the subsequent fsck. At this point I'm not certain it will ever complete an fsck.
I had this happen infrequently with amahi 9, but it's become more common for me since upgrading to amahi 10. Of course, this could just be a coincidence since I've done similar large scale adds/moves/deletes before without this happening. I'm wondering if anyone else has seen an increase in greyhole problems since amahi 10?
If this continues I'm not really sure of my next step. I prefer to not rebuild my landing zone unless absolutely necessary because of the possibility this error could continue to occur. If it does and I've deleted my landing zone shares, then I'm even worse off. At least for now most of my files are readily accessible.
I'd appreciate some help determining the cause, and the best next step. I've included some troubleshooting info below. This represents items 1 & 2 at the top of the troubleshooting page. I haven't included #3 because I don't know how to capture the results to a text file, and the raw results are rather lengthy. #4 isn't included because when I executed the command it asked for a password. I entered my password, the only one I know to be associated with my hda, and it was rejected with an error (see below). I'm not sure what the error means.
#1
4.11.9-200.fc25.x86_64
samba-4.5.11-0.fc25.x86_64
amahi-greyhole-0.10.10-1.x86_64
#2
smb.conf https://da.gd/E5WD
greyhole.conf https://da.gd/knoR
#4
[root@hda ~]# mysql -u root -p -e "select * from disk_pool_partitions" hda_production
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Thanks in advance.
The greyhole queue keeps getting stuck in endless loops where it repeats the same small set of commands over and over. Viewed in real time using the TAIL command, I can often see a pattern emerge visually, based on the different line lengths because it is moving so fast. Using the GH Logmon app, I can view a snapshot of the queue. I'll search for unique piece of text from the queue using the browser's find command, and see that text repeated over and over dozens of times.
I am able to stop the queue to from looping using the procedure on the greyhole troubleshooting page (https://wiki.amahi.org/index.php/Greyho ... Work Queue), but eventually the loop starts again during the subsequent fsck. At this point I'm not certain it will ever complete an fsck.
I had this happen infrequently with amahi 9, but it's become more common for me since upgrading to amahi 10. Of course, this could just be a coincidence since I've done similar large scale adds/moves/deletes before without this happening. I'm wondering if anyone else has seen an increase in greyhole problems since amahi 10?
If this continues I'm not really sure of my next step. I prefer to not rebuild my landing zone unless absolutely necessary because of the possibility this error could continue to occur. If it does and I've deleted my landing zone shares, then I'm even worse off. At least for now most of my files are readily accessible.
I'd appreciate some help determining the cause, and the best next step. I've included some troubleshooting info below. This represents items 1 & 2 at the top of the troubleshooting page. I haven't included #3 because I don't know how to capture the results to a text file, and the raw results are rather lengthy. #4 isn't included because when I executed the command it asked for a password. I entered my password, the only one I know to be associated with my hda, and it was rejected with an error (see below). I'm not sure what the error means.
#1
4.11.9-200.fc25.x86_64
samba-4.5.11-0.fc25.x86_64
amahi-greyhole-0.10.10-1.x86_64
#2
smb.conf https://da.gd/E5WD
greyhole.conf https://da.gd/knoR
#4
[root@hda ~]# mysql -u root -p -e "select * from disk_pool_partitions" hda_production
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Thanks in advance.