Data ONTAP Discussions

Re: unable to see snapshots in Windows Explorer - Previous Versions

The show-previous-versions was the issue.  It doesn't transition with volumes migrated with the 7-MTT.

Re: unable to see snapshots in Windows Explorer - Previous Versions

 Kosta93's solution worked for us follwing migration to ONTAP 9. You can run the command in one line, though I couldn't find a way to change multiplie shares with a one-liner. 

 

share properties add -vserver <vserver-name> -share-name <share-name> -share-properties showsnapshot, show-previous-versions

 

Re: unable to see snapshots in Windows Explorer - Previous Versions

If you simply want to set it on all shares you can use * for the share name or a partial name with a * to act as a wildcard. Even though the filer will likely give some errors for the admin and ipc shares it works fine for the others

 

 

yourvservername::*> vserver cifs share properties add -vserver yourvservername -share-name * -share-properties show-previous-versions

 

Error: command failed on vserver "yourvservername" share-name "admin$": Failed to modify CIFS share "admin$". Reason: Cannot modify the share-properties of the standard share "admin$".

Warning: Do you want to continue running this command? {y|n}: y

 

Error: command failed on vserver "yourvservername" share-name "ipc$": Failed to modify CIFS share "ipc$". Reason: Cannot modify the share-properties of the standard share "ipc$".

Warning: Do you want to continue running this command? {y|n}: y

 

259 entries were acted on.

yourvservername::*>

Try the new BETA Support Site!
Beta Support Site
Forums