Changes for page Storage
Last modified by Kevin Wiki on 2025/09/23 07:42
From version
3.6
edited by Kevin Wiki
on 2025/09/23 07:33
on 2025/09/23 07:33
Change comment:
There is no comment for this version
To version
4.2
edited by Kevin Wiki
on 2025/09/23 07:42
on 2025/09/23 07:42
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -47,9 +47,26 @@ 47 47 /dev/mapper/pve-vm--121--disk--0-part1 227328 25165790 24938463 11.9G Linux filesystem 48 48 /dev/mapper/pve-vm--121--disk--0-part14 2048 10239 8192 4M BIOS boot 49 49 /dev/mapper/pve-vm--121--disk--0-part15 10240 227327 217088 106M EFI System 50 +``` 50 50 52 +Identify the vm disk path using the command: 53 + 54 +```bash 55 +pvesm path STORAGE:vm-VM_ID-disk-0 51 51 ``` 52 52 53 - Identifythevm disk path using thecommand58 +Stop the container or vm: 54 54 55 - 60 +```bash 61 +qm stop 401 62 +or 63 +lxc-stop 401 64 +``` 65 + 66 +Then convert the the storage with: 67 + 68 +```bash 69 +qemu-img convert -p -O qcow2 $(pvesm path local-lvm:vm-401-disk-0) vm-401-disk-0.qcow2 70 +``` 71 + 72 +note, here we also move the storage from `local-lvm` to `nvme`.