[linux-lvm] New LVM2 release 2.02.89: Thinly-provisioned logical volumes
Busby.Cheung
chaimvy at 163.com
Wed Feb 1 08:40:19 UTC 2012
When I used a VG of 1.82TB to create a 100GB pool, it faild.
The err mesg "cannot allocte memory",however, my host's meminfo:
[root at host2 persistent-data]# cat /proc/meminfo
MemTotal: 10234416 kB
MemFree: 9685956 kB
whether I should configure somewhere to make it work well(create bigger pool)?
This is the mesgs:
---------------------
[root at host2 ~]# pvs
Ignoring too small pv_min_size 512KB, using default 2048KB.
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a-- 931.41G 0
/dev/sdb vg01 lvm2 a-- 931.51G 193.51G
/dev/sdc vg01 lvm2 a-- 931.51G 931.51G
/dev/sdd vg02 lvm2 a-- 931.51G 927.51G
/dev/sdg vg_pool lvm2 a-- 931.51G 931.51G
/dev/sdl vg_pool lvm2 a-- 931.51G 931.51G
[root at host2 ~]# vgs
Ignoring too small pv_min_size 512KB, using default 2048KB.
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 931.41G 0
vg01 2 7 0 wz--n- 1.82T 1.10T
vg02 1 1 0 wz--n- 931.51G 927.51G
vg_pool 2 0 0 wz--n- 1.82T 1.82T
[root at host2 ~]# lvcreate -L 100G -T vg_pool/thin_lv
Ignoring too small pv_min_size 512KB, using default 2048KB.
Rounding up size to full physical extent 4.00 MB
device-mapper: resume ioctl on failed: Cannot allocate memory
Unable to resume vg_pool-thin_lv-tpool (253:15)
Aborting. Failed to activate thin thin_lv.
Busby
> -----原始邮件-----
> 发件人: "Alasdair G Kergon" <agk at redhat.com>
> 发送时间: 2012年1月31日 星期二
> 收件人: "LVM general discussion and development" <linux-lvm at redhat.com>
> 抄送: dm-devel at redhat.com, lvm-devel at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120201/b5c79dca/attachment.htm>
More information about the linux-lvm
mailing list