Lvremove
Jump to navigation
Jump to search
Internal
Overview
Removes a logical volume from a volume group.
Gather statistics on the free space before removing, and also on the size of the logical volume to be removed with vgs and lvs.
Unmount the volume if necessary (or shutdown the service that is using it, as it is the case with Docker):
umount /dev/<volume-group-name>/<logical-volume-name>
umount /dev/docker_vg/docker-pool
Then remove the logical volume:
lvremove [-v] /dev/<volume-group-name>/<logical-volume-name>
lvremove /dev/docker_vg/docker-pool