[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvcreate --thin gives "unknown segment type" error



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]