Device Mapper设备映射
dm和md功能有些是重叠的,同样支持逻辑设备 raid可支持(0.1)
linear 线性设备 类似于JBOD
mirror 镜像
snapshot 快照
multipath 多路径
pv physical volume 物理卷
vg volume group 卷组
lv logical volume 逻辑卷
partprobe 更新硬盘的分区
pv
pvcreate 创建pv
pvremove 用于删除一个存在的物理卷
pvmove 用来将一块硬盘上d数据移动到另块盘,可以移动盘的数据
pvscan 扫描pv
pvdisplay 显示pv
vg
vgcreate 创建vg
vgremove 移除vg
vgextend 扩展vg
vgreduce 缩减vg
vgscan 扫描
vgdisplay 显示vg
lv
lvcreate
lvcreate -n LV_NAME -L #G VG_NAME
lvremove
lvextend
lvreduce
lvresize
lvs
lvdisplay