[SOLVED] weird storage issue

AxelTwin

Well-Known Member
Oct 10, 2017
133
6
58
39
Hi there,
I have a weird storage issue. some of my vm/pct have 2 disks, 1 unused and the other one is size=0

Code:
root@proxmox-3 ~ # cat /etc/pve/lxc/102.conf
arch: amd64
cores: 4
features: nesting=1
hostname: srvmail.danobat.fr
memory: 6144
nameserver: 127.0.0.1 192.168.6.11 8.8.8.8
net0: name=vmbr11,bridge=vmbr6,firewall=1,gw=192.168.6.3,hwaddr=F2:F6:74:92:7C:81,ip=192.168.6.11/24,type=veth
onboot: 1
ostype: ubuntu
parent: after_ssl
rootfs: bkp-storage:subvol-102-disk-0,size=0T
searchdomain: danobat.fr
swap: 6144
unprivileged: 1
unused0: data:subvol-102-disk-0

If I delete the unused disk
the vm won't start anymore

here are my pools:
Code:
root@proxmox-3 ~ # zfs list | grep 102
rpool/data/subvol-102-disk-0   126G  77.1G      123G  /rpool/data/subvol-102-disk-0

how can I recover 1 disk with all the datas ?
 
Found the solution by renaming
rootfs: bkp-storage:subvol-102-disk-0,size=0T
by real storage:
rootfs: data:subvol-102-disk-0,size=0T
 

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!