qvm-volume – Qubes volume and block device managment¶
Synopsis¶
Description¶
Options¶
-
--help,-h¶ Show help message and exit
-
--verbose,-v¶ Increase verbosity.
-
--quiet,-q¶ Decrease verbosity.
Commands¶
list¶
List block devices. By default the internal devices are hidden. When the stdout is connected to a TTY qvm-volume list will print a pretty table by omitting redundant data. This behaviour is disabled when –full option is passed or stdout is redirected to a pipe or file.
-
-p,--pool¶ list volumes from specified pool
-
--full¶ print domain names
-
--all¶ List volumes from all qubes. You can use
--excludeto limit the qubes set. Don’t forget — internal devices are hidden by default!
aliases: ls, l
info¶
Show information about given volume - all properties and available revisions (for revert action). If specific property is given, only its value is printed. For list of revisions use revisions value.
aliases: i
config¶
Set property of given volume. Properties currently possible to change:
- rw - True if volume should be writeable by the qube, False otherwise
- revisions_to_keep - how many revisions (previous versions of volume)
should be keep. At each qube shutdown its previous state is saved in new revision, and the oldest revisions are remove so that only revisions_to_keep are left. Set to 0 to not leave any previous versions.
aliases: c, set, s
resize¶
Resize the volume with VMNAME:VOLUME TO NEW_SIZE
If new size is smaller than current, the tool will refuse to continue unless –force option is used. One should be very careful about that, because shrinking volume without shrinking filesystem and other data inside first, will surely end with data loss.
-
-f,--force¶ Force operation even if new size is smaller than the current one.
aliases: extend
revert¶
Revert a volume to previous revision.
aliases: rv, r