Greyhole init issues
Posted: Tue Aug 03, 2010 8:29 am
I installed Amahi and created shares on two drives (mounted at /media/HIT2_0 and /media/SEA1_5). I then set up two other drives (/media/SAM1_5 and /media/SAM1_0) in a storage pool and turned on storage pooling for some of my shares. The files are not being propagated to the pool though. I saw this in /var/log/messages:
Aug 2 23:37:04 server smbd_greyhole: [2010/08/02 23:37:04, 0] smbd/service.c:1025(make_connection_snum)
Aug 2 23:37:04 server smbd_greyhole: '/media/SEA1_5/Videos' does not exist or permission denied when connecting to [Videos] Error was Permission denied
Aug 2 23:37:04 server smbd_greyhole: [2010/08/02 23:37:04, 0] smbd/service.c:1025(make_connection_snum)
Aug 2 23:37:04 server smbd_greyhole: '/media/SEA1_5/Videos' does not exist or permission denied when connecting to [Videos] Error was Permission denied
In the greyhole logs I see things like:
Aug 3 03:32:12 6 fsck: /media/SEA1_5/gram/Old Backups/misc/roameo/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/Src/dlgcomm.cpp is a file (not a symlink). Adding a new 'write' pending task for that file.
Aug 3 03:32:12 6 fsck: /media/SEA1_5/gram/Old Backups/misc/roameo/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/Src/timecore.cpp is a file (not a symlink). Adding a new 'write' pending task for that file.
(BTW I have a bazillion files so it's pretty scary that there are log messages for each file).
This may be related to a different issue I have with Samba (http://forums.amahi.org/viewtopic.php?f=4&t=1664), in which I can see my Samba shares from a Windows PC but I can't open them on the server itself.
Here is the greyhole.conf file:
# This file is automatically generated by Amahi on Mon Aug 02 22:08:01 -0700 2010
# 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 = /media/SAM1_5/gh, min_free: 10gb
storage_pool_directory = /media/SAM1_0/gh, min_free: 10gb
num_copies[Music] = 2
num_copies[Videos] = 2
num_copies[Photos] = 2
num_copies[Public] = 2
Aug 2 23:37:04 server smbd_greyhole: [2010/08/02 23:37:04, 0] smbd/service.c:1025(make_connection_snum)
Aug 2 23:37:04 server smbd_greyhole: '/media/SEA1_5/Videos' does not exist or permission denied when connecting to [Videos] Error was Permission denied
Aug 2 23:37:04 server smbd_greyhole: [2010/08/02 23:37:04, 0] smbd/service.c:1025(make_connection_snum)
Aug 2 23:37:04 server smbd_greyhole: '/media/SEA1_5/Videos' does not exist or permission denied when connecting to [Videos] Error was Permission denied
In the greyhole logs I see things like:
Aug 3 03:32:12 6 fsck: /media/SEA1_5/gram/Old Backups/misc/roameo/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/Src/dlgcomm.cpp is a file (not a symlink). Adding a new 'write' pending task for that file.
Aug 3 03:32:12 6 fsck: /media/SEA1_5/gram/Old Backups/misc/roameo/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/Src/timecore.cpp is a file (not a symlink). Adding a new 'write' pending task for that file.
(BTW I have a bazillion files so it's pretty scary that there are log messages for each file).
This may be related to a different issue I have with Samba (http://forums.amahi.org/viewtopic.php?f=4&t=1664), in which I can see my Samba shares from a Windows PC but I can't open them on the server itself.
Here is the greyhole.conf file:
# This file is automatically generated by Amahi on Mon Aug 02 22:08:01 -0700 2010
# 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 = /media/SAM1_5/gh, min_free: 10gb
storage_pool_directory = /media/SAM1_0/gh, min_free: 10gb
num_copies[Music] = 2
num_copies[Videos] = 2
num_copies[Photos] = 2
num_copies[Public] = 2