WARNING: gpt signature detected messages

John Allison

Well-Known Member
Feb 1, 2018
33
4
48
Gateshead UK
www.adlinktech.com
We are setting up a development environment where VM's are created (using qmrestore) on the fly and then deleted after running some tests.

However, I always get the message "WARNING: gpt signature detected on /dev/SAN/vm-406-disk-0 at offset 512. Wipe it?" when a new disk is created on our storage volume.

Sample command is:
qmrestore /mnt/pve/ProxmoxBackups/dump/vzdump-qemu-312-2019_01_07-12_08_04.vma.lzo 1003

My question is - is this normal behaviour and nothing to worry about? and why isnt the gpt signature data removed when the VM is deleted?
 
Hi, thanks for the speedy response, the storage in question is LVM.

here is the storage.cfg:

dir: local
path /var/lib/vz
content images,iso,backup,vztmpl
maxfiles 1
shared 0

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images

nfs: ISOImages
export /export/ISOImages
path /mnt/pve/ISOImages
server vault
content iso
options vers=3

nfs: ProxmoxBackups
export /export/ProxmoxBackups
path /mnt/pve/ProxmoxBackups
server vault
content backup,images
maxfiles 1

iscsi: SANiSCSI
portal 192.168.130.101:3260
target iqn.1984-05.com.dell:powervault.md3800i.600a098000584f5c00000000539b3d49
content images

lvm: VMStorage
vgname SAN
base SANiSCSI:0.0.1.scsi-3600a098000584f5c00002c075c00ad0d
content rootdir,images
shared 0



here is a sample VM config:
#Autovm test vehicle
boot: c
bootdisk: scsi0
cipassword: $5$qcq1Cfd5$FhblP2Tw9xPekZOz9blrP/rmYeI4MExgSbH7AuYwWx9
ciuser: root
cores: 2
ide2: local-lvm:vm-312-cloudinit,media=cdrom
ipconfig0: ip=10.1.9.32/16,gw=10.1.0.1
memory: 4096
name: av-312
nameserver: 10.1.0.2
net0: virtio=1A:E2:69:56:54:32,bridge=vmbr0
numa: 0
ostype: l26
scsi0: VMStorage:vm-1003-disk-0,size=50G
scsihw: virtio-scsi-pci
searchdomain: prismtech.com
smbios1: uuid=1f6aeb2f-17d3-4045-b75f-6b9afdbaed36
sockets: 1

after reading through that URL, i guess the warning is normal and nothing to worry about. But if we want it gone we should use the "saferemove" option for the lvm: VM Storage definition?
 
Yes, the warning is nothing to worry about, LVM just doesn't clear everything once deleted. The 'saferemove' option just makes sure it gets wiped so nothing is left and in turn the warning should be gone as well.
 

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!