The use of linux vdo

The above figure is an example of the operation command to create a vdo volume

YUM download vdo kmod-kvdo

Add a new unused hard drive sde

Creation and formatting of vdo

-------vdo create --name=name --device=sde path --vdoLogicalSize=capacity

------mkfs.xfs -K /dev/mapper/vdoname (c This path name is the path name displayed after it is successfully created, as shown below)

------Check if the creation is successful

Update and mount

--------udevadm settle

--------mkdir /vbark Create mount point vbark

-------mount mount vdomane to vbark

vi to auto-mount settings at boot

-------vi /etc/fstab Set the boot, walk and mount and verify whether it is successful

View the usage of vdo

Guess you like

Origin blog.csdn.net/weixin_45448980/article/details/114576687