Missing disk images under local storage pool

nixgeek

New Member
Aug 11, 2009
8
0
1
Hi, I just upgraded to Proxmox VE 1.4

I am missing a few disk images for the default Local disk storage pool


ls -al /var/lib/vz/images/
total 24
drwxr-xr-x 6 root root 4096 2009-09-13 11:15 .
drwxr-xr-x 14 root root 4096 2009-09-03 21:47 ..
drwxr-xr-x 2 root root 4096 2009-09-17 13:09 103
drwxr-xr-x 2 root root 4096 2009-09-17 02:22 104
drwxr-xr-x 2 root root 4096 2009-09-01 01:11 106
drwxr-xr-x 2 root root 4096 2009-09-13 11:15 111

Only 111 shows up in the Storage webgui under Volume ID for Virtual Disks.
Storage 'local': Virtual Disks


Volume IDVMIDSize (GB)local:111/vm-111-disk.qcow211132.00

Here is list of Images

# ls -al /var/lib/vz/images/*
/var/lib/vz/images/103:
total 20500032
drwxr-xr-x 2 root root 4096 2009-09-17 13:09 .
drwxr-xr-x 6 root root 4096 2009-09-13 11:15 ..
-rw-r--r-- 1 root root 20971520000 2009-09-17 09:47 sunvm1.img

/var/lib/vz/images/104:
total 33587244
drwxr-xr-x 2 root root 4096 2009-09-17 02:22 .
drwxr-xr-x 6 root root 4096 2009-09-13 11:15 ..
-rw-r--r-- 1 root root 34359738368 2009-09-13 11:02 vm-104-disk.img

/var/lib/vz/images/106:
total 16400028
drwxr-xr-x 2 root root 4096 2009-09-01 01:11 .
drwxr-xr-x 6 root root 4096 2009-09-13 11:15 ..
-rw-r--r-- 1 root root 16777216000 2009-09-17 09:45 ldap01.img

/var/lib/vz/images/111:
total 6028308
drwxr-xr-x 2 root root 4096 2009-09-13 11:15 .
drwxr-xr-x 6 root root 4096 2009-09-13 11:15 ..
-rw-r--r-- 1 root root 6166941696 2009-09-17 09:47 vm-111-disk.qcow2


When I try to start the other VM's it fails.

/usr/sbin/qm start 103
unable to parse volume ID '/dev/sde'
unable to parse volume filename 'sunvm1.img'
VM 103 start failed -


How can I add the other 3 Virtual Disks to Local Storage pool?

Also, i was already using iSCSI LUNS - So my Proxmox VE servers were the
initiators from my Local SAN iSCSI Target. How do I add the /dev/sd? to the
Local storage pool?
 
ok.. It looks like because of my non standard naming of the disk files is causing them
to not show up in the Storage tab of the Web Gui. Also I was using RAW disks and
not qcow2. Ok so its the .img extension that is causing the issue. For raw disks
I changed it from .img to .raw and they now show up. So disk images with .img
extension will not show up.

I still need to know how to get my iSCSI LUNS to show up or do I? I am using these as
additional disks in two of my KVM VM's... These are shared between my two node
cluster. So i can migrate them between the two nodes and the 2nd disks {iscsi} are
available to each VM on either node.

Please advise...
 
Last edited:
Ok so I am a hacker!

I just added the iSCSI luns to a new group with using LUNs directly enabled.
And after fixing the name of the disk file I was able to boot my KVM VM just fine
now.
 
Re: Missing disk images under local storage pool {RESOLVED}

Ok so I am a hacker!

I just added the iSCSI luns to a new group with using LUNs directly enabled.
And after fixing the name of the disk file I was able to boot my KVM VM just fine
now.
 

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!