All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: linux-lvm@redhat.com
Cc: hjm@redhat.com
Subject: Re: [linux-lvm] Probs with lvm on large filesystem
Date: Fri Feb 13 09:50:01 2004	[thread overview]
Message-ID: <20040213145043.GD10943@redhat.com> (raw)
In-Reply-To: <OFD56946C5.68D2F3AD-ONC1256E39.0041DE2E-C1256E39.0041D5D3@st.behr.de>

Ah, I overlooked: you don't need "-c ..." with lvcreate
(-c is optional with snapshots).

Regards
Heinz    -- The LVM Guy --


On Fri, Feb 13, 2004 at 12:59:45PM +0100, Andreas Reschke wrote:
> Hello,
> we want to use our Red Hat Enterprise ES 3.0 with lvm as a file server. 
> The server is connected to a IBM Fast T 900 via qlogic2200 Fiber Channel. 
> On the FastT I have created a partition with 295 GB.
> Fdisk shows this partition as /dev/sda1 with 292,5 GB:
> 
> Output of fdisk:
> fdisk -l
> 
> Platte /dev/sda: 292.5 GByte, 292555849728 Byte
> 255 K�pfe, 63 Sektoren/Spuren, 35567 Zylinder
> Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
> 
>     Ger�t boot.  Anfang      Ende    Bl�cke   Id  Dateisystemtyp
> /dev/sda1             1     35567 285691896   8e  Linux LVM
> 
> [root@fastlinux lvmgui-0.4]# pvcreate  /dev/sda1
> pvcreate -- physical volume "/dev/sda1" successfully created
> 
> [root@fastlinux lvmgui-0.4]# vgcreate -s 8M vg_daten /dev/sda1
> vgcreate -- INFO: maximum logical volume size is 511.98 Gigabyte
> vgcreate -- doing automatic backup of volume group "vg_daten"
> vgcreate -- volume group "vg_daten" successfully created and activated
> 
> [root@fastlinux lvmgui-0.4]#lvcreate -c 8k -L 292G -n lvo1 vg_daten
> lvcreate -- only 34873 free physical extents in volume group "vg_daten"
> [root@fastlinux lvmgui-0.4]# lvcreate -c 1024k -L 292G -n lvo1 vg_daten
> lvcreate -- only 34873 free physical extents in volume group "vg_daten"
> 
> vgdisplay
> --- Volume group ---
> VG Name               vg_daten
> VG Access             read/write
> VG Status             available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                0
> Open LV               0
> MAX LV Size           511.98 GB
> Max PV                256
> Cur PV                1
> Act PV                1
> VG Size               272.45 GB
> PE Size               8 MB
> Total PE              34873
> Alloc PE / Size       0 / 0
> Free  PE / Size       34873 / 272.45 GB
> VG UUID               OOjBLA-sHjN-LtHG-YRlE-JIRZ-miEk-m6S5vv
> 
> I have a volume group with maximum 511.98 Gigabyte and want to create a 
> logical volume with 292 GB (greater than 266 GB), but lvcreate allow only 
> 34873 extents (= 266 BG).
> 
> Where is the resulotion?
> 
> 
> 
> Thanks
> Andreas
> -- 
> BEHR GmbH & Co                          Tel. 0711-896-4598
> Andreas Reschke                         Fax: 0711-8902-4598
> Abteilung BG-IM23 IT-Services           Mobil: 0172-6307978
> Unix/Linux-Administration               andreas.reschke@behrgroup.com
> Siemensstrasse 164
> D-70469 Stuttgart
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat, Inc.
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  parent reply	other threads:[~2004-02-13  9:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13  7:01 [linux-lvm] Probs with lvm on large filesystem Andreas Reschke
2004-02-13  9:46 ` Heinz Mauelshagen
2004-02-13  9:50 ` Heinz Mauelshagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-13  9:12 Andreas Reschke

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=20040213145043.GD10943@redhat.com \
    --to=mauelshagen@redhat.com \
    --cc=hjm@redhat.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.