小编gud*_*dge的帖子

找出快照精简卷上的已用空间

我有以下 lvm 配置。

Hard Disk: /dev/sdb  (Size 10 GB)
VG: vg_root on /dev/sdb
THIN_POOL thin_pool occupying the whole physical extent
lvcreate -y --extents 100%free --thin vg_root/thin_pool

Thin volume on the thin pool
lvcreate --name lv_1 --virtualsize 1GB --thinpool vg_root/thin_pool

Another thin volume on the thin_pool
lvcreate --name lv_2 --virtualsize 2GB --thinpool vg_root/thin_pool
mount and create a file of 1 GB on the volume

Snapshot volume for lv_2
lvcreate -y --setactivationskip n --snapshot --thinpool vg_root/thin_pool vg_root/lv_2 --name snapshot_1
mount and create …
Run Code Online (Sandbox Code Playgroud)

lvm snapshot thin-provisioning

5
推荐指数
0
解决办法
1445
查看次数

标签 统计

lvm ×1

snapshot ×1

thin-provisioning ×1