[gpfsug-discuss] Bit of a rant about snapshot command syntax changes
Sanchez, Paul
Paul.Sanchez at deshaw.com
Fri Sep 16 20:49:14 BST 2016
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 at 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_gpfsug.org/attachments/20160916/7f6fbcc6/attachment-0002.htm>
More information about the gpfsug-discuss
mailing list