[fixed] cannot access folder while storage pool is checked

lettcco
Posts: 6
Joined: Sat Feb 26, 2011 5:40 pm

[fixed] cannot access folder while storage pool is checked

Postby lettcco » Sun Mar 13, 2011 11:58 am

Hi I am new to Amahi and Linux. I can see all shared folders from a window 7 client, but I cannot access the ones that have storage pool enabled. As soon as I disabled it, I can access the folder. any help is appreciated.

Code: Select all

uname -r; rpm -q samba hda-greyhole 2.6.35.6-45.fc14.x86_64 samba-3.5.6-71.fc14.x86_64 hda-greyhole-0.9.2-1.x86_64
http://fpaste.org/Ux0U/
http://fpaste.org/ISwq/

Code: Select all

mount; fdisk -l; df -h; greyhole --stats /dev/md1 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/md0 on /boot type ext4 (rw) /dev/md2 on /home type ext4 (rw) /dev/sda1 on /var/hda/files type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) gvfs-fuse-daemon on /home/lettcco/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=lettcco) Filesystem Size Used Avail Use% Mounted on /dev/md1 29G 3.7G 24G 14% / tmpfs 500M 272K 499M 1% /dev/shm /dev/md0 485M 30M 430M 7% /boot /dev/md2 20G 250M 19G 2% /home /dev/sda1 1.4T 217M 1.3T 1% /var/hda/files PHP Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/bin/greyhole on line 32 Greyhole Statistics =================== Storage Pool Total - Used = Free + Attic = Possible /var/hda/files/gh: 1375G - 0G = 1305G + 0G = 1305G ========================================== Total: 1375G - 0G = 1305G + 0G = 1305G]

Code: Select all

mysql -u root -phda -e "select * from disk_pool_partitions" hda_production +----+----------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at | +----+----------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files | 10 | 2011-03-13 01:33:00 | 2011-03-13 01:33:00 | +----+----------------+--------------+---------------------+---------------------+
http://fpaste.org/aWxk/

Code: Select all

PHP Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/bin/greyhole on line 32 Greyhole Work Queue Statistics ============================== This table gives you the number of pending operations queued for the Greyhole daemon, per share. Write Delete Rename Pictures 0 0 0 ======== Total 0 + 0 + 0 = 0 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
hopefully that's enough info...
I might have overlook something simple...but I wasn't expecting greyhole to be complicated since there's not much to the UI.
Last edited by lettcco on Mon Mar 14, 2011 12:29 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access folder while storage pool is checked

Postby bigfoot65 » Sun Mar 13, 2011 3:52 pm

How are you trying to access the shares? Via \\hda from Windows Explorer or using another method.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

lettcco
Posts: 6
Joined: Sat Feb 26, 2011 5:40 pm

Re: cannot access folder while storage pool is checked

Postby lettcco » Sun Mar 13, 2011 5:41 pm

Hi bigfoot, yes that is correct.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: cannot access folder while storage pool is checked

Postby gboudreau » Mon Mar 14, 2011 5:26 am

Look at the log files in /var/log/samba, using a Terminal (as root):

Code: Select all

tail -f /var/log/samba/*
Then try to access to the share from a remote computer.
You'll probably see an error report in the Terminal.
- Guillaume Boudreau

lettcco
Posts: 6
Joined: Sat Feb 26, 2011 5:40 pm

Re: cannot access folder while storage pool is checked

Postby lettcco » Mon Mar 14, 2011 8:48 am

hi gboudreau, this is what I see when I clicked the "pictures" folder which has shared pool enabled:
I tried other folders and they work fine without generating any error log.
Please let me know what to try next (reinstalling smb vfs interface?) and how...
Thanks!

Code: Select all

==> /var/log/samba/q9300.log <== [2011/03/14 08:43:05.477439, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.477722, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.477995, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.478092, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.478174, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.479118, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.479528, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.479728, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.479858, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.480029, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.481196, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.481546, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.481721, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.481859, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.482061, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.482981, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.483327, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.483503, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.483641, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.483774, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.556858, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.557092, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.557207, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.557262, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.557315, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.558073, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.558210, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.558292, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.558350, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.558397, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.609742, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.610018, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.610202, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.610317, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.610406, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.611228, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.611463, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.611580, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.611670, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.611756, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.639320, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.639675, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.639800, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.639890, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.639989, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.665718, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.665901, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.666017, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.666075, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.666125, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures [2011/03/14 08:43:05.666878, 0] smbd/vfs.c:68(smb_register_vfs) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 25, current SMB_VFS_INTERFACE_VERSION is 27. Please recompile against the current Samba Version! [2011/03/14 08:43:05.667030, 0] lib/module.c:69(do_smb_load_module) Module '/usr/lib64/samba/vfs/greyhole.so' initialization failed: NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.667112, 0] smbd/vfs.c:167(vfs_init_custom) error probing vfs module 'greyhole': NT_STATUS_OBJECT_TYPE_MISMATCH [2011/03/14 08:43:05.667167, 0] smbd/vfs.c:309(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for greyhole [2011/03/14 08:43:05.667220, 0] smbd/service.c:846(make_connection_snum) vfs_init failed for service Pictures

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: cannot access folder while storage pool is checked

Postby gboudreau » Mon Mar 14, 2011 9:00 am

Replace the /usr/lib64/samba/vfs/greyhole.so file with this one: http://greyhole.googlecode.com/svn/trun ... -x86_64.so

Code: Select all

curl -o /usr/lib64/samba/vfs/greyhole.so "http://greyhole.googlecode.com/svn/trunk/samba-module/bin/3.5/greyhole-x86_64.so"
Last edited by gboudreau on Mon Mar 14, 2011 10:35 am, edited 1 time in total.
Reason: URL I used before was wrong!
- Guillaume Boudreau

lettcco
Posts: 6
Joined: Sat Feb 26, 2011 5:40 pm

Re: cannot access folder while storage pool is checked

Postby lettcco » Mon Mar 14, 2011 12:28 pm

Replace the /usr/lib64/samba/vfs/greyhole.so file with this one: http://greyhole.googlecode.com/svn/trun ... -x86_64.so

Code: Select all

curl -o /usr/lib64/samba/vfs/greyhole.so "http://greyhole.googlecode.com/svn/trunk/samba-module/bin/3.5/greyhole-x86_64.so"
Yes! that fixes it. Thank you...you guys know your stuff! Makes me wonder if this is something caused by me or is this a general bug with greyhole?

Who is online

Users browsing this forum: No registered users and 9 guests