All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian McCullough <bdmc@bdmcc-us.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Beginner Questions
Date: Mon, 12 Nov 2007 17:53:55 -0500	[thread overview]
Message-ID: <20071112225355.GA13538@bdmcc-us.com> (raw)
In-Reply-To: <1C8CF1EA1A5B5940B81B0710B2A4C93823D19EC88D@an-ex.ActiveNetwerx.int>

On Mon, Nov 12, 2007 at 03:48:27PM -0700, Joseph L. Casale wrote:
> Pvs -v
>   /dev/sdb1  iSCSI_dvr  lvm2 a-   744.99G 744.99G 745.00G yQyVCe-tiS4-Ma1E-hilJ-niuG-KXL9-jkKVIk
>   /dev/sdc1  iSCSI_dvr  lvm2 a-     1.36T   1.36T   1.36T PURHhY-Lo1T-5bif-HjGP-dP3o-NVTs-71ZKUm
> 
> Still baffling me is that fdisk -l shows:
> Disk /dev/sdc: 1499.9 GB, 1499998453760 bytes
> 255 heads, 63 sectors/track, 182364 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1               1      182364  1464838798+  8e  Linux LVM
> 
> And 1499.9 GB = ~1.46 terabytes


This is an old, and easy, one to answer.  You will notice in your first
line of fdisk output, the 14xxx bytes value, which matches the "1499.9
GB" value just before it.

What you are seeing is the difference between GigaBytes that are made up
of 1000 * 1000 * 1000 and gigabytes that are made up of 1024 * 1024 *
1024 bytes.



Hope that helps,
Brian

  reply	other threads:[~2007-11-12 22:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 21:33 [linux-lvm] Beginner Questions Joseph L. Casale
2007-11-12 21:55 ` pham_cuong
2007-11-12 22:00   ` Joseph L. Casale
2007-11-12 21:58 ` Alasdair G Kergon
2007-11-12 22:30   ` Joseph L. Casale
2007-11-12 22:33     ` Alasdair G Kergon
2007-11-12 22:48       ` Joseph L. Casale
2007-11-12 22:53         ` Brian McCullough [this message]
2007-11-12 23:00         ` Alasdair G Kergon
2007-11-12 23:28           ` Joseph L. Casale
2007-11-13 16:36             ` pham_cuong
2007-11-13 18:13               ` Dean S. Messing
  -- strict thread matches above, loose matches on Subject: below --
2007-11-14  1:39 [linux-lvm] beginner questions David Hansel
2007-11-14  1:42 ` Joseph L. Casale
2007-11-14  2:32   ` malahal
2007-11-14  2:47     ` David Hansel
2007-11-14  8:54       ` Bryan Whitehead
2007-11-14  8:57         ` Bryan Whitehead
2007-11-14  9:41           ` David Hansel
2007-11-14 18:02             ` David Brown
2007-11-14 16:20       ` Stuart D. Gathman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071112225355.GA13538@bdmcc-us.com \
    --to=bdmc@bdmcc-us.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.