migration from 1.3 to 1.4 -> no more local ide support

tbardin

New Member
Nov 2, 2009
16
0
1
Hi there,

I used to use this method to attach physical drives to my VM's with proxmox 1.3 : http://www.proxmox.com/forum/showthread.php?t=1501&highlight=storage.

I have 3 hdd to be attached in a VM. They are identified as /dev/sdb1, /dev/sdc1, /dev/sdd1 in Proxmox. As I read in the forum, I edited the /etc/qemu-server/<VMID>.conf file and added the following lines :
ide0: /dev/sdb1
ide1: /dev/sdc1
ide2: /dev/sdd1

It worked perfectly : all 3 drives were recognized and displayed in the ubuntu VM as /dev/sdb1, /dev/sdc1, /dev/sdd1, a little /etc/fstab edit, and OK.

I migrated to 1.4 this morning. I wanted to start from scratch so I reinstall the ubuntu VM with exactly the same method described above. But there is a problem : disks are now identified in the ubuntu VM as /dev/sdb, /dev/sdc, /dev/sdd instead of /dev/sdb1, /dev/sdc1, /dev/sdd1, so that nothing is recognized, when I run a fdisk -l inside my VM, I get "sdb: unknown partition table..."...

Anyone help ??? Should I downgrade to 1.3 ??

Thanks for your help.
 
Using device names directly is a very bad idea, because there is no guarantee on the order. Please use lvm or /dev/disk/by-uuid device names instead.
 
ide0: /dev/sdb1
ide1: /dev/sdc1
ide2: /dev/sdd1

It worked perfectly : all 3 drives were recognized and displayed in the ubuntu VM as /dev/sdb1, /dev/sdc1, /dev/sdd1, a little /etc/fstab edit, and OK.

I cant believe that anyways - I am sure that is not true. Please recheck what you are doing.
 

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!