How to: Extend meta data of a thin pool

Thin pool meta data often gets overflown. It is possible to extend the thin pool metadata then the default valut that was set while setting up the thin pool. metadata volume is hidden normally from lvs output. One trick is to use the following command:
lvs -a

This should show the meta data volume to be something like
thinpool_tmeta

[[email protected] ~]# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
[lvol0_pmspare] vg0 ewi------- 64.00m
tp0 vg0 twi-aotz-- 64.00g 0.81 0.87
[tp0_tdata] vg0 Twi-ao---- 64.00g
[tp0_tmeta] vg0 ewi-ao---- 64.00m

Here it is tp0_tmeta. Now you can extend the tp0_tmeta as like any other logical volume:
lvextend -L+128M /dev/vg0/tp0_tmeta

Done!
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

LVM Cheatsheet

To install LVM2 in CentOS/Redhat servers: yum install lvm2 1. Add a partition to physical...

How to: Extend LVM partition

To increase the partition lv0 under volume group vg0 by 50GB, use lvextend command: lvextend...

How to: LVM Snapshot

LVM snapshot can be useful for filesystem integrity check and backups. A snapshot of size 15GB...

How to: Device Mapper Number to LV Name

It is often confusing when device mapper number appears while troubleshooting in place of logical...

How to: Repair a lvm thin pool

Sometimes there can be error like the following:Thin's thin-pool needs inspection.It can appear...