Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

Regrow failed

$
0
0

Hi!

 

I need to add a few GB to a virtual disk. First of all vmware-vdiskmanager  expects a whole lot of libs in /usr/local/bin/libdir/lib but ok. Those libs are actually located in /usr/local/lib/vmware/lib so i fixed taht inital problem with:

 

mkdir /usr/local/bin/libdir  

ln -s /usr/local/lib/vmware/lib /usr/local/bin/libdir/lib

 

After that I was able to run

 

vmware-vdiskmanager -x 150GB "/path/to/virtual machine/virtual disk.vmdk"

 

However, vdiskmanager doesn't work for me. It fails with "DISKLIB-LIB   : Failed to grow disk '/path/to/virtual machine/virtual disk.vmdk' : Read beyond the end of file (2311)."

 

This is the full content of /tmp/vmware-root/vdiskmanager.log:

 

VMware VixDiskLib (1.0) Release build-122956

System libcrypto.so.6 library is older than our library (90802F < 90808F)

DISKLIB-DSCPTR: Opened : "ICR SAP-CRM 7.0.vmdk" (0x1a)

DISKLIB-LINK  : Opened '/path/to/virtual machine/virtual disk.vmdk' (0x1a): monolithicSparse, 266338304 sectors / 127 GB.

DISKLIB-LIB   : Opened "/path/to/virtual machine/virtual disk.vmdk" (flags 0x1a).

Scanning directory of file /path/to/virtual machine/virtual disk.vmdk for vmx files.

baseDir = '/path/to/virtual machine/', vmx file = 'virtual machine.vmx'

Search start:      '/path/to/virtual machine/virtual machine.vmx', baseDiskOnly

Search result:     inTree , isCurrent , isLegacy , states: 1

Search analysis:   disk file found as part of current state.

DISKLIB-DSCPTR: Opened : "virtual disk.vmdk" (0x18)

DISKLIB-LINK  : Opened '/path/to/virtual machine/virtual disk.vmdk' (0x18): monolithicSparse, 266338304 sectors / 127 GB.

DISKLIB-LIB   : Opened "/path/to/virtual machine/virtual disk.vmdk" (flags 0x18).

DISKLIB-LIB   : Growing disk '/path/to/virtual machine/virtual disk.vmdk' : createType = monolithicSparse

DISKLIB-LIB   : Growing disk '/path/to/virtual machine/virtual disk.vmdk' : capacity = 266338304 sectors - 127 GB

DISKLIB-LIB   : Growing disk '/path/to/virtual machine/virtual disk.vmdk' : new capacity = 314572800 sectors - 150 GB

DISKLIB-LIB   : CREATE: "/path/to/virtual machine/virtual disk.vmdk.dfgshkgrw-tmp" -- monolithicSparse capacity=314572800 (150 GB) adapter=lsilogic grainSize=128

DISKLIB-LIB   : CREATE: "/path/to/virtual machine/virtual disk.vmdk.dfgshkgrw-tmp" -- monolithicSparse capacity=314572800 (150 GB) adapter=lsilogic grainSize=128

DISKLIB-LINK  : "/path/to/virtual machine/virtual disk.vmdk.dfgshkgrw-tmp" : creation successful.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 f0 ab 0c 00 c0 4d'.

DISKLIB-DSCPTR: Opened : "virtual disk.vmdk.dfgshkgrw-tmp" (0x10)

DISKLIB-LINK  : Opened '/path/to/virtual machine/virtual disk.vmdk.dfgshkgrw-tmp' (0x10): monolithicSparse, 314572800 sectors / 150 GB.

DISKLIB-LIB   : Opened "/path/to/virtual machine/virtual disk.vmdk.dfgshkgrw-tmp" (flags 0x10).

DISKLIB-DDB   : "geometry.cylinders" = "16578" (was "19581")

DISKLIB-LIB   : Failed to clone : Read beyond the end of file (2311).

DISKLIB-LIB   : Unable to grow disk '/path/to/virtual machine/virtual disk.vmdk' : Read beyond the end of file (2311).

DISKLIB-LIB   : Failed to grow disk '/path/to/virtual machine/virtual disk.vmdk' : Read beyond the end of file (2311).

 

And these are the few human readable line of virtual disk.vmdk:

 

 

  1. Disk DescriptorFile

version=1

encoding="UTF-8"

CID=e5993c45

parentCID=ffffffff

createType="monolithicSparse"

 

  1. Extent description

RW 266338304 SPARSE "virtual disk.vmdk"

 

  1. The Disk Data Base

#DDB

 

ddb.virtualHWVersion = "7"

ddb.uuid = "60 00 C2 97 7a 37 e7 77-84 32 80 28 34 b9 a2 86"

ddb.geometry.cylinders = "16578"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7396"

 

Can anybody help me with this? I seem to be the only one who experienced problems before the disk is resized.

 

Thanks in advance

 

Martin


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>