How to calculate the size of a VMFS volume?

Creating a new partitiontable after ESXi 4 wiped empty was pretty easy with fdisk.
These days with partedUtil and ESXi 5 is not so trivial.

Consider that we have a disk/Lun, which looks like this

~ # partedUtil get /vmfs/devices/disks/mpx.vmhba1:C0:T4:L0
93990 255 63 1509949440

and suggests that the original - now messed the Volume was created with ESXi 5.
How to calculate the value of the end in the sector so that I can recreate the VMFS partition like this:

partedUtil setptbl ' / vmfs/devices/disks/mpx.vmhba1:C0:T4:L0 ' TPG '1-2048 ? '. AA31E02A400F11DB9590000C2911D1B8 0 "


In this case, the correct value is 1509949349, but how do I calculate if I don't know the correct value?

Hello

the output of the command "partedUtil get /vmfs/devices/disks/mpx.vmhba1:C0:T4:L0" will be useful in your case, it's "93990 255 63 1509949440".

gives us the values for C/H/S (cylinder/head/sector).

A VMFS volume partition must end on the limit of a cylinder, so selecting the last sector of the partition table should be done using the formula endSector = (C * H * S - 1).

who is '1509949440-1' = 1509949349.

Concerning

(Ref: http://www.virtuallyghetto.com/2011/07/how-to-format-and-create-vmfs-volume.html)

Tags: VMware

Similar Questions

  • How to calculate the size of HFM Cube in SQL Server 2005

    Hello

    How to calculate the size of the HFM Cube in SQL Server2005

    Under application used to Oracle. So what's application to SQL Server?

    ***********************************************************************************************************
    SQL > select sum(bytes/1024/1024) from dba_segments where nom_segment like 'FINANCIAL_ %' and owner = 'HFM;
    SUM(BYTES/1024/1024)

    SQL > select sum(bytes/1024/1024) from dba_segments where nom_segment like FINANCIAL% HSV' and owner = 'HFM;

    SUM(BYTES/1024/1024)
    **********************************************************************************************************

    Concerning
    Smilee

    What is your goal? The subcube in HFM is a concept that applies to application layer - not so much to the database layer. The size of the subcube is the unique number of sheets (data values for January - December inclusive, for example) for the given entity, a triplet of currency or node Parent.Child. Should be considered for accounts of parent and customs that do not exist in the database, but are calculated in the RAM of the application layer.

    So if your goal is to find the largest subcubes, you could do this by querying the database and by counting the number of records per entity value (tables DCE) or combination of entity parent.child (tables of the DCN). I am not versed in SQL, but I think the script below you would just the size of the pattern and not the sizes of subcube.

    See Accelatis.com for a third party software product that can do it for you. The function is called the subcube Analyzer and was written by the same team that wrote HFM, then they should know how :-)

    -chris

  • How to calculate the size of index?

    How to calculate the size of indexes for a small relational database. Please make it clear that I understand.

    Hello

    How to measure size.

    View DBA_SEGMENTS gives the size of all the Segments (Table, Index,...).

    If you can for example use a query like this:

    select segment_name, bytes "Size in Bytes"
    from dba_segments
    where owner = ''
    and segment_name = ''
    and segment_type = 'INDEX'
    

    Hope this helps.
    Best regards
    Jean Valentine

  • Calculate the size of fonts depends on each device

    Hello everyone

    Anyone know how to calculate the size of font suitable for each device? the 8100 and 8300 look fine but to 8900 look small the same font size (18px), so I'm looking for something, a setting to help me calculate control font size.

    the screen resolution is a possible cause, how do you know this and use it for this proposal?

    Thanks in advance

    Greetings

    Don't use pixels when you ask the police - use points.

  • How Illustrator calculates the height of box Em?

    I am trying to determine how Illustrator calculates the basic position of the top of the a Point text object bounding box.  She seems to be the same distance as an object of text box with the game setting of first base to box Em height line.  I just do not know what assets within the scope of the police which matches.  Help of the Illustrator defines it as:

    "The top of the box em in Asian fonts touches the top of the type object. This option is available regardless of the preference show Asian Options. »

    For some fonts, this distance seems to be near the pole of the police, but this is not true for each font.  The clues how Illustrator calculates it?

    metric-example.png

    Here you go

    var idoc = app.activeDocument;
    var itext = idoc.selection[0];
    
    var top = itext.position[1];
    var base = itext.anchor[1];
    
    alert('Em? size: ' + (top-base));
    
  • How to find the sizes of all schema objects

    Hi guru,.

    I have a 10.2.0.4 database on the Windows platform.

    How can I calculate the size of a particular schema objects (i.e.table, index, Mviews etc.)?

    Is any dynamic script available for the same thing?


    Thanks in advance.

    Why do you want to include nom_segment in the State? You need size of all objects in the schema.
    simply question query provided that WHEN the OWNER = "tbl";
    If you need that in Excel, you can use SQL Developer or any available for Oracle GUI tools.

    Murali Mohan

  • How to reduce the size of the records Quicktime file?

    On my Mac, they take as much space as 1 GB for a film record or a screen for 2 minutes.

    iPad records take up much less space and are of a higher quality.

    Anyone know how to reduce the size of the file, or at least tell me why they use so much space? I have only 128 GB.

    A big thank you to you all, good people.

    I don't see that you can export out of other than QT. MOV

    but you can use an external converter

    While it is mainly used to convert video files to DVD it will also convert video files.

    https://handbrake.fr

  • How to know the size of a message that I wrote

    When I created a photojournal with comments before each photo, I received a message "the size of the message you want to send exceeds the limit of the overall size of the server."
    So it is not sent and you told me to reduce it and then try again. I did it with photos, deleted some, as well, but still received the error message and have not discovered how to find the size of the message.

    Save in drafts.

    in the drafts folder, click on the widget to small table on the right side of the... the column headings select size

    Don't forget the size increases by about 30% for attachments.

  • How to increase the size of the menu bar?

    My bar menu and all the buttons at the top suddenly, all are much smaller. Any ideas on how to increase the size of the top of the screen? IM talking not about the size of Web pages, just the menus up to the top.

    Don't want to use the menu bar and not the Firefox menu button?

    See also:

    You had previously placed all the items in the Menu bar?

    You can set the layout.css.devPixelsPerPx pref on the topic: config page on 1.0 or Windows 8 to 1.25 and if necessary adjust layout.css.devPixelsPerPx from 1.0 to 0.1 or 0.05 steps (1.1 or 0.9) do the icons to display properly.

    See also:

    An extension allows you to adjust the size of the text in the user interface and zoom the page in the browser window.

    You can watch this extension to adjust the font size for the UI (toolbar).

    You can watch the Default FullZoom Level or NoScript extension if the web pages need to be adjusted after the change of layout.css.devPixelsPerPx.

  • How to increase the size of my printed copies

    When I print something, the size of the print is very small, almost unreadable. How to enlarge the size (Photosmart 7280)

    Hello

    I understand that you would like to know how to enlarge the size of the copies.

    For the Deskjet 3520 on the screen, go to the menu copy, resize them, the options are full-scale, resize to the Fit, Custom % 3d %.

    If you have another printer, please provide the name, so I can better help you.

    Previous post wanted to know how to change the font size when printing.

    All fonts changes are controlled by the application you are printing from. (Word, internet Explorer)

    I hope this helps.

  • Toshiba 24W1433DG - how to increase the size of the subtitles

    Good evening.

    I bought model lcd 24W1433DG I
    in trouble in subtitles divx, movies meto a pen and turn the LCD screen and all the subtitles of movies are very small and the big give computer... I went to the maximum value and the 30, but the legend is small (I mean the subtitles of attention for divx movies) would like to help

    How to increase the size of the subtitles.

    Thank you

    Message has been translated

    Hello

    As far as I know, the size of the subtitles can be increased.

  • How to change the size of the app button

    Can how I change the size of the buttons on my iPad Air app

    Cannot change the app icons themselves in size. If the icons are large, see if the zoom is on iOS: the home screen icons are magnified or large - Apple Support

    -AJ

  • How to calculate the execution time of a SCTL in FPGA VI?

    Hello

    Can someone guide me that how to calculate the execution time of a SCTL for an iteration in the FPGA VI?

    Thank you and best regards,

    Rashid

    Hello r,.

    A SCTL will always run in a beat the clock it has been linked to.  So, if you use a 40 MHz clock, this loop will run in 25 ns.  If the code cannot complete in that, or if it requires two graduations of the watch to do the calculation, your code does not compile, then you have the guarantee that this will always be how long it takes this piece of code to run.

  • To build the waveform.vi function how to calculate the value of dt

    Dear all

    Please guide me How to calculate the value of dt according to waveform.vi of construction

    My sampling rate is 25000 and I take 200000 samples.

    Kind regards

    Muhammad Irfan

    It's all simple arithmetic. The inverse of the sampling frequency power of samples is then the dt or the time between samples the number of samples is not relevant.

  • How to calculate the execution time of a loop?

    Hello

    Can someone guide me that how to calculate the execution time of a loop to iterate?

    Thank you and best regards,

    Rashid

    I hope I have your question! See attached screenshot

Maybe you are looking for

  • Satellite A60 restarts automatically displaying a blue screen

    I have a Toshiba Satellite A60 two years old, recently, I noticed a problem where suddenly the computer restarts automatically, in the first, showing a blue screen with white text for a glimpse of a second. Also what difference does update the BIOS?

  • Satellite U405 - what is the best way to battery life increases

    Hello world! I searched for it a little and everything I could find are contradictory answers and some confusing instructions... :)Even the PDF for my U405 has some conflicting advice (it is recommended to completely discharge or not?) I'm trying not

  • Why some of my photos have the location and some do not?

    I have an iMac with OS X Yosemite and Photo V1 (209.52.0) At the same time when I saw my photos on my iMac they included the location of the photo, such as the city.  Recently, my wife and I went to Europe and I took about 500 pictures with my iPhone

  • Don't let me install of 10.7.5, says it requires 10.10 before installing.

    I have the Mac OS X 10.7.5 version and downloaded the software installation to El Capitan. On the procedure to install it, it tells me a "Alert" that "this update requires OS X version 10.11." until I can install this version. However, online, he say

  • Replacability SSD/hard DRIVE on the new Y400/Y500 series

    Hi forum, I know laptops are not yet published, but I wonder about their hardware configurations. I am running a Y560p with Self installed 64 GB msata WSSD, and I noticed that the new Y500 Y400 will have of the WSSD of 16 GB. I wonder: 1. why these s