LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lvremove

removes logical volumes from a volume group

TLDR

Remove specific volume
$ sudo lvremove volume_group/logical_volume
copy
Remove all volumes in group
$ sudo lvremove volume_group
copy

SYNOPSIS

lvremove [OPTIONS] LogicalVolume...

DESCRIPTION

lvremove removes logical volumes from a volume group. The logical volume must be closed (unmounted) before removal. This operation permanently destroys all data on the logical volume.

PARAMETERS

-f, --force

Force removal without confirmation
-y, --yes
Answer yes to all prompts
--noudevsync
Skip udev synchronization

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

All data on the logical volume will be permanently lost. Ensure backups exist before removal. The volume must be unmounted and not in use. Removing a volume does not remove the volume group.

HISTORY

lvremove is part of LVM2, the Linux Logical Volume Manager.

SEE ALSO

lvm(8), lvcreate(8), vgremove(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid