NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Data Protection

Get-sdsnapshot not showing all fields

michaelsooper
5,745 Views

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
5,700 Views

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
5,701 Views

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.

michaelsooper
5,450 Views

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.

Public