<div><br>When I used a VG of 1.82TB to create a 100GB pool, it faild.<br>The err mesg  "cannot allocte memory",however, my host's meminfo:<br><br>[root@host2 persistent-data]# cat /proc/meminfo <br>MemTotal:       10234416 kB<br>MemFree:         9685956 kB<br><br>whether I should configure somewhere to make it work well(create bigger pool)?<br><br>This is the mesgs:<br><br>---------------------<br><div>
[root@host2 ~]# pvs<br>  Ignoring too small pv_min_size 512KB, using default 2048KB.<br>  PV         VG         Fmt  Attr PSize   PFree  <br>  /dev/sda2  VolGroup00 lvm2 a--  931.41G      0 <br>  /dev/sdb   vg01       lvm2 a--  931.51G 193.51G<br>  /dev/sdc   vg01       lvm2 a--  931.51G 931.51G<br>  /dev/sdd   vg02       lvm2 a--  931.51G 927.51G<br>  <span style="color: rgb(0, 0, 128); font-weight: bold;">/dev/sdg   vg_pool    lvm2 a--  931.51G 931.51G</span><br style="color: rgb(0, 0, 128); font-weight: bold;"><span style="color: rgb(0, 0, 128); font-weight: bold;">  /dev/sdl   vg_pool    lvm2 a--  931.51G 931.51G</span><br>[root@host2 ~]# vgs<br>  Ignoring too small pv_min_size 512KB, using default 2048KB.<br>  VG         #PV #LV #SN Attr   VSize   VFree  <br>  VolGroup00   1   2   0 wz--n- 931.41G      0 <br>  vg01         2   7   0 wz--n-   1.82T   1.10T<br>  vg02         1   1   0 wz--n- 931.51G 927.51G<br> <span style="color: rgb(0, 0, 240); font-weight: bold;"> vg_pool      2   0   0 wz--n-   1.82T   1.82T</span><br>[root@host2 ~]# lvcreate -L 100G -T vg_pool/thin_lv <br>  Ignoring too small pv_min_size 512KB, using default 2048KB.<br>  Rounding up size to full physical extent 4.00 MB<br>  device-mapper: resume ioctl on  failed: <span style="color: rgb(240, 0, 0); font-weight: bold;">Cannot allocate memory</span><br>  Unable to resume vg_pool-thin_lv-tpool (253:15)<br>  Aborting. Failed to activate thin thin_lv.<br>
</div></div><div> <br><br>Busby<br><br></div><pre> > -----原始邮件-----
> 发件人: "Alasdair G Kergon" <agk@redhat.com>
> 发送时间: 2012年1月31日 星期二
> 收件人: "LVM general discussion and development" <linux-lvm@redhat.com>
> 抄送: dm-devel@redhat.com, lvm-devel@redhat.com
> 主题: Re: [linux-lvm] New LVM2 release 2.02.89: Thinly-provisioned logical volumes

> On Tue, Jan 31, 2012 at 05:52:21PM +0800, Busby.Cheung wrote:
> >        I tryed to use this LVM2 to create thin pool and thin lv, but it said PE was required. The VG I used is free, can anyone help me? Should any more args be needed? Is there any more detailed HowTo file than man file?
>   

> For now, you need either 2 PVs in the VG, or use --alloc anywhere with 1 PV, or
> split the allocation manually like:

> > [root@host2 ~]# lvcreate  -L100M -T vg_pool/pool -V 1T --name thin_lv /dev/sdl:0 /dev/sdl:1-

> I have a patch that fixes this problem, but I'm still testing it.

> Alasdair


> _______________________________________________
> 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/
</pre><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>