Lvm fixes

Come patches for compatiblity with new lvm package.