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

Tags: VMware

Similar Questions

  • 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.

  • The former "cannot change the power state of virtual machine: the process has exited with an error: end of the error message" thing again (Fedora 8/Server 1.08)

    OK, this problem beautifully undescriptive I've seen caused by what seems to be dozens of things happening for me.

    I made the mistake of horrible update my FC8 kernel to the latest one (2.6.26.8 - 57.fc8).  Mind you, that's all that's changed.  It was with a 1.06 server with happiness and perfectly good computers running virtual in use before the upgrade.

    After the new kernel and reboot, I had to rebuild vmmod.  I had to get a fix of any - any later that I used with my previous kernel (116 does not solve the problem of compiling) so I used all-any117d.  Update like a champion.

    Try to turn on a VM and Ihanta!, the above error.

    Nothing else was changed.

    I tried the upgrade to VMware Server 1.08.  Used all-new any117d - update OK.

    Error again.

    I have re-run the compilation, this time to say 'yes' to what the installation script to "adjust the permissions of all virtual machines in xxxlist" or whatnot.

    Error again.

    1. status of /etc/init.d/VMware

    Networking networking on/dev/vmnet0 is running

    Invited only on/dev/vmnet1 network is running

    Network invited only on/dev/vmnet8 is running

    NAT networking on/dev/vmnet8 is running

    Responsible vmmon module

    Loaded module Vmnet

    FWIW, I compile as long as root, but have always run VMware server from my UID nonroot.

    What now?

    I'm in the same boat.  Fedora 8 2.6.26.8 - 57.fc8 #1 SMP

    I have tried uninstalling/reinstalling v1.0.6 thru 1.0.8 with all 116 updates and 117d.   117D compiles with every version of server but when I try to turn on a virtual computer I get this error.

    Cannot change the power state of virtual machine: the process has exited with an error:

    vmxvmdb: name of the Index generated by the configuration file

    POST (no connection): Version mismatch with vmmon module: expected 138.0, obtained 168.0.

    You have a bad version of the module kernel "vmmon.

    Try reinstalling VMware Server.

    POST (no connection): failed to initialize the surveillance apparatus.

    Failed to initialize the virtual machine.

    End of the error message.

    I found several posts other people have this problem but

    they are months with no recent activity and nothing that solved the problem.  I found appeared

    to get a fix, one updated the all an update that corrects the problem for

    2.6.26 performing several nuclei, but the link for the update on TI-psycho appears to be dead.  Here is the link to the discussion

    http://Fedoraforum.org/Forum/showthread.php?t=199026&page=2

    Of course, I would like to know how to solve this problem as well.

    Thank you

  • Burn the disk to a virtual machine?

    It seems that I cannot burn a disc of my virtual machine. I searched, and apparently you have to add the drive as a SCSI device. So I edited file (this file may be less organized!) machine's .vmx and changed all instances of ide0: 1 at scsi0: 1, but it seems to merge changed to IDE.

    So, how to configure a virtual machine to allow under 3.1 disc burning?

    Hello

    .. .and changed all instances of ide0: 1 to scsi0:1, but it seems to merge changed to IDE.

    Normally merge changes only return if you do not leave merge until you have changed the .vmx file.

    This meant that the file has been opened by Fusion during the time that you edited.

    Just as a note.

    Every time you handedit a .vmx file, make a backup before you change it, then you can go back if someone went wrong

    Hope this helps.

    --
    Wil
    _____________________________________________________
    VI Toolkit & scripts wiki at http://www.vi-toolkit.com

    Writer to the blog www.planetvm.net

    Twitter: @wilva

  • Cannot resize the disk of the asm

    Hi, greetings of the day...

    I have created a disk of asm using asmtool as:
    asmtool - create 500 D:\Asm_disks\disk3;
    asmtool - create 500 D:\Asm_disks\disk4;
    Now when I try to resize the disk,



    SQL > select name, total_mb v$ asm_disk;

    NAME TOTAL_MB
    ------------------------------ ----------
    DATA_0000 2000
    DATA_0001 2000
    FRA_0002 3000
    FRA_0003 3000
    DATA_0002 500
    DATA_0003 500

    6 selected lines.

    SQL > alter diskgroup DATA resize disk size 'DATA_0002' 1000M;
    change DATA diskgroup resize disk size 'DATA_0002' 1000M
    *
    ERROR on line 1:
    ORA-15032: not all changes made
    ORA-15289: ASM DATA_0002 disk cannot be resized beyond 500 M



    Please help me in this regard

    Thank you
    Uday

    udayjampani wrote:
    Thank you

    I understand what you say, I have created a disk of asm with 500 MB of size using asmtool, so I can't resize using asm instance.

    1. What is the use of asmtool-added option, we can add an existing using this command drive space?

    This isn't for adding space, but it adds the label to the disk partition...
    asmtool - add \Device\Harddisk1\Partition1 ORCLDISKASM0
    >

    2 can you please explain this more, * it could be increased if you already held 300 total asm 500 disk space *?

    Think like OS, you have created a 10 GB partition for disk D:\ example. And now, you create files/folders with size of hugh (as some movies ;)) to drive D:\, so eventually your drive D:\ will fill. This is the case even with your asm disk, once you have used all your available space of the asm disk (that you created through asmtoll), you can not increase.
    By asmtool - create D:\Asm_disks\disk3 500, you assign the total size to 300 from the asm disk. Just as you add 10 GB partition for OS...

    You come to the backup from my point of view: it could be increased if you already worked 300 asm disk space total 500

    I have created the disk with the following text:
    asmtool - create 500 D:\Asm_disks\disk3 > size is 500

    I create diskgroup with
    SQL > create diskgroup DB 'D:\Asm_disks\disk3' size disc 300; > Here I wll use only max 300 size of 500 total. So once I get to the threshold of 300, I can increase the asm disk up to 500.
    As
    SQL > alter diskgroup DB resizing disk "D:\Asm_disks\disk3' size 500; > Increasing up to 500

    Default if the clause you SIZE omit while creating a diskgroup, asm then disc occupies all the available space of the device that you have created by asmtool

    >

    3. What is meant occupation here, not here where we can control the right of occupancy?

    We can control as I explained.

    See also article that explains: http://www.oracle-base.com/articles/10g/AutomaticStorageManagement10g.php
    Hope that explains

  • Cannot open the hard file. One of the disks in this virtual machine is already in use by a virtual machine or a snapshot

    Hi all

    Tried my level best to solve, but still the same problem persists. . Lck tried but as soon close VMware workstation, it disappears. This problem starts when yesterday instead of powering down, suspended. The next resume when it gives captioned error. Tried creating new virtual machine using an existing vmdk file but my mainly all the data disappeared. Now I want to resume the suspended state. Kindly help on the same. Thank you

    OK, we will first focus on the first virtual disk (System) on the D: drive which has enogh of disk space to create a clone.

    The "Windows Server 2003 Enterprise Edition.vmdk" dated from 19/07/13 is probably exactly what we need, and if it has approximately the same size of file than current/changing, then you can replace the one changed with it. Once restored, proceed as follows (with VMware Workstation closed):

    from the command line run:

    cd /d "C:\Program Files (x86)\VMware\VMware Workstation"
    cd /d D:\win2k3
    md Clone
    C:vmware-vdiskmanager.exe -r "Windows Server 2003 Enterprise Edition-000002.vmdk" -t 0 "Clone\Windows Server 2003 Enterprise Edition.vmdk"
    

    Once the cloning done so, create a subfolder "Backup" and move all over existing files (as a backup). Copy the .vmx file and .vmxf the subdirectory "Backup" in the D:\win2k3 folder, then do the same with the file hard cloned since the 'Clone' subdirectory, so that you end up with the following files:

    Windows Server 2003 Enterprise Edition.vmx

    Windows Server 2003 Enterprise Edition.vmxf

    Windows Server 2003 Enterprise Edition.vmdk

    Before you can try to start the virtual machine, you must edit the .vmx file and replace

    scsi0:0. FileName = "Windows Server 2003 Enterprise Edition - 000002.vmdk"

    with

    scsi0:0. FileName = "Windows Server 2003 Enterprise Edition.vmdk"

    Please do the above and report. If you have any questions please ask.

    André

  • Resize the size of the disk on a virtual machine

    Hi all

    I have a virtual machine with 200 GB, would reduce the size of the drive for 100 GB?

    OS: Linux CentOS

    VMWARE ESX4.0

    VMware vCenter Converter Standalone 4.3 can be used to resize Windows and Linux powered sources.

    Although CentOS is not officially supported as source for Converter 4.3, RHEL 2, 3, 4 and 5 are so you could work with CentOS as well. No promises though, as it has not been tested and officially not certified.

    See page 52 of the Converter 4.3 Admin Guide at http://www.vmware.com/pdf/convsa_43_guide.pdf for more information.

  • 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.

  • Workstation 8; cannot resize the disk on the full clone

    I have a related clone I want to create a complete clone so that I can expand the virtual hard disk.  But after I created the full clone and try to use the indicator Workstation 8 utility I have an error message: "You can't develop this virtual disk because it is a linked clone."  I tried this three times, with great attention the last two times to read all dialog boxes to make sure I'm not a mistake, but the same error comes back every time.

    Here are the steps I go through:

    (1) turn off the linked clone

    (2) delete all snapshots for the linked clone

    (3) file-> open-> choose the clone of linke

    (4) VM-> manage-> Clone - to pen the Clone Virtual Machine Wizard. in the wizard:

    (5) "The current state of the virtual machine" pick (I tried as long as and create a snapshot and try to clone from that)

    (6) select "CREATE FULL CLONE' (not ' create a linked clone)

    (7) name the new complete cloned machine, and then click on finish

    After about 10-15 minutes, I get a message indicates the complete clone is finished.  I then close VMware, open it back up, open the new full clone that I created and select chose to: edit virtual machine settings-> tab-> click on the hard drive to extend hardware-> utilities-> Expand.  The error box I mentioned above pop and 8 workstations does not indicator the hard drive.and error as described above.

    Am I missing something here?

    If you can confirm the virtual disk of the new virtual machine is not a Flash disk (i.e. with 00000x.vmdk in its name) and the vmware.log file (created after you turn on the virtual machine) shows not all other hard files, you can check if the .vmsd of the virtual machine file contains incorrect entries. Essentially - after making sure that no other hard files are used - you could just delete the .vmsd file.

    André

  • Full encryption of the disk or partition virtual machine system

    Hello

    Please tell me.

    Full encryption of the disk or partition system on the virtual machine tools are supported? If I encrypt on the guest operating system, OS can start and run without ERROR?

    As a test, I tried with TrueCrypt full disk encryption, which is a free tool, and the virtual machine seems to operate normally...

    Thank you.

    Hello

    Dito on this point.

    I have a few windows with compression and encryption active hosts. No problems.

    http://blog.laspina.ca/

  • Cannot connect the removable devices to virtual machines

    Hi people,

    I'm trying to connect any device USB to my virtual machine, having read all the guides, I don't see any of my USB dconnected the removable devices tab.

    VMware tools are installed.

    I'm using VMware Workstation - 8.0.6 build 1035888 on Windows 8, 1 - updated with the latest updates.

    NoUSB.JPG

    Can someone help me?

    Thank you

    D.

    Following your response, I found the solution:

    Configuration of Windows compatibility:

    '

  • Cannot open the SAP IDES by virtual machine.

    Dear all,

    A year back I install SAP in my laptop, since then it was working well. But now, I'm trying again access SAP through the Virtual Machine then its display errors.

    Virtual machin error.png

    And after that its not opening only up to 12%, then no other process happens for a long time as shown in the image.

    restoring files..png

    According to after a few second error below shows the picture above.

    supoort error.png

    Then I clicked on OK, as shown above the screen and there still another error is popping up as a below error. That's why I'm unable to access SAP.

    final error..png

    Your solution will help me very much.

    Waiting for your response.

    Thanks in advance

    Kind regards

    Kamlesh

    Thanks for your reply.

    Now the problem is solved. I had deleted the files & files ending with nvvs something like that, now I don't me to remember so I deleted the same & try again so problem solved.

    Kind regards

    Kamlesh.

  • Error: "cannot open the file 'E:\NSP2010\NSP2010drive2.vmdk': one of the disks in this virtual machine is already in use by a virtual machine or a snapshot."

    Hello community.

    I use my guest for a while; whenever I needed to reboot the host, I would shut down the comments (in this case Win2008R2).

    The last time that I suspended the guest rather than stop it. Now when I try to start, I get this error.

    I've seen people having this error on the forums, but proposed solutions don't resolve my problem.

    I don't know what I have to join in order to diagnose this problem, but it will be a pleasure to do, if someone does.

    VMWare Workstation 8.0.2

    Host: Win 7 64

    Comments: Win 2008 R2

    Thank you very much.

    run inject them - headers2.cmd once you have copied the 2 files descin in place

  • Cannot resize the virtual disk, the virtual machine by using a «child» vmdk file

    Release: VMWare workstation 9

    SE host: Windows 7 64-bit

    Screenshots below.

    I want to resize my VM from 50 GB to 100 GB.

    It seems that VMware workstation 9 uses a child for my VM vmdk.  In my case, using its "Windows Server 2008 R2 x 64 - 000001.vmdk" for its virtual disk file.  The correct file should be "Windows Server 2008 R2 x64.vmdk", I think.

    There are currently no snapshots registered for this virtual machine, I see.

    The virtual machine works well as is, but I can't resize the disk without the VMWare gui, saying I should be perform the operation on the parent vmdk file.

    It seems that I do run a snapshot that is not really a snapshot?  How to merge with the older files - Sxx.vmdk to 0000xx - Sxxx.vmdk

    I also tried to use the command line tool to manually resize the vmdk parent, but I get permission "access denied" errors.

    Kind regards

    Matt

    -------------------------------------------

    Parameters of the HARD disk:

    settings.jpg

    Error:

    Error.jpg

    Files:

    Files.jpg

    He no snapshots are displayed in the Manager of snapshot with the check box 'Show AutoProtect snapshots' verified then the snapshot is an orphan and the best way I use normally to fix this if I want the contents of the snapshot of orphan to be among the basic disk is with tab of the virtual machine in VMware Workstation GUI closed I simply delete the .vmsd file and then open the virtual machine tab in the VMware Workstation GUI and cover and immediately remove a snapshot in the Snapshot Manager.  This will force the orphan snapshot to merge with the parent disk.  Then to clean I still remove the .vmsd file and orphans, .vmsn and .vmem file.

    Note: Before the procedure you have a good backup of the virtual machine in case you accidentally mess something up.

  • Cannot resize the virtual disk

    My vm upgraded allows no expansion vdisk in the pane settings; said must delete all snapshots, yet no old clichés exist. Version 2.0.2 (147997) to run on a MBP 17 "intel 2.16 g.

    Based on list stamps and the date/time of file on the files, you have a snapshot in place and you can try to remove it by trying the following with the not suspended, and Virtual Machine within Windows to stop.

    Take a snapshot, and then immediately delete the snapshot.

    Note: I personally don't do without first making sure that I have all the user data saved from within the Virtual Machine from a store outside of the Virtual Machine and or a manual full copy of all of the Virtual Machine.  Just in case!

Maybe you are looking for