ESXi

 View Only
Expand all | Collapse all

Unable to combine Snapshot file with Flat file

beckham007fifa

beckham007fifaMay 30, 2012 11:18 AM

PETERMULE

PETERMULEJun 01, 2012 11:26 AM

  • 1.  Unable to combine Snapshot file with Flat file

    Posted May 30, 2012 09:31 AM

    Got below error while trying to combine snapshot files.

    vmkfstools -i AXTST167-000001.vmdk /vmfs/volumes/datastore1/axtstbundled/AXTST167.vmdk

    Destination disk format: VMFS zeroedthick

    Failed to open 'AXTST167-000001.vmdk': Invalid argument (1441801).

    vmkfstools -i /vmfs/volumes/datastore1/axtst167/AXTST167-000001.vmdk -d thin /vmfs/volumes/datastore1/axtstbundled/AXTST167_NEWW.vmdk
    Destination disk format: VMFS thin-provisioned
    Failed to open '/vmfs/volumes/datastore1/axtst167/AXTST167-000001.vmdk': Invalid argument (1441801).


  • 2.  RE: Unable to combine Snapshot file with Flat file

    Posted May 30, 2012 11:18 AM

    are you trying with vm powered off or powered on?



  • 3.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 01, 2012 11:26 AM

    Yes I tried with Powered off.



  • 4.  RE: Unable to combine Snapshot file with Flat file

    Posted May 30, 2012 12:11 PM

    please post the file '/vmfs/volumes/datastore1/axtst167/AXTST167-000001.vmdk

    it may be invalid or use a dead link



  • 5.  RE: Unable to combine Snapshot file with Flat file

    Posted May 30, 2012 03:53 PM

    Although the error message mentions the source disk, please verify whether the destination folder "axtstbundled" already exist? If not you need to create it manually.

    André



  • 6.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 01, 2012 11:29 AM

    I have already created folder as you can seen below... Attached my vmdk file output.

    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f # cd axtstbundled
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/axtstbundled # ls
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/axtstbundled # pwd
    /vmfs/volumes/datastore1/axtstbundled
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/axtstbundled #
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/axtstbundled # cat /vmfs/volumes/datastore1/axtst167/AXTST167-000001.vmdk
    # Disk DescriptorFile
    version=1
    encoding="UTF-8"
    CID=6269d823
    parentCID=6dbed603
    isNativeSnapshot="no"
    createType="vmfsSparse"
    parentFileNameHint="AXTST167.vmdk"
    # Extent description
    RW 488440260 VMFSSPARSE "AXTST167-000001-delta.vmdk"
    # The Disk Data Base
    #DDB
    ddb.toolsVersion = "0"
    ddb.longContentID = "78bde9f2e719d58fcc5ae3a26269d823"
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/axtstbundled #


  • 7.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 05, 2012 12:08 PM

    its a descriptor file and you are trying to clone a descriptor file, it will not happen. cloning can be done for flat files. If you are really interested in having another copy of your AXTST167-000001.vmdk file then use cp command for it, vmkfstool wont work for it and there is no thin or thick format for descriptor file, infact you would be providing info for thin or thick inside ur descriptor to which its pointing.



  • 8.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 05, 2012 12:36 PM

    Sorry, but this is not quite correct. vmkfstools only accepts the descriptor file names as arguments, as they contain the disk's metadata as well as the name of the flat and/or delta .vmdk files.

    André



  • 9.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 05, 2012 03:24 PM

    WOH, I got confused and I have given a try in my lab to confirm and YES. I almost forgot that this is the thread even I commented earlier.

    @Thread initiator: Have you ever tried to expand the size of the disk when it had snapshot??

    please check the below link,

    http://geosub.es/vmutils/Troubleshooting.Virtual.Machine.snapshot.problems/Troubleshooting.Virtual.Machine.snapshot.problems.html



  • 10.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 07, 2012 08:24 AM

    No I didnt try doing that one.

    Please check below for vmkfstools with verbose log

    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 # vmkfstools -i AXTST167-000001.vmdk NEEWWWWWW.vmdk -v 10
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : open successful (285) size = 250081413120, hd = 0. Type 8
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : closed.
    Destination disk format: VMFS zeroedthick
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : open successful (14) size = 72696156160, hd = 4621068. Type 8
    DISKLIB-DSCPTR: Opened [0]: "AXTST167-000001-delta.vmdk" (0xe)
    DISKLIB-LINK  : Opened 'AXTST167-000001.vmdk' (0xe): vmfsSparse, 488440260 sectors / 232.9 GB.
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : open successful (14) size = 250081413120, hd = 4031245. Type 3
    DISKLIB-DSCPTR: Opened [0]: "AXTST167-flat.vmdk" (0xe)
    DISKLIB-LINK  : Opened '/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167.vmdk' (0xe): vmfs, 488440260 sectors / 232.9 GB.
    DISKLIB-CHAINESX : ChainESXOpenSubChain: numLinks = 2, numSubChains = 1
    DISKLIB-CHAINESX : ChainESXOpenSubChainNode: can't create deltadisk node 7fd40f53-AXTST167-000001-delta.vmdk failed with error Invalid argument (0xbad0007, Bad parameter)
    DISKLIB-CHAIN : "AXTST167-000001.vmdk" : failed to open (Invalid argument).
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : closed.
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : closed.
    DISKLIB-LIB   : Failed to open 'AXTST167-000001.vmdk' with flags 0xe Invalid argument (1441801).
    Failed to open 'AXTST167-000001.vmdk': Invalid argument (1441801).
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 #


  • 11.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 07, 2012 09:15 AM

    PETERMULE wrote:

    No I didnt try doing that one.

    Please check below for vmkfstools with verbose log

    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 # vmkfstools -i AXTST167-000001.vmdk NEEWWWWWW.vmdk -v 10
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : open successful (285) size = 250081413120, hd = 0. Type 8
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : closed.
    Destination disk format: VMFS zeroedthick
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : open successful (14) size = 72696156160, hd = 4621068. Type 8
    DISKLIB-DSCPTR: Opened [0]: "AXTST167-000001-delta.vmdk" (0xe)
    DISKLIB-LINK  : Opened 'AXTST167-000001.vmdk' (0xe): vmfsSparse, 488440260 sectors / 232.9 GB.
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : open successful (14) size = 250081413120, hd = 4031245. Type 3
    DISKLIB-DSCPTR: Opened [0]: "AXTST167-flat.vmdk" (0xe)
    DISKLIB-LINK  : Opened '/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167.vmdk' (0xe): vmfs, 488440260 sectors / 232.9 GB.
    DISKLIB-CHAINESX : ChainESXOpenSubChain: numLinks = 2, numSubChains = 1
    DISKLIB-CHAINESX : ChainESXOpenSubChainNode: can't create deltadisk node 7fd40f53-AXTST167-000001-delta.vmdk failed with error Invalid argument (0xbad0007, Bad parameter)
    DISKLIB-CHAIN : "AXTST167-000001.vmdk" : failed to open (Invalid argument).
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : closed.
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : closed.
    DISKLIB-LIB   : Failed to open 'AXTST167-000001.vmdk' with flags 0xe Invalid argument (1441801).
    Failed to open 'AXTST167-000001.vmdk': Invalid argument (1441801).
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 #

    is the CID's broken?

    check with this and post the results

    vmkfstools -q AXTST167-000001.vmdk



  • 12.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 12, 2012 11:59 AM

    Have checked for CID it is correct.

    Getting following error while running this command
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 # vmkfstools -q AXTST167-000001.vmdk
    AXTST167-000001.vmdk is not an rdm


  • 13.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 12, 2012 12:02 PM

    the error says there is no issue with CID.



  • 14.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 12, 2012 12:05 PM

    PETERMULE wrote:

    Have checked for CID it is correct.

    Getting following error while running this command
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 # vmkfstools -q AXTST167-000001.vmdk
    AXTST167-000001.vmdk is not an rdm

    now, you have some vmdk file missing,

    run this in verbose and check the o/p

    vmkfstools -q AXTST167-000001.vmdk -v 10



  • 15.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 12, 2012 12:11 PM
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167 # vmkfstools -q AXTST167-000001.vmdk -v 10
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : open successful (23) size = 250081413120, hd = 0. Type 8
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : open successful (23) size = 250081413120, hd = 0. Type 3
    AXTST167-000001.vmdk is not an rdm
    DISKLIB-VMFS  : "./AXTST167-000001-delta.vmdk" : closed.
    DISKLIB-VMFS  : "/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/NEW_AXTST167/AXTST167-flat.vmdk" : closed.
    AIOMGR-S : stat o=2 r=6 w=0 i=0 br=98304 bw=0


  • 16.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 12, 2012 02:59 PM

    this is fine as well, you don't have any missing vmdk which is a god news. Now, what is the space available in your datastore?



  • 17.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 13, 2012 12:31 PM

    I have got 425.6 GB available in Datastore

    Filesystem                Size      Used Available Use% Mounted on
    visorfs                   1.3G    262.8M      1.0G  20% /
    vfat                      4.0G      3.3M      4.0G   0% /vmfs/volumes/4d5ea70a-ec835c01-b652-e0699500dd1f
    vmfs3                   926.5G    500.9G    425.6G  54% /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f
    vfat                    249.7M     89.2M    160.5M  36% /vmfs/volumes/cb7dad7b-76399004-85ea-7acdb59dd4d2
    vfat                    249.7M      4.0k    249.7M   0% /vmfs/volumes/ae3cb87a-3213faf8-783c-152ab3b1199e
    vfat                    285.9M    140.7M    145.2M  49% /vmfs/volumes/2da668ef-40e5d96b-90bf-855ddb9c5547


  • 18.  RE: Unable to combine Snapshot file with Flat file



  • 19.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 08:16 AM

    After doing all that Iam still getting the same error.

    Reason: 22 (Invalid argument).
    Cannot open the disk '/vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/AXTST167_/AAXTST167-000001.vmdk' or one of the snapshot disks it depends on.


  • 20.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 08:17 AM

    Is there anywhere I can mount that Snapshot Delta VMDK file to someother Virtual Machine ?



  • 21.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 08:19 AM

    please post AXTST167.vmdk



  • 22.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 10:56 AM
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/AXTST167_ # cat AAXTST167.vmdk
    # Disk DescriptorFile
    version=1
    encoding="UTF-8"
    CID=6dbed603
    parentCID=ffffffff
    isNativeSnapshot="no"
    createType="vmfs"
    # Extent description
    RW 488440260 VMFS "AAXTST167-flat.vmdk"
    # The Disk Data Base
    #DDB
    ddb.geometry.biosHeads = "255"
    ddb.geometry.biosSectors = "63"
    ddb.geometry.biosCylinders = "30404"
    ddb.adapterType = "ide"
    ddb.geometry.sectors = "63"
    ddb.geometry.heads = "16"
    ddb.geometry.cylinders = "16383"
    ddb.uuid = "60 00 C2 97 22 2b b5 9f-76 7d a1 b7 d4 88 8f a4"
    ddb.longContentID = "9db57ebafd97bddaf1ed0f216dbed603"
    ddb.virtualHWVersion = "7"
    /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f/AXTST167_ #


  • 23.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 13, 2012 12:33 PM

    I have got 465 GB available in datastore

    Filesystem Size Used Available Use% Mounted on

    visorfs 1.3G 262.8M 1.0G 20% /

    vfat 4.0G 3.3M 4.0G 0% /vmfs/volumes/4d5ea70a-ec835c01-b652-e0699500dd1f

    vmfs3 926.5G 500.9G 425.6G 54% /vmfs/volumes/4d5ea70e-f965c886-3e79-e0699500dd1f

    vfat 249.7M 89.2M 160.5M 36% /vmfs/volumes/cb7dad7b-76399004-85ea-7acdb59dd4d2

    vfat 249.7M 4.0k 249.7M 0% /vmfs/volumes/ae3cb87a-3213faf8-783c-152ab3b1199e

    vfat 285.9M 140.7M 145.2M 49% /vmfs/volumes/2da668ef-40e5d96b-90bf-855ddb9c5547



  • 24.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 12:22 PM

    ..........Hey you dont have to do all this.......you just need to start from the last vmdk delta file that was created in the snapshots and start consolidating the other snapshots into one vmdk flat file.....for this you need to find out from the edit settings as to which is the vmdk file that is presently pointing to, then you need to run the following command:

    vmkfstools -i lastdisk.vmdk newdiskname.vmdk

    This will conslidate into one disk.

    TimeMachine 



  • 25.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 01:10 PM

    @ timemachine

    please read the complete post and UNDERSTAND it before you give such advice. !

    OP is just trying to do that and it fails for reasons we still have to determine.

    @ petermule

    can you still run the VM with its snapshot ?
    can you try to copy all 4 files into a new directory ?



  • 26.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 01:46 PM

    Tried doing that also but no luck.



  • 27.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 14, 2012 02:37 PM

    so you can not copy the files ? - do you get I/O errors while copying ?

    are this vmdks stored on a local disk ?
    would it be possible to boot that host into a linux-liveCD ?



  • 28.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 15, 2012 12:29 PM

    try to copy the vmdks with this LiveCD I made exactly for this purpose
    http://sanbarrow.com/mcs-esxi5-recovery-X-001.iso



  • 29.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 16, 2012 05:01 AM

    since, I too lokking for the possible solution for this could you please share the document to use it which would as I don't have any lab setup with this scenario and would be a gr8 help to update my knowledge.



  • 30.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 16, 2012 06:21 PM

    the document ? - not sure what you ask for



  • 31.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 16, 2012 06:28 PM

    live cd what you made, also please let us know what is there in that Cd so that we can also update our knowledge



  • 32.  RE: Unable to combine Snapshot file with Flat file



  • 33.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 26, 2013 09:44 AM

    DISKLIB-CHAINESX : ChainESXOpenSubChainNode: can't create deltadisk node 7fd40f53-AXTST167-000001-delta.vmdk failed with error Invalid argument (0xbad0007, Bad parameter)

    DISKLIB-CHAIN : "AXTST167-000001.vmdk" : failed to open (Invalid argument).

    Looks like either delta disk is corrupted or the descriptor file is corrupted. Could you post the output of "AXTST167-000001.vmdk" also "AXTST167.vmdk". To isolate this you can also manually create a descriptor file for "AXTST167-000001-delta.vmdk".

    Also run the below command, this will take lo ng time based on the size of the disk.


    vmkfstools –v 0 –t 0 <last_vmdk>

    Post only the error message.



  • 34.  RE: Unable to combine Snapshot file with Flat file

    Posted Jun 15, 2012 09:16 AM

    Ah ....thats right......My bad.......but i still have a suggestion to make and that will work if you have not made any changes to the vmdk order and the Cids or Pids etc, if all is still intact then you could try to do the following while ensuring that the VM is powered off:

    open the standalone converter tool

    and do a V to V conversion this will also try to consolidate the snapshots and give yu an new disk.

    Time Machine.