[PVE-User] Problems with 1.8

Alain Péan alain.pean at lpp.polytechnique.fr
Tue Apr 5 16:03:53 CEST 2011


I answer back to the list.

Yes, it's clearer. So you created 5 LVM physical volumes (PV) for each 
devices, then 5 LVM Volumes Groups (VG) for each.

Then the best way in my opinion to proceed is to create an LVM logical 
volume (LV) for your VM. See this link :

It should appear as a basic disk in your VM, and you should be able to 
format it as ext3. I don't see why it could not be seen inside your VM. 
The controller is emulated by KVM (IDE...), so it should not be a problem.

Can you post your VM configuration :
# cd /etc/qemu-server
# cat xxx.conf

Can you post also
# vgdisplay
# lvdisplay

Do you see any error massage about your Fiber Channel configuration in 
the logs ?


Le 05/04/2011 15:39, Gusek, Michael a écrit :
> Hi Alain,
> of curse, there are physical devices from my SAN: /dev/sdb - /dev/sdh. I've created on each an LVM-Partition (sdb1 - sdh1) and created there my LVM Volume Group data0 -data4. These Volume Groups I added via the Webpage to proxmox storage. It's like with iSCSI or local disk space. Now, I created a Linux Virtual Machine, give space from data0, boot it with Debian Installation CD. I can't install debian, because the disk is not accessible. With booting the same CD but in rescue mode I get a shell, where I can do something, like:
> # ls -al /dev/vda
> crw-rw-rw	1	root	root	254,	0	Apr 5 13:00 vda
> # fdisk /dev/vdb
> Unable to read /dev/vda
> Thats my problem. Is it more understandable ?
> Michael
> -----Ursprüngliche Nachricht-----
> Von: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] Im Auftrag von Alain Péan
> Gesendet: Dienstag, 5. April 2011 15:07
> Cc: pve-user at pve.proxmox.com
> Betreff: Re: [PVE-User] Problems with 1.8
> Hi Michael, Hi Giovanni,
> There is something I don't understand in your answers. I myself don't
> use fiber channel SAN (only iSCSI) and I don't know them well, but I
> think the SAN should be seen inside your host as a physical device,
> something like /dev/sdb.
> I don't understand why you had to boot on a lenny rescue CD to add your
> LVM volume groups. In my opinion, if the storage is configured
> (recognized) on the host, from the Proxmox web interface, all you have
> to do is to add an LVM group on this storage.
> The difference with iSCSI is that you don't have  a tool built inside
> the web interface to add Fiber Channel target. So I think you have to do
> it manually inside your host...
> Perhaps this thread on the forum can give some hints ?
> http://forum.proxmox.com/archive/index.php/t-5186.html?s=3553954f01702c4378597ad8a56ff58f
> Alain
> Le 05/04/2011 13:00, Gusek, Michael a écrit :
>> Ah ok i understand. At the moment, I don't have a running virtual machine, so I can't change a kernel inside the VM. How can I reset my host storage configuration ? Deleting and (re)adding my volume groups on the web page?
>> Michael
>> -----Ursprüngliche Nachricht-----
>> Von: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] Im Auftrag von Giovanni Toraldo
>> Gesendet: Dienstag, 5. April 2011 12:52
>> An: pve-user at pve.proxmox.com
>> Betreff: Re: [PVE-User] Problems with 1.8
>> Il 05/04/2011 11:43, Gusek, Michael ha scritto:
>>> Changing to ide has no effect. I'm running kernel 2.6.35-1-pve how can I change to bpo kernel ? Is it save with proxmox ?
>> When you change to ide you need to adjust grub kernel parameter, did you changed root=/dev/vdaN to root=/dev/hdaN?
>> bpo kernel inside guests (which would give updated virtio drivers), not on proxmox host! (maybe isn't too easy to install a new kernel when VM actually aren't booting)
>> If even with ide root mounting fails, it's probably something broken in your host storage configuration, not qemu-kvm or proxmox related.
>> --
>> Giovanni Toraldo
>> http://www.libersoft.it/
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33

More information about the pve-user mailing list