VMware vSphere

 View Only
  • 1.  Unable to consolidate virtual machine disk

    Posted Sep 26, 2019 08:55 AM

    Hi all,

    We have register a VM on vCenter and unfortunately, it seems that the disk consolidation is needed.

    But unfortunately, when we run the consolidation, we are getting this error message :

    An error occurred while consolidating disks: msg.disklib.FILENOPERMISSION.

    We tried to stop the VM but unfortunately no luck still the same error message.

    Did anyone already face this issue ?

    Thanks



  • 2.  RE: Unable to consolidate virtual machine disk

    Posted Sep 26, 2019 09:21 AM

    Hi,

    Instead of registering the vm, a solution could be to import it with the Vcenter Converter on the Esxi.

    ARomeo



  • 3.  RE: Unable to consolidate virtual machine disk

    Posted Sep 26, 2019 11:51 AM

    Hello Alessandro,

    Thanks for your reply.

    I'm wondering, why should I use the vcenter converter ? The vm was already running on the vcenter long time ago.

    Nothing has changed, samce vcenter, same version, same vm.

    Thanks.



  • 4.  RE: Unable to consolidate virtual machine disk

    Posted Sep 26, 2019 12:15 PM

    Hi,

    because it automatically resolves any errors on the disk.

    ARomeo



  • 5.  RE: Unable to consolidate virtual machine disk

    Posted Sep 26, 2019 06:06 PM

    Do you have a VM (HotAdd) based backup running? Please check whether it didn't complete, and still has access to the VM's virtual disks.


    André



  • 6.  RE: Unable to consolidate virtual machine disk
    Best Answer

    Posted Oct 09, 2019 07:35 AM

    Hello,

    We finally found the issue, since we are using some network tool for backup, while reverting the snapshot, some ID on the vmdk were still referring to the backup folder, here is an example :

    [root@esxihost:/vmfs/volumes/a59a2c87-xxxxxxxx/myvirtualmachine-restored] cat myvirtualmachine-000002.vmdk

    # Disk DescriptorFile

    version=1

    encoding="UTF-8"

    CID=xxxxxxx

    parentCID=8xxxxxxx

    isNativeSnapshot="no"

    createType="vmfsSparse"

    parentFileNameHint="/vmfs/volumes/a59a2c87-xxxxxxxx/.snapshot/daily.2019-09-24_0010/myvirtualmachine/myvirtualmachine.vmdk"

    # Extent description

    RW xxxxxxxxxx VMFSSPARSE "myvirtualmachine-000002-delta.vmdk"

    # The Disk Data Base

    #DDB

    ddb.longContentID = "1281b2ca1xxxxxxxxxxxxx1cbc90"

    ddb.toolsVersion = "1xxxx9"

    So by removing ".snapshot/daily.2019-09-24" we were finally able to consolidate the machine.

    Thanks for all of your suggestion.

    Josué