Proxmox duplicate disk size

itvietnam

Renowned Member
Aug 11, 2015
132
4
83
Hello,

Anyone get problem with proxmox disk size?

I create a VM with first disk size = 20GB to install OS. Then i add another disk 1005GB from from different storage and both has the same size with first disk (20GB) - check by fdisk -l.

Then i try to boot with gparted and they said both has the same size 1005GB:

upload_2019-4-17_1-14-11.png


VM config:

Code:
root@nodexxx:~# cat /etc/pve/qemu-server/5011.conf
bootdisk: virtio0
cores: 4
ide2: backup:iso/gparted-live-0.32.0-1-amd64.iso,media=cdrom,size=310M
memory: 8192
name: myhostname
net0: virtio=AE:FD:99:5F:0F:B7,bridge=vmbr0,tag=121
net1: virtio=6A:4A:7E:0D:C6:3C,bridge=vmbr1,tag=308
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=1a35665b-060e-4b06-9d8e-1d836ec581bf
sockets: 1
virtio0: ssd:vm-5011-disk-0,size=20G
virtio1: hdd:vm-5011-disk-0,size=1005G
vmgenid: 894d3ca9-2a8d-4f69-b104-86f3e7b99fb9
root@nodexxx:~#

VM can not boot with both disk (even in select manual boot from bios). I detach second disk and boot ok.

I detach and can not delete second disk (which is currently unused) from PVE too. They said: volume is still in use (snapshot?) while we don't have any snapshot on this VM.

upload_2019-4-17_1-16-9.png
 
Anyone get problem with proxmox disk size?

I create a VM with first disk size = 20GB to install OS. Then i add another disk 1005GB from from different storage and both has the same size with first disk (20GB) - check by fdisk -l.

Then i try to boot with gparted and they said both has the same size 1005GB:

View attachment 10069


VM config:

Code:
root@nodexxx:~# cat /etc/pve/qemu-server/5011.conf
bootdisk: virtio0
cores: 4
ide2: backup:iso/gparted-live-0.32.0-1-amd64.iso,media=cdrom,size=310M
memory: 8192
name: myhostname
net0: virtio=AE:FD:99:5F:0F:B7,bridge=vmbr0,tag=121
net1: virtio=6A:4A:7E:0D:C6:3C,bridge=vmbr1,tag=308
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=1a35665b-060e-4b06-9d8e-1d836ec581bf
sockets: 1
virtio0: ssd:vm-5011-disk-0,size=20G
virtio1: hdd:vm-5011-disk-0,size=1005G
vmgenid: 894d3ca9-2a8d-4f69-b104-86f3e7b99fb9
root@nodexxx:~#

VM can not boot with both disk (even in select manual boot from bios). I detach second disk and boot ok.

I detach and can not delete second disk (which is currently unused) from PVE too. They said: volume is still in use (snapshot?) while we don't have any snapshot on this VM.

View attachment 10070


AFAICS you have two storages defined: ssd and hdd - post your storage configuration file /etc/pve/storage.cfg in order to define how you can invetigate the content.
 
AFAICS you have two storages defined: ssd and hdd - post your storage configuration file /etc/pve/storage.cfg in order to define how you can invetigate the content.
Do you mean it caused by KRBD? can we do "live disable" in production system (which has VM running)?
 
Without knowing the storage configuration (from file /etc/pve/storage.cfg) it's useless to speculate.
 

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!