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.

learn more… | top users | synonyms (1)

6
votes
1answer
952 views

Are ZFS pools or LVM volume groups more reliable for utilizing many partitions?

When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike ...
1
vote
2answers
32 views

Long running VMWare snapshots are bad… but what about VMDKs on a ZFS\LVM snapshot?

The VMWare KB and multiple blogs state that long running snapshots are bad for both performance reasons and integrity. They have valid points. Granted this is not with ESXi but rather ...
-3
votes
0answers
22 views

Correct configuration for mysql server on an AWS EBS LVM volume [on hold]

I have done extensive research on the web to be able to get a mysql server running on an ebs volume with lvm enabled. I had some difficulties but which I've overcome. However before I rest on my ...
1
vote
2answers
451 views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
11
votes
4answers
6k 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 ...
2
votes
1answer
800 views

clvmd problems during the RHEV cluster deployment

We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully: ...
0
votes
1answer
26 views

lvm mirror doesn't resync the logical volulme

I trying to restore one lvm mirror using the old metadata, for restore the config i'm using the command vgcfgrestore -f redhat vgmirror but after the restore of the old metadata, the resync ...
2
votes
3answers
840 views

All Xen domU LVM volumes corrupt after reboot

I'm running a Debian Squeeze dom0, and after rebooting it all 7 of my domUs have data corruption. Each is setup as ext3 partition directly on a separate lvm2 volume. None of the lvm volumes will ...
0
votes
0answers
16 views

mdadm/grub2/lvm boot failure if all drives are physically connected

Weird problem here. I've got a Debian 7 server (quad core, 32GB RAM) that runs a whole bunch of VMs. The main boot drive is a RAID 1, with an LVM volume group called System, which contains a bunch of ...
-1
votes
0answers
16 views

Expansion of a mountpoint shared as nfs to other servers

We have a mountpoint shared as nfs to other servers. Can this be expanded online using lvm? Do i need to unmount the nfs share in clients inorder to expand this mountpoint. Note: ALL OS is RHEL4.9
4
votes
2answers
6k views

pvresize doesn't seem to resize after increasing the size of the underlying block device

I increased the size of the partition which I'm using as a LVM PV, but running pvresize doesn't seem to see the extra space: cuttle:~# fdisk -l /dev/vda Disk /dev/vda: 21.5 GB, 21474836480 bytes 255 ...
1
vote
0answers
19 views

grub: Booting Ubuntu off /boot in LVM, broken after upgrade

I have servers I want to upgrade remotely and headlessly from Ubuntu 12.04 LTS to 14.04 LTS. This upgrade has to happen via script, with no interaction. The do-release-upgrade command exits cleanly, ...
-1
votes
1answer
34 views

Linux: When to create a new partition?

I am a newbie on LVM management trying to learn how to create new logical volumes. This is what I understand on how to do it: (Just want to make sure I understand it correct.) create partitions on ...
0
votes
1answer
1k views

Grub install failing on Hardware RAID with LVM

I have a SuperMicro box with an Areca RAID controller installed. The RAID controller is configured for RAID 6 + Hot Spare. I am attempting to install Ubuntu 12.04 LTS. I set up LVM with separate ...
2
votes
1answer
798 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 ...
1
vote
2answers
34 views

How can I tell Linux to ignore disk partitions it's already discovered?

I'm running libvirt with QEMU/KVM and I have disk images for the VMs in LVM logical volumes. Naturally, many of the guest VMs use LVM for their disks, too. I ran partprobe on my hypervisor and it ...
-1
votes
0answers
10 views

How do I find the physical LBA that maps to a relative LBA within an LVM volume?

I have a file in an ext3 filesystem in an LVM volume that's in an mdraid container (raid1, 2 physical disks). I can find the LBAs of the file, relative to the start of the LVM volume, using hdparm ...
4
votes
1answer
31 views

Does AIX support Advanced Format (4k sector size) SAN LUNs?

I am working with an EMC XtremIO storage array that utilizes SSD devices that use a native 4 KB sector size instead of the traditional 512 B size. I am attaching an IBM AIX 7.1 server to the array. I ...
0
votes
0answers
3 views

Access an NTFS volume in Linux LVM from Windows [migrated]

my system dual boots Windows 7 and Debian Linux. My linux partition uses LVM with a root swap setup. My swap size is 18 GB and the root size is 2 TB. I resized my root partition to 750GB to give me ...
0
votes
1answer
2k views

Xenserver 5.6 SR_BACKEND_FAILURE_47 no such volume group, but it is there

I've looked everywhere (Google, here, a bunch of other sites), and while I have found people with similar problems, I couldn't find a single one with a solution to this. Last night our xenserver 5.6 ...
0
votes
0answers
35 views

LVM fault tolerance and recovery over 2 mdraid RAID5 arrays PVs

I have an Ubuntu 14.04 LTS server with an mdraid RAID5 array and LVM on top, meaning one PV and one VG using it. The LVM is configured to allocate all the space to one LV. The LV is formatted with an ...
0
votes
0answers
26 views

mkfs.gfs2 failing silently on centos7 cluster?

I'm building a test cluster using centos7 and pacemaker, with shared storage on GFS2 over clustered LVM. I've set up a 2-node cluster, dlm and clvmd, both nodes can see the clustered logical volumes. ...
-1
votes
0answers
18 views

Where is the LVM area which is not usable by LVM? [migrated]

pvdisplay reports some portion of the LVM physical volume as not usable. And I need to know where this is located. To my knowledge there are ... a) space which could not be filled with an ...
0
votes
0answers
30 views

lvm disk corrupt after force power down

I have virtual machine running on kvm host. But after force shutdown (unplugged power supply of physical server), virtual disk corrupted, cannot boot to OS (OS: CentOS 32bit, include 2 partition, ...
4
votes
2answers
1k views

e2fsck / resize2fs problems

I've got 6 drives (each 1.5T, all same model and firmware revision) that are part of a RAID5 array. The RAID5 makes a LVM volume group and a logical group. The latter contains only one ext3 partition. ...
1
vote
1answer
28 views

encrypted (luks) partition had some damage - any chance?

I was trying to run Debian installer on top of an already luks-encrypted partition (I tried to do use cryptsetup in the console). I don't remember ever saying "yes, destroy" data, but what I see now, ...
13
votes
8answers
18k views

Sync LVM snapshots to backup server

I have a number of Xen virtual machines running on a number of Linux servers. These VMs store their disk images in Linux LVM volumes with device names along the lines of /dev/xenVG/SERVER001OS and so ...
4
votes
5answers
2k views

lvremove claims LV to be open

frequently I notice that after a $ sudo lvcreate vg -L 10G immediately followed by a $ sudo lvremove vg/<created volume> I get the error message Can't remove open logical volume "..." ...
1
vote
0answers
26 views

How do I specify what PVs are used for mirroring when adding a mirror in LVM to an existing LV?

I've got an existing VG containing a single LV on a RHEL server that consists of a handful of SAN disks. In an effort to migrate the server to a newer SAN, I'd like to mirror the existing storage to ...
14
votes
7answers
10k views

Is it possible to convert a Linux box to LVM after the fact?

My Linux server uses LVM because I replace the machine a year ago and installed from scratch. LVM has been a life saver and I love its flexibility. My Linux laptop, however, was last fully installed ...
2
votes
1answer
52 views

How to find out if lvm mirror write is asynchronous or synchronous?

I am using redhat 5.8 with an lvm mirror, created with the following command: lvcreate -m1 --mirrorlog mirrored -n mirrorvol -L 10G myvg /dev/vdb /dev/vdc I would like to know, when I write, do I ...
3
votes
1answer
1k views

Why does my lvm2 volume group only work with multipath device mapper and not powerpath?

My server is an Oracle Enterprise Linux 5.4 (RHEL5) on an hp blade (x64) with qlogic HBAs connected to an EMC clariion SAN. We are migrating from multipath to powerpath, because emc and the company ...
1
vote
0answers
45 views

task fstrim blocked for more than 120 seconds

I'm experiencing random crashes on my system. I've narrowed the problem to the fstrim program that's launched weekly by cron. In the console, I've got a set of blocked tasks among whigetch I find ...
1
vote
2answers
420 views

is there any advantage mounting an LV by UUID instead of by path?

I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...). I see a clear ...
116
votes
5answers
33k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
2
votes
1answer
42 views

Installing boot manager to a raw LVM physical volume

Is it possible to install some boot manager to disk with raw physical volume inside (i.e. no partition table)? I tried LILO and LVM volumes became inaccessible (due to LVM structures corruption). Boot ...
0
votes
1answer
163 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 ...
2
votes
1answer
63 views

LVM physical volume priority

Linux LVM can combine several physical volumes in one group and when spread space of this group among logical volumes. If some slow devices will be added to group it may slow down all logical ...
-2
votes
1answer
267 views

Shrinking or removing home partition in CentOS 7 installation [closed]

I made the mistake of creating a home partition that fills up all my disk space, and it's formatted in XFS, which to my knowledge isn't shrinkable. Since I have no use for the home partition anyway ...
4
votes
3answers
1k views

Convert full hard drive to LVM without external storage

Recently, my 2TB hard drive ran out of space, so I purchased another one to supplement it. My old drive is mounted in a specific folder (does not have system files or anything). Technically, I could ...
1
vote
1answer
32 views

create parition for xen with lvm on raid-1

First I don't have any experience creating xen, lvm and RAID-1 server, thus after several reading I stumbled upon this ubuntu documentation to install xen. BUT, because in the documentation it ...
0
votes
3answers
84 views

How to mount Physical Volumes separately which are bound using LVM

I have a VG (volume group) containing 3 PVs (Physical Volumes). Some physical fault has come up in one of the PVs (maybe?). At the attempt of mounting each PV separately, it gives mount: unknown ...
5
votes
3answers
5k views

Device /dev/sdb1 not found (or ignored by filtering)

I am trying to add a physical volume for use to add volume groups and thus LV inside them. Sadly I am getting the following error. [root@server ~]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ...
0
votes
1answer
230 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
vote
1answer
1k views

Can I lvreduce after lvextend without losing the ext4 partition inside it?

In a botched attempt to move my root partition from one disk to another I have done the following: added new disk partitioned it with parted (part #3 is now almost totally filling the disk) ...
0
votes
1answer
68 views

Centos disk space allocation

My internal server is running out of space. I want allocate some of the space from lv_home over to lv_root. I have checked the following link: Centos 6.3 disk space allocation. It has few commands ...
0
votes
1answer
53 views

Extending Linux LVM partition

I was following this link to extend a Linux LVM partition on a remote machine, but the Internet connection went out and I don't know if the partition was created. Can you help me determine if the new ...
0
votes
1answer
44 views

Increasing LVM to use all free space on virtualbox/debian

I've cloned and resized a disk image for VirtualBox but I can't find a way to use all the new space. this is how I started: fdisk: Disk /dev/sda: 80.5 GB, 80530636800 bytes 255 heads, 63 ...
0
votes
1answer
1k views

Centos 6.3 disk space allocation

Apache can use only 50GB, so if my websites go over this amount the server crashes. THis VM has 200GB allocated to it. But I did not set up the volumes correctly. How can I allocate some of the space ...
0
votes
2answers
469 views

Why is the latency on one LVM volume consistently higher?

I've got a server with LVM over RAID1. One of the volumes has a consistently higher IO latency (as measured by the diskstats_latency munin plugin) than the other volumes from the same group. As you ...