Problem with new install
Posted: Thu Oct 25, 2012 9:31 pm
I keep getting the message:
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
I created the share "xx" after getting the error on several other shares. I check the smb.conf and the greyhole.conf and all looks good to me.
Here are the conf files:
# This file is automatically generated by Amahi on Thu Oct 25 23:08:45 -0500 2012
# Any manual changes WILL BE OVERWRITTEN!
# Set the defaults (carefully) in /var/hda/platform/html/config/greyhole.yml
db_engine = mysql
db_host = localhost
db_user = greyhole
db_pass = greyhole
db_name = greyhole
balance_modified_files = false
email_to = root
greyhole_log_file = /var/log/greyhole.log
log_level = DEBUG
log_memory_usage = false
dir_selection_algorithm = most_available_space
df_cache_time = 15
delete_moves_to_attic = true
# sticky_files and stick_into options are nested - see http://wiki.amahi.org/index.php/Greyhol ... ed_options
sticky_files = Music/
# add any group of other settings
# here in multiple lines
storage_pool_directory = /var/hda/files/bootDriveSpace/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/Hatachi-1/gh, min_free: 10gb
num_copies[testSpace] = 1
num_copies[special] = 999
num_copies[xx] = 999
-----------------------
# This file is automatically generated for WORKGROUP setup.
# Any manual changes MAY BE OVERWRITTEN
# Amahi configuration, generated on Thu Oct 25 23:08:45 -0500 2012
[global]
workgroup = ASAP
server string = asap.armadillo.nu
netbios name = hda
printing = cups
printcap name = cups
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
log level = 0
max log size = 150
socket options = TCP_NODELAY
preferred master = yes
os level = 60
time server = yes
unix extensions = no
wide links = yes
veto files = /*.nws/riched20.dll/*.{*}/
security = user
username map script = /usr/share/hda-platform/hda-usermap
large readwrite = yes
encrypt passwords = yes
dos charset = CP850
unix charset = UTF8
display charset = LOCALE
guest account = nobody
map to guest = Bad User
wins support = yes
printer admin = root, @ntadmin, administrator
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
create mask = 0644
directory mask = 0755
[print$]
path = /var/lib/samba/drivers
read only = yes
force group = root
write list = @ntadmin root
force group = root
create mask = 0664
directory mask = 0775
guest ok = yes
[printers]
path = /var/spool/samba
writeable = yes
browseable = yes
printable = yes
public = yes
[Books]
comment = Books
path = /var/hda/files/Books
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Pictures]
comment = Pictures
path = /var/hda/files/Pictures
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Movies]
comment = Movies
path = /var/hda/files/Movies
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Music]
comment = Music
path = /var/hda/files/Music
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Docs]
comment = Docs
path = /var/hda/files/Docs
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[testSpace]
comment = testSpace
path = /var/hda/files/landingZone/testSpace
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[special]
comment = special
path = /var/hda/files/landingZone/special
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[xx]
comment = xx
path = /var/hda/files/xx
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
-------
more stuff
-------
root@hda:/etc/samba# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+-------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+-------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/bootDriveSpace | 10 | 2012-10-26 03:16:32 | 2012-10-26 03:16:32 |
| 2 | /var/hda/files/Hatachi-1 | 10 | 2012-10-26 03:16:34 | 2012-10-26 03:16:34 |
+----+-------------------------------+--------------+---------------------+---------------------+
root@hda:/etc/samba# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpasteNo command 'fpaste' found, did you mean:
Command 'paste' from package 'coreutils' (main)
fpaste: command not found
root@hda:/etc/samba# greyhole --view-queue
Greyhole Work Queue Statistics
==============================
This table gives you the number of pending operations queued for the Greyhole daemon, per share.
Write Delete Rename Check
special 0 0 0 0
testSpace 0 0 0 0
xx 0 0 0 0
=============================================
Total 0 0 0 0
Write Delete Rename Check
The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.
Spooled 0
-----------------
root@hda:/etc/samba# tail /var/log/greyhole.log
Oct 25 23:26:46 7 sleep: Nothing to do... Sleeping.
Oct 25 23:26:56 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:07 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:17 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:27 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:37 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:47 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:57 7 sleep: Nothing to do... Sleeping.
Oct 25 23:28:07 7 sleep: Nothing to do... Sleeping.
Oct 25 23:28:17 7 sleep: Nothing to do... Sleeping.
---------------------
root@hda:/etc/samba# greyhole --debug "Nite lites 3.scn"
Debugging file operations for file named "/Nite lites 3.scn"
From DB
=======
From logs
=========
gzip: /var/log/greyhole.log*.gz: No such file or directory
Oct 25 23:06:03 4 write: Found a share (special) with no path in /etc/samba/smb.conf, or missing it's num_copies[special] config in /etc/greyhole.conf. Skipping.
Oct 25 23:06:03 6 write: Now working on task ID 3124: write special/Nite lites 3.scn
Oct 25 23:06:03 4 write: Found a share (special) with no path in /etc/samba/smb.conf, or missing it's num_copies[special] config in /etc/greyhole.conf. Skipping.
Oct 25 23:06:03 6 write: Now working on task ID 3125: write special/Nite lites 4.avi.A.index
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
Oct 25 23:10:24 6 write: Now working on task ID 3132: write xx/Nite lites 3.scn
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
Oct 25 23:10:24 6 write: Now working on task ID 3133: write xx/Nite lites 4.avi.A.index
From filesystem
===============
Landing Zone:
ls: cannot access /Nite lites 3.scn: No such file or directory
Metadata Store:
File copies:
root@hda:/etc/samba#
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
I created the share "xx" after getting the error on several other shares. I check the smb.conf and the greyhole.conf and all looks good to me.
Here are the conf files:
# This file is automatically generated by Amahi on Thu Oct 25 23:08:45 -0500 2012
# Any manual changes WILL BE OVERWRITTEN!
# Set the defaults (carefully) in /var/hda/platform/html/config/greyhole.yml
db_engine = mysql
db_host = localhost
db_user = greyhole
db_pass = greyhole
db_name = greyhole
balance_modified_files = false
email_to = root
greyhole_log_file = /var/log/greyhole.log
log_level = DEBUG
log_memory_usage = false
dir_selection_algorithm = most_available_space
df_cache_time = 15
delete_moves_to_attic = true
# sticky_files and stick_into options are nested - see http://wiki.amahi.org/index.php/Greyhol ... ed_options
sticky_files = Music/
# add any group of other settings
# here in multiple lines
storage_pool_directory = /var/hda/files/bootDriveSpace/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/Hatachi-1/gh, min_free: 10gb
num_copies[testSpace] = 1
num_copies[special] = 999
num_copies[xx] = 999
-----------------------
# This file is automatically generated for WORKGROUP setup.
# Any manual changes MAY BE OVERWRITTEN
# Amahi configuration, generated on Thu Oct 25 23:08:45 -0500 2012
[global]
workgroup = ASAP
server string = asap.armadillo.nu
netbios name = hda
printing = cups
printcap name = cups
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
log level = 0
max log size = 150
socket options = TCP_NODELAY
preferred master = yes
os level = 60
time server = yes
unix extensions = no
wide links = yes
veto files = /*.nws/riched20.dll/*.{*}/
security = user
username map script = /usr/share/hda-platform/hda-usermap
large readwrite = yes
encrypt passwords = yes
dos charset = CP850
unix charset = UTF8
display charset = LOCALE
guest account = nobody
map to guest = Bad User
wins support = yes
printer admin = root, @ntadmin, administrator
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
create mask = 0644
directory mask = 0755
[print$]
path = /var/lib/samba/drivers
read only = yes
force group = root
write list = @ntadmin root
force group = root
create mask = 0664
directory mask = 0775
guest ok = yes
[printers]
path = /var/spool/samba
writeable = yes
browseable = yes
printable = yes
public = yes
[Books]
comment = Books
path = /var/hda/files/Books
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Pictures]
comment = Pictures
path = /var/hda/files/Pictures
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Movies]
comment = Movies
path = /var/hda/files/Movies
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Music]
comment = Music
path = /var/hda/files/Music
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[Docs]
comment = Docs
path = /var/hda/files/Docs
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
[testSpace]
comment = testSpace
path = /var/hda/files/landingZone/testSpace
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[special]
comment = special
path = /var/hda/files/landingZone/special
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
[xx]
comment = xx
path = /var/hda/files/xx
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
-------
more stuff
-------
root@hda:/etc/samba# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+-------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+-------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/bootDriveSpace | 10 | 2012-10-26 03:16:32 | 2012-10-26 03:16:32 |
| 2 | /var/hda/files/Hatachi-1 | 10 | 2012-10-26 03:16:34 | 2012-10-26 03:16:34 |
+----+-------------------------------+--------------+---------------------+---------------------+
root@hda:/etc/samba# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpasteNo command 'fpaste' found, did you mean:
Command 'paste' from package 'coreutils' (main)
fpaste: command not found
root@hda:/etc/samba# greyhole --view-queue
Greyhole Work Queue Statistics
==============================
This table gives you the number of pending operations queued for the Greyhole daemon, per share.
Write Delete Rename Check
special 0 0 0 0
testSpace 0 0 0 0
xx 0 0 0 0
=============================================
Total 0 0 0 0
Write Delete Rename Check
The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.
Spooled 0
-----------------
root@hda:/etc/samba# tail /var/log/greyhole.log
Oct 25 23:26:46 7 sleep: Nothing to do... Sleeping.
Oct 25 23:26:56 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:07 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:17 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:27 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:37 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:47 7 sleep: Nothing to do... Sleeping.
Oct 25 23:27:57 7 sleep: Nothing to do... Sleeping.
Oct 25 23:28:07 7 sleep: Nothing to do... Sleeping.
Oct 25 23:28:17 7 sleep: Nothing to do... Sleeping.
---------------------
root@hda:/etc/samba# greyhole --debug "Nite lites 3.scn"
Debugging file operations for file named "/Nite lites 3.scn"
From DB
=======
From logs
=========
gzip: /var/log/greyhole.log*.gz: No such file or directory
Oct 25 23:06:03 4 write: Found a share (special) with no path in /etc/samba/smb.conf, or missing it's num_copies[special] config in /etc/greyhole.conf. Skipping.
Oct 25 23:06:03 6 write: Now working on task ID 3124: write special/Nite lites 3.scn
Oct 25 23:06:03 4 write: Found a share (special) with no path in /etc/samba/smb.conf, or missing it's num_copies[special] config in /etc/greyhole.conf. Skipping.
Oct 25 23:06:03 6 write: Now working on task ID 3125: write special/Nite lites 4.avi.A.index
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
Oct 25 23:10:24 6 write: Now working on task ID 3132: write xx/Nite lites 3.scn
Oct 25 23:10:24 4 write: Found a share (xx) with no path in /etc/samba/smb.conf, or missing it's num_copies[xx] config in /etc/greyhole.conf. Skipping.
Oct 25 23:10:24 6 write: Now working on task ID 3133: write xx/Nite lites 4.avi.A.index
From filesystem
===============
Landing Zone:
ls: cannot access /Nite lites 3.scn: No such file or directory
Metadata Store:
File copies:
root@hda:/etc/samba#