From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] fdisk and lvs size differences
Date: Wed, 09 Jan 2008 14:36:12 +0100 [thread overview]
Message-ID: <4784CDCC.6000809@wpkg.org> (raw)
Let's say I have a 500GB logical volume:
# lvs | grep san2_data
san2_data san1 -wi-a- 500.00G
fdisk will report a bigger number:
# fdisk -l /dev/san1/san2_data
Disk /dev/san1/san2_data: 536.8 GB, 536870912000 bytes
Now, if fdisk -l would report 100 GB for some partition/disk/volume, a
volume of which size should I create with "lvcreate" when I want to copy
data from that partition/disk/volume to a new logical volume?
I wouldn't like to waste several gigabytes of space (this would happen
if I create a 100G volume with lvcreate), perhaps there is some magic
formula?
--
Tomasz Chmielewski
http://wpkg.org
next reply other threads:[~2008-01-09 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 13:36 Tomasz Chmielewski [this message]
2008-01-09 13:43 ` [linux-lvm] fdisk and lvs size differences Bryn M. Reeves
2008-01-09 14:51 ` Tomasz Chmielewski
2008-01-09 16:13 ` Bryn M. Reeves
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=4784CDCC.6000809@wpkg.org \
--to=mangoo@wpkg.org \
--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.