Score:0

Convert thin logical volume to thick

ru flag

I have a volume group that has a thin pool with logical volumes. I don't want these to be thin -- I want them to be regular logical volumes.

How can I move them out and convert them to thick allocation?

$ sudo vgdisplay -v centos
  --- Volume group ---
  VG Name               centos
  System ID             
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  34
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                4
  Open LV               3
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               <111.99 GiB
  PE Size               4.00 MiB
  Total PE              28669
  Alloc PE / Size       8036 / 31.39 GiB
  Free  PE / Size       20633 / <80.60 GiB
  VG UUID               jfLzxI-oJRO-VbGU-sPGT-0pHx-geDM-yoAkVz
   
  --- Logical volume ---
  LV Name                pool00
  VG Name                centos
  LV UUID                kLn0Kf-Zt9h-94l5-aJzE-HaYW-bZoT-1EsK3d
  LV Write Access        read/write (activated read only)
  LV Pool metadata       pool00_tmeta
  LV Pool data           pool00_tdata
  LV Status              available
  # open                 3
  LV Size                <29.77 GiB
  Allocated pool data    76.13%
  Allocated metadata     100.00%
  Current LE             7620
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:3
   
  --- Logical volume ---
  LV Path                /dev/centos/root
  LV Name                root
  VG Name                centos
  LV UUID                TcfpcG-yraq-J5s8-OURV-hGBT-61RB-WyXrVY
  LV Write Access        read/write
  LV Pool name           pool00
  LV Status              available
  # open                 1
  LV Size                27.14 GiB
  Mapped size            61.92%
  Current LE             6948
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:4
   
  --- Logical volume ---
  LV Path                /dev/centos/opt
  LV Name                opt
  VG Name                centos
  LV UUID                2kqjte-I4BU-GyxS-F8Ck-GLhS-PPLX-VbRzyT
  LV Write Access        read/write
  LV Pool name           pool00
  LV Status              available
  # open                 1
  LV Size                5.95 GiB
  Mapped size            98.35%
  Current LE             1524
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:6
   
  --- Logical volume ---
  LV Path                /dev/centos/swap
  LV Name                swap
  VG Name                centos
  LV UUID                TYGvQW-zfA0-144y-xLUb-yJdk-uoaI-5UL8aE
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                1.60 GiB
  Current LE             410
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:0
   
  --- Physical volumes ---
  PV Name               /dev/sdb     
  PV UUID               GcP7de-9gS8-BhuB-ABAr-n8WO-KC54-5auGtq
  PV Status             allocatable
  Total PE / Free PE    4095 / 0
   
  PV Name               /dev/sdd     
  PV UUID               PiZlRv-d4zA-crCS-OJBt-kkgN-Z07t-Q405yR
  PV Status             allocatable
  Total PE / Free PE    8191 / 4250
   
  PV Name               /dev/sde     
  PV UUID               6JxeQy-t24W-myH7-LlMY-sTWp-msXq-TgWRZq
  PV Status             allocatable
  Total PE / Free PE    16383 / 16383
   
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.