Options
- Mark all as New
- Mark all as Read
- Float this item to the top
- Subscribe
- Bookmark
- Subscribe to RSS Feed
- Threaded format
- Linear Format
- Sort by Topic Start Date
Board Activity
I have a powershell script that has been working well for the past 4 yrs., Recently I migrated the script to a new environment and it started giving errors what the script does is to login the source filer A, change the snapshots' snapmirror labels to "daily" then snapvault these snapshots to the destination filer B When i run it, it seems the script is able to login both filer A and filer B, and replicate the snapshots over. It failed on getting the snapshots, and gave me 400 errors are below PS C:\Users\adm_gwen> powershell.exe E:\Scripts\Veeam-NetAppSnaplock\Set-SM-Label-Update_SV-With-File_Input.ps1 -PrimaryCluster "PUG3AXRSTR1.pue1m.ad" -PrimarySVM "PUG3AXRSTR1-vs01" -ClusterUser veeam -ClusterPass "E:\Scripts\Veeam-NetAppSnaplock\password.txt" -PassKey "E:\Scripts\Veeam-NetAppSnaplock\AES.key" -SecondaryCluster "pcs1bxdsbr.pcs1m.ad" -SecondarySVM "pcs1bxdsbr-uge-vs01" -VolumeListFile "E:\Scripts\Veeam-NetAppSnaplock\SiteA_pug3axrstr_oasys.txt" [04.03.2025 15:01:22] Starting new log file [04.03.2025 15:01:22] Trying to load NetApp Powershell module [04.03.2025 15:01:22] Loaded NetApp Powershell module sucessfully [04.03.2025 15:01:22] Trying to connect to SVM PUG3AXRSTR1-vs01 on cluster PUG3AXRSTR1.pue1m.ad [04.03.2025 15:01:24] Connection established to PUG3AXRSTR1-vs01 on cluster PUG3AXRSTR1.pue1m.ad Get-NcSnapshot : The remote server returned an error: (400) Bad Request. At E:\Scripts\Veeam-NetAppSnaplock\Set-SM-Label-Update_SV-With-File_Input.ps1:239 char:3 + Get-NcSnapshot -SnapName *Veeam* | Set-NcSnapshot -SnapmirrorLabel ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-NcSnapshot], WebException + FullyQualifiedErrorId : System.Net.WebException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.GetNcSnapshot [04.03.2025 15:01:24] Trying to connect to SVM pcs1bxdsbr-uge-vs01 on cluster pcs1bxdsbr.pcs1m.ad [04.03.2025 15:01:28] Connection established to pcs1bxdsbr-uge-vs01 on cluster pcs1bxdsbr.pcs1m.ad [04.03.2025 15:01:28] File E:\Scripts\Veeam-NetAppSnaplock\SiteA_pug3axrstr_oasys.txt was found [04.03.2025 15:01:29] Volume tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_even01_vol was found [04.03.2025 15:01:29] SecondarySVM: pcs1bxdsbr-uge-vs01 [04.03.2025 15:01:29] SecondaryVolume: tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_even01_vol VERBOSE: Updating SnapMirror with destination //pcs1bxdsbr-uge-vs01/tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_even01_vol. NcController : pcs1bxdsbr.pcs1m.ad ResultOperationId : 76301282-f933-11ef-bcd2-d039eabd3a83 ErrorCode : ErrorMessage : JobId : JobVserver : Status : succeeded Uuid : Message : [04.03.2025 15:01:29] Volume tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_odd01_vol was found [04.03.2025 15:01:29] SecondarySVM: pcs1bxdsbr-uge-vs01 [04.03.2025 15:01:29] SecondaryVolume: tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_odd01_vol VERBOSE: Updating SnapMirror with destination //pcs1bxdsbr-uge-vs01/tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_bc_odd01_vol. NcController : pcs1bxdsbr.pcs1m.ad ResultOperationId : 768f5208-f933-11ef-bcd2-d039eabd3a83 ErrorCode : ErrorMessage : JobId : JobVserver : Status : succeeded Uuid : Message : [04.03.2025 15:01:30] Volume tp_pug3axrstr1_vs01_pgu3arj_esx_ds_data_nbc_even01_vol was found Any help is appreciated!
... View more
By powershelbeginner ContributorONTAP Discussions2025-03-0412:10 PM
644 Views
0
5
Hi everyone, We're currently investigating some significant differences in the reported physical used capacity between NetApp versions 9.13 and 9.14 and would appreciate your insights. In version 9.13, when querying the physical used capacity using the CLI command volume show -volume Apr* -fields size,available,total,used,physical-used, we received the following results: vserver volume size available total used physical-used -------- ----------- ------- --------- ------- ----- ------------- NetApp_2 Apr_ss_15gb 17.89GB 17.89GB 17.89GB 340KB 340KB NetApp_2 Apr_ss_70gb 78.86GB 78.86GB 78.86GB 308KB 308KB However, when querying the same information in version 9.14 with the same CLI command, volume show -volume Apr* -fields size,available,total,used,physical-used,we observed a notable increase in the reported physical used capacity: vserver volume size available total used physical-used -------- ----------- ------- --------- ------- ----- ------------- NetApp_2 Apr_ss_15gb 17.89GB 17.89GB 17.89GB 468KB 17.99GB NetApp_2 Apr_ss_70gb 78.86GB 78.86GB 78.86GB 456KB 79.30GB We're trying to understand the reasons behind this discrepancy: What constitutes physical used capacity in NetApp? What changes were made between versions 9.13 and 9.14 that could account for the differences in physical used capacity? What additional data is included in the calculation of physical used capacity in version 9.14 compared to version 9.13? Where can we find documentation or resources detailing these changes to better understand how to interpret the physical used metric in our storage environment? Any insights or guidance you can provide would be greatly appreciated. Thank You.!
... View more
By vemusContributorONTAP Discussions2024-05-2902:23 AM
707 Views
0
2
Hello, I connected LUN Netapp on windows server. It works prefectly but, i found that antiransomware is not enable on LUN Netapp. 😞 Also, it seems, it is not possible to restore file, just somes files on LUN volume from snapshot, that is true ? It is possible restore all the volume but not somes files Also, tiering policy not work on LUN volume ? thanks a lot
... View more
By mulbzhOccasional ContributorONTAP Discussions2025-03-0412:34 AM
473 Views
0
4
I'm about to upgrade our SnapCenter infrastructure from 5.0P2 to 6.1P1, with the exception of five SQL Servers running Windows Server 2008R2 and 2012R2 [and yes we are pushing them to migrate to new servers]. Those Windows versions can't run SC 6.x [or for that matter some of the new prerequisites like the new PowerShell version requirement]. The problem: I just discovered that the IMT indicates that both 6.0.1 and 6.1 running on the SC server is not compatible with 5.x Windows or SQL plug-ins. I could upgrade only to 6.0 I suppose, which can run the Windows 5.x plug-in and possibly the SQL one [I say possibly because the online documentation and IMT for the plug-in say the SQL 5.x plug-in is compatible, but the IMT for the server says it is not]. Any suggestions? Is 6.0 sufficiently stable without going to 6.0.1 or 6.1? Is 6.0 in fact compatible with the SQL 5.x plug-in?
... View more
By TMADOCTHOMASTop Community AdviserONTAP Discussions
a week ago
- Tags:
- SnapCenter
239 Views
0
2
Hi, trying to use ansible to create fc target for a vserver but no luck, playbook below , the error is fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error: the python NetApp-Lib module is required. Import error: No module named 'netapp_lib'"} not sure what is missing, any idea? playbook -- - hosts: localhost vars: netapp_hostname: cluster01 netapp_username: svmadmin vars_prompt: - name: netapp_password prompt: "Please enter Netapp password (hidden from output)" private: yes tasks: - name: Create FCP interface netapp.ontap.na_ontap_interface: vserver: svmfcp31 state: present interface_name: svmtest_0g_tgt interface_type: fc data_protocol: fcp current_node: node-01 current_port: 0g role: data failover_policy: disabled force_subnet_association: false admin_status: up hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"
... View more
By murad12ContributorONTAP Discussions
Friday
- Tags:
- interface
340 Views
0
3