From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51ED2268.7030702@redhat.com> Date: Mon, 22 Jul 2013 14:15:36 +0200 From: Zdenek Kabelac MIME-Version: 1.0 References: <20130722051502.GA5685@gmail.com> In-Reply-To: <20130722051502.GA5685@gmail.com> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] lvcreate --thin gives "unknown segment type" error Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development Cc: Kumar amit mehta Dne 22.7.2013 07:15, Kumar amit mehta napsal(a): > Hi, > > While trying to create thin provisioned volume, I'm getting "unknown > segment type" error. Please see the logs below: > > # cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.4 (Santiago) > > # uname -r > 2.6.32-358.el6.x86_64 > > # dmsetup targets > thin-pool v1.5.1 > thin v1.5.1 > multipath v1.5.0 > mirror v1.12.0 > striped v1.5.6 > linear v1.1.0 > error v1.0.1 > > # lvm version > LVM version: 2.02.99(2)-git (2012-10-22) > Library version: 1.02.78-git (2012-10-22) > Driver version: 4.23.6 > > # vgs|grep -i testvg > testvg 2 0 0 wz--n- 3.99g 3.99g > > # pvs -o +devices|grep -i testvg > /dev/vdc testvg lvm2 a-- 2.00g 2.00g > /dev/vde testvg lvm2 a-- 2.00g 2.00g > > # lvcreate -L 1G -T testvg/thinlv1 -vvvv > #libdm-config.c:908 Setting activation/monitoring to 1 > #lvmcmdline.c:1102 Processing: lvcreate -L 1G -T testvg/thinlv1 -vvvv > #lvmcmdline.c:1105 O_DIRECT will be used > #libdm-config.c:844 Setting global/locking_type to 1 > #libdm-config.c:908 Setting global/wait_for_locks to 1 > #locking/locking.c:241 File-based locking selected. > #libdm-config.c:813 Setting global/locking_dir to /var/lock/lvm > #libdm-config.c:908 Setting global/prioritise_write_locks to 1 > #unknown/unknown.c:102 Initialised segtype: thin > WARNING: Unrecognised segment type thin > #lvcreate.c:746 Unable to create LV with unknown segment type thin. <- > Run `lvcreate --help' for more informationat am I missing? > > What am I missing? > configure --with-thin=internal (and you will likely miss '--enable-udev_sync' Zdenek