[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpfsug-discuss
Subject:    [gpfsug-discuss] Bit of a rant about snapshot command syntax	changes
From:       Paul.Sanchez () deshaw ! com (Sanchez, Paul)
Date:       2016-09-16 19:49:14
Message-ID: 3e1f02b30e1a49ef950de7910801f5d1 () mbxtoa1 ! winmail ! deshaw ! com
[Download RAW message or body]

The old syntax works unless have a colon in your snapshot names.  In that case, the \
portion before the first colon will be interpreted as a fileset name.  So if you use \
RFC 3339/ISO 8601 date/times, that?s a problem:

The syntax for creating and deleting snapshots goes from this:

mm{cr|del}snapshot fs100 SNAP at 2016-07-31T13:00:07Z ?j 1000466

to this:

mm{cr|del}snapshot fs100 1000466:SNAP at 2016-07-31T13:00:07Z

If you are dealing with filesystem level snapshots then you just need a leading \
colon:

mm{cr|del}snapshot fs100 :SNAP at 2016-07-31T13:00:07Z

Thx
Paul

From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces at \
                spectrumscale.org] On Behalf Of Marc A Kaplan
Sent: Friday, September 16, 2016 10:22 AM
To: gpfsug main discussion list
Subject: Re: [gpfsug-discuss] Bit of a rant about snapshot command syntax changes

I think at least the most popular old forms still work, even if the documentation and \
usage messages were scrubbed. So generally, for example, neither your scripts nor \
your fingers will break. ;-)




From:        "Sobey, Richard A" <r.sobey at imperial.ac.uk<mailto:r.sobey at \
                imperial.ac.uk>>
To:        "'gpfsug-discuss at spectrumscale.org'" <gpfsug-discuss at \
                spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Date:        09/16/2016 07:02 AM
Subject:        [gpfsug-discuss] Bit of a rant about snapshot command syntax changes
Sent by:        gpfsug-discuss-bounces at \
spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org> \
________________________________



Why was mmdelsnapshot (and possibly other snapshot related commands) changed from:

Mmdelsnapshot device snapshotname ?j filesetname

TO

Mmdelsnapshot device filesetname:snapshotname

..between 4.2.0 and 4.2.1?

It?s mildly irritating to say the least!

Richard
 _______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss/attachments/20160916/7f6fbcc6/attachment.html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic