All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar amit mehta <gmate.amit@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvcreate --thin gives "unknown segment type" error
Date: Mon, 22 Jul 2013 01:15:02 -0400	[thread overview]
Message-ID: <20130722051502.GA5685@gmail.com> (raw)

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?

!!amit

             reply	other threads:[~2013-07-22 10:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22  5:15 Kumar amit mehta [this message]
2013-07-22 12:15 ` [linux-lvm] lvcreate --thin gives "unknown segment type" error Zdenek Kabelac
2013-07-22 10:57   ` Kumar amit mehta
2013-07-22 11:23     ` Kumar amit mehta
2013-07-22 20:18       ` Zdenek Kabelac
2013-07-23  0:52         ` Kumar amit mehta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130722051502.GA5685@gmail.com \
    --to=gmate.amit@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.