ONTAP SAN after Windows reboot LUN disappears
Applies to
- ONTAP 9.14 and later
- SnapMirror
Issue
- LUN disappeared after LUN move and release of the base Snapshot for the Snapmirror Consistency Group
- SCSI disk entries are moved to hidden state when MPIO is configured
- Microsoft MPIO shows
Event ID 47
after a LUN migration and device name displaysDisk -1
for all the target ports:

- New
target-port-groups
IDs are created with a higher order (i.e 13e9 comes before the original 13e8) and thereport_new_rtpgids flag
is set to 1
cluster2::*> debug san lun show-target-port-groups
Vserver Node Path Target Port Groups
------- -------------------- ----- ------------------------------------------
svm1_cluster2 /vol/NetApp/NetApp
<snip>
/vol/vol_sql1_db_dest/sql1_db
cluster2-01 13e9 Active/Non-Optimized: 2
13e8 Active/Optimized: 1
cluster2-02 13e9 Active/Non-Optimized: 2
13e8 Active/Optimized: 1
cluster2::*> statistics show -object lun -counter scsit_lu_flag_status -node cluster2-01 -raw
Object: lun
Instance: /vol/vol_sql1_db_dest/sql1_db
Start-time: 1/8/2025 14:02:33
End-time: 1/8/2025 14:02:33
Scope: svm1_cluster2
Number of Constituents: 1 (complete_aggregation)
Counter Value
-------------------------------- --------------------------------
scsit_lu_flag_status -
lu_readonly 0
report_new_rtpgids 1