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. :-)

Tags: VMware

Similar Questions

  • HP Pavallion 2236tx g6: you want to increase the RAM

    I want to know if it is possible to increase the RAM of my laptop from 12bg 8 gb or 16 GB. I use HP Pavallion 2236tx g6

    Hello

    Your laptop will support a maximum of 16 GB of ram (2 x 8 GB modules) - for example, an appropriate upgrade can be seen on the link below.

    http://EU.crucial.com/EUR/en/Pavilion-G6-2236tx/CT6931954

    Kind regards

    DP - K

  • you want to increase the value of mouse (release)

    my script is...

    flash.external import. *; so, we can use externalInterface

    Import QueryString.as;   so, we can use the QueryString class

    var myPath:QueryString = new QueryString();

    assignVariables();

    custom function to handle all query string parameters

    function assignVariables() {}

    If the MyName parameter exists

    If {(myPath.parameters.m1)

    assign the text to the text MyName box

    unescape() will translate/decipher the characters in the url

    myName.text = unescape (myPath.parameters.m1);

    }

    If {(myPath.parameters.m2)

    thisUrl.text = unescape (myPath.parameters.m2);

    }

    If {(myPath.url)

    get the full url (including all parameters)

    thisUrl.text = myPath.url;

    }

    }

    var St = 12;

    thisUrl.text = st;

    my button script is-

    {We (Release)}

    St = st + 10;

    }

    There is nothing wrong with the code that show you it, although you shouldn't be put code on objects.  You must instead use the timeline.

    If the real problem is that the textfield does not display the increased value of TK, it is because you do not reassign the new value when you change

    {We (Release)}

    St = st + 10;
    thisURL.text = m;
    }

  • Find all the virtual machines attached to a specific ISO on the data store?

    Hello

    I can't delete some files on our data warehouses. According to me, that question is b/c, that some virtual machines are connected over. How can I find on what virtual machines are connected to the ISO files?

    Thanks in advance,

    J

    Download the free RVTools and run it.  Save the report to Excel and the "tabvCD" tab review

  • How to develop a player for the virtual server when no more space is available on the data store?

    Hello

    I have a 'vSphere4.1 - Intel"cluster with lots of available data stores.

    In this group, I have a virtual server "Windows Server 2003 Enterprise Edition SP2" with 7 discs, all with the ' base' type in the server disk management. ""

    One of the drives needs to be expanded, but in my VMware environment, I noticed that the data with the reader store, cannot be stretched beyond, so I need to take the free space of hard drive to another store of data with free space desired.

    Now to my question:

    Can I make a new record in my VMware environment on another data store and fix it on my Windows 2003 Server? - And if so, how do I add the new free space on the server specific hard drive?

    Kind regards

    Carl-Marius

    1. close the virtual machine in question

    2 remove the HARD disk that you want to extend

    3. in another data store make folder and move the VM HDD (vmdk) in this folder

    4. now change the settings on the virtual machine, add need HDD now this time, select "use the hard disk" option and point to the VMDK file in the other data store

    5 - turn on the virtual machine, check that every thing is okm if ok you can do the HARD disk as dynamic disk is easy to expand

    6. now incerase the VMDK from vsphere client,.

    7 now, with the help of utilities such as partition magic or acronis or utility, you can extend the player

  • IP address on the virtual machine windows endangered endangered after the importation of the data store.

    I'm gaving a problem with the IP on windows vm disappear after having mounted the snapshot to restore. Here's what I do.

    Mount making LUNS to the esx host area

    I have eyebrows outside the data store to find the vm I want to right click and click Import the vmx file.

    Imports of the virtual machine and when I start it up I wonder if I've moved or copied the VM. I have tried both moved and copy but when I connect to the virtual machine is missing all its IP info.

    Any way to avoid the losting vm sound IP info when I import to the host from a LUN outlet?

    Hello

    Installs on the forum of the Virtual Machine and the guest operating system.

    The MAC of a virtual computer is based on the UUID/name of the virtual machine so if you are not using a static MAC (one that recognizes VMware) and it will change the IP address might also change if you are using DHCP. So I suggest to use a static MAC in the VM configuration.

    Another way is to set up the guest operating system in the virtual machine with a static IP address instead of a DHCP function.

    But if you are unable to remove the virtual machine or the copy in the virtual machine, there may be something locking these files would be an another running virtual machine. If you need to find this VM and kill him. In this case, "vmware-cmd - L" and 'vmware-cmd - l' host in question can be useful to find where the 'hidden' VM is running.  Ultimately you can use ' vm-support - x "to find a list of the virtual machines running by how the hypervisor lists. Then use 'vm-support - Z' to suspend the offending virtual machine that should unlock everything.

    Yes, the use of these commands is command line.

    However, before using these commands determine if you can find the place where life VM incriminated.

    Best regards

    Edward L. Haletky

    Host communities, VMware vExpert,

    Author: VMware vSphere and Virtual Infrastructure Security,VMware ESX and ESXi in the 2nd business edition

    Podcast: the Podcast for security virtualization of resources: the virtual virtualization library

  • I want to transfer the dates on my calendar for Windows (Vista) in my Samsung's Android phone calendar.

    I have installed Samsung Kies on my PC, but cannot work out how to transfer through synchronization.  My phone is a Galaxy Ace GT-S5830i.

    Hello

    Thanks for posting your question on the Forums of community of Microsoft.

    According to the description, I see you want to transfer the date of Windows calendar to your Samsung android phone.

    To better assist you, please answer these questions:

    1. in what program the dates on the calendar are stored?

    2. you are trying to transfer from outlook?

    Kindly get back to us with information so that we can better help you:

  • Storage DRS, move a virtual machine that is in the data store is not a member of DTS

    Dear all,

    If I've set up storage DRS that contains, for example, DS1 and DS2. I have another virtual machine that resides on DS that is not part of the cluster of DTS. Can I move this virtual machine to one of the (DS1, DS2) data store? OR will some disruptions?

    Thank you

    Jocelyn,

    Which is correct in both cases. You can leave DTS place it for you (which is my suggestion), but I thought you wanted it to go to a specific data store.  That being said you can reactivate the DTS for a virtual machine under the SDR change settings if you do not ever clear for a virtual machine

  • Backup utility Windows 7 application ' are you sure you want to remove the most recent data from the backup file "even if I'm trying to remove the backup set is not the most recent.

    I'm trying to reduce the amount of space that my Windows 7 backup uses so I've come to the place in Windows 7 backup:
    Manage space > view backups...

    I am then presented a list of three backup sets:
    01/03/2012 to 01/04/2012
    12/07/2011 to 12/21/2011
    23/11/2011 to 30/11/2011

    I would like to remove the older two, leaving the most recent. However, this doesn't seem to work as expected. If I try to delete one of the two most recent ones (the first two in the list above) I get the following warning "Are you sure you want to delete this backup file.

    However, if I try to delete the last one in the list, I get a slightly different error "Are you sure you want to remove the most recent data of the file backup?"-sounds strange because it is clearly not the most recent backup according to the dates it's show.

    Of course, I can go ahead and ignore the warnings, but I fear that maybe there are some files in the last backup the value in the list that may not be right more recent set backs.

    In 2011, I thought this might be something wrong with the date formats vs US UK (I am in England so the above dates are in dd/mm/yyyy format and not in jj/mm/aaaa) - but now it's 2012 and I backup from 2012 and 2011 games and he always seems to think that the oldest backup of 2011 is the most recent.

    Any ideas? Can I delete the oldest backup sets (that is, the two that are from 2011) safely?

    Any help much appreciated - thank you.

    Simon

    Update: I checked on other PCs in the office and the situation is the same - is not only something strange on a PC.

  • vRA - nic virtual disks are deleted

    VRA 6.2, when the network card adding virtual disks are deleted

    It is a mistake to know. Please refer to this article to install the fix

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

  • You want to clarify the whole picture except for a small area - using a MAC PS thanks CC!

    You want to clarify the whole picture except for a small area - using a MAC PS thanks CC!

    The target of the layer mask.

    Use the paint brush tool

    Use black paint

    paint over the area you want to return the origanal look.

  • How do you get the path of the data store or the URL of a virtual disk in vRealize Orchestrator?

    I need to eager zero a virtual disk while building a virtual machine. I found the eagerZeroVirtualDisk_Task() under VcVirtualDiskManager function, which takes in 2 parameters:

    name - (String) the name of the disk, is a path to the data store or a URL pointing to the virtual disk that needs to be inflated.

    Data Center - (VcDatacenter) if the name is a path of data store, the data center for the path of the data store. Not necessary when called directly on ESX. If not specified on a call to VirtualCenter, the name must be a URL.

    How can I get the correct path of data store given the virtual disk? I intend to iterate through the features of the virtual machine to get the disks.

    Thank you!

    Actually figured out how to get the path of the data store, and how a drive zeros. In case it is useful to share the code here:

    var vimHost = vm.vimHost; VM instanceof VCVirtualMachine

    var vDiskMgr = vimHost.virtualDiskManager;

    for each disk

    var features = vm.config.hardware.device;

    for each {(dev var in devices)

    dev.backing contains a lot of useful things...

    If (dev instanceof VcVirtualDisk) {}

    a disc!

    var dsPath = dev.backing.fileName;

    System.log ("path of disk:" + dsPath);

    Data var Center =

    System.getModule('com.vmware.library.vc.datastore').getDatacenterForDatastore (dev.backing.datastore);

    var vcTask = vDiskMgr.eagerZeroVirtualDisk_Task (dsPath, datacenter);

    wait

    var waitResult =

    System.getModule('com.vmware.library.vc.basic').vim3WaitTaskEnd (vcTask, true, 5);

    }

    }

  • "You sure you want to delete the file without moving it to the Recycle Bin? In response, 'No' causes the file to be left undone.

    Separated from this thread.

    I think the bug has something to do with the partitions created with TrueCrypt.

    Indeed. Make the truecrypt as removable disk volume in options of fixed the problem :)

    The suggestion did not work for me.

    I use Windows Home Premium and Truecrypt 7.1.

    When the volume is "removable", an attempt to delete causes the prompt, "do you really want to delete the file without moving to trash? In response, 'No' causes the file to be left undone.

    When the volume is not removable, an attempt to delete causes, command, the prompt "you want to move the file to the Recycle Bin?  I clicked 'Yes' the file disappeared from his record, but was not visible in the trash, even if the trash appears to have contained.  By clicking on "All content, restoring" the trash, has no effect.

    Basket of content used to be visible and restoration-able.  I recently opened some volumes on a drive not used for several months.  Other that that, I can't say why the trash behavior has changed recently.

    Suggestions appreciated.

    Thank you.

    Colin

    I suspect it has to do with the size of the 'file '.  When a file is larger than the preset size of trash, your options are to delete without moving to the trash.  No way that you do not want to delete it without moving it to the Recycle Bin, but if she's great that recycle it bin it cannot so it just happens.  If you say yes it removes without moving to recycle.

    You can change the size of your trash by right click > properties > change size

  • The names of source files are larger than is supported by the file system...

    "The names of source files are larger than is supported by the file system. Try to move to a location that has a shorter path name, or try renaming to name more short (s) before performing this operation. »

    There are about 10 subfolders on the computer. None can be deleted, moved, or renamed without one appearing in the message. I tried UNLOCKER ASSISTANT & DELINVFILE get rid of this file. Once more, none worked. Command prompt did not work as well. Please help me, this issue will not go away on my desk.

    Try first to remove bypassing the Recycle Bin using SHIFT-DEL(thanks, Michael Murphy) rather than just led

    Try to use one of the following free products to remove the file/folder.  Unlocker to: http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml or file Assassin http://www.malwarebytes.org/fileassassin.php (with or without forcing the deletion and you have to force the deletion in this case: http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-fileassassin/). These programs often work when normal functions remove Vista not work correctly.  Have you tried Unlocker (I don't know if it's the same as Unlocker Assistant) but if this if it is different, gives it a try.

    Here is an article on this topic (related to another topic, but essentially the same problem) with a number of suggestions - which can work for you: http://www.howtogeek.com/forum/topic/how-to-delete-source-file-names-are-larger-than-is.

    I hope that one of these options help.  If this isn't the case, after return and we will see if we can find another answer.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • __File names are larger than is supported by the file system

    I tried to upgrade from Vista to 7, but the upgrade attempted to restore Vista.  To exit a loop of reboot, I started from the drive of W7 upgrade went to the command prompt and found a folder with subfolders 25.  After moving them to another directory, I was able to get the roll to Vista is complete.  I tried to delete the record with 25 subfolders.  But I get the error message "the folder contains items whose names are too long for the trash.  and "the names of source files are larger than is supported by the file system.  Try to move to a location that has a shorter path name, or try renaming to shorter name (s) before launching the operation".  I tried shift-delete to bypass the Recycle Bin, but it does not work.  I tried moving and able to copy to a different folder after what I was able to remove the old records but could not delete the new folder.  Now, for some reason any I can rename the subfolder name (they were all named "Downloads"), but when I did it it would create several subfolders named "downloads".  So now I have 60-70 subfolders, rather than the original 25.

    Does anyone has a suggestion or a program to help me remove the offending folder?  Should I go on my recovery drive and recover Vista of the D: drive on the C: drive?  If this does not work, will it reformat the hard drive?  If I reformat, how to move to Windows 7?  Thanks for any help.

    HII secoch ,

    Thanks for posting your queries.

    I hope you have this problems, but this forum is to help everyone, I want something here too, I did too and it really helped.

    First thing is you do not need to download all programs for this.

    Like, Windows has problems dealing with extra long path/filenames. If the
    combination of the names of access road and closer to 255 characters (127 for
    Windows 95/98/me) Windows probably not manage it well, if you try to remove or
    Rename it (you can create it, but not change it). The first
    thing is trying to rename some of the files which lead to the queue
    himself. The directory displayed a level of return, and then select Rename the
    folder the file is located in. Try a single letter (of course, to keep a record of what
    folder you called that so you can reverse the process!). Then, return to the
    file and see if Windows then you can rename or remove. Otherwise, go back
    yet another folder and rename this one and so on. At some point, you should be
    be able to find a series of folder names of reduced length which you can then
    Rename the file to a name that is short enough to allow you to recreate then
    the original directory tree and still work with the file in question.  In fact, the main goal is to try to make the shortest path of length instead of only the file name and the folder name.

    I also hope that this help option.  If this isn't the case, please after return or PIN me.

    I am always available on mail too-> * address email is removed from the privacy *.

Maybe you are looking for

  • IPhone and Itunes account help please

    Hi all Huge thank in advance to anyone who can tell me what I need to do to fix this, I Googled, but have not found a complete answer. My wife and I have Iphones, I had mine a while when she got hers and I plugged it into my itunes account to put in

  • HP p6510y: upgrade of the motherboard

    I have a motherboard with AMD Athlon ii x 4 630 processor and 250 w PSU:-ES880-ΜATX.  I intend to upgrade the motherboard so that I can install an AMD fx CPU 6300 and and new Gpu.  What are my options? Will be the listed below work? http://www.Newegg

  • How to remove original pictures of the iPhone after sync with computer

    Once upon a time, after syncing my iPhone with my computer (via iTunes), I would get the option ' remove the originals of the phone? These days I can't find any setting that allows me to do. Is this now sort to automatically delete the originals of t

  • HP envy 14k011tu: to upgrade graphics card

    My laptop is Hp Envy 14k011tu. It has a graphics 4400u graphics card intel which is quite bad for the games. I wanted to upgrade. Then someone can suggest som egud graphics cards under $ 100. Concerning

  • Windows Vista restore files from backup to external HDD

    I put the Vista backup center to do a weekly backup on an external hard drive.  However when I try to restore from it using the wizard it will not work.  Although he seems to know that the drive is there and shows even the dates of the back-ups, he d