Project

General

Profile

Bug #599

Greyhole not moving files from root directory to storage pool

Added by Parag2k3 almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/08/2010
Due date:
% Done:

0%


Description

Using hda-greyhole-0.6.19-1.x86_64, copying files from Windows 7 x64 Home Premium
When copying files to the share, the files are not moved from the root directory to the storage pool. Seems to occur when copying files that already exist in the share and are then skipped. All files copied afterwards won't be moved. I've gotten it working again by manually deleting the unmoved files from the share and restarting the greyhole service.

greyhole.conf

# This file is automatically generated by Amahi on Sat Aug 07 23:42:59 -0400 20$
# Any manual changes WILL BE OVERWRITTEN!
# Set the defaults (carefully) in /var/hda/platform/html/config/greyhole.yml
db_engine = sqlite
db_path = /var/cache/greyhole.sqlite
balance_modified_files = false
email_to = root
samba_log_file = /var/log/messages
greyhole_log_file = /var/log/greyhole.log
log_level = DEBUG
log_memory_usage = false
dir_selection_algorithm = most_available_space
sticky_files = Music/
df_cache_time = 15
delete_moves_to_attic = true
# add any group of other settings
# here in multiple lines
storage_pool_directory = /var/hda/files/drives/sdb1/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/sdc1/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/sdd1/gh, min_free: 10gb
num_copies[English Movies] = 2
num_copies[Hindi Movies] = 2
num_copies[TV Shows] = 1
num_copies[Pictures] = 999
num_copies[Documents] = 1

History

#1 Updated by gboudreau almost 11 years ago

Which share did this happen on ?

What do you mean, "copying files that already exist" ?
You mean like you already had a "file1" file on there, and you tried to overwrite it with another "file1" ?

try this, with a filename that had this problem:

yum -y install fpaste
greyhole --debug "filename" | fpaste

I'd like to see your logs:

WORKDIR=~/greyhole_debug
mkdir -p ${WORKDIR}
grep -i greyhole /var/log/messages* > ${WORKDIR}/var_log_messages
cp /var/log/greyhole.log* ${WORKDIR}/
cp /var/log/monit* ${WORKDIR}/
cd ${WORKDIR}/..
tar -zcf greyhole_debug-parag2k3.tar.gz ${WORKDIR}
curl -F upfile=@greyhole_debug-parag2k3.tar.gz -F go=send http://pub.pommepause.com

I'd need to know at what time the issue happened, and with what file(s) (any you remember).

Also available in: Atom