Re: lvcreate --thin gives "unknown segment type" error

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

 



On Mon, Jul 22, 2013 at 02:15:36PM +0200, Zdenek Kabelac wrote:
> configure --with-thin=internal
> 
> (and you will likely miss  '--enable-udev_sync'
Thank you, it worked!

However, It seems that "discards" behavior for thin pool is not
supported on RHEL 6.4. Please confirm. 
# ./configure --with-thin=internal --enable-debug

# make; make install

# lvcreate --discards passdown -L 1G -T thinvg1/thinlv1
  Logical volume "thinlv1" created

# lvs -o +devices|grep -i thinlv1
  thinlv1       thinvg1       twi-a-tz-   1.00g               0.00
thinlv1_tdata(0)

# dmesg
device-mapper: thin: Data device (dm-3) discard unsupported: Disabling
discard passdown.

<snip>
        if (reason) {
                DMWARN("Data device (%s) %s: Disabling discard
passdown.", bdevname(data_bdev, buf), reason);
                pt->adjusted_pf.discard_passdown = false;
        } 
<snip>

Seems that we'll reach here if QUEUE_FLAG_DISCARD flag in the request
queue is not set.

!!amit

_______________________________________________
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/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux