<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Size mismatch between disk size reported by pvdisplay and diskinfo in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859384#M635898</link>
    <description>First off, your s2 is incorrect... it should be:&lt;BR /&gt;&lt;BR /&gt;s2= 512 * 4 * 1024 * 1024&lt;BR /&gt;s2= 2147483648&lt;BR /&gt;&lt;BR /&gt;s1 - s2 = 195072&lt;BR /&gt;&lt;BR /&gt;in blocks (divide by 512): 381 blocks&lt;BR /&gt;&lt;BR /&gt;or 190.5 Kbytes&lt;BR /&gt;&lt;BR /&gt;The LVM does use some space on the drive for headers and such - how much, I don't know, but it really doesn't matter because it's not a significant amount - 190K is nothing.&lt;BR /&gt;&lt;BR /&gt;Wait until you create a filesystem on it - you'll lose somewhere around 10% of the usable space to filesystem overhead.&lt;BR /&gt;&lt;BR /&gt;As for the definition of MBytes, it depends on who you ask... really.&lt;BR /&gt;&lt;BR /&gt;Marketing types tend to define it as 1000 * 1000, but us technical people define it as 1024 * 1024.  For your purposes, use 1024 * 1024.&lt;BR /&gt;&lt;BR /&gt;I gather from your questions that you're a little new at this - which is not a bad thing (better you ask than not understand!) So, I'll offer this little bit of advice: don't sweat over this stuff - you will rarely be able to account for every single byte of storage unless you have kernel sources to read and see exactly what it's doing with the storage and why - and if you do (I have), you'll find that it's not losing anything.  Chaulk it up to system overhead and "marketing math".  Always order a little more storage than you think you need.&lt;BR /&gt;&lt;BR /&gt;The same goes for other system resources, such as CPU and memory.  Always order a little bit more than you think you will need, because you can never account for every little bit of system overhead, rounded numbers, and such.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;-Vince&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 07 Dec 2002 14:14:36 GMT</pubDate>
    <dc:creator>Vincent Fleming</dc:creator>
    <dc:date>2002-12-07T14:14:36Z</dc:date>
    <item>
      <title>Size mismatch between disk size reported by pvdisplay and diskinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859383#M635897</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;While following up on the diskinfo post, I checked the pvdisplay&lt;BR /&gt;output (as suggested by Bill McNAMARA)&lt;BR /&gt;&lt;BR /&gt;If I calcuate size using diskinfo&lt;BR /&gt;s1 = blocks per disk * bytes per sector&lt;BR /&gt;s1 = 2147678720 bytes&lt;BR /&gt;&lt;BR /&gt;If I calcualte size using pvdisplay&lt;BR /&gt;s2 = Total PE * PE Size * Bytes in One MB&lt;BR /&gt;s2 = 511 * 4 * (1024 * 1024)&lt;BR /&gt;s2 = 2143289344&lt;BR /&gt;&lt;BR /&gt;1. The "Mbytes" is actually 1024 * 1024 (and not 1000 * 1000), right?&lt;BR /&gt;2. What accounts for the difference between s1 and s2? (PVRA, VGRA ?)&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt; Nikhil&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from Disk to HP-UX &amp;gt; LVM and VxVM. - Hp Forum Moderator&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 02:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859383#M635897</guid>
      <dc:creator>Nikhil_1</dc:creator>
      <dc:date>2014-03-03T02:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Size mismatch between disk size reported by pvdisplay and diskinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859384#M635898</link>
      <description>First off, your s2 is incorrect... it should be:&lt;BR /&gt;&lt;BR /&gt;s2= 512 * 4 * 1024 * 1024&lt;BR /&gt;s2= 2147483648&lt;BR /&gt;&lt;BR /&gt;s1 - s2 = 195072&lt;BR /&gt;&lt;BR /&gt;in blocks (divide by 512): 381 blocks&lt;BR /&gt;&lt;BR /&gt;or 190.5 Kbytes&lt;BR /&gt;&lt;BR /&gt;The LVM does use some space on the drive for headers and such - how much, I don't know, but it really doesn't matter because it's not a significant amount - 190K is nothing.&lt;BR /&gt;&lt;BR /&gt;Wait until you create a filesystem on it - you'll lose somewhere around 10% of the usable space to filesystem overhead.&lt;BR /&gt;&lt;BR /&gt;As for the definition of MBytes, it depends on who you ask... really.&lt;BR /&gt;&lt;BR /&gt;Marketing types tend to define it as 1000 * 1000, but us technical people define it as 1024 * 1024.  For your purposes, use 1024 * 1024.&lt;BR /&gt;&lt;BR /&gt;I gather from your questions that you're a little new at this - which is not a bad thing (better you ask than not understand!) So, I'll offer this little bit of advice: don't sweat over this stuff - you will rarely be able to account for every single byte of storage unless you have kernel sources to read and see exactly what it's doing with the storage and why - and if you do (I have), you'll find that it's not losing anything.  Chaulk it up to system overhead and "marketing math".  Always order a little more storage than you think you need.&lt;BR /&gt;&lt;BR /&gt;The same goes for other system resources, such as CPU and memory.  Always order a little bit more than you think you will need, because you can never account for every little bit of system overhead, rounded numbers, and such.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;-Vince&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Dec 2002 14:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859384#M635898</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2002-12-07T14:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Size mismatch between disk size reported by pvdisplay and diskinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859385#M635899</link>
      <description>&amp;gt; First off, your s2 is&lt;BR /&gt;&amp;gt; incorrect... it should be: &lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; s2= 512 * 4 * 1024 * 1024 &lt;BR /&gt;&lt;BR /&gt;Well, pvdisplay reports&lt;BR /&gt;Total PE as 511, not 512.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Marketing types tend to define it as 1000 * 1000, but&lt;BR /&gt;&amp;gt; us technical people define it as 1024 * 1024. For your &lt;BR /&gt;&amp;gt; purposes, use 1024 * 1024. &lt;BR /&gt;&lt;BR /&gt;Thanks Vince.&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt; Nikhil&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2002 07:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/size-mismatch-between-disk-size-reported-by-pvdisplay-and/m-p/2859385#M635899</guid>
      <dc:creator>Nikhil_1</dc:creator>
      <dc:date>2002-12-10T07:22:35Z</dc:date>
    </item>
  </channel>
</rss>

