Subscribe

WFA 7toC LUN Migrate Job Update + Cutover - Rapid Error: lun create from file failed

We are trying to WFA to complete 7 to C migration for SAN volumes.  We are using WFA 3.0 with OCUM 6.3 and get the following error: Command failed for Workflow '7toC LUN Migrate Job Update + Cutover - Rapid ' with error : lun create from file failed.  We verified the LUN is online and the host is turned off.

 

Has anyone else seen this issue before?

 

Workflow Logs:

13:04:26.393 INFO [7toC LUN Migrate Job Update + Cutover - Rapid ] ***** Workflow Execution Started *****
13:04:26.409 INFO [No-Op lunMigrate Job] ### Command 'No-Op lunMigrate Job' in 'POWER_SHELL' ###
13:04:29.061 INFO [No-Op lunMigrate Job] This Command does nothing
13:04:29.092 INFO [No-Op lunMigrate Job] Command completed, took 2683 milliseconds
13:04:29.123 INFO [Search or define] ### Command 'Search or define' - Array:: accs002fas011.accs.int & Volume:: dewittpetr_0 ###
13:04:29.154 INFO [Search or define] ### Command 'Search or define' - Vfiler:: vfiler0 ###
13:04:29.201 INFO [Update lunMigrate Job] ### Command 'Update lunMigrate Job' in 'POWER_SHELL' ###
13:04:31.915 INFO [Update lunMigrate Job] Obtaining MySQL location.
13:04:31.962 INFO [Update lunMigrate Job] Preparing Command
13:04:31.993 INFO [Update lunMigrate Job] Executing SQL: UPDATE playground.lunMigrateJob SET State='Rapid Cutover in progress' WHERE TargetCluster='accs002nac01' AND TargetVserver='accs002nac01san' AND TargetVolume='dewittpetr_0'
13:04:32.056 INFO [Update lunMigrate Job] Command completed, took 2855 milliseconds
13:04:32.118 INFO [7toC LUN Migrate Rapid Cutover] ### Command '7toC LUN Migrate Rapid Cutover' in 'POWER_SHELL' ###
13:04:34.989 INFO [7toC LUN Migrate Rapid Cutover] Get-WfaCredentials -Host 10.160.96.40
13:04:35.098 INFO [7toC LUN Migrate Rapid Cutover] Connect-NaController (without credentials) -Name 10.160.96.40 -Vfiler vfiler0 -Timeout 180000 -ErrorAction Stop
13:04:36.611 INFO [7toC LUN Migrate Rapid Cutover] Connected to controller
13:04:36.689 INFO [7toC LUN Migrate Rapid Cutover] Fetching LUNs on dewittpetr_0
13:04:38.873 INFO [7toC LUN Migrate Rapid Cutover] Get-WfaCredentials -Host 10.160.96.40
13:04:38.920 INFO [7toC LUN Migrate Rapid Cutover] Connect-NaController (without credentials) -Name 10.160.96.40 -Timeout 180000 -ErrorAction Stop
13:04:39.497 INFO [7toC LUN Migrate Rapid Cutover] Connected to controller
13:04:39.528 INFO [7toC LUN Migrate Rapid Cutover] Searching for a snapmirror relationship to /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree
13:04:40.402 INFO [7toC LUN Migrate Rapid Cutover] Found an existing snapmirror fromaccs002fas011:/vol/dewittpetr_0/- to /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree. Current state = broken-off
13:04:41.244 INFO [7toC LUN Migrate Rapid Cutover] Replication tokens free on source: 100%, on destination: 100%. Minfree: 10. Continuing...
13:04:41.260 INFO [7toC LUN Migrate Rapid Cutover] Performing resync transfer from accs002fas011:/vol/dewittpetr_0/- to /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree
13:04:47.453 INFO [7toC LUN Migrate Rapid Cutover] State 'snapmirrored', Status 'transferring', TransferProgress '0'
13:04:57.811 INFO [7toC LUN Migrate Rapid Cutover] State 'snapmirrored', Status 'idle', TransferProgress '0'
13:04:58.217 INFO [7toC LUN Migrate Rapid Cutover] Found QSM. It is currently in state snapmirrored with status idle
13:04:58.233 INFO [7toC LUN Migrate Rapid Cutover] Quiescing QSM to /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree
13:04:59.278 INFO [7toC LUN Migrate Rapid Cutover] Breaking the QSM
13:05:00.058 INFO [7toC LUN Migrate Rapid Cutover] Converting LUN: /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun
13:05:01.415 INFO [7toC LUN Migrate Rapid Cutover] Creating directory /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun==dir
13:05:02.195 INFO [7toC LUN Migrate Rapid Cutover] Attempting to create hard link from /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun to /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun==dir/body using
13:05:03.381 INFO [7toC LUN Migrate Rapid Cutover] Opening export rule on dewittpetr_0_stg1
13:05:03.755 INFO [7toC LUN Migrate Rapid Cutover] Running command: C:\Program Files (x86)\NetApp\NFShardlink\NFShardlink.exe '10.169.41.40' '/vol/dewittpetr_0_stg1' 'dewittpetr_0_root_qtree\dewittpetr_0_boot_lun' dewittpetr_0_root_qtree\dewittpetr_0_boot_lun==dir\body'
13:05:04.504 INFO [7toC LUN Migrate Rapid Cutover] Command output: ''
13:05:04.519 INFO [7toC LUN Migrate Rapid Cutover] Reverting export rule on dewittpetr_0_stg1
13:05:06.859 INFO [7toC LUN Migrate Rapid Cutover] Writing /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun==dir/properties
13:05:07.546 INFO [7toC LUN Migrate Rapid Cutover] Fetching LUNs on dewittpetr_0_stg1
13:05:08.201 INFO [7toC LUN Migrate Rapid Cutover] Checking for LUN mappings for LUNs on dewittpetr_0_stg1
13:05:08.497 INFO [7toC LUN Migrate Rapid Cutover] Removing LUN /vol/dewittpetr_0_stg1/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun
13:05:08.856 INFO [7toC LUN Migrate Rapid Cutover] Handling Transitional SnapMirror update for relationship to //accs002nac01san/dewittpetr_0
13:05:08.887 INFO [7toC LUN Migrate Rapid Cutover] Get-WfaCredentials -Host 10.169.73.10
13:05:08.903 INFO [7toC LUN Migrate Rapid Cutover] Credentials successfully provided for '10.169.73.10'
13:05:08.950 INFO [7toC LUN Migrate Rapid Cutover] Connect-Controller -Type CLUSTER -Name 10.169.73.10 -Credential System.Management.Automation.PSCredential -Vserver -Timeout 180000
13:05:08.981 INFO [7toC LUN Migrate Rapid Cutover] Connect-NcController (with credentials) -Name 10.169.73.10 -Timeout 180000 -ErrorAction Stop
13:05:11.727 INFO [7toC LUN Migrate Rapid Cutover] Connected to cluster node
13:05:12.772 INFO [7toC LUN Migrate Rapid Cutover] Snapmirror to //accs002nac01san/dewittpetr_0 is snapmirrored and idle. Proceeding with update
13:05:13.131 INFO [7toC LUN Migrate Rapid Cutover] Replication tokens free on source: 100%. Minfree: 10. Continuing...
13:05:13.349 INFO [7toC LUN Migrate Rapid Cutover] Snapmirror update //accs002nac01san/dewittpetr_0 initiated
13:05:13.411 INFO [7toC LUN Migrate Rapid Cutover] Handling Transitional SnapMirror initialization for relationship to //accs002nac01san/dewittpetr_0
13:05:13.661 INFO [7toC LUN Migrate Rapid Cutover] SnapMirror transfer in progress. Transferred 0 bytes so far.
13:05:23.988 INFO [7toC LUN Migrate Rapid Cutover] SnapMirror transfer in progress. Transferred 0 bytes so far.
13:05:34.347 INFO [7toC LUN Migrate Rapid Cutover] SnapMirror transfer in progress. Transferred 0 bytes so far.
13:05:44.705 INFO [7toC LUN Migrate Rapid Cutover] SnapMirror initialization completed successfully. Transferred 446464 bytes.
13:05:44.736 INFO [7toC LUN Migrate Rapid Cutover] Handling Transitional SnapMirror break for relationship to //accs002nac01san/dewittpetr_0
13:05:44.970 INFO [7toC LUN Migrate Rapid Cutover] Snapmirror to //accs002nac01san/dewittpetr_0 is snapmirrored and idle. Proceeding with break
13:06:00.368 INFO [7toC LUN Migrate Rapid Cutover] Snapmirror break //accs002nac01san/dewittpetr_0 completed
13:06:00.415 INFO [7toC LUN Migrate Rapid Cutover] Connecting cluster : 10.169.73.10
13:06:00.446 INFO [7toC LUN Migrate Rapid Cutover] Get-WfaCredentials -Host 10.169.73.10
13:06:00.446 INFO [7toC LUN Migrate Rapid Cutover] Credentials successfully provided for '10.169.73.10'
13:06:00.477 INFO [7toC LUN Migrate Rapid Cutover] Connect-Controller -Type CLUSTER -Name 10.169.73.10 -Credential System.Management.Automation.PSCredential -Vserver accs002nac01san -Timeout 180000
13:06:00.493 INFO [7toC LUN Migrate Rapid Cutover] Connect-NcController (with credentials) -Name 10.169.73.10 -Vserver accs002nac01san -Timeout 180000 -ErrorAction Stop
13:06:02.645 INFO [7toC LUN Migrate Rapid Cutover] Connected to cluster node
13:06:03.098 INFO [7toC LUN Migrate Rapid Cutover] Converting Dir /vol/dewittpetr_0/dewittpetr_0_root_qtree/dewittpetr_0_boot_lun==dir into LUN /vol/dewittpetr_0/dewittpetr_0_boot_lun
13:06:06.062 INFO [7toC LUN Migrate Rapid Cutover] Creating lun /vol/dewittpetr_0/dewittpetr_0_boot_lun. Properties: type=windows_2008
size=96647040000
prefix=0
suffix=0
maxsize=1078087449600
sectors=126
tracks=255
cylinders=5875
serial=D0hza$DLqETl
reserved=False
backingsnapshot=
comment=
maplist=dewittpetr_0=0
igroup.dewittpetr_0.type=fcp
igroup.dewittpetr_0.ostype=windows
igroup.dewittpetr_0.initiators=20:00:00:25:b5:0a:02:bf,20:00:00:25:b5:0b:01:df

13:06:06.779 INFO [7toC LUN Migrate Rapid Cutover] Orig size: 96647040000. Cylinder size: 16450560. CreateSize: 96647040000
13:06:07.185 INFO [7toC LUN Migrate Rapid Cutover] Current number of clone operations active on accs002nac01-02: 0 - continuing
13:06:07.201 INFO [7toC LUN Migrate Rapid Cutover] Cloning source file on Volume dewittpetr_0 from /dewittpetr_0_root_qtree/dewittpetr_0_boot_lun==dir/body to /dewittpetr_0_boot_lun==tmpclone
13:06:19.057 INFO [7toC LUN Migrate Rapid Cutover] Creating empty prefix stream on /vol/dewittpetr_0/dewittpetr_0_boot_lun==tmpclone
13:06:19.306 INFO [7toC LUN Migrate Rapid Cutover] Creating empty suffix stream on /vol/dewittpetr_0/dewittpetr_0_boot_lun==tmpclone
13:06:19.478 INFO [7toC LUN Migrate Rapid Cutover] Creating dummy attributes stream on /vol/dewittpetr_0/dewittpetr_0_boot_lun==tmpclone
13:06:19.743 INFO [7toC LUN Migrate Rapid Cutover] Creating lun /vol/dewittpetr_0/dewittpetr_0_boot_lun---tmplun from clone file /vol/dewittpetr_0/dewittpetr_0_boot_lun==tmpclone
13:06:19.821 INFO [7toC LUN Migrate Rapid Cutover] Command: <system-cli><priv>diagnostic</priv><args><arg>lun</arg><arg>create</arg><arg>-vserver</arg><arg>accs002nac01san</arg><arg>-path</arg><arg>/vol/dewittpetr_0/dewittpetr_0_boot_lun---tmplun</arg><arg>-ostype</arg><arg>windows_2008</arg><arg>-space-reserve</arg><arg>disabled</arg><arg>-prefix-size</arg><arg>0</arg><arg>-suffix-size</arg><arg>0</arg><arg>-file-path</arg><arg>/vol/dewittpetr_0/dewittpetr_0_boot_lun==tmpclone</arg></args></system-cli>
13:06:19.977 INFO [7toC LUN Migrate Rapid Cutover] Command output: ''. Result value: 0
13:06:20.008 INFO [7toC LUN Migrate Rapid Cutover] Error occurred (System.Management.Automation.RuntimeException: lun create from file failed: ) - cleaning up
13:06:20.227 INFO [7toC LUN Migrate Rapid Cutover] Cleanup - Remove lun /vol/dewittpetr_0/dewittpetr_0_boot_lun failed: entry doesn't exist
13:06:20.383 INFO [7toC LUN Migrate Rapid Cutover] Cleanup - Remove lun /vol/dewittpetr_0/dewittpetr_0_boot_lun---tmplun failed: entry doesn't exist
13:06:20.601 INFO [7toC LUN Migrate Rapid Cutover] Cleanup - Remove file /vol/dewittpetr_0/dewittpetr_0_boot_lun---tmplun failed: No such file or directory
13:06:20.835 ERROR [7toC LUN Migrate Rapid Cutover] lun create from file failed:
13:06:21.069 ERROR [7toC LUN Migrate Rapid Cutover] Command failed for Workflow '7toC LUN Migrate Job Update + Cutover - Rapid ' with error : lun create from file failed:
13:06:21.085 INFO [7toC LUN Migrate Rapid Cutover] ***** Workflow Execution Failed *****

Re: WFA 7toC LUN Migrate Job Update + Cutover - Rapid Error: lun create from file failed

Well i had the same issue and i was running out of time so i have migrated them using  7-Mode transition tool ( 7MTT ) to migrate  from 7-Mode to Cluster mode

 

 

Documentation :- https://mysupport.netapp.com/documentation/productlibrary/index.html?productID=61584#noplatform

 

 

7MTT Download :- https://mysupport.netapp.com/NOW/cgi-bin/software/?product=7-Mode+Transition+Tool&platform=Windows

 

 

 

Thanks,

Nayab