1. ReynierP

    ReynierP Member

    Messages:
    29
    I have a VM which had a 35GB HDD split into 2GB files. I decided to merge them by running:

    prl_disk_tool convert --hdd ~/Parallels/FedoraDev.pvm/FedoraDev-0.hdd --merge​

    Now I ended up with the following:

    ~/Parallels/FedoraDev.pvm/FedoraDev-0.hdd ❯ ls -la
    total 49936720
    drwxr-xr-x@ 9 reynierpm staff 288 Nov 30 08:56 .
    drwx------@ 4 reynierpm staff 128 Nov 30 08:54 ..
    -rw-r--r-- 1 reynierpm staff 0 Nov 30 08:54 FedoraDev-0.hdd
    -rw-r--r-- 1 reynierpm staff 25566380032 Nov 30 09:03 FedoraDev-0.hdd.copy.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds
    -rw-rw-rw- 1 reynierpm staff 0 Nov 30 08:47 FedoraDev-0.hdd.copy.hdd
    -rw-r--r-- 1 reynierpm staff 1192448 Nov 30 08:54 FedoraDev-0.hdd.copy.{5fbaabe3-6958-40ff-92a7-860e329aab41}.cache
    -rw-r--r-- 1 reynierpm staff 13024 Nov 30 08:56 FedoraDev-0.hdd.drh
    -rw-r--r-- 1 reynierpm staff 1942 Nov 30 08:56 DiskDescriptor.xml
    -rw-r--r-- 1 reynierpm staff 1942 Nov 30 08:54 DiskDescriptor.xml.Backup​

    why these `copy` files were created? Is this a normal behavior?

    PS: is there a way to highlight code so it doesn't look ugly as it is in my post?
     
  2. mmika

    mmika Pro

    Messages:
    488
    I guess *.copy.* files made for the case if you would wish to abort the operation.
    Once operation completed successfully, try to boot the VM to check thing.
    The you can delete those *.copy.*
    Additionally you can look at DiskDescriptor.xml and check that there is no reference to FedoraDev-0.hdd.copy.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds file
     
  3. ReynierP

    ReynierP Member

    Messages:
    29
    Well, I guess I cannot delete the `*.copy.*` because they are used "somehow" by the VM, see below:

    ~/Parallels/FedoraDev.pvm/CB911Dev-0.hdd ❯ cat DiskDescriptor.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <Parallels_disk_image Version="1.0">
    <Disk_Parameters>
    <Disk_size>73400320</Disk_size>
    <Cylinders>143360</Cylinders>
    <PhysicalSectorSize>4096</PhysicalSectorSize>
    <LogicSectorSize>512</LogicSectorSize>
    <Heads>16</Heads>
    <Sectors>32</Sectors>
    <Padding>0</Padding>
    <Encryption>
    <Engine>{00000000-0000-0000-0000-000000000000}</Engine>
    <Data></Data>
    </Encryption>
    <UID>{2006dd7d-4bf7-4e61-9450-4daef15e9e66}</UID>
    <Name>FedoraDev-0 SSD</Name>
    <Miscellaneous>
    <CompatLevel>level2</CompatLevel>
    <SuspendState>0</SuspendState>
    <ChangeState>0</ChangeState>
    <GuestToolsVersion>16.1.1-49141</GuestToolsVersion>
    <Bootable>1</Bootable>
    <DupBlocksCnt>0</DupBlocksCnt>
    <CorruptBlocksCnt>0</CorruptBlocksCnt>
    <UnrefBlocksCnt>0</UnrefBlocksCnt>
    <OutOfDiskBlocksCnt>0</OutOfDiskBlocksCnt>
    <BatOverlapBlocksCnt>0</BatOverlapBlocksCnt>
    <BlocksCnt>0</BlocksCnt>
    <TruncatedBlocksCnt>0</TruncatedBlocksCnt>
    <ReferencedBlocksCnt>0</ReferencedBlocksCnt>
    <ShutdownState>0</ShutdownState>
    </Miscellaneous>
    </Disk_Parameters>
    <StorageData>
    <Storage>
    <Start>0</Start>
    <End>73400320</End>
    <Blocksize>2048</Blocksize>
    <Image>
    <GUID>{5fbaabe3-6958-40ff-92a7-860e329aab41}</GUID>
    <Type>Compressed</Type>
    <File>FedoraDev-0.hdd.copy.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds</File>
    </Image>
    </Storage>
    </StorageData>
    <Snapshots>
    <Shot>
    <GUID>{5fbaabe3-6958-40ff-92a7-860e329aab41}</GUID>
    <ParentGUID>{00000000-0000-0000-0000-000000000000}</ParentGUID>
    </Shot>
    </Snapshots>
    </Parallels_disk_image>
    Not sure how or why but they are being used, weird to me tho.
     

Share This Page