Data Backup and Recovery Discussions

Get-sdsnapshot not showing all fields

michaelsooper

When I run get-sdsnapshot all of the fields have blank entries with the exception of the name, the filer name, and the full paths. It iis the same way for snapshots created with the SnapDrive GUI, CLI, the powershell and on the filer itself. I am running SnapDrive 7.1.2

 

If I snap list via the CLI, I get all expected fields back for the CLI.

1 ACCEPTED SOLUTION

matte

Hi

 

yes, at this stage the SnapDrive cmdlet 'Get-SdSnapshot' does not return snapshot size (TotalBlocks, TotalKb and some other information) for LUNs.
The same cmdlet does return snapshot size output when an SMB share is being used.

 

The possible workaround is to use the Data ONTAP PowerShell toolkit to return this information instead.

View solution in original post

2 REPLIES 2

matte

Hi

 

yes, at this stage the SnapDrive cmdlet 'Get-SdSnapshot' does not return snapshot size (TotalBlocks, TotalKb and some other information) for LUNs.
The same cmdlet does return snapshot size output when an SMB share is being used.

 

The possible workaround is to use the Data ONTAP PowerShell toolkit to return this information instead.

View solution in original post

michaelsooper

Thanks. I ended up going with the Data ONTAP Powershell module. The downside is that I have to connect to the filer first, but overall it's much better for cleaning up snapshots by date without having to jump through hoops.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public