Re: [Gluster-users] Questions about snapshots

2024-01-23 Thread Varun
Feel free to contribute to the documentation :-)

On Tue, Jan 23, 2024 at 12:43 AM Stefan Kania 
wrote:

> Hi Varun,
>
> Am 23.01.24 um 01:37 schrieb Varun:
> > I'm not sure which doc are you referring to? It would help if you can
> share
> > it.
> Here,
>
> https://docs.gluster.org/en/main/Administrator-Guide/Managing-Snapshots/#pre-requisites
>
>   and all the places where this page is copied to ;-)
>
>
> Thank's for the link to the source code, but source code is no
> documentation ;-)
>
>
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Questions about snapshots

2024-01-23 Thread Stefan Kania

Hi Varun,

Am 23.01.24 um 01:37 schrieb Varun:

I'm not sure which doc are you referring to? It would help if you can share
it.

Here,
https://docs.gluster.org/en/main/Administrator-Guide/Managing-Snapshots/#pre-requisites

 and all the places where this page is copied to ;-)


Thank's for the link to the source code, but source code is no 
documentation ;-)





smime.p7s
Description: Kryptografische S/MIME-Signatur




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Questions about snapshots

2024-01-22 Thread Varun
Hi Stefan,

I'm not sure which doc are you referring to? It would help if you can share
it.

I would start looking at the barrier translator in
xlators/features/barrier. Initially it is designed to block all the ops
that modify the underlying file system from acknowledging the client. The
list of file system operations that needs to be blocked should be listed
here

.

WARNING: My knowledge is like a decade old. This information is to the best
of my memory. A very brief quick look at the git log of xlators/barrier
tells me no major changes.

So, in any case I would just read the code for barrier translator unless
the current maintainer can answer this.

Varun

On Mon, Jan 22, 2024 at 11:30 AM Stefan Kania 
wrote:

> Hi to all,
>
> The doc is telling me:
> 
> To guarantee crash consistency some of the fops are blocked during a
> snapshot operation.
>
> These fops are blocked till the snapshot is complete. All other fops is
> passed through.
> ---
> I could not find which fops are blocked, can anyone tell me wich fops
> are blocked and wich are not?
>
> Second question:
> Is there a way to calculate the size of a snapshot?
>
>
> Thank's for any valuable answer
>
> Stefan
> 
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] questions about snapshots and cifs

2015-09-09 Thread Raghavendra Talur
On Wed, Sep 9, 2015 at 7:39 PM, Alastair Neil  wrote:
>
> I have been working on providing user serviceable snap shots and I am 
> confused by the documentation about allowing access from windows explorer:
>
>> For snapshots to be accessible from windows, below 2 options can be used. A) 
>> The glusterfs plugin for samba should give the option "snapdir-entry-path" 
>> while starting. The option is an indication to glusterfs, that samba is 
>> loading it and the value of the option should be the path that is being used 
>> as the share for windows. Ex: Say, there is a glusterfs volume and a 
>> directory called "export" from the root of the volume is being used as the 
>> samba share, then samba has to load glusterfs with this option as well.
>> ret = glfs_set_xlator_option(fs, "*-snapview-client",
>>  "snapdir-entry-path", "/export");
>> The xlator option "snapdir-entry-path" is not exposed via volume set 
>> options, cannot be changed from CLI. Its an option that has to be provded at 
>> the time of mounting glusterfs or when samba loads glusterfs.
>
>
> How do you set  "snapdir-entry-path", the docs say it needs to be set for the 
> gluster-cifs pluginto correctly pass the information the client so I is there 
> must be some volume setting and gluster volume set command to configure this?
>

Only performing
gluster volume set features.show-snapshot-directory on
is enough.
This documentations needs to be changed. Details about
snapdir-entry-path is required only for developers.

>
> Thanks, Alastair
>
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users