<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
I still think I'm coming down on the side of simplistic ease of
use:<br>
<pre>Example:
[jtucker@pixstor ~]# mmlssnapshot mmfs1
Snapshots in file system mmfs1:
Directory SnapId Status Created Fileset Comment
@GMT-2016.09.13-23.00.14 551 Valid Wed Sep 14 00:00:02 2016 myproject Prior to phase 1
@GMT-2016.09.14-05.00.14 552 Valid Wed Sep 14 06:00:01 2016 myproject Added this and that
@GMT-2016.09.14-11.00.14 553 Valid Wed Sep 14 12:00:01 2016 myproject Merged project2
@GMT-2016.09.14-17.00.14 554 Valid Wed Sep 14 18:00:02 2016 myproject Before clean of .xmp
@GMT-2016.09.14-17.05.30 555 Valid Wed Sep 14 18:05:03 2016 myproject Archival
</pre>
<br>
Jez<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14/09/16 19:10,
<a class="moz-txt-link-abbreviated" href="mailto:service@metamodul.com">service@metamodul.com</a> wrote:<br>
</div>
<blockquote
cite="mid:i3rfsyncc57e6lqj2e6rpes3.1473876637702@email.android.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Why not use a GPFS user extented attribut for that ?</div>
<div>In a certain way i see GPFS as a database. ^_^</div>
<div>Hajo</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:9px;color:#575757">Von Samsung Mobile
gesendet</div>
</div>
<br>
<br>
<div>-------- Ursprüngliche Nachricht --------</div>
<div>Von: Jez Tucker <jtucker@pixitmedia.com> </jtucker@pixitmedia.com></div>
<div>Datum:2016.09.13 11:10 (GMT+01:00) </div>
<div>An: <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a> </div>
<div>Betreff: Re: [gpfsug-discuss] gpfs snapshots </div>
<div><br>
</div>
Hey Yuri,<br>
<br>
Perhaps an RFE here, but could I suggest there is much value in
adding a -c <comment> option to mmcrsnapshot?<br>
<br>
Use cases:<br>
<br>
mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
-j myfilesetname -c "Before phase 2"<br>
<br>
and<br>
<br>
mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c
"expire:GMT-2017.04.21-16.00.00"<br>
<br>
Ideally also: mmcrsnapshot fs1
fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr<br>
<br>
Then it's easy to iterate over snapshots and subsequently
mmdelsnapshot snaps which are no longer required.<br>
There are lots of methods to achieve this, but without external
databases / suchlike, this is rather simple and effective for end
users.<br>
<br>
Alternatively a second comment like -expire flag as user metadata
may be preferential.<br>
<br>
Thoughts?<br>
<br>
Jez<br>
<br>
<br>
<div class="moz-cite-prefix">On 13/09/16 05:32, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a>
wrote:<br>
</div>
<blockquote cite="mid:20635.1473741144@turing-police.cc.vt.edu"
type="cite">
<pre wrap="">On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said:
</pre>
<blockquote type="cite">
<pre wrap="">I guess we could reach snapid 100,000.
</pre>
</blockquote>
<pre wrap="">It probably stores the snap ID as a 32 or 64 bit int, so 100K is peanuts.
What you *do* want to do is make the snap *name* meaningful, using
a timestamp or something to keep your sanity.
mmcrsnapshot fs923 `date +%y%m%d-%H%M` or similar.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div> <font color="#000000" face="arial"> Jez Tucker<br>
Head of Research & Product Development<br>
<font color="#FF0000">Pixit Media</font><br>
<a moz-do-not-send="true" href="http://www.pixitmedia.com">www.pixitmedia.com</a><br>
</font> </div>
</div>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div>
<font color="#000000" face="arial">
Jez Tucker<br>
Head of Research & Product Development<br>
<font color="#FF0000">Pixit Media</font><br>
<a href="http://www.pixitmedia.com">www.pixitmedia.com</a><br>
</font>
</div>
</div>
</body>
</html>
<br>
<div><img src="http://pixitmedia.com/sig/sig-cio.jpg"></div><div>This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.</div>