vCenter

 View Only
  • 1.  General system error when relocate VM files

    Posted Jun 07, 2007 08:52 AM

    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?



  • 2.  RE: General system error when relocate VM files

    Posted Jun 07, 2007 11:14 AM

    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?



  • 3.  RE: General system error when relocate VM files

    Posted Jun 07, 2007 11:40 AM

    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?



  • 4.  RE: General system error when relocate VM files
    Best Answer

    Posted Jun 07, 2007 12:02 PM

    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.



  • 5.  RE: General system error when relocate VM files

    Posted Jun 07, 2007 12:03 PM

    To search in the log open VI client and go to Admin -> logs then enter keyword to search (something like "relocate" or "move")



  • 6.  RE: General system error when relocate VM files

    Posted Jun 07, 2007 12:21 PM

    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.



  • 7.  RE: General system error when relocate VM files

    Posted Jun 07, 2007 12:35 PM

    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