LXC unused disk

sahara

New Member
Jul 19, 2023
7
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!