unable to parse volume ID '/dev/sdb1'

Will Smith

Member
Mar 21, 2022
11
1
8
36
I am a beginner with Proxmox VE and hope everyone can help me, thank you very much

Environment​

Proxmox VE version: 7.43
I have two physical disks, local-lvm and local-sdb1, the latter should be manually created, but I forgot how I did it exactly

Requirements​

Because local-lvm lacks space, virtual machines cannot start and IO errors occur, I deleted some snapshots, now they can start, but I want to move the virtual machine from local-lvm to local-sdb1

Problem​


When I move VM B to the new location through the web interface, I encountered the error unable to parse volume ID '/dev/sdb1' (500), VM B was produced by linking cloning, but VM A is the product of full cloning, so he can complete this operation very smoothly, I don't know where the problem is, I can't find the answer through Google
 
Last edited:
post output of .conf VM + /etc/pve/storage.cfg + lsblk
and please each inside a "General Code"
Code:
like this



Code:
root@zq:/mnt/sdb1# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content vztmpl,iso,backup

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

dir: local-sdb1
        path /mnt/sdb1
        content rootdir,vztmpl,images,snippets,backup,iso
        prune-backups keep-all=1
        shared 0

Code:
root@zq:/mnt/sdb1# lsblk
NAME                           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                              8:0    0 119.2G  0 disk
├─sda1                           8:1    0  1007K  0 part
├─sda2                           8:2    0     1G  0 part
└─sda3                           8:3    0 118.2G  0 part
  ├─pve-swap                   253:0    0     8G  0 lvm  [SWAP]
  ├─pve-root                   253:1    0  39.6G  0 lvm  /
  ├─pve-data_tmeta             253:2    0     1G  0 lvm 
  │ └─pve-data-tpool           253:4    0  53.9G  0 lvm 
  │   ├─pve-data               253:5    0  53.9G  1 lvm 
  │   ├─pve-base--100--disk--0 253:6    0    32G  1 lvm 
  │   └─pve-vm--101--disk--0   253:7    0    32G  0 lvm 
  └─pve-data_tdata             253:3    0  53.9G  0 lvm 
    └─pve-data-tpool           253:4    0  53.9G  0 lvm 
      ├─pve-data               253:5    0  53.9G  1 lvm 
      ├─pve-base--100--disk--0 253:6    0    32G  1 lvm 
      └─pve-vm--101--disk--0   253:7    0    32G  0 lvm 
sdb                              8:16   0   1.8T  0 disk
└─sdb1                           8:17   0   1.8T  0 part /mnt/sdb1

Thank you for your help, the output is as follows, but there is one content that I don’t seem to know how to input, please check it out, thank you very much
 
缺少 cat /etc/pve/qemu-server/xxx.conf

Code:
root@zq:~# cat /etc/pve/qemu-server/xxx.conf
cat: /etc/pve/qemu-server/xxx.conf: No such file or directory
root@zq:~# cat /etc/pve/qemu-server/101.conf
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide2: local-sdb1:iso/ubuntu-22.04.2-live-server-amd64.iso,media=cdrom,size=1929660K
memory: 4096
meta: creation-qemu=7.2.0,ctime=1689064294
name: zq-pve-erp3-dev
net0: virtio=B2:26:D2:C1:AA:D6,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-101-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=04e9e5d8-9dc8-4619-83e8-c321ded661fd
sockets: 1
virtio1: /dev/sdb1,size=2000397868544
vmgenid: 5cd11812-6135-4ecc-bcfe-cec182a44ac0
 
sdb1 cannot be passthrough in your .conf because it's already defined as a directory datastore "local-sdb1"
if it's a datastore, virtual disks are stored in sub folder of /mnt/sdb1
 
sdb1 cannot be passthrough in your .conf because it's already defined as a directory datastore "local-sdb1"
if it's a datastore, virtual disks are stored in sub folder of /mnt/sdb1
Thanks for your answer, this led me to find the problem