<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Is the Snapshot activated?<div class=""><br class=""></div><div class="">gluster snapshot activate <snapname></div><div class=""><br class=""></div><div class=""><div>Aravinda Vishwanathapura</div><div><a href="https://kadalu.io" class="">https://kadalu.io</a></div><div><br class=""><blockquote type="cite" class=""><div class="">On 21-Dec-2021, at 4:06 PM, samfisher1 <<a href="mailto:samfisher1@126.com" class="">samfisher1@126.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div style="margin: 0px;" class=""><span style="font-size: 14px;" class=""><span style="font-size: 14px; background-color: rgb(221, 64, 50);" class=""></span>Sorry for disturbing you... Uh, I met a very strange GlusterFS problem: I can access snapshots by using FUSE mount and it works fine. However, when I test Gluster USER-SERVICEABLE snapshots feature, I find I cannot see .snap directory in the NFS shared directory. So pls help me solve this problem, many thanks~</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">My Gluster version is glusterfs 8.6. My OS version is CentOS 7.9.2009 </span></div><p style="margin:0;" class=""></p><ul class=""><li class=""><span style="font-size: 14px;" class=""><b class="">Here is gluster volume and snapshot info.</b></span></li></ul><div class=""><br class="webkit-block-placeholder"></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# gluster v info disperse_vol_2</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Volume Name: disperse_vol_2</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Type: Disperse</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Volume ID: a8bd1d15-20c0-43af-a66e-eb166bd92f4c</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Status: Started</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Snapshot Count: 5</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Number of Bricks: 1 x (4 + 2) = 6</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Transport-type: tcp</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Bricks:</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick1: pgsql-1:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick1/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick2: pgsql-2:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick2/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick3: pgsql-3:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick3/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick4: pgsql-1:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick4/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick5: pgsql-2:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick5/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Brick6: pgsql-3:/run/gluster/snaps/1c51095f455d4b93b1dd2fcfdfdb6127/brick6/data</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Options Reconfigured:</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.show-snapshot-directory: on</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.snapshot-directory: .snaps_disperse_vol_2</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.uss: enable</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">storage.fips-mode-rchecksum: on</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">transport.address-family: inet</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">nfs.disable: on</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.quota: off</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.inode-quota: off</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.quota-deem-statfs: off</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">features.barrier: disable</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">snap-activate-on-create: disable</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">cluster.enable-shared-storage: enable</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><p style="margin:0;" class=""></p><ul class=""><li class=""><span style="font-size: 14px;" class=""><b class="">Here is the snapshot info:</b></span></li></ul><div class=""><br class="webkit-block-placeholder"></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# gluster snap info snap_disperse_vol_2_test1</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Snapshot                  : snap_disperse_vol_2_test1</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Snap UUID                 : 8cab3954-3055-43aa-b34f-bbff58375881</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Created                   : 2021-12-21 09:23:43</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">Snap Volumes:</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">        Snap Volume Name          : 4dd90c9a08f1449fb865a368676ebd61</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">        Origin Volume name        : disperse_vol_2</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">        Snaps taken for disperse_vol_2      : 5</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">        Snaps available for disperse_vol_2  : 251</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">        Status                    : Started</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><p style="margin:0;" class=""></p><ul class=""><li class=""><span style="font-size: 14px;" class="">But I </span><span style="background-color: rgb(255, 255, 255); font-size: 14px; color: rgb(158, 15, 48);" class=""><b class="">can not see any .snaps directory in the media3 directory.</b></span></li></ul><div class=""><br class="webkit-block-placeholder"></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# mount -t nfs 10.10.10.1:/disperse_vol_2 /media3/</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# ls -a /media3</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">.       21.txt  24.txt  27.txt  2.txt   32.txt  35.txt  </span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">..      22.txt  25.txt  28.txt  30.txt  33.txt  36.txt   </span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><p style="margin:0;" class=""></p><ul class=""><li class=""><span style="font-size: 14px;" class=""><b class="">I can access snapshot by using FUSE mount and it works fine.</b></span></li></ul><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# mount -t glusterfs 10.10.10.1:/snaps/snap_disperse_vol_2_test1/disperse_vol_2 /mnt/snap/</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">[root@pgsql-1 media-cifs]# ls /mnt/snap/</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">20.txt  23.txt  26.txt  29.txt  31.txt  34.txt  37.txt  3.txt   42.txt  45.txt  48.txt  50.txt  7.txt</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">21.txt  24.txt  27.txt  2.txt   32.txt  35.txt  38.txt  40.txt  43.txt  46.txt  49.txt  5.txt   8.txt</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">22.txt  25.txt  28.txt  30.txt  33.txt  36.txt  39.txt  41.txt  44.txt  47.txt  4.txt   6.txt   9.txt</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">```</span></div><div style="margin: 0px;" class=""><span style="font-size: 14px;" class="">I haven't any clues to solve this problems, pls help me. tks~</span></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">--</div><div style="position:relative;zoom:1" class=""><div class="">
<div class="">
<div class="">
<div class="">
<div class=""><font face="Trebuchet MS" class=""></font></div>
<div class=""><font face="Trebuchet MS" class=""></font>Lee.T</div><div class=""><font size="3" class=""><font face="Trebuchet MS" class="">   </font></font></div>
<div class="">                                                           </div></div></div></div></div><div style="clear:both" class=""></div></div><br class=""><br class=""></div><br class=""><br class=""><span title="neteasefooter" class=""><div class=""> <br class="webkit-block-placeholder"></div></span>________<br class=""><br class=""><br class=""><br class="">Community Meeting Calendar:<br class=""><br class="">Schedule -<br class="">Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br class="">Bridge: <a href="https://meet.google.com/cpu-eiue-hvk" class="">https://meet.google.com/cpu-eiue-hvk</a><br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">https://lists.gluster.org/mailman/listinfo/gluster-users<br class=""></div></blockquote></div><br class=""><div class="">
<div><br class=""></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>