Re: About WORM feature

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

 



Hi, Karthik

Thanks for your information, which is very useful for me.

I tried to use volume level worm feature and file level worm feature,
and I think file level worm feature is seemly matching my needs.
But I find it cannot work with samba. (volume level worm feature is OK)

I mounted worm_vol on samba and setup samba server by the following configuration.
[gluster-worm_vol]
comment = For samba share of volume worm_vol
vfs objects = glusterfs
glusterfs:volume = worm_vol
glusterfs:logfile = /var/log/samba/glusterfs-worm_vol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
guesn ok = yes
kernel share modes = no

The following error has been reported when I set the feature on the volume.
[root@node mnt]# gluster  vol set  worm_vol features.worm-file-level on
volume set: failed: One of the client 127.0.0.1:1023 is running with op-version 30703 and doesn't support the required op-version 30800. This client needs to be upgraded or disconnected before running this command again

Other features of worm can be setted without error.
[root@ node mnt]# gluster  vol set  worm_vol features.default-retention-period 30
volume set: success

The glusterd log shows as following:
[2021-07-25 06:41:09.078135] I [MSGID: 106022] [glusterd-handshake.c:803:_client_supports_volume] 0-glusterd: Client 127.0.0.1:1017 (1 -> 30703) doesn't support required op-version (30800). Rejecting volfile request. 

The version info is as following:
samba-vfs-glusterfs-4.4.4-14.el7_3.x86_64
glusterfs-3.10.3.tar.gz

Can you give me some suggestion? Thanks!

Regards,
Li Dan



> From: Karthik Subrahmanya [mailto:ksubrahm@xxxxxxxxxx] 
> Sent: Wednesday, July 26, 2017 8:10 PM
> To: Li, Dan/李 丹 <lidan@xxxxxxxxxxxxxx>
> Cc: gluster-devel@xxxxxxxxxxx
> Subject: Re:  About WORM feature
>
> Hi,
>
>> On Wed, Jul 26, 2017 at 3:23 PM, Li, Dan <lidan@xxxxxxxxxxxxxx> wrote:
>> Hi, all
>
>> I cannot find the introduction of WORM feature in the latest version of documents.
>> Does it means that this feature is not recommended anymore?
> We recommend the feature, but unfortunately the documentation on
> volume level worm feature is moved and the link is broken I guess. Even I am not getting
> the link to that. If anyone can point to the document it would be great.
> Below is the link to the documentation on file level worm feature.
> http://blog.gluster.org/2016/07/worm-write-once-read-multiple-retention-and-compliance-2/
> Regards,
> Karthik
>
>> http://gluster.readthedocs.io/en/latest/Features/worm/?highlight=WORM
> 
>> Regards,
>
>> Li Dan


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel




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

  Powered by Linux