Software Development Kit (SDK) and API Discussions

Can't read snapshot contents using Read-NcDirectory (Record doesn't exist)

DavidsMidnightMagic
35 Views

Hello community,

 

I try to read the contents of a volume snapshot by using Read-NcDirectory but I get always "WARNING: Record doesn't exist".

The volume itself is readable, also the .snapshot directory, but not the contents of a snapshot.

Using NFS or CIFS there is no problem to read the contents.

 

snapdir-acces of the volume: true

172.17.208.200 is a Vserver LIF.

Login user role: vsadmin

Login user application: http

PSTK Version: 9.16.1.2501

ONTAP Version: 9.12.1P3

 

PS C:\Windows\system32> Connect-NcController 172.17.208.200

Name                 Address           Vserver              Version
----                 -------           -------              -------
172.17.208.200       172.17.208.200    mytestvs             NetApp Release 9.12.1P3: Tue May 02 13:02:11 UTC 2023


PS C:\Windows\system32> Read-NcDirectory -Path /vol/mytestvol/.snapshot

Name                                     Type            Size      Created     Modified Owner Group   Perm Empty
----                                     ----            ----      -------     -------- ----- -----   ---- -----
.                                        directory       4 KB    5/19/2021    2/27/2025     0     0    777 False
..                                       directory       4 KB    5/19/2021    1/31/2025     0     0    777 False
daily.2025-02-21_0010                    directory       4 KB    5/19/2021    1/31/2025     0     0    777 False

PS C:\Windows\system32> Read-NcDirectory -Path /vol/mytestvol/.snapshot/daily.2025-02-21_0010
WARNING: Record doesn't exist
PS C:\Windows\system32>

 

Every hint / idea is welcome.

0 REPLIES 0
Public