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 -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
New LVM2 release 2.02.89: Thinly-provisioned logical volumes
Hi Alasdair,
************ It works well as* what you said in the email. Thanks! Best regards, Busby **> -----原始邮件----- > 发件人: "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/ -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
New LVM2 release 2.02.89: Thinly-provisioned logical volumes
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@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@host2*~]#*pvs **Ignoring*too*small*pv_min_size*512KB,*usi ng*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@host2*~]#*vgs **Ignoring*too*small*pv_min_size*512KB,*usi ng*default*2048KB. **VG*********#PV*#LV*#SN*Attr***V Size***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@host2*~]#*lvcreate*-L*100G*-T*vg_pool/thin_lv* **Ignoring*too*small*pv_min_size*512KB,*usi ng*default*2048KB. **Rounding*up*size*to*full*physical*extent *4.00*MB **device-mapper:*resume*ioctl*on**failed:*Cannot*all ocate*memory **Unable*to*resume*vg_pool-thin_lv-tpool*(253:15) **Aborting.*Failed*to*activate*thin*thin_lv . * Busby *> -----原始邮件----- > 发件人: "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/ -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
New LVM2 release 2.02.89: Thinly-provisioned logical volumes
On Wed, Feb 01, 2012 at 04:40:19PM +0800, Busby.Cheung wrote:
> This is the mesgs: Can you also lookin the kernel message log and see where or not it gives any additional reason there? Alasdair -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
| All times are GMT. The time now is 09:18 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.