Re: About WORM feature

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

 




+Poornima
On Thu, Jul 27, 2017 at 3:38 PM, Li, Dan <lidan@xxxxxxxxxxxxxx> wrote:
Hi, Karthik

My gluster's version is 3.10.3 as follows,
I thinks the "client" means the samba's plugin: samba-vfs-glusterfs-4.4.4-14.el7_3.x86_64
How to update the samba-vfs-glusterfs's version?
I don't have much context on that. Adding Poornima who can help you with that.

[lidan@node glusterfs-3.10.3]$ glusterfs --version
glusterfs 3.10.3
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

----------------------------------------
以上、よろしくお願いします
李 丹(LI DAN)
Dept. III of Technology and DevelopmentNanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
T: +86-25-86630566-9488
Mail: lidan@xxxxxxxxxxxxxx
----------------------------------------

From: Karthik Subrahmanya [mailto:ksubrahm@xxxxxxxxxx]
Sent: Thursday, July 27, 2017 5:30 PM
To: Li, Dan/李 丹 <lidan@xxxxxxxxxxxxxx>
Cc: gluster-devel@xxxxxxxxxxx
Subject: Re: About WORM feature



On Thu, Jul 27, 2017 at 9:10 AM, Li, Dan <lidan@xxxxxxxxxxxxxx> wrote:
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
The file level worm feature is implemented in glusterfs-3.8 but on your machine 127.0.0.1:1023 you are running glusterfs-3.7 (which is EOL). You should update the machines to have glusterfs 3.8 or above to avail this feature. And it is recommended to have all the machines running the same version of gluster.

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
This was successful because we do not check for the op-version when when setting this configurable.
HTH,
Karthik

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