Changes for page Storage

Last modified by Kevin Wiki on 2025/09/23 07:42

From version 4.2
edited by Kevin Wiki
on 2025/09/23 07:42
Change comment: There is no comment for this version
To version 4.1
edited by Kevin Wiki
on 2025/09/23 07:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -47,6 +47,7 @@
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  ```
51 51  
52 52  Identify the vm disk path using the command:
... ... @@ -53,20 +53,18 @@
53 53  
54 54  ```bash
55 55  pvesm path STORAGE:vm-VM_ID-disk-0
56 -```
57 57  
58 -Stop the container or vm:
58 +or
59 59  
60 -```bash
61 -qm stop 401
62 -or
63 -lxc-stop 401
60 +pvesm path local-lvm:vm-401-disk-0
64 64  ```
65 65  
66 66  Then convert the the storage with:
67 67  
68 68  ```bash
69 -qemu-img convert -p -O qcow2 $(pvesm path local-lvm:vm-401-disk-0) vm-401-disk-0.qcow2
66 +qemu-img convert -O qcow2 $(pvesm path local-lvm:vm-401-disk-0) nvme
70 70  ```
71 71  
72 72  note, here we also move the storage from `local-lvm` to `nvme`.
70 +
71 +