In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.
Questions tagged [lvm]
1504 questions
0
votes
1 answer
How to encrypt Ubuntu filesystem or certain directories?
I need to deploy a software installation on Ubuntu VM running on top of ESXi. The ESXi does not support any encryption on the VM level, so this has to be done on the guest OS. I basically want to prevent someone from copying the image and reading…

akafazov
- 7
- 2
0
votes
2 answers
Slow write to LVM with snapshot
I use Ubuntu 10.04 Server. Write very slow, when I use LVM snaphot. This is normal?

JefevOtBow
- 3
- 1
0
votes
1 answer
How to apply LVM properly to a server already with multiple partitions?
My question is, what if a server I were going to administer had their own partitions, such as one for /usr, /var, /home, /tmp and root - How would I handle them after utilizing LVM?:
Lets say I create physical volumes out of each of them, then…

Robert Renu.
- 81
- 1
- 4
0
votes
2 answers
Backup, Migrate or Clone Failing CentOS 4 (LVM)
I've been running a BlueQuartz CentOS 4 system (Nuonce.net distro) for a few years now and although the hard drive (Deskstar) has always been a bit noisy, on a few recent occasions I've heard it having trouble spinning up. Basically, I want to…

Hegelworm
- 1
- 1
0
votes
1 answer
Debian Squeeze Ganeti - lvm.conf filter problem
I've been integrating the ganeti project and it has a problem with the ":" character at the PV ( physical volume ), name.
By adding the line filter = [ "r|:|", "a|.*|"] in /etc/lvm.conf, when creating PV, it is written correct. But when create a VG…

Vladimir
- 1
- 2
0
votes
2 answers
how to increase the space of root partition by taking space from a xen PV
I am stuck in pretty weird situation. I hope somebody here will help me.
I have one centOS server with XEN installed on it. XEN has 3-4 virtual machiens running on it. As required by XEN, this server has LVM implemented. The structure of Disk System…

aligator007
- 11
- 1
- 1
0
votes
2 answers
questions about how to use LVM
I have an LVM partition in use already so i am good.
lvdisplay
--- Logical volume ---
LV Name /dev/unclebob-vg0/unclebob-swap
VG Name unclebob-vg0
LV UUID BZgkTD-srBf-5wx7-5gO3-ikKt-5zz5-o2Lj1z
…

John Riselvato
- 153
- 8
0
votes
2 answers
mdadm lvm and ext4 slowness - How can I speed it up?
I can't figure out why I'm getting such terrible times out of my mdadm and in particular the lvm partitions in it.
I made the raid:
mdadm --create --verbose /dev/md0 --level=5 --chunk=1024 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
#…

beatbreaker
- 33
- 1
- 3
- 6
0
votes
1 answer
Strange log messages from LVM and server hang
On one of our OpenSUSE (11.3) virtualization servers we have had some stability problems recently. The server is pretty heavily loaded, with up to 100 virtual domains, all running on LVM snapshots. We have had the server suddenly hang (still…

pehrs
- 8,789
- 1
- 30
- 46
0
votes
3 answers
LVM snapshot keeps changing file timestamps
I searched the web but did not find any info about this. I'm mounting an LVM snapshot and I notice the timestamps of the files there keep changing. I though LVM snapshot was a one time freeze in time w/ write on copy of the original partition, so…

Ricardo
- 170
- 1
- 1
- 5
0
votes
1 answer
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 question is: if I take a snapshot of that logical…
user56857
0
votes
1 answer
Can I move an LVM as I can move an ISO
Can an LVM be copied or transferred to some remote server in a similar
fashion as
I can do with ISO.(Not asking rsync)
I copy the ISO one one place to some other location and on the second location
I can mount this ISO and do what ever I want.
Is…

Bond
- 781
- 4
- 12
- 22
0
votes
3 answers
Getting an error when mounting LVM snapshot
I have migrated a file based Xen guest to LVM using
dd bs=1M if=/dev/zero of=/dev/vg00/vm10
qemu-img convert ~/vm10.qcow2 -O raw /dev/vg00/vm10
and changed the Xen domain file for the VM to use the LV instead of the old file.
The VM boots up, and…

Sandra
- 10,303
- 38
- 112
- 165
0
votes
1 answer
Resizing ext2/3 partitions (including /usr) on a live system
I'm building a system with fairly limited disk space that will use LVM, and I'd like to be able to resize the partitions as freely as possible without bringing the system down. In particular, I'd like to be able to grow or shrink* /usr.
As I…

intuited
- 415
- 1
- 5
- 12
0
votes
1 answer
LVM2: vgscan fails to recreate lvmtab
I recently moved an LVM array from one server to another. When I tried to recreate the lvmtab with pvscan/vgscan, it successfully found my 3 disks, but do not recreate lvm tab.
# pvscan -v
Wiping cache of LVM-capable devices
Wiping internal VG…

Jr. Hames
- 83
- 8