SOLVED: CT's storage disappears after I rename the ctid.conf from 105.conf to 107.conf

FuriousGeorge

Renowned Member
Sep 25, 2012
84
2
73
EDIT:
Happily, in the course of writing this post, I found the data in /dev/dm-1, but nonetheless it remains quite disturbing.

Does anyone care to speculate/theorize as to how this could have happened?



Fortunately I have a recent backup, but it is disturbing nonetheless.

I have a fileserver that I want to replace. I wanted the new fileserver to have the same ctid as the old one, so I mv'ed it from 105.conf to 106.conf, and eventually to 107.conf.

The entry for the storage is still in the ctid.conf file:

# grep ha /etc/pve/lxc/107.conf rootfs: hapool_0:vm-105-disk-0,size=250G

But the storage itself has somehow disappeared. I cannot even vgcfgrestore it

# vgcfgrestore --list ha_0 |grep 105-disk-0 #
 
Last edited:

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!