I'm trying to move a VM from one SAN LUN to another with the Relocate VM files option while doing a migration.
It reaches 100% but ends with a General system error.
Does anyone know the cause og this problem?
Is the only way to move VM files to copy them manually, remove them from inventory and then add them back?
vmkfstools -L release or -L lunreset /vmfs/devices/disks/vmhbaA:T:L:P
to free the LUN from a lock but this will affect the entire LUN.
Usually is because there is some kind of lock on the files.
Do you have any console opened?
Can you post the error logs about this issue?
How can I check which file is locked and which process is locking it?
I tried to locate the log containing the relocate event, but I can't find anything. Do you know which log it is?
vmkfstools -L release or -L lunreset /vmfs/devices/disks/vmhbaA:T:L:P
to free the LUN from a lock but this will affect the entire LUN.
To search in the log open VI client and go to Admin -> logs then enter keyword to search (something like "relocate" or "move")
I'm not that used to VI so I have a little trouble with locating the Admin mode/function.
Which log file contains the relocate files operation.
I can then use a "less "NameOfLog" |grep relocate" command.
Unfortunately I don't have a console available right now but I think you must search under /var/log/vmware
so less *.log |grep relocate