LXC unused disk

sahara

New Member
Jul 19, 2023
11
1
3
Hello,

I have a LXC container which had a scsi disk which was removed. I still have the original disk as unused disk. How can I change the boot disk to this one?

Thanks!
 
I don't understand your question. LXCs use filesystems and don't boot from disks. Maybe you can explain a bit more detailed what you want to achieve.
 
LXC Container - Resources - Root disk. There I have the one from the iscsi target, which does no longer exist.
I also see unused disk 0 local-lvm:vm-106-disk-0. This was the original one as when I changed storage I did not select to delete source.

I need to somehow attach unused disk 0 local-lvm:vm-106-disk-0

Thanks!
 
Here is the solution:

/etc/pve/nodes/proxmox/lxc/
vi on the desired ID
copy unused path to rootfs
 
  • Like
Reactions: iAhmdy