ONTAP Discussions

Changing LUN serial numbers

GTHOMAS13
4,967 Views

Hello All,

 

After creating an FC LUN and changing the LUN serial number on production side (which conforms with architectural design) the default LUN serial number still displays on the SVM DR after the replication has happened.

Is there a way to modify the LUN serial number on the SVM DR LUN?

When i issue the command, i get the error message as show below.

::> lun modify -vserver (vserver_name) -path (/vol/volume/lun) -serial (serial_number)

Error: command failed: This operation is not permitted on a Vserver that is configured as the destination for Vserver DR.

 

1 ACCEPTED SOLUTION

jaikumar
4,799 Views

SVM DR irrespective of the id preserve flags doesnt replicate the LUN Serial number between src and destination (OR any of other SAN Objects).  And you cannot modify the LUN serial number of the Destination VServer. The SVM DR must be failed over  before the LUN serial number can be changed. 

--

 

View solution in original post

8 REPLIES 8

SpindleNinja
4,938 Views

Why?   

GTHOMAS13
4,920 Views

@SpindleNinja which part of my question are you asking why too?

SpindleNinja
4,918 Views

Why the need to change the lun serial in an SVM-DR config/relationship.    

 

GTHOMAS13
4,868 Views

The FC boot LUN's follow a serial number naming convention, decided on by the implementation team.

 

I've recreated a new LUN for ESXi, as the current one was corrupted, changed the serial number of the LUN to match the old one. But now on the DR side it still reflects the old default serial number and i can't modify the DR lun.

 

Hope I'm been clear.

SpindleNinja
4,848 Views

Yep. Though ya, you'd think it would just update it.  What's the preserve identity flag set to? 

 

Have you tried a resync?  https://kb.netapp.com/Advice_and_Troubleshooting/Data_Protection_and_Security/SnapMirror/How_to_perform_a_%22snapmirror_resync%22_on_a_Storage_Virtual...

GTHOMAS13
4,819 Views

identity-preserve flag is set to true.

 

I've not tried a re-sync, but will read through that article you've provided.

jaikumar
4,800 Views

SVM DR irrespective of the id preserve flags doesnt replicate the LUN Serial number between src and destination (OR any of other SAN Objects).  And you cannot modify the LUN serial number of the Destination VServer. The SVM DR must be failed over  before the LUN serial number can be changed. 

--

 

GTHOMAS13
4,719 Views

Thank you for response.

 

I presume, only if the LUN was created prior to SVM DR setup would it replicate the updated LUN serial number to the other site?

Public