Re: [gpfsug-discuss] Bit of a rant about snapshot command syntax changes
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@2016-07-31T13:00:07Z –j 1000466 to this: mm{cr|del}snapshot fs100 1000466:SNAP@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@2016-07-31T13:00:07Z Thx Paul From: gpfsug-discuss-boun...@spectrumscale.org [mailto:gpfsug-discuss-boun...@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" mailto:r.so...@imperial.ac.uk>> To:"'gpfsug-discuss@spectrumscale.org'" mailto:gpfsug-discuss@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-boun...@spectrumscale.org<mailto:gpfsug-discuss-boun...@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 ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Re: [gpfsug-discuss] Bit of a rant about snapshot command syntax changes
Thanks Marc. Regrettably in this case, the only way I knew to delete a snapshot (listed below) has broken going from 3.5 to 4.2.1. Creating snaps has suffered the same fate. From: gpfsug-discuss-boun...@spectrumscale.org [mailto:gpfsug-discuss-boun...@spectrumscale.org] On Behalf Of Marc A Kaplan Sent: 16 September 2016 15:22 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" mailto:r.so...@imperial.ac.uk>> To:"'gpfsug-discuss@spectrumscale.org'" mailto:gpfsug-discuss@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-boun...@spectrumscale.org<mailto:gpfsug-discuss-boun...@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 ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
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" To: "'gpfsug-discuss@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-boun...@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 ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss