aboutsummaryrefslogtreecommitdiff
path: root/lvm.wiki
blob: 8a3871c1edec0c0e3bbcac3c48c1f67d136e68d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
= Logical Volume Manager =
[[btrfs]]

pvs :: physical volumes
lvs :: logical volumes
vgs :: volume groups

== Create Thin Volume ==
lvcreate -n vm-<hostname> -V 100G --thinpool lvpoolData VolGroup

Se även [[wn.private:adrift_space]]

    WARNING: Sum of all thin volume sizes (500.00 GiB) exceeds the size of thin pool VolGroup/lvpoolData and the amount of free space in volume group (188.78 GiB).
    WARNING: You have not turned on protection against thin pools running out of space.
    WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
    Logical volume "vm-mintkrokant" created.


- `qemu-system-x86_64 -enable-kvm -m "2048" -usbdevice tablet -drive file=/dev/VolGroup/vm-mintkrokant,if=virtio,format=raw -drive file=/usr/net/os/linuxmint-20.3-cinnamon-64bit.iso,media=cdrom -boot d`
- `qemu-system-x86_64 -enable-kvm -m "2048" -usbdevice tablet -drive file=/dev/VolGroup/vm-mintkrokant,if=virtio,format=raw`