vCenter

 View Only
  • 1.  How does Converter handle open files?

    Posted Feb 07, 2007 05:51 PM

    If I resize my disks and it does a file/file copy on a hot migration. Am I guaranteed every file from the source server will be copied to the desitnation server. What does Converter do if a file is locked by an application or the OS and it cannot copy it? I normally shutdown all the services I can before doing the migration but I'm sure the OS still has files open.



  • 2.  RE: How does Converter handle open files?

    Posted Feb 07, 2007 05:57 PM

    A disk snapshot shadow copy is immediately taken, and then most of the time is spent copying that snapshot. Whatever files are open at the time of the snapshot may not have data committed and the copy is crash-consistent. Subsequent changes to the files after the snapshot are not captured.



  • 3.  RE: How does Converter handle open files?

    Posted Feb 07, 2007 08:58 PM

    Where does it store the snapshot? Does it create a separate image file on the source disk, or on the ESX server?



  • 4.  RE: How does Converter handle open files?

    Posted Feb 07, 2007 09:00 PM

    It stores the snapshot on the machine being imported. That is why you need at least 200MB of free space to install and use the agent.



  • 5.  RE: How does Converter handle open files?

    Posted Feb 07, 2007 09:24 PM

    I'm curious though, if I have 10GB of data, how does it store all that in a 200MB snapshot footprint? I'm assuming it is not preserving the original disk and creating re-do files like Vmware does when you create snapshots....thanks



  • 6.  RE: How does Converter handle open files?
    Best Answer

    Posted Feb 07, 2007 09:42 PM

    The snapshot creates a point-in-time reference and tracks block-level changes to the files in the filesystem. The cloning uses the snapshot and the files to assemble a reasonable picture of what the entire disk looked like. I imagine that if you start deleting files while the cloning is in progress, those files will not make it across in the cloning.



  • 7.  RE: How does Converter handle open files?

    Posted Dec 11, 2013 04:01 AM

    How about with Linux hot cloning, does anyone know how it handles locked / open file as the Volume Shadow service does not exist?

    I am curious as it appears that the SSH Config file was lost during the conversion of a Linux machine and wondering if it could be down to a locked file issue.




  • 8.  RE: How does Converter handle open files?

    Posted Dec 11, 2013 07:15 AM

    Hello

    Converter uses 'tar' over SSH to copy files. In Linux, a file being open by another application, does not prevent it from being copied. The risk here is possibly inconsistent data (for files changed on the source during conversion).

    Is it possible the file has been removed from the source machine during the conversion?



  • 9.  RE: How does Converter handle open files?

    Posted Dec 11, 2013 07:23 AM

    Thanks for your reply. I believe that it may have been removed, although I don't know why. Unfortunately my knowledge if Linux is very limited so I don't know why this file would be removed, I know that the engineers were modifying it to give someone root access, but it shouldn't have been removed