How to resize hard disks of a virtual machine?

Here's the scenario, we virtualized just a physical machine.

The (c) is 20 GB, and (d) is 190 GB.  We had to maintain these sizes during the P2V, then re-run the P2V and resizing is not an option (the physical machine is in production and should maintain the current States of its disk).

From what I can tell, these two (c) and (d) are on a virtual disk (vmdk), which is to ~ 210 GB in size.

Now that we have virtualized, I could clean the disks and delete unnecessary data.  Now I need to change the (c) for 30 GB and I need to change the (d) to be 50 GB

Can someone please advice of office?  How to cultivate the (c) and shrink (d) while they are both on a virtual disk (vmdk)?

In which case it is important, we use a SAN with the left hand.  Our esx-data store is 1 TB, with plenty of room.

Thanks in advance,

Chris

Highlight the host you want to convert to (could be the cluster), then right click and select "import machine".  It will then launch converter.  You can do it on by selecting 'Powered on machine' or if feed you first, you can import it as a virtual one by specifying the host / virtual center.

Tags: VMware

Similar Questions

  • How to make a visible USB hard disk for a virtual machine on ESXI 4.1?

    Hi all

    As I am new to the world of vmware ESXI, I always make mistakes or I don't undertand all therefore be complete :-).

    So I have a HP Proliant ML 350 G6 Server installed with ESXI 4.1 and I want to connect a USB hard disk to a virtual machine (SBS 2K 8). Currently, the virtual machine is not able to see the hard drive.

    I already add a USB controller to the virtual machine, but my USB HARD drive is still not visible to my virtual machine.

    Can you help on that?

    Thank you

    Michael

    Next, add a USB device to the virtual computer (in the change settings tab), there are different things, USB controller and USB devices. Sometimes, you may have to restart the virtual machine.

    Greetings

  • Connect physical hard disks to the virtual machine (and leave the data intact)

    Hello

    I'm looking to virtualize a SOHO headless server, that I use mainly for secure file storage.

    Currently, the system runs Linux installed on a small disc and has two drives 1.5 TB, used exclusively for data, in a cluster of ZFS mirroring. (I use the ZFS-fuse Linux-based application).

    I want virtualization for two reasons. One is to make administration easier and safer - avoid having to connect a keyboard and the physical monitor to the box from time to time. The other is that the machine is a bit more powerful to handle the load, and I'm hoping to make it work on other, more challenging tasks.

    Now, there is a catch. These discs are as highly important. I mean the data on them. What I need is to convert the current Linux system to a virtual machine, or re - install Linux on a virtual machine (don't like that), then connect the physical disks to the virtual machine as if they were actually connected.

    I certainly don't want to vmware touches those disks somehow.

    I've read the documentation, but I'm a noob when it comes to server virtualization and system engineering and don't quite understand if this is possible or not. These discs are not a SAN, they are physically connected to the server, I want to install vSphere on. (Of course, I'll log out when I run the setup of vSphere. But I need plug them again later, and they need to be sure that vmware will leave them alone and pass them to the virtual machine transparent.)

    Sigmoid wrote:

    Oh yes, the cluster mirrored ZFS. It is essentially a software RAID type thingie.

    http://en.Wikipedia.org/wiki/ZFS

    A material, or the point of view of virtualization, it appears two hard drives with a single huge partition on each that is not transparent to anyone, except the implementation of ZFS.

    OK, means that you can break the RAID, connect the drives to different host and configure RAID once again, right?

    Let's do it this way

    1. We will need a disc player more for VM, cause on flash, we install ESXi
    2. I will share ZFS :-), all you need to do with that before you install ESXi
    3. make the BACKUP!
    4. Disconnect the data host drives
    5. install ESXi 4.1 U1 free version on flash
    6. Download the site VMware vSphere client
    7. Connect the VM disk to ESXi
    8. customer help create the virtual machine and install the OS on it
    9. stop the virtual machine and esxi
    10. connect DATA drives to the ESXi host
    11. begin to ESXi
    12. See how to add RDM on youtube, after client use, change first hardware VM--> add a new hard disk--> choose Raw Device Mapping--> (physical or virtual) mode--> store it with folder VM - FACT
    13. Start the virtual machine, now your VM should see both drives, with good data course :-)

    I have just made this procedure (add ROW with data in Linux VM) on ubuntu VM, works well

  • vCD API - how to call updateDisks to resize the disks of a virtual machine?

    Had to think about where to post this question; vCD forums or here. I chose here because it's the API specific vCO for vCD and not versions of Java/.NET working team of vCD.

    I'm going to build a workflow to allow my team to change the size of a disk. This disk is part of a virtual machine that vCloud Director 'property '. I heard several times to not only change the size of the disk in vCenter as then vCD runs a risk of being confused. I have reviewed the vCO API for the vCD and found that the VclVM object contains the set of disks (VclVM.disks) as a property. This returns an array of VclVirtualDisk. There is a method VclVM.updateDisks (VclVirtualDisk []), which seems to do exactly what I want. Update disk sizes (could be used to add new facilities). I have a bit of a problem to find how to call it from my point of departure.

    // selectedDisk: a string selected by the user
    // selectedDiskSize: a number input by the user
    
    var disks = virtualMachine.disks;
    
    for (var i = 0; i < disks.length; i++)
    {
    
         if (selectedDisk == disks[i].itemResource.elementName.value)
         {
              if (selectedDiskSize <= disks[i].hardDiskSize)
              {
                   throw "New disk size (" + selectedDiskSize + ") must be larger than original disk size (" +
                        disks[i].hardDiskSize + ")";
              }
     
              disks[i].hardDiskSize = selectedDiskSize;
         }
    }
     
    virtualMachine.updateDisks(disks);
    


    'HardDiskSize' the call throws an error. It is a property read-only and is not a method. The API documentation don't do a good job to define all the methods where I can build a new VclVirtualDisk object. or clone an existing one.

    My thought was to update the existing structures of the disc and then pass them to the updateDisks (...) method. Yes, change an internal structure of an object from the outside is not something I should be doing.

    Any suggestions on how to "clone" this VclVirtualDisk object to change?

    If someone of the vCD of the vCO API team is looking, even updateDisks (...) method will do what I want? Or I have to watch fall down to Java to achieve?


    Thank you!

    If I remember correctly the ability to change the size of an existing drive is not available in API vCD 1.01.

    Christophe.

  • VMWare Fusion for Mac - how much space HARD drive is my virtual machine taking?

    So, I am running VMWare Fusion on my MacBook Air, and I'm under low HARD disk space.  My Mac storage utility tells me that I have a ton of capacity used in the 'Other' bucket.  According to me, this bucket is where live VMWare Fusion.  As I understand it, technically, my complete operating system of Windows (including all files) is contained in a single file on the Mac side.  Is this correct?  Is it possible to see what capacity takes up my whole Windows Operating System (Virtual Machine)?  I hope this makes sense.  Thanks in advance for your comments!

    -Chill

    ChillOne wrote: as I understand it, technically, my complete operating system of Windows (including all files) is contained in a single file on the Mac side.  Is this correct?

    No, it's not correct!  A Virtual Machine is composed of many files and folders according to how it configured and used.  On a Mac if created natively by VMware Fusion using values by default so all the files that make up a virtual machine are in all of the Virtual Machine that is structurally nothing more then a regular folder except the extension .vmwarevm, it is treated differently by the launch in OS X Services.  Take a look on: work with Virtual Machine packages

    The files that make up the Virtual Machines from Windows/Linux systems and other places my being in simple ordinary folders.

    Is it possible to see what capacity takes up my whole Windows Operating System (Virtual Machine)?

    You can also see statistics for a given Virtual Machine by selecting Virtual Machine in the library because it displays size information, as well as on the General form of a virtual machine; s parameters.  Or look in the Finder and see the release of Get Info for the packaging of the Virtual Machine or the folder that contains the files that make up the Virtual Machine.

  • cannot resize the disk on a virtual machine

    Hello!

    I have a little problem, I can not resize the size of the disk on some of my virtual machines.

    I tried yesterday on two and worked well, tried to day (different vm) and it does not work so well for me.

    I first stop the virtual machine, rightklick, change the size to 20 GB, 4 GB and press OK.

    When I then rightklick on the virtual machine after pushing OK the size is always 4 GB (I don't mean in VI client for Windows).

    Why? workaround solution?

    Thnx for help.

    VM there snapshots?

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Newbie - how to add another hard disk to the virtual machine

    We have just started to try ESXI on a new database server.

    The previous server got an SSD, it is necessary that our needs. Now, we got the new Intel Server, was paid $ 3000. There are 2 hard drives and SSD, all on the integrated chipset. We can't find anywere in the interface of PC ESXI or VMWare Go web site to add the SSD to the list of storage. We imported to test an installation of Windows Server 2008 and it works, but only C:, no other hard drive found!

    Help, please!

    pay? -None
    If you connect to http://ip-of-your-esxi , you should see a hint where to download it if I remember correctly

  • Script to get the capacity of HARD disks on a virtual computer

    I need to add a line to the script below which will get the additional HARD disks on the virtual machine. At the present time, its just by pulling the primary OS info.

    $VmInfo = ForEach ($Datacenter in (Get-Datacenter | Sort-Object -Property Name)) {
      ForEach ($Cluster in ($Datacenter | Get-Cluster | Sort-Object -Property Name)) { 
        ForEach ($VM in ($Cluster | Get-VM | Sort-Object -Property Name)) {
          ForEach ($HardDisk in ($VM | Get-HardDisk | Sort-Object -Property Name)) {
            "" | Select-Object -Property @{N="VM";E={$VM.Name}},
              @{N="Datacenter";E={$Datacenter.name}},
              @{N="Cluster";E={$Cluster.Name}},
              @{N="Hard Disk";E={$HardDisk.Name}},
              @{N="Disk Size MB";E={$HardDisk.CapacityKB/1024}},
              @{N="Datastore";E={$HardDisk.FileName.Split("]")[0].TrimStart("[")}},
              @{N="VMConfigFile";E={$VM.ExtensionData.Config.Files.VmPathName}},
              @{N="VMDKpath";E={$HardDisk.FileName}}
          }
        }
      }
    }
    $VmInfo | Export-Csv -NoTypeInformation -UseCulture -Path "N:\Excel_Reports\VmInfo.csv"
    

    The RED line is the line that pulls a HARD drive, but I'm looking for enter all HARD DRIVES and the release info... I'm sure it's something simple, but I can't find the command

    Just realized that I pasted the script in plain text format, so no formatting was held...

    sound this good line

    @{N="Disk Size MB";E={$HardDisk.CapacityKB/1024}},
    

    There was a typing error in the code, I've corrected the above code.

    Please try again.

  • Increase the size of virtual hard disk to a virtual computer with snapshots

    Is it possible to increase the size of a virtual hard disk on a virtual machine that has snapshots on this subject?  I can use VMware converter to increase the size of the disk, but who commits snapshots during the conversion-

    Thank you

    As everybody said that it is not a good idea to increase the space for a VM with a snapshot.   The snapshot files are all related originally vmdk and when you change this vmdk he breaks the link.

    A particular reason that you cannot commit the snapshot before adding the space.

  • Run a virtual hard disk file in Virtual PC

    Hello

    I recently got a Windows 7 PC to replace a Windows XP machine. However, while I still have access to anything whatsoever on the old PC that I maybe need even once, I did a .vhd on the old hard drive file.

    I can't open this vhd file, because I can't find a way to create a new virtual PC with which use this virtual hard disk.

    Is anyway to do this?

    Thank you
    Richard

    Windows 7 can read files in VHD(Virtual Hard Disk) without VPC (Virtual PC).  You can make the VHD file be seen as a hard drive on the new PC. Here's how to do it.

    Attach the VHD file:
    1. right click on 'My Computer' and click on 'manage '.
    2. go in "Disk management" under "Storage" on the left side.
    3. click on the 'Action' menu on the top and click on "attach VHD.
    4 locate the hard drive file virtual you want to open, you can also make the drive read only just in case you accidentally change something.  Then click on 'OK '.
    5. you should see your virtual hard drive in "My Computer"
    Detach the VHD file:
    1. go in disk management as described in steps 1 and 2 as I explained earlier.
    2. on the bottom half of the window, find the hard drive virtual you want to detach.
    3 click on the "disk #" and click on "remove VHD.
    Good luck. God bless you. :)
  • How to create disk shared across virtual machines on different hosts

    Hello

    We implement Oracle RAC on two virtual machines, one on each of the two armies for redundancy. For our installation:

    • The two ESXi hosts two SAN access a logical unit number.
    • Two virtual machines on the hosts must have access to a single virtual disk on this LUN (or unit number logic itself) at the same time.

    We tried the following:

    • Creation of a data store associated with the LUN, and then creating a new hard drive on each virtual machine using the same virtual disk on the data store. This operation failed because as soon as a virtual computer runs, the other virtual computer cannot run since the first has a lock on the file from the disk.
    • Creation of a new hard drive on the virtual machine through RDM. This operation failed because only the first virtual machine has this option of disc. Once the ROW has been assigned to the LUN, the other virtual computer cannot create its own RDM for the LUN.

    I'm learning just VMware so I can miss a fundamental method to accomplish this, or perhaps, it is not possible at all. You know a way to create the installer I described?

    Welcome to the community,

    I can not specifically help with the Oracle RAC, however, I would recommend that you take a look at MSCS documentation for how to configure shared disks. There is a difference in the way in which you have installed the VM, for example all VMs on an ESXi host or on different hosts. Please keep in mind that MSCS is a cluster without sharing, which means that only one node at a time has access to a shared virtual disc/RDM.

    André

    PS: I forgot to add the link: http://kb.vmware.com/kb/1004617

  • How can I get the number of disks for a virtual machine and PAHO are / s of a disc?

    Hi all

    I would like to know if there is a command that returns the number of disks having a virtual machine.

    and also if there is no command to obtain and change the number of the IOPS / disk s.

    Thanks in advance

    Carlos

    It will give you hard drives attached

    Get - VM | Hard drive


    It will give you count

    Get - vm | Select name, @{N = "TotalHDD"; E={($_ | (Get-harddisk).count}}


    It is possible to retrieve the number of the IOPS / disk s, but what do you mean by editing.

  • Several same size hard disks on a virtual computer

    Have a VM with several hard disks with the same size to configure.  You want to increase one of the discs, but cannot say that it will increase as sizing in Windows server 2008 disk space does not match what the States of data store?  Is this a unique identifier so I can determine which drive is matched within Windows?

    Thank you

    Windows OS, launch disk management, right-click the disk and examine the properties (specifically, ' location'). Compare that to the SCSI address of the virtual disks on the virtual machine (shown in the "edit parameters" screen inside the vSphere client).

    There is a report more detailed here, if that helps.

  • Convert a hard drive to a virtual machine

    I have a server that the material died which has mirrored hard SATA hard drives in them.  I would like to convert the data on that hard drive to a virtual machine and put it in my vCenter, but I am unable to start the server.  What is the best way to do it?  I can mount and read data from Windows on another machine.  Right now I'm trying to back up data until an acronis image and then use converter to import.  I think it is easier to sense, though.   I also have a backup server Symantec Backup Exec, but I do not have the agent ESX for Symantec.

    Thank you

    Dave

    If you want to try the converter, just fix the disk on a physical host somewhere and run a normal conversion.

    Once you have done this, create a new empty virtual machine with no disc and you fix vmdk for the reader you want migrated to this new virtual machine. Chances are that you will get the normal NT Loader boot error when you try to start, but you should be able to solve this problem using a fo the following:

    DiskPart

    Fdisk

    Recovery Boot

    You can also consider to use something else than VMware converter - perhaps something like Acronis True image?

    Good luck and please feed back.

  • Can I convert a server disk to a virtual machine?

    I have a number of OS X 10.5 servers running on hardware that is incredibly underused.  Since the Fusion 3 supports running OS X Server virtualized, is it possible to convert a live server disk to a virtual machine to the BootCamp to VM? I could run all 5 of my server on a single Xserve systems. I dug around, but everything points to a new facility to achieve this.

    Thank you

    Tim

    Yes, it is possible to convert physical machines to Mac OS X Server VM. I've posted instructions on how to do this in the following thread: Re: Snow Leopard Server VM existing?

    In your case, the only thing that needs to change is the version of the OS - pick instead of 10.6 10.5. I tried this with one of my machines so far, I would be interested to comment on the question of whether instructions to work for you. I'll probably convert this post into a document at some point...

    I also thought the ability to hire only the OS X physical disk partitions without copying the data (like Fusion for Boot Camp). However, Fusion currently only supported the MBR partition tables to access raw partitions, and most Macs are partitioned GPT (or hybrid MBR + TPG). You can try to use Library/Application Support/VMware Fusion/vmware-rawdiskCreator to see if it recognizes the OS X partitions. If so, you should be able to create a virtual disk that references the partitions and boot from it as you would for a machine virtual Boot Camp.

    It is also possible to use a physical disk full (instead of individual partitions), but you would need to have partitions not mounted before using virtual machines that reference the physical disks. If you are interested in, there is a link in this thread as well.

Maybe you are looking for

  • Replacement of keyboard satellite A10

    Can someone tell me how to reach, and where to find out how, remove and replace the keyboard on my Satellite pro A10?Thanks in advance

  • Backlight broken in Satellite A100-405

    Last weekend, my laptop screen remained black never work again. I tried to find a new backlight, but I heard that it is not possible to order this. Maybe it is? Anyone know the part number? There is quite a price difference... a backlight or a new sc

  • Hi, my name is Cristian

    Hi, my name is Cristian and I have a problem with my phone, to be more accurate with my apple ID. Although the password works when I stick on my PC, for example when I access icloud, the same password there n * t work when I paste on the iphone. and

  • Mount the 3 tops and a background exponential

    I m quite new on labview. My version is 8.6 I have a spectrum with: 3 peaks (I want to go with 3 Gaussians) exponential background How can I install? Thank you

  • When comes out the next firmware for the "rocket"?

    When comes out the next firmware for the "rocket"?