<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>Hi
experts,</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2
face=Arial></FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>I have configured an
external disk array on Ubuntu (amd64, 2.6.32 kernel) with lvm2
(2.02.54)</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>The setup is as
follows:</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2
face=Arial></FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>--- Physical volume
---<BR>
PV
Name
/dev/fc_keep1a_1 (this is a symbolic link to a fibre channel device)<BR>
VG
Name
vg_uni<BR>
PV
Size
555,23 GiB / not usable 2,20 MiB<BR>
Allocatable
NO<BR>
PE
Size
4,00 MiB<BR>
Total
PE
142139<BR>
Free
PE
65339<BR>
Allocated
PE 76800<BR>
PV
UUID
SmOTSP-wPEd-ZruJ-XP8n-WpoL-anDN-ccG7dM</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2
face=Arial></FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>vgdisplay
vg_uni<BR>
--- Volume group ---<BR>
VG
Name
vg_uni<BR>
System
ID
<BR>
Format
lvm2<BR>
Metadata Areas
1<BR>
Metadata Sequence No 20<BR>
VG
Access
read/write<BR>
VG
Status
resizable<BR>
MAX
LV
0<BR>
Cur
LV
4<BR>
Open
LV
0<BR>
Max
PV
0<BR>
Cur
PV
1<BR>
Act
PV
1<BR>
VG
Size
555,23 GiB<BR>
PE
Size
4,00 MiB<BR>
Total
PE
142139<BR>
Alloc PE / Size 76800 /
300,00 GiB<BR>
Free PE / Size
65339 / 255,23 GiB<BR>
VG
UUID
0VNl5W-W22T-HEow-LvNx-gopm-nS0z-FpjZvi<BR>
</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>This is for a
database working with raw devices (without filesystem), I allocated multiple
partitions:</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>100 GB
root</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>50 GB
blob1</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>50 GB
blob2</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>100 GB
data1</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2
face=Arial></FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>When I try to
allocate another area with 10 GB for a temporary space, I get an
error:</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>lvcreate -L 10G -n
dbs_uni_tmp vg_uni<BR>
Insufficient free space: 2560 extents needed, but
only 0 available</FONT> </SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2
face=Arial></FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial>I did -vvv so the
layout is printed (note there have been other lvm partitions which have been
dropped):</FONT></SPAN>
</DIV>
<DIV><SPAN class=682125820-09012012><FONT size=2 face=Arial> Using cached
label for /dev/fc_keep1a_1<BR>
Using
cached label for /dev/fc_keep1a_1<BR>
Read vg_unister metadata (20) from /dev/fc_keep1a_1 at 47104 size
1723<BR>
/dev/fc_keep1a_1
0: 0 25600:
dbs_uni_root(0:0)<BR>
/dev/fc_keep1a_1
1: 25600 25600:
dbs_uni_data1(0:0)<BR>
/dev/fc_keep1a_1 2: 51200 64000:
NULL(0:0)<BR>
/dev/fc_keep1a_1 3:
115200 12800:
dbs_uni_blob1(0:0)<BR>
/dev/fc_keep1a_1 4: 128000 12800:
dbs_uni_blob2(0:0)<BR>
/dev/fc_keep1a_1 5: 140800 1339: NULL(0:0)<BR>
Archiving volume group "vg_unister" metadata (seqno 20).<BR>
Creating logical volume dbs_unister_tmp<BR>
Insufficient free space: 1338
extents needed, but only 0 available<BR>
Unlocking
/var/lock/lvm/V_vg_unister<BR>
_undo_flock
/var/lock/lvm/V_vg_unister<BR>
Closed
/dev/fc_keep1a_1<BR>
</FONT></SPAN>
</DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=682125820-09012012>What</SPAN></FONT><FONT size=2 face=Arial><SPAN
class=682125820-09012012> can I do to be able to use the space
?</SPAN></FONT>
</DIV>
<DIV align=left><SPAN lang=DE>
<P align=left><FONT size=2 face=Arial><SPAN class=682125820-09012012>Thank you
all for your thoughts !</SPAN></FONT>
</P>
<P align=left><FONT size=2 face=Arial>Marcus
Haarmann<BR>
</FONT></SPAN>
</P></DIV></BODY></HTML>