snippetbashTip
lvscan — Scan (list) all logical volumes in the system. Part of the LVM (Logical Volume Manager) suite. More
Viewed 0 times
commandalllogicallvscanclivolumesscanlist
linux
Problem
How to use the
lvscan command: Scan (list) all logical volumes in the system. Part of the LVM (Logical Volume Manager) suite. More information: <https://manned.org/lvscan>.Solution
lvscan — Scan (list) all logical volumes in the system. Part of the LVM (Logical Volume Manager) suite. More information: <https://manned.org/lvscan>.List all logical volumes:
sudo lvscanList only active logical volumes:
sudo lvscan --activeList only inactive logical volumes:
sudo lvscan --inactiveDisplay logical volumes in JSON format:
sudo lvscan --reportformat jsonCode Snippets
List all logical volumes
sudo lvscanList only active logical volumes
sudo lvscan --activeList only inactive logical volumes
sudo lvscan --inactiveDisplay logical volumes in JSON format
sudo lvscan --reportformat jsonContext
tldr-pages: linux/lvscan
Revisions (0)
No revisions yet.