centos lvm ssd cache

General support questions
Post Reply
jiaoyidong555
Posts: 1
Joined: 2017/12/12 08:13:35

centos lvm ssd cache

Post by jiaoyidong555 » 2017/12/12 08:20:36

I want to make a cache using the ssd SSD for the lvm partition of the / directory
The system default created centos / root lvm logical volume
My ssd disk is / dev / sdb
I executed the order
pvcreate / dev / sdb
vgextend centos / dev / sdb
lvcreate -L 110G -n cache centos / dev / sdb
lvcreate -L 110M -n meta centos / dev / sdb

lvconvert --type cache-pool --poolmetadata centos / meta centos / cache
lvconvert --type cache --cachepool centos / cache --cachemode writeback centos / data
I found that when I finished the implementation of these orders, the system could not be activated, I hope you can help me solve
----------------The above text from Google translation----------------------------
我想要使用ssd固态硬盘为/目录的lvm分区做一个高速缓存
系统默认创建了centos/root这个lvm逻辑卷
我的ssd磁盘是/dev/sdb
我执行了命令
pvcreate /dev/sdb
vgextend centos /dev/sdb
lvcreate -L 110G -n cache centos /dev/sdb
lvcreate -L 110M -n meta centos /dev/sdb

lvconvert --type cache-pool --poolmetadata centos/meta centos/cache
lvconvert --type cache --cachepool centos/cache --cachemode writeback centos/data
我发现,当我这些命令执行完成后,系统无法启动了,希望你能帮我解决

Post Reply