Discover the type of virtual disk

Is it possible to know what type of disc I had selected during the creation of the virtual disk on Linux and Windows?

Thank you!

IMHO the createType is written in the first two lines of the vmdk itself file. Use a text editor or head xxx.vmdk under linux.

Beppo

Tags: VMware

Similar Questions

  • How to check the type of hard disk of the windows operating system?

    on linux, we can find the hdd for example of name setail

    Type a - ide

    SDA - ACHI or sata or sas

    a way to find the type of hard disk in the windows operating system? as linux

    any command or something

    In Windows 7, you can get a lot of details by selecting Start, all programs, accessories, System Tools, system information, components, storage disks. It was very similar to Windows XP, but for all information users tend to use Everest or Belarc Advisor for additional information not available. Everest has been best Bellarc advice but they ceased to offer tan updated free version. However, the 2.20 version is always available from third-party sites.
    http://www.Softpedia.com/get/system/system-info/Everest-Home-Edition.shtml

  • You are looking for the type of virtual card - IE VMXNET / e1000 in MOB

    Hi all

    Can someone indicate where the exact virtual machines virtual network adapter type is stored in the CROWD? I'd like to see if it is listed, but have had trouble finding whether there is indeed available.

    PowerCLI is easy - just do Get - VM | Get-NetworkAdapter can show maps of different types. How can I find this in the MAFIA?

    Thank you!

    Hi Shoganator!

    The concrete virtual ethernet card types are modeled as classes of DataObject VirtualEthernetCardsup. It is in the MAFIA, you have to go through the table of device [VM.config.hardware.device] and click on the individual elements of the array. The table suggests to be key in function and it seems that currently the ethernet cards start key 4000.

    That is clicked once on the entry of the table corresponding to the 4000 button and after the look at the top of the of the CROWD where we can read the Object Data Type. This is the type of the NIC in question.

    Currently four types are known:

    • VirtualE1000
    • VirtualE1000e
    • VirtualPCNet32
    • VirtualVmxNet

    I included a page for clarification, I hope this helps :-)

  • Existing on the new VM virtual disk mounting problem

    Hi guys,.

    I have a problem, try to attach an existing (created with the command "vmkfstools") to a virtual machine drive.

    Background: I want to set up a cluster 2 vm nodes, with a quorum of virtual disk. I have already 2 - vm, and after the creation of the virtual disk to use as the quorum disk and trying to attach the virtual disk to a virtual machine, I got the following error:

    "Device"vim.vm.device.VirtualSCSIController"is a SCSI controller, engaged in sharing the bus."

    I use the following command to create the virtual disk (used for the guide "Setup for Microsoft Cluster Service" VMware):

    vmkfstools hard - c

    I also tried to add the indicator:-a free

    But none can do!

    What could be the problem here? And how can I solve it?

    Thanks in advance...

    Martin.

    Make sure that the virtual machines is not any snapshots. See this article:

    Cannot set a shared virtual SCSI controller

  • Types of virtual disk

    Question:

    Is there a way to know the type of disk via the API or SDK?  I searched the .vmx and hard and can't find out how to easily determine if my guest is thick Eager-reset to zero or felt Lazy-reset to zero.

    For the PowerCLI guys any help would be greatly appreciated.

    vCenter 4.0.0U1

    ESX 4.0.0U1

    Thank you!

    I just tried it on a dummy VM running on ESX 4.0u1 and created 3 VMDK (s) usingn vmkfstools - (thin, zeroedthick and eagerzeroedthick) and if you look at the CROWD for the new VM object and it supports, you will see eagerlyScrub is undefined in all 3 cases.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Increase the size of virtual disk Volume

    If initially, I create a RAID10 array with four drives and install ESX3i, then later add two drives to increase the size of the RAID10 array, I can use the extra space for VMS ESX3i without erasing the data?

    Thank you!

    Bob HHSU

    RAID10 on RAID5 due to performance. I 4x500Gb then RAID10 gives me about 1 TB usable, that should be enough space for a couple of years for my application

    Okay, maybe that's true, but you are only working with a few axes.  RAID 10 in maybe 20 disks RAID 10 is perhaps better performance, but not big thing with only 2 pins.  If you don't have the space, very well.  I hope it works for you.

    In addition, the machine has six spans and so I have the ability to add more than two readers and increase the table to about 1.5 TB. My dilemma is now maybe I should add plus two other readers from the beginning if ESX cannot cultivate virtual disks.

    OK, then if you have disks now, why don't put you in now.  Even if you can grow the disk later, why re-work.  This seems really odd.  Do everything now and do it.  If you do not have to do it later.

    VM the VMFS, correct? If I have too much space allocated to a virtual computer and he needs for another, I can reduce the allocation?

    Yes, but again, it is more work.  Start small.  It is easier to add than SUBTRACT.  Start with only 50 GB, 100 GB.  OS file systems growth is much easier, the fight must convert a copy of the SAME virtual machine, which requires even more work...

  • After the installation of Solaris 10 for x 86 U4 on my server ESXi 3.5, the host Solaris keeps restarting over and over again, no matter the type of virtual processor I choose, x 32 and x 64 both fail.

    I have this looked across the net and found a reasonable reason he could because of the bad virtual processor, but regardless of the x 32 or x 64, they keep them he shut down and restart all the time. could you give some help on this.

    and ideas would be very appreciated.

    Andy

    VMI is on or off?

    Have you tried to add PTIAs = off and apm = off to the kernel parameters?

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • grid cannot discover the DSO during installation disks

    Hi all



    I want to install grid 11 GR 2, but creating disc ASM, it cannot find disc asm which I see at the level of the bone on both nodes using /etc/init.d/oracleasm listdisks
    and the result is
    ASMVOL1
    ASMVOL2
    ASMVOL3

    but I do not see these disk at the time of installation of the grid. I am running Redhat linux 5.3


    Thanks in advance

    xuv500 wrote:
    Hey Rafi

    Yes I use asmlib.but sorry m new m for the asm and RAC.can u tell me where I can get this setting

    First of all, use good words. This isn't a forum to chat so avoid using "u", "m".

    How you set up your devices in the first place? Are you a person as a result of a document? If so, please specify its url here. You need to configure permission for devices before that ASM can see and if the devices are not to be displayed in the installation program, most likely, that the reason is that the authorization.

    Aman...

  • question about creating virtual disks on my MD3220i

    I create a virtual disk where I put a SQL Server and it asks me to

    Choose the type of virtual disk IO characteristics. The file system (typical), database, multimedia and Custom options.

    I think the selection of data because it is a SQL Server. However I'm not sure because I have not much of

    experience with this. My question is that one should choose or perhaps not even matter?

    Thank you

    Being that the VD will be strictly for SQL, then you can go ahead and select the database option. Any other time, you must select the typical option. Please let me know if you have any questions or concerns.

  • Dell virtual disk are larger. You want to increase the size of the data store.

    Hello

    I started the implementation of a server ESXi 5.5 Update 1 this week. I didn't know Dell shipped the server with two virtual disks instead of one. I realized this _apres_ that I had already created the data store and setup a few virtual machines to the breast. I called Dell who sent specific instructions to increase the removal of the second (empty) virtual disk and add it to the main. In the end, I increased the single VD from 2 TB to 3 TB and I want to give the remaining space in my store of data.

    I tried to follow the article here that explains how to do this via the CLI.

    Well, he did not altogether. Fortunately, I was able to recover my datastore my setting start and end sectors to their original numbers. But I'm still left with this almost 1 TB of space that I can not attribute to the data store. After that I reread storage adapters in the client, the new Dell disk size resulted under measurement devices. Click on "increase...". ", generates the following error which led me on the way to the CLI method:

    Call "HostDatastoreSystem.QueryAvailableDisksForVmfs" to object "ha-datastoresystem" on ESXi '[myservername]' failed.

    I will paste my notes that I took everything by jobs. Things have exploded the rails when I put 4 partition size to the largest size. Any help, please?

    ---

    I use that as a guide:

    http://KB.VMware.com/selfservice/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 2002461


    1 use start hardware device management tools to increase the capacity of additional disk to the device. For more information, commit your hardware provider.

    This has been done. The new size of the virtual disk is 2791,88 GB (TB 2,79188)


    2. open a console to the ESXi host.

    Pretty simple.


    3. get the DeviceID for the data store to change.

    ~ # vmkfstools Pei "/ vmfs/volumes/datastore1 / '.

    System file VMFS-5, 60 extending on 1 partition.

    File system label (if applicable): datastore1

    Mode: public

    Capacity 1971926859776 (blocks of files 1880576 * 1048576), 1042688245760 (994385 blocks) prevail, max size of the 69201586814976 file

    UUID: 534e5121 - 4450-19dc-f8bc1238e18a 260d

    Partitions split (on 'lvm'):

    NAA.6c81f660ef0d23001ad809071096d28a:4


    A couple of things to note:

    a. the device for Datastore1 ID is: naa.6c81f660ef0d23001ad809071096d28a

    b. the number of Partition on the disk is: 4 ' [...]: 4 "»

    c. the prefix, "naa," means "Network address authority" the number immediately after is a single logical unit number.

    4. Enter the amount of disk space available on the data store.

    ~ # df h

    Size of filesystem used available use % mounted on

    VMFS-5 1. 8T 865.4 G 971,1 G 47% / vmfs/volumes/datastore1


    5 team of the device identifier, to identify the existing partitions on the device by using the partedUtil command.

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 3865468766 251 0

    ~ #


    According to the table in article KB

    4 13711360 3865468766 251 0 - primary #4, type 251 = 0xFB = VMFS, 13711360-3865468766 areas

    | |        |          |   |

    | |        |          |   \---attribut

    | |        |          \---type

    | |        \---se finishing sector

    | \---a starting from sector

    partition \---Numero


    Also note how the number of section start the old end sector number is + 1.


    6 identify the partitions that need to be resized and the size of the space to use.

    We want to resize partition 4. I don't really understand the last part of this sentence, however. Read more.


    7 the number of sector end you want for the target data store VMFS partitions. To use all out at the end of the disc space, remove 1 of the size of the disk in the areas as described in step 5 in order to get the last usable area.

    ESXi 5.x has a command to do this:

    ~ # partedUtil getUsableSectors "/ vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a".

    1 5854986239

    This means that we want 4 Partition of "naa.6c81f660ef0d23001ad809071096d28a" to be:

    13711360 - 5854986239 (i.e. the end of the disc)


    8 resize the partition containing the target VMFS Datastore using the command partedUtil, specifying the original existing partition and the desired end sector:

    Using the above information, our command is:

    resize # partedUtil ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a ' 4 13711360 5854986239


    9 step 8, the partedUtil command can report the warning:

    He did not. Displacement.


    10. the tables of partitions have been adjusted, but the VMFS data within the partition store is always the same size. Now there is an empty space in the partition where the VMFS data store can be grown.


    11 launch this v vmkfstools command to perform a refresh for VMFS volumes.

    Fact.


    12 reach the VMFS Datastore in the new space using the command - growfs vmkfstools, specifying the partition containing the VMFS Datastore target twice.

    vmkfstools - growfs ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 ' ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 '.


    It did not work. I got an error:

    / vmfs/volumes # vmkfstools - growfs ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 ' /vmfs/devices/disks/naa.6c81f660ef0d «»

    23001ad809071096d28a:4 ".

    Cannot get device head way /dev/disks/naa.6c81f660ef0d23001ad809071096d28a:4 information


    Also the partition was very different to what I asked:

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 1560018942 251 0


    I fixed it by running these commands:

    ~ # partedUtil resize ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a ' 4 13711360 3865468766

    ~ # vmkfstools v

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 3865468766 251 0

    Update:

    Since it was such a new machine, not in active production, we have safeguarded the VMs management off the ESXi host. Then flattened the virtual disk, recreated, and then created a store of data with the right size. (TPG this time, naturally.) We put the management of virtual machines on the data store. For Windows virtual machines, we have restored the using AppAssure. Everything is ok now.

    Need to add a new item to the list of punch: check what Dell has done the configuration of the virtual disks. :-)

  • understand the average physics to share the virtual disk

    Hello

    I wanted to understand the physical way to share a virtual disk by configuring the scsi controller.

    ShareDisks.JPG

    As you can see in the image as an attachment, I chose the option - "physical - virtual disks can be shared between virtual machines on a server any."

    So, I have a scenario and please let me know if the above applies or not?

    I have 2 ESX host. I have created a virtual machine on ESX host1 and now I want the virtual disk of the virtual machine to be shared and eventually used by the virtual machine on the other ESX host2. can I use the option above to satisfy my need?

    Also on a special note, 2 ESX hosts are not on the shared storage. they run with their own local disk.

    Still, I'll be able to do what I want?

    Thanks in advance.

    No storage shared or using the storage equipment. The 2nd esxi host does not see the local storage on the original host.

    Discover will have on the creation of a Cluster of Mirosft see how you can share disks. You can create a cluster in a box on the same host or use of RDM with shared storage to allow multiple vm' hosts aces acros the same storage.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1004617

  • VMware virtual disk on the Mac desktop

    Is it possible to have the VMware fusion virtual disk appears as a hard drive on your mac desktop, so you can browse the files of the virtual disk of the Mac operating system?

    I connect to the shared Windows resources on both physical and virtual machines from my Mac and it is immaterial that the target physical or virtual as the same rules and or methods apply and as I said before it is covered in the two operating systems help files and this isn't really a matter of the merger itself.

    Information out there in the OS X help file: Finder (menu bar) > help > Mac Help > Index > S > file sharing

    Finder (menu bar) > go > connect to server...

    Type the network address of the computer in the address text box of the server using one of these formats:

    SMB://computer_name/Share_Name

    SMB://ip_address/Share_Name

  • Failed to initialize the library for the assembling and disassembling workstation virtual disks 9

    I am using VMware Workstation 9.0.4 build-1945795 and have a problem with "map of the virtual disks. I tried map a virtual drive on windows server 2008 r2, windows server 2008, windows 7, windows xp, windows 2000, windows 98, and BACK 6.22. I have went to the file - card virtual disks and get 'Could not initialize the library for the Assembly and disassembly of the virtual disks', every time I have try to map any operating system for the virtual machine. Some have snapshot while others do not is a mixture of 64-bit and 32-bit virtual machines. My system is Windows 7 Enterprise 64-bit. What I'm missing here because if a feature is available in the menu you seem to expect it to work actually on something.

    OK the fix for me was that I had to uninstall VMware workstation and now it seems to work very well on all the OS preceding reinstall it.

  • Consolidation of many to one of the virtual disks?

    Hello world

    I use a XP client inside a Windows 7 host (using 8 workstations).

    In the configuration of my XP virtual machine I previously assigned (of 50 gigabytes) of disk space into separate virtual folders, about 2 GB each, as shown below.

    Capture.JPG

    I now want to have a single vmdk file, with the pre-allocated 50 GB of capacity.

    Is it possible that I can achieve this goal, while keeping my VM in tact? For example can I create a second virtual disk, and then use a cloning tool (from the client) BONE to make a copy to the new virtual drive?

    Here, any help will be greatly appreciated.

    Kind regards

    DAVO

    Hello world

    This can indeed be done! Because I started with a scalable, split, virtual disk, there were several steps; Here's the gist of these measures-

    (1) using the vmware-vdiskmanager merge files into a single.

    http://hostilecoding.blogspot.com.au/2013/06/VMware-merge-multiple-VMDKs-into-single.html

    Note: when running this utility do not forget to include the '2' parameter, which refers to the creation of a virtual disk prealloue, otherwise the following steps (use the shrinkvd program will NOT work!).

    Here is a screenshot of the order that worked for me-

    (2) add the newly created virtual disk, 'merged.vmdk' to the existing virtual machine, using these installation instructions.

    https://www.VMware.com/support/WS5/doc/ws_disk_add_virtual.html

    (3) remove the existing virtual machine virtual drive

    (4) to start the Virtual Machine (you will probably be asked if you have moved or copied the VM, I responded with "Proposed").

    (Optionally)-rename the virtual disk of "merged" into something else by renaming the files in the ".vmx" and "hard" files.

    (5) using the shrinkvd resize the virtual disk

    http://www.Softpedia.com/get/system/system-miscellaneous/shrinkvd.shtml

    Above, note that the first time, I ran the command it failed with the message "ddb.deletable" is the crux of the problem. I just deleted this line in the relevant file "hard" and the command is represented.

    Now, when I boot on my virtual XP I use only 24 GB of space, and I am able to transfer the Virtual Machine to a smaller drive. in this case a 30 Gig old SSD.

    I hope this helps others.

    Kind regards

    DAVO

  • Could not start the virtual machine: "the specified file is not a virtual disk.

    Hi, I have a problem from a guest vm-workstation.

    Details below - I've done some reading here for some other "the file specified."

    is

    not a virtual disk' messages and I suspect that I am out of luck

    but I have

    wanted to ask just in case there was something miss me

    Here I tried to gather records / logs that other threads

    mentioned - I

    Welcome to all the tips on the revival of the guest, or a

    pointer to a how-to on recovering the files of a given snapshot.

    Thank you

    John

    Summary:

    VMware workstation: 7.0.1 build 227600

    host of os: Vista sp2, 64-bit

    (16 GB of ram)

    guest operating system: sles10 sp2 64-bit (4 GB ram)

    the virtual machine folder:

    drive eSATA (samsung 320, blacx attachment)

    symptom: guest vm

    does not start: says "the specified file is not a virtual disk.

    history: this particular comments works fine; I've done about 30 shots

    during the last 2 months.  The guest is not a copy - even if she did start life as a full-clone

    another linux-client with or without an operating system installed.  In any case, I've used it to very good

    effect for 2 months now.

    So last night I wanted to power off of the host, while I lived my usual steps:

    (1) stop my os of burst (# shutdown - h now)

    (2) even worksation vmware (file - & gt; exit)

    (3) stop start vista (not "suspend" but the real stop turn off the power).

    (4) visa bluescreened.  Now she is doing this every so often, so I thought that it would be

    a big deal.

    (5) this morning I tried to turn on the virtual machine and I got the 'not a virtual disk' error.

    My best guess at this point is the bluescreen stopped some write cache to be

    flushed to disk.  The funny thing is, after the previous bluescreens 3 or 4, the

    Comments to restart without a hitch.

    shrug In any case, just to be weave, I disabled write Vista for outside cache

    device (set to security policy / deletion in Device Manager).  Seems smarter to

    an external device.

    Spare part

    Attached is a file cant_start.zip (191KO) containing:

    dircontents.txt - directory of the client's file listing
    sles10_sp2. NVRAM
    sles10_sp2.vmsd
    sles10_sp2.vmx
    sles10_sp2.vmxf
    VMware.log - other requests asked for *.log files, so I thought
    VMware - 0.log - I should send him these as well.
    VMware - 1.log
    VMware - 2.log
    \ui-logs - 2 IU-logs from C:\Users\jgreve\AppData\Local\Temp\vmware-jgreve
    \vmdk_files - subdirectory of *.vmdk files, light, & can be useful
    -end-

    I checked the VMDK and newspapers - and the VMDK all look great.

    Last departure also seems to succeed?

    As it seems that instant 36 is not used so far - I was just going to throw it away and try again.

    To do this, you would change the line vmx file

    scsi0:0. FileName = 'suse11.2_x64 - cl1 - 000036.vmdk.

    TO

    scsi0:0. FileName = 'suse11.2_x64 - cl1 - 000035.vmdk.

    and then try to restart the virtual machine. If that works then remove all the

    suse11.2_x64 - cl1 - 000036-* files

    ___________________________________

    VMX-settings- Workstation FAQ -[MOA-liveCD | http://sanbarrow.com/moa241.html]- VM-infirmary

Maybe you are looking for