-4
votes
0answers
34 views

How to extend disk space to the LVM filesystem of a kvm virtual machine [closed]

I am having a vm where I need to add some more disk space. The VM was created using LVM. I would like to add some disk space on /dev/mapper/vg_hosting4-lv_root How can i do this exactly? I can ...
0
votes
0answers
62 views

KVM : VMs need several restarts to boot (on 2 different hosts)

I'm using a KVM hypervisor on a Ubuntu Server 12.04 server. My virtual machine's virtual disks are LVM volumes, formatted as ext3. The guest OSes are all Ubuntu 12.04 and 14.04 server. Everything ...
0
votes
1answer
36 views

Online resizing of kvm guest root filesystem?

I have a Linux guest that uses an LVM volume directly as root file system (that is, there is no partition table). libvirt config looks thus: <os> <type arch='x86_64' ...
0
votes
0answers
110 views

How to increase KVM guest disk size using LVM VG as storage pool?

The KVM host server is running CentOS 6.5 and a LVM volume group "storage_pool" is used as the main storage pool for KVM. An Ubuntu guest is installed using an ext4 filesystem and mounts the whole ...
-1
votes
1answer
332 views

how to clone a VM on LVM to another in KVM?

On a Debian wheezy i installed KVM for virtualization and install some VMs on it. I use separate LVM disks because of its performance for my VMs disk. Now i need to clone one of them in new LVM disk. ...
0
votes
0answers
221 views

Optimizing disk performance on KVM VM configuration

I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
0
votes
0answers
199 views

Any disadvantage of running a virtual machine using files for its drives hosted on freenas/zfs?

I recently got tired of the really slow I/O reads and latency (10-30 MB/s read, not sure for latency but very slow) from a provider I rent a virtual machine from. He uses freenas, the virtual machine ...
1
vote
0answers
261 views

Migrate CentOS VM using LVM on IDE to run with VirtIO

I'm trying to migrate existing IDE-using, LVM-based CentOS 5.2 VMs to use virtio. The symptom is a kernel panic upon boot when the system can't find any volume groups. Does anyone know how to make ...
1
vote
0answers
138 views

SSD+MDRAID+LVM+KVM results in lower performance than expected

We use kvm for virtualization, the disk images are stored as logical volumes. The logical volumes are stored on a bunch of software-RAID1 (mdadm) arrays composed of Intel DCS3500 SSDs (each array is a ...
0
votes
1answer
103 views

Migrate multiple LVM volumes for KVM guest to image

I want to move some KVM guests to VMWARE and therefore have to create VMDK images of the disks. The virtual disks for the guests are spread around multiple LVM volumes. There are a couple of pointers ...
1
vote
1answer
76 views

Does 'lvremove' destroy data?

I assign a LV for each vm guest. When deleting a vm, I remove the corresponding lv running 'lvremove'. But is it necessary to destroy the data before running 'lvremove'? Does lvremove do the work of ...
2
votes
0answers
171 views

Please help recovering lost volume group

After a reboot, the volume group on my server completely disappeared. [root@dal01 log]# vgdisplay No volume groups found [root@dal01 /]# lvdisplay No volume groups found [root@dal01 ~]# pvdisplay ...
1
vote
1answer
80 views

Mapping between KVM guest virtual discs and LVM logical volumes

The question is, how do I know which LVM partition corresponds to which virtual KVM disc? I am trying to install a KVM guest (Ubuntu server) on LVM logical volumes. I have used lvcreate to create ...
3
votes
3answers
747 views

Slow disk I/O in KVM with LVM and md raid5

I have been battling with a kvm setup under debian for two weeks now, specifically with guest I/O disk performance. The system: -Supermicro 1018d-73mtf (X10SL7-F motherboard) -16GB ECC/UB -Intel ...
0
votes
0answers
804 views

KVM LVM-based guest… kernel: Buffer I/O error on device. Failing drive?

Currently setting up a small KVM host to run a few VMs for a small business. The server has 2 drives in software md RAID 1, then I have it set as a PV in an LVM setup. Guests and hosts are all CentOS ...
0
votes
1answer
144 views

Mounting an LVM snapshot and converting file: is it safe?

I have KVM running and need to convert some qcow2 disk images from running guests into vmdk format. Is it safe to take an LVM snapshot of the logical volume that the qcow2 file resides on, mount it, ...
3
votes
2answers
297 views

LVM with SSD + non SSD in volume group (for snapshot storage)

I have a KVM box running some critical VMs which perform software builds. The server runs SSD drives. I have an older version of KVM which has limited snapshot capability, and I have decided to use ...
1
vote
0answers
192 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
2
votes
1answer
540 views

KVM guest won't boot from hard disk image, but will from CD-ROM image

I'm using KVM to host a Debian unstable guest on a Debian unstable host. Emphasis on 'unstable' :-) Until recently (and until a recent round of Debian package updates on both host and guest) this was ...
0
votes
1answer
78 views

KVM copy contents of image into raw smaller LVM2 partition

I have a KVM guest, running on a KVM host...both Gentoo Linux. The guest is called webserver.img. It is 21 gigs large, but I am only using 5 gigs inside the image. I want to make a logical volume ...
0
votes
1answer
164 views

Snapshot a KVM guest with non-file storage

I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be ...
0
votes
1answer
53 views

Postfix smtp redirected and not sending

I'm new to this so please go easy if I don't explain it lugubriously. I'm admin'ing a debian based KVM/LVM server. It has several VM's on it but two that are the problem. Recently I had to clone VM A ...
1
vote
1answer
1k views

Guest system managed by libvirt doesn't start after successful installation

Host system — Ubuntu 12.04. Virtualization — KVM. Disks — LVM. Guest system installation was successful. But after restart: Booting from Hard Disk... Boot failed: could not read the boot disk ...
0
votes
1answer
132 views

scripted resize kvm images

I'm examining the possibility to script the resizing of a kvm image. The goal is to give our customers the possibility to upgrade their vps online. So for instance if a customer has a vps of 10G then ...
1
vote
2answers
701 views

Migrate guest from KVM to VirtualBox

I'm migrating some machines from KVM to VirtualBox for a transitional period while we build our new virtualization environment. The problem now, the disks are located on a LVM partition, and I have ...
1
vote
1answer
3k views

Adding Virtio block devices at runtime in Libvirt KVM

I'm running Debian Wheezy Beta 4 with KVM based guest systems which run the same operating system. I'm using LibVirt to manage the virtualisation. What I would like to do is to attach an LVM based ...
13
votes
4answers
4k views

Improving IO with FlashCache

I have a server with 2 HDD's (2x 1 TB), running in RAID 1 (SW-RAID). I want to improve IO performance by using flashcache. There are running KVM virtual machines on it, using LVM. Regarding this, I ...
1
vote
1answer
168 views

kvm/vmbuilder partitions are smaller than they should be, 10% of logical volume always unallocated

I use the vmbuilder tool to create KVM virtual machines on my ubuntu host system. For each vm I set up a vmbuilder.partitions textfile in which the partition sizes for the vm are defined. As simple ...
0
votes
3answers
288 views

Can Windows read an unpartitioned NTFS volume? (Single large partition)

So, for various reasons, I've ended up with a 45TB Single Linux Logical volume, without a partition table, formatted as NTFS containing 28TB of data (the Filesystem itself is 28TB). The filesystem ...
4
votes
2answers
1k views

Does Proxmox VE Support LVM as block storage for KVM guests?

Does Proxmox VE Support LVM as block storage for KVM guests to avoid the overhead of going through the filesystem layer on the host system ?
1
vote
0answers
68 views

Setup cloadmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume?
3
votes
1answer
1k views

CentOS Kickstart on KVM doesn't clear partition labels

I used a kickstart file with the command clearpart --all --initlabel to make sure anaconda would clear any disks before trying to create and format new partitions. This has worked in the past for me, ...
10
votes
3answers
5k views

KVM/qemu - use LVM volumes directly without image file?

I'm not quite sure how to phrase this question (hence the poor title), so let me provide an example of what I'm trying to do. On my (old) Xen host, I'm able to present LVM filesystems directly to ...
1
vote
3answers
2k views

KVM booting off-image kernel and existing partition

I am in the process of switching from Xen to qemu-kvm. My current Xen installation has a number of LVM volumes each with a partition (rather than a full disk image). In Xen, I start each VM with a ...
3
votes
1answer
2k views

Volume group disappeared, LVs still available

I've run into an issue with my KVM host which runs VMs on a LVM volume. As of last night the logical volumes are no longer seen as such (I can't create snapshots of them even though I have been for ...
0
votes
3answers
2k views

Resizing LVM partition for KVM guest

I've created LVM partition for the KVM guest. The KVM guest is also using LVM partitions itself. The initial size of the guest's LVM partition was 160GB on the hypervisor. I've extended to 200GB. ...
2
votes
2answers
666 views

LVM-snapshot based KVM VMs

As far as I know, LVM snapshots basically don't take any "real" space on hard drives. I'm using KVM virtualization on my hosts and let's say I create an LVM volume for my Linux VM, then install it ...
2
votes
2answers
2k views

How can I use the host's lvm VG as a kvm pool?

I have a machine setup with Centos6 as a virtualisation host. It has a single 250G hard drive that is configured as a single lvm volume group(vg_fluke). Now I would like to use the host's lvm as a ...
4
votes
1answer
3k views

losetup -d giving : device busy

I am mounting a KVM disk (LVM) following these commands : # losetup /dev/loop0 foo.img # kpartx -av /dev/loop0 # mount /dev/mapper/loop0p1 /mnt # unmount /mnt # kpartx -dv /dev/loop0 # losetup -d ...
1
vote
1answer
538 views

qcow2: Safe to use guestfish zerofree option on ext4 on top of LVM?

Is it safe to use guestfish's zerofree option on ext4 which is inside an LVM volume? If not, what is the best approach - rebooting (inside the VM) into recovery mode and using the regular zerofree ...
6
votes
1answer
662 views

Simulating a missing superblock error on EXT4 linux system

I'm trying to write reference material for a friend who has power outages a couple of times a year which affect their linux server. This person is not well versed in linux systems administration, so I ...
5
votes
4answers
14k views

How to mount virtual machine's LVM partition on KVM host?

If I trying to do following on KVM host: # kpartx -av /dev/VolGroup00/kvm101_img add map kvm101_img1 : 0 208782 linear /dev/VolGroup00/kvm101_img 63 add map kvm101_img2 : 0 125612235 linear ...
5
votes
3answers
7k views

What KVM disk type to use?

I'm setting up a few KVM virtual guests and I'm debating which disk type to use. I haven't been able to find a good resource online that runs down the pros and cons of each. Can you help me create a ...
2
votes
2answers
350 views

Partions, RAID, LVMs, and Encryption

I have an existing production server that is running 4 drives each 750 GB in size in two software RAID levels. RAID 1 for the /boot partition and RAID 5 for the rest of the partitions including the ...
0
votes
1answer
731 views

Converting physical machine into virtual without shutdown it

I have to create virtual copy of existing server (for testing purpose). I have two (physical host) hosts: main - this one will be used as source for virtual machine disk image. It has standard ...
3
votes
4answers
4k views

KVM-Guest does not boot: qemudParsePCIDeviceStrs

I have a Server running Ubuntu 10.10 Server-Edition kvm, and libvirt (both ubuntu-native packages) HDD-Partitioning was done with LVM. Then I created some VMs with Virt-Manager and assigned ...
8
votes
3answers
5k views

LVM volume group shared between KVM/libvirt host and guests: is this a bad idea?

I have just built a shiny new KVM/libvirt-based virtual machine host, containing 4 SATA II hard drives, and running CentOS 5.5 x86_64. I have decided to create virtual machine disks as logical ...
1
vote
1answer
2k views

How to mount/resize/modify LVM partition in KVM qcow2 or raw images?

I have KVM qcow2 and raw images. Virtual machines are partitioned with LVM. Now I want to resize the root partition of a few machines so I guess I have to do this from the host. My question is: how ...
0
votes
1answer
439 views

LVM snapshot of linux 2.2 KVM guest

I have a KVM host running a linux 2.2 guest. The virtual disk for the guest is an LVM logical volume. This is seen by the guest as a real disk, so it's partitioned, has a boot sector, etc. Now my ...
0
votes
1answer
937 views

Converting raw image to LVM. Won't mount afterwards

According to this post, it should be okay, to use dd to convert a raw Xen image to LVM. What I have done dd if=/vm.img of=/dev/vg00/vm I can mount vm.img with mount -o loop vm.img /root/tmp. It ...