Re: Strange problem using samba_vfs_gluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/26/2014 05:50 PM, Volnei wrote:
Hi,

If I use the configuration method "vfs" I can see the share,
But I cannot write anything into it.
On Windows7, for example, the following message is showed:

Error 0x8007045D: the request could not be performed because of an I/O device error
ever I try create a folder or a file.

If I use the configuration at mount point, then everything works perfectly.

This is a bug or I'm doing something wrong.

Thanks a lot

(smb.conf)

[GV0-GLUSTERFS]
        comment = For samba share of volume gv0
        path = /
        writable = Yes
        read _only_ = No
        guest ok = Yes
        browseable = yes
        create mask = 0777
        kernel share modes = No
        vfs objects = glusterfs
        glusterfs:loglevel = 7
        glusterfs:logfile = /var/log/samba/glusterfs-testvol.log
        glusterfs:volume = gv0


You can try removing "create mask = 0777" and see if you face the issue. I am not saying "create mask = 0777" is an issue, but I have never used GlusterFS + Sama+ vfs plugin with this. If it works fine without "create mask = 0777" then the issue you are seeing might be genuine bug.

# This works fine
#[GLUSTERFS_DATAS]
#        comment = glusterfs via mountpoint
#        path = /mnt/dados
#        writable = Yes
#        guest ok = Yes
#        browseable = yes
#        create mask = 0777


Erro message when I use vfs_gluster

[2014-06-26 12:06:57.293530] E [afr-self-heal-common.c:233:afr_sh_print_split_brain_log] 0-gv0-replicate-0: Unable to self-heal contents of '/.' (possible split-brain). Please delete the file from all but the preferred subvolume.- Pending matrix:  [ [ 0 2 ] [ 2 0 ] ]
[2014-06-26 12:06:57.294679] E [afr-self-heal-common.c:2859:afr_log_self_heal_completion_status] 0-gv0-replicate-0:  metadata self heal  failed,   on /.



Versions:

samba-4.1.9-3.fc20.x86_64
samba-vfs-glusterfs-4.1.9-3.fc20.x86_64
samba-common-4.1.9-3.fc20.x86_64
samba-winbind-4.1.9-3.fc20.x86_64
samba-winbind-clients-4.1.9-3.fc20.x86_64
samba-libs-4.1.9-3.fc20.x86_64
samba-winbind-modules-4.1.9-3.fc20.x86_64
samba-winbind-krb5-locator-4.1.9-3.fc20.x86_64
samba-client-4.1.9-3.fc20.x86_64

glusterfs-fuse-3.5.0-3.fc20.x86_64
glusterfs-server-3.5.0-3.fc20.x86_64
glusterfs-libs-3.5.0-3.fc20.x86_64
glusterfs-api-3.5.0-3.fc20.x86_64
glusterfs-cli-3.5.0-3.fc20.x86_64
glusterfs-3.5.0-3.fc20.x86_64






_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux