Hello, using gpfs 4.2.1, I do about 60 snapshots per day (one snapshot per 15 minutes during working hours). It seems that snapid is increasing only number. Should I be fine with such a number of snapshots per day? I guess we could reach snapid 100,000. I remove all these snapshots during night so I do not keep huge number of snapshots. -- Lukáš Hejtmánek
The increasing value of snapId is not a problem. Creating snapshots every 15 min is somewhat more frequent than what is customary, but as long as you're able to delete filesets at the same rate you're creating them, this should work OK. yuri From: Lukas Hejtmanek <xhejtman@ics.muni.cz> To: gpfsug-discuss@spectrumscale.org, Date: 09/12/2016 03:30 PM Subject: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org Hello, using gpfs 4.2.1, I do about 60 snapshots per day (one snapshot per 15 minutes during working hours). It seems that snapid is increasing only number. Should I be fine with such a number of snapshots per day? I guess we could reach snapid 100,000. I remove all these snapshots during night so I do not keep huge number of snapshots. -- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Yuri et al. thank you for answers, I should be fine with snapshots as you suggest. On Mon, Sep 12, 2016 at 03:42:00PM -0700, Yuri L Volobuev wrote:
The increasing value of snapId is not a problem. Creating snapshots every 15 min is somewhat more frequent than what is customary, but as long as you're able to delete filesets at the same rate you're creating them, this should work OK.
yuri
From: Lukas Hejtmanek <xhejtman@ics.muni.cz> To: gpfsug-discuss@spectrumscale.org, Date: 09/12/2016 03:30 PM Subject: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org
Hello,
using gpfs 4.2.1, I do about 60 snapshots per day (one snapshot per 15 minutes during working hours). It seems that snapid is increasing only number. Should I be fine with such a number of snapshots per day? I guess we could reach snapid 100,000. I remove all these snapshots during night so I do not keep huge number of snapshots.
-- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Lukáš Hejtmánek
Don't worry. We do 400+ snapshots every 4 hours and that number is only getting bigger. Don't know what our current snapid count is mind you, can find out when in the office. Get Outlook for Android<https://aka.ms/ghei36> On Mon, Sep 12, 2016 at 11:30 PM +0100, "Lukas Hejtmanek" <xhejtman@ics.muni.cz<mailto:xhejtman@ics.muni.cz>> wrote: Hello, using gpfs 4.2.1, I do about 60 snapshots per day (one snapshot per 15 minutes during working hours). It seems that snapid is increasing only number. Should I be fine with such a number of snapshots per day? I guess we could reach snapid 100,000. I remove all these snapshots during night so I do not keep huge number of snapshots. -- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
There are many people doing the same thing so nothing to worry about. As your using 4.2.1 you can at least bulk delete the snapshots using a comma separated list, making life just that little bit easier. -- Lauz On 13 September 2016 04:19:30 BST, "Sobey, Richard A" <r.sobey@imperial.ac.uk> wrote:
Don't worry. We do 400+ snapshots every 4 hours and that number is only getting bigger. Don't know what our current snapid count is mind you, can find out when in the office.
Get Outlook for Android<https://aka.ms/ghei36>
On Mon, Sep 12, 2016 at 11:30 PM +0100, "Lukas Hejtmanek" <xhejtman@ics.muni.cz<mailto:xhejtman@ics.muni.cz>> wrote:
Hello,
using gpfs 4.2.1, I do about 60 snapshots per day (one snapshot per 15 minutes during working hours). It seems that snapid is increasing only number. Should I be fine with such a number of snapshots per day? I guess we could reach snapid 100,000. I remove all these snapshots during night so I do not keep huge number of snapshots.
-- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
------------------------------------------------------------------------
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said:
I guess we could reach snapid 100,000.
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.
Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in adding a -c <comment> option to mmcrsnapshot? Use cases: mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "Before phase 2" and mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "expire:GMT-2017.04.21-16.00.00" Ideally also: mmcrsnapshot fs1 fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr Then it's easy to iterate over snapshots and subsequently mmdelsnapshot snaps which are no longer required. There are lots of methods to achieve this, but without external databases / suchlike, this is rather simple and effective for end users. Alternatively a second comment like -expire flag as user metadata may be preferential. Thoughts? Jez On 13/09/16 05:32, Valdis.Kletnieks@vt.edu wrote:
On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said:
I guess we could reach snapid 100,000. 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Product Development Pixit Media www.pixitmedia.com <http://www.pixitmedia.com> -- 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.
Hi Jez, It sounds to me like the functionality that you're _really_ looking for is an ability to to do automated snapshot management, similar to what's available on other storage systems. For example, "create a new snapshot of filesets X, Y, Z every 30 min, keep the last 16 snapshots". I've seen many examples of sysadmins rolling their own snapshot management system along those lines, and an ability to add an expiration string as a snapshot "comment" appears to be merely an aid in keeping such DIY snapshot management scripts a bit simpler -- not by much though. The end user would still be on the hook for some heavy lifting, in particular figuring out a way to run an equivalent of a cluster-aware cron with acceptable fault tolerance semantics. That is, if a snapshot creation is scheduled, only one node in the cluster should attempt to create the snapshot, but if that node fails, another node needs to step in (as opposed to skipping the scheduled snapshot creation). This is doable outside of GPFS, of course, but is not trivial. Architecturally, the right place to implement a fault-tolerant cluster-aware scheduling framework is GPFS itself, as the most complex pieces are already there. We have some plans for work along those lines, but if you want to reinforce the point with an RFE, that would be fine, too. yuri From: Jez Tucker <jtucker@pixitmedia.com> To: gpfsug-discuss@spectrumscale.org, Date: 09/13/2016 02:10 AM Subject: Re: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in adding a -c <comment> option to mmcrsnapshot? Use cases: mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "Before phase 2" and mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "expire:GMT-2017.04.21-16.00.00" Ideally also: mmcrsnapshot fs1 fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr Then it's easy to iterate over snapshots and subsequently mmdelsnapshot snaps which are no longer required. There are lots of methods to achieve this, but without external databases / suchlike, this is rather simple and effective for end users. Alternatively a second comment like -expire flag as user metadata may be preferential. Thoughts? Jez On 13/09/16 05:32, Valdis.Kletnieks@vt.edu wrote: On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said: I guess we could reach snapid 100,000. 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Product Development Pixit Media www.pixitmedia.com 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._______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
I thought the GUI implemented some form of snapshot scheduler. Personal opinion is that is the wrong place and I agree that is should be core functionality to ensure that the scheduler is running properly. But I would suggest that it might be more than just snapshots people might want to schedule. E.g. An ilm pool flush. Simon ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Yuri L Volobuev [volobuev@us.ibm.com] Sent: 13 September 2016 21:51 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] gpfs snapshots Hi Jez, It sounds to me like the functionality that you're _really_ looking for is an ability to to do automated snapshot management, similar to what's available on other storage systems. For example, "create a new snapshot of filesets X, Y, Z every 30 min, keep the last 16 snapshots". I've seen many examples of sysadmins rolling their own snapshot management system along those lines, and an ability to add an expiration string as a snapshot "comment" appears to be merely an aid in keeping such DIY snapshot management scripts a bit simpler -- not by much though. The end user would still be on the hook for some heavy lifting, in particular figuring out a way to run an equivalent of a cluster-aware cron with acceptable fault tolerance semantics. That is, if a snapshot creation is scheduled, only one node in the cluster should attempt to create the snapshot, but if that node fails, another node needs to step in (as opposed to skipping the scheduled snapshot creation). This is doable outside of GPFS, of course, but is not trivial. Architecturally, the right place to implement a fault-tolerant cluster-aware scheduling framework is GPFS itself, as the most complex pieces are already there. We have some plans for work along those lines, but if you want to reinforce the point with an RFE, that would be fine, too. yuri [Inactive hide details for Jez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there is]Jez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in From: Jez Tucker <jtucker@pixitmedia.com> To: gpfsug-discuss@spectrumscale.org, Date: 09/13/2016 02:10 AM Subject: Re: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in adding a -c <comment> option to mmcrsnapshot? Use cases: mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "Before phase 2" and mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "expire:GMT-2017.04.21-16.00.00" Ideally also: mmcrsnapshot fs1 fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr Then it's easy to iterate over snapshots and subsequently mmdelsnapshot snaps which are no longer required. There are lots of methods to achieve this, but without external databases / suchlike, this is rather simple and effective for end users. Alternatively a second comment like -expire flag as user metadata may be preferential. Thoughts? Jez On 13/09/16 05:32, Valdis.Kletnieks@vt.edu<mailto:Valdis.Kletnieks@vt.edu> wrote: On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said: I guess we could reach snapid 100,000. 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Product Development Pixit Media www.pixitmedia.com<http://www.pixitmedia.com/> 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._______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
We do have a general-purpose scheduler on the books as an item that is needed for a future release and as Yuri mentioned it would be cluster wide to avoid the single point of failure with tools like Cron. However, it's one of many things we want to try to get into the product and so we don't have any definite timeline yet. Thanks, John John T. Olson, Ph.D., MI.C., K.EY. Master Inventor, Software Defined Storage 957/9032-1 Tucson, AZ, 85744 (520) 799-5185, tie 321-5185 (FAX: 520-799-4237) Email: jtolson@us.ibm.com "Do or do not. There is no try." - Yoda Olson's Razor: Any situation that we, as humans, can encounter in life can be modeled by either an episode of The Simpsons or Seinfeld. From: "Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09/13/2016 02:22 PM Subject: Re: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org I thought the GUI implemented some form of snapshot scheduler. Personal opinion is that is the wrong place and I agree that is should be core functionality to ensure that the scheduler is running properly. But I would suggest that it might be more than just snapshots people might want to schedule. E.g. An ilm pool flush. Simon ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Yuri L Volobuev [volobuev@us.ibm.com] Sent: 13 September 2016 21:51 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] gpfs snapshots Hi Jez, It sounds to me like the functionality that you're _really_ looking for is an ability to to do automated snapshot management, similar to what's available on other storage systems. For example, "create a new snapshot of filesets X, Y, Z every 30 min, keep the last 16 snapshots". I've seen many examples of sysadmins rolling their own snapshot management system along those lines, and an ability to add an expiration string as a snapshot "comment" appears to be merely an aid in keeping such DIY snapshot management scripts a bit simpler -- not by much though. The end user would still be on the hook for some heavy lifting, in particular figuring out a way to run an equivalent of a cluster-aware cron with acceptable fault tolerance semantics. That is, if a snapshot creation is scheduled, only one node in the cluster should attempt to create the snapshot, but if that node fails, another node needs to step in (as opposed to skipping the scheduled snapshot creation). This is doable outside of GPFS, of course, but is not trivial. Architecturally, the right place to implement a fault-tolerant cluster-aware scheduling framework is GPFS itself, as the most complex pieces are already there. We have some plans for work along those lines, but if you want to reinforce the point with an RFE, that would be fine, too. yuri [Inactive hide details for Jez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there is]Jez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in From: Jez Tucker <jtucker@pixitmedia.com> To: gpfsug-discuss@spectrumscale.org, Date: 09/13/2016 02:10 AM Subject: Re: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in adding a -c <comment> option to mmcrsnapshot? Use cases: mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "Before phase 2" and mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "expire:GMT-2017.04.21-16.00.00" Ideally also: mmcrsnapshot fs1 fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr Then it's easy to iterate over snapshots and subsequently mmdelsnapshot snaps which are no longer required. There are lots of methods to achieve this, but without external databases / suchlike, this is rather simple and effective for end users. Alternatively a second comment like -expire flag as user metadata may be preferential. Thoughts? Jez On 13/09/16 05:32, Valdis.Kletnieks@vt.edu<mailto:Valdis.Kletnieks@vt.edu> wrote: On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said: I guess we could reach snapid 100,000. 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Product Development Pixit Media www.pixitmedia.com<http://www.pixitmedia.com/> 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._______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss (See attached file: graycol.gif) _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
In the message dated: Tue, 13 Sep 2016 13:51:16 -0700, The pithy ruminations from Yuri L Volobuev on <Re: [gpfsug-discuss] gpfs snapshots> were: => => Hi Jez, => => It sounds to me like the functionality that you're _really_ looking for is => an ability to to do automated snapshot management, similar to what's Yep. => available on other storage systems. For example, "create a new snapshot of => filesets X, Y, Z every 30 min, keep the last 16 snapshots". I've seen many Or, take a snapshot every 15min, keep the 4 most recent, expire all except 4 that were created within 6hrs, only 4 created between 6:01-24:00 hh:mm ago, and expire all-but-2 created between 24:01-48:00, etc, as we do. => examples of sysadmins rolling their own snapshot management system along => those lines, and an ability to add an expiration string as a snapshot I'd be glad to distribute our local example of this exercise. => "comment" appears to be merely an aid in keeping such DIY snapshot => management scripts a bit simpler -- not by much though. The end user would => still be on the hook for some heavy lifting, in particular figuring out a => way to run an equivalent of a cluster-aware cron with acceptable fault => tolerance semantics. That is, if a snapshot creation is scheduled, only => one node in the cluster should attempt to create the snapshot, but if that => node fails, another node needs to step in (as opposed to skipping the => scheduled snapshot creation). This is doable outside of GPFS, of course, => but is not trivial. Architecturally, the right place to implement a Ah, that part really is trivial....In our case, the snapshot program takes the filesystem name as an argument... we simply rely on the GPFS fault detection/failover. The job itself runs (via cron) on every GPFS server node, but only creates the snapshot on the server that is the active manager for the specified filesystem: ############################################################################## # Check if the node where this script is running is the GPFS manager node for the # specified filesystem manager=`/usr/lpp/mmfs/bin/mmlsmgr $filesys | grep -w "^$filesys" |awk '{print $2}'` ip addr list | grep -qw "$manager" if [ $? != 0 ] ; then # This node is not the manager...exit exit fi # else ... continue and create the snapshot ################################################################################################### => => yuri => => -- Mark Bergman voice: 215-746-4061 mark.bergman@uphs.upenn.edu fax: 215-614-0266 http://www.cbica.upenn.edu/ IT Technical Director, Center for Biomedical Image Computing and Analytics Department of Radiology University of Pennsylvania PGP Key: http://www.cbica.upenn.edu/sbia/bergman
Hey So yes, you're quite right - we have higher order fault tolerant cluster wide methods of dealing with such requirements already. However, I still think the end user should be empowered to be able construct such methods themselves if needs be. Yes, the comment is merely an aid [but also useful as a generic comment field] and as such could be utilised to encode basic metadata into the comment field. I'll log an RFE and see where we go from here. Cheers Jez On 13/09/16 21:51, Yuri L Volobuev wrote:
Hi Jez,
It sounds to me like the functionality that you're _really_ looking for is an ability to to do automated snapshot management, similar to what's available on other storage systems. For example, "create a new snapshot of filesets X, Y, Z every 30 min, keep the last 16 snapshots". I've seen many examples of sysadmins rolling their own snapshot management system along those lines, and an ability to add an expiration string as a snapshot "comment" appears to be merely an aid in keeping such DIY snapshot management scripts a bit simpler -- not by much though. The end user would still be on the hook for some heavy lifting, in particular figuring out a way to run an equivalent of a cluster-aware cron with acceptable fault tolerance semantics. That is, if a snapshot creation is scheduled, only one node in the cluster should attempt to create the snapshot, but if that node fails, another node needs to step in (as opposed to skipping the scheduled snapshot creation). This is doable outside of GPFS, of course, but is not trivial. Architecturally, the right place to implement a fault-tolerant cluster-aware scheduling framework is GPFS itself, as the most complex pieces are already there. We have some plans for work along those lines, but if you want to reinforce the point with an RFE, that would be fine, too.
yuri
Inactive hide details for Jez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there isJez Tucker ---09/13/2016 02:10:31 AM---Hey Yuri, Perhaps an RFE here, but could I suggest there is much value in
From: Jez Tucker <jtucker@pixitmedia.com> To: gpfsug-discuss@spectrumscale.org, Date: 09/13/2016 02:10 AM Subject: Re: [gpfsug-discuss] gpfs snapshots Sent by: gpfsug-discuss-bounces@spectrumscale.org
------------------------------------------------------------------------
Hey Yuri,
Perhaps an RFE here, but could I suggest there is much value in adding a -c <comment> option to mmcrsnapshot?
Use cases:
mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "Before phase 2"
and
mmcrsnapshot myfsname @GMT-2016.09.13-10.00.00 -j myfilesetname -c "expire:GMT-2017.04.21-16.00.00"
Ideally also: mmcrsnapshot fs1 fset1:snapA:expirestr,fset2:snapB:expirestr,fset3:snapC:expirestr
Then it's easy to iterate over snapshots and subsequently mmdelsnapshot snaps which are no longer required. There are lots of methods to achieve this, but without external databases / suchlike, this is rather simple and effective for end users.
Alternatively a second comment like -expire flag as user metadata may be preferential.
Thoughts?
Jez
On 13/09/16 05:32, _Valdis.Kletnieks@vt.edu_ <mailto:Valdis.Kletnieks@vt.edu>wrote:
On Tue, 13 Sep 2016 00:30:19 +0200, Lukas Hejtmanek said: I guess we could reach snapid 100,000.
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 _http://gpfsug.org/mailman/listinfo/gpfsug-discuss_
-- Jez Tucker Head of Research & Product Development Pixit Media_ __www.pixitmedia.com_ <http://www.pixitmedia.com/>
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._______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Product Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com> -- 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.
participants (9)
-
Jez Tucker -
John T Olson -
Laurence Horrocks-Barlow -
Lukas Hejtmanek -
mark.bergman@uphs.upenn.edu -
Simon Thompson (Research Computing - IT Services) -
Sobey, Richard A -
Valdis.Kletnieks@vt.edu -
Yuri L Volobuev
