Troubleshooting

How to Create LVM & Thin LVM

Before we try to create LVM and thin LVM we should know common abbreviations you should know:
LVM = Logical Volume Manager
PV = Physical Volumes
VG = Volume Groups
LV = Logical Volumes

Let say you have single disk /dev/sdb
first, create a PV

pvcreate /dev/sdb

next, create a VG

vgcreate vg_name /dev/sdb

if you have multiple disks you can combine them into single VG

vgcreate vg_name /dev/sdb /dev/sdc /dev/sdd

last, you can create LVM or Thin LVM, example for LVM

lvcreate -n lv_centos -l 100%FREE vg_name

or you can create Thin LVM:

lvcreate --size 500G --type thin-pool --thinpool my_thin_pool_name vg_name

 

thehoster

Share
Published by
thehoster

Recent Posts

How to Setting SSH UDP Request

Blog.FastSSH.com — SSH UDP can be used for certain internet tricks that require SSH UDP,…

12 months ago

How to Setting SSH UDP Custom

Blog.FastSSH.com — SSH UDP can be used for certain internet tricks that require SSH UDP,…

12 months ago

How to Use Xray WSS (Vmess and Trojan-Go) on Android

Blog.FastSSH.com — You can use Xray WSS as an alternative to SSH WS CDN. For…

2 years ago

How to Change Host Bug to IP and IP to Host

Blog.FastSSH.com — For those of you who may be confused about what is a host…

2 years ago

How to Create OpenClash Config on Subconverter

Blog.FastSSH.com — How to Create OpenClash Config on Subconverter — OpenClash is a plugin in…

2 years ago

How to Use a Surfboard on Android

Blog.FastSSH.com — This article will explain to you How to Use a Surfboard on Android.…

2 years ago