On PM 4.* I wish to remove snapshot shown in the GUI, because the underlying LVM device is not there anymore (overloaded storage with disabled writeback - failed battery - was the culprint).
If I do it via the GUI it states:
Because is isn't there:
Can I just remove the below listed content manually from /etc/pve/qemu-server/100.conf?
And do nothing else?
If I do it via the GUI it states:
Code:
lvremove snapshot 'pvesata/snap_vm-100-disk-2_brisi1' error: Failed to find logical volume "pvesata/snap_vm-100-disk-2_brisi1"
Because is isn't there:
Code:
root@p21:~# lvs -a | grep vm-100
vm-100-disk-1 pvesata Vwi-aotz-- 600.00g datasata 48.29
vm-100-disk-2 pvesata Vwi-aotz-- 32.00g datasata 70.64
Can I just remove the below listed content manually from /etc/pve/qemu-server/100.conf?
And do nothing else?
Code:
[brisi1]
agent: 1
boot: cdn
bootdisk: scsi0
cores: 6
cpu: host
machine: pc-i440fx-2.7
memory: 24000
name: XXX
net0: virtio=86:89:99:DD:3B:07,bridge=vmbr0,firewall=1,rate=15,tag=115
net1: virtio=DE:93:63:E4:C1:51,bridge=vmbr1,tag=600
numa: 1
onboot: 1
ostype: l26
scsi0: local-lvm-sata:vm-100-disk-2,cache=writeback,discard=on,size=32G
scsi1: local-lvm-sata:vm-100-disk-1,backup=0,cache=writeback,discard=on,size=600G
scsihw: virtio-scsi-pci
smbios1: uuid=4b0a9e5c-6cce-43f7-8a82-b967b7ee19db
snapstate: delete
snaptime: 1527543444
sockets: 3