[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Probs with lvm on large filesystem



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]