Question about lvm and proxmox cluster

willy1009

Renowned Member
Jul 26, 2010
59
0
71
Proxmox hang when shutdown and other problems

Hi,

I Have two servers running proxmox 1.8 in cluster.

My storage is a SAN Dell MD3200i using dedicated iscsi network between server and SAN.

I have two LUNs in my MD3200i, so i create two LVM in proxmox, they appears in storage page in my two proxmox servers.

So i have few questions :

1 - i want to create vms with qcow2 image type on lvm, is it possible ?

2 - Snapshots are possible with raw image type on lvm storage ??

3 - My proxmox servers hangs with "Shuting down LVM volume groups" message when i shutdown them. I search since few day but i haven't find solutions.

Finally multipathing is ok, i hope... if someone can tell me if my multipath.conf is ok.

defaults {
flush_on_last_del no
user_friendly_names yes
}

blacklist {
device {
vendor Dell.*
product Universal.*
}
device {
vendor Dell.*
product Virtual.*
}
device {
vendor DELL
product RD1000
}
device {
vendor DELL
product "PERC 6/i"
}
# System disk
device {
vendor ATA
product *
}
# System disk
device {
vendor SEAGATE
product *
}
}

devices {
device {
vendor "DELL"
product "MD32xxi"
#path_grouping_policy group_by_prio
prio rdac
polling_interval 5
path_checker rdac
path_selector "round-robin 0"
hardware_handler "1 rdac"
failback immediate
#features "2 pg_init_retries 50"
no_path_retry 30
#rr_min_io 100
prio_callout "/sbin/mpath_prio_rdac /dev/%n"
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
}
}

multipaths {
multipath {
device {
vendor DELL
product MD32xxi
}
}
}

all seems working (i haven't test online migration) but normaly i must have 8 paths but just 7 appears with the command : multipath -ll

I don't know where is this missing path...


Thank you for your help

William
 
Last edited:
Re: Proxmox hang when shutdown and other problems

1 - i want to create vms with qcow2 image type on lvm, is it possible ?

no, LVM is a block storage device (RAW images only)

2 - Snapshots are possible with raw image type on lvm storage ??

What kind of snapshot? You can make backups using snapshot mode with vzdump

3 - My proxmox servers hangs with "Shuting down LVM volume groups" message when i shutdown them. I search since few day but i haven't find solutions.

Does it reboot after 3 minutes?
 
Re: Proxmox hang when shutdown and other problems

Thanks for your reply.

ok for raw image on lvm and snapshot using vzdump.

For my third problem, i have retry a shutdown five minutes ago and they shutdown normally but with a message about lvm volume group is busy so he can't disable it.

I try to give you more information about it today
 
Re: Proxmox hang when shutdown and other problems

For my third problem, i have retry a shutdown five minutes ago and they shutdown normally but with a message about lvm volume group is busy so he can't disable it.

That warning is about the pve-root volume? That is a known debian lenny issue - you can safely ignore that.
 
Re: Proxmox hang when shutdown and other problems

ok i have a lot of work this week sorry for late answer.

So during shutdown process i get this :

shutting down LVM volum group device-mapper : multipath failing path 8:128
sending I/O to dead device

and same commande repeat just end change with "8:32", "8:64", etc...
after few minute i get :

task vgchange:7519 blocked for more than 120 seconds

and multiple character appears and the command loop infinitely
server never shutdown.


next to this problems some times when server is working i get :

kvm:5637 cpu0 (or 1 sometimes) unhandled wrmsr: 0x198 stat 0
kvm:5637 cpu0 (or 1 sometimes) unhandled wrmsr: 0x198 stat 0
is this normal ??


finally, when i create or migrate a vm i get this :



thanks

William
 
Re: Proxmox hang when shutdown and other problems

so, my kvm error are benign apparently so it's ok, but when my server shutting down i don't find solution.