Solved

After converting vm disk from Thin to Thick, it still shows as Thin in the GUI?

Posted on 2010-08-13
4
2,069 Views
Last Modified: 2012-05-10
The Inflate process ran fine, but after completing it still shows as Thin under vsphere client > VM > Summary > Edit Settings > Disk.  Is there a Command line that I can run directly on the host to verify if the disk is currently thin or thick format?  
0
Comment
Question by:dkraut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 33433175
I would do a refresh, since it appears not to do one automatically.

I hope this helps !
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33434428
You could take a look at the disk header. From vmdk format specification:

cat test.vmdk
# Disk DescriptorFile
version=1
CID=fffffffe
parentCID=ffffffff
createType="twoGbMaxExtentSparse"
# Extent description
RW 4192256 SPARSE "test-s001.vmdk"
RW 4192256 SPARSE "test-s002.vmdk"
RW 2101248 SPARSE "test-s003.vmdk"
# The Disk Data Base
#DDB
ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "16"
ddb.geometry.cylinders = "10402"

Pay special attention to the create type - sparse indicates a thin format:

createType
This line describes the type of the virtual disk. It can be one of the following:
• monolithicSparse
• vmfsSparse
• monolithicFlat
• vmfs
• twoGbMaxExtentSparse
• twoGbMaxExtentFlat
• fullDevice
• vmfsRaw
• partitionedDevice
• vmfsRawDeviceMap
• vmfsPassthroughRawDeviceMap
• streamOptimized
The first six terms are used to describe various types of virtual disks. Terms that include
monolithic indicate that the data storage for the virtual disk is contained in a single file.
Terms that include twoGbMaxExtent indicate that the data storage for the virtual disk
consists of a collection of smaller files. Terms that include sparse indicate that the virtual
disks start small and grow to accommodate data. Some product documentation refers to
these virtual disks as growable disks. Terms that include flat indicate that all space
needed for the virtual disks is allocated at the time they are created. Some product
documentation refers to these virtual disks as preallocated disks.
Terms that include vmfs indicate that the disk is an ESX Server disk.
The terms fullDevice, vmfsRaw, and partitionedDevice are used when the
virtual machine is configured to make direct use of a physical disk — either a full disk or
partitions on a disk — rather than store data in files managed by the host operating
system.

Hope this helps - Good Luck
0
 

Author Comment

by:dkraut
ID: 33447912
Thanks... My create type = vmfs, yet it is showing Thin in the GUI.  Does this mean the GUI is wrong?   >


# cat vm-red1.vmdk
# Disk DescriptorFile
version=1
CID=90236cd3
parentCID=ffffffff
createType="vmfs"

# Extent description
RW 104857600 VMFS "vm-red1-flat.vmdk"

# The Disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.uuid = "60 00 C2 96 24 ff 76 59-dc 25 98 26 99 9d 53 ba"
ddb.geometry.cylinders = "6527"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"
ddb.thinProvisioned = "0"
ddb.toolsVersion = "2147483647"
#
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33447947
It appears to be a thick formatted disk to me. What flavor of VMware and GUI are you looking at? If it is the vSphere client try to

1. Remove it from inventory
2. Use datastore browser to browse to the datastore holding your vm, right click on the vm-red1.vmx file there and select add to inventory
3. Check the GUI again and see what it reports.

This should force a total refresh of what the GUI is seeing.

Let me know...
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question