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)

0
votes
1answer
125 views

LVM volume mapped block device size is 0

I'm having a problem with my LVM volume. I lost a disk out of my RAID array, and started in in degraded mode. Now when I try to access 2 of the LVM volumes, they report a block size of 0. Does anyone ...
3
votes
2answers
858 views

Boot failure with root on MD (RAID1) + LVM: udev event timing

A fresh install of Ubuntu Server 13.10 (x64) is having problems booting from its root volume located in md+lvm. I've kludged a solution for now, but I'd like to understand more about what's going on ...
2
votes
1answer
120 views

Converting LVM VolumeGroup/Volume identifiers to device names and vice versa

Question(s): What is the best way to convert LVM VolumeGroup/Volume identifiers (e.g. system/var) to device names (e.g. /dev/mapper/system-var or /dev/system/var) and vice versa? Is it safe to just ...
2
votes
0answers
827 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 ...
2
votes
3answers
173 views

LVM: Using an image of a PV?

I have a logical volume spanning several drives. One of those drives (3TB, the largest of the bunch) is dying, and I am currently making an image of it (via ddrescue). I'm not yet sure on how to use ...
0
votes
0answers
92 views

LVM - after server reboot data changes of last 6 month lost

I have a server setup with a Proxmox VE on LVM groups. Today I could not kill some processes, so I decided to reboot the server. This did not work eighter so I had to press the reset button. After the ...
0
votes
2answers
635 views

System does not boot from root LVM RAID1 partition when any of the underlying PV is missing

I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition ...
0
votes
1answer
371 views

adding origin name of volume group

I am not able to create a snapshot using LVM [root@localhost 4GLV]# vgs VG #PV #LV #SN Attr VSize VFree TCPDumpVolGRP 2 2 0 wz--n- 1.36T 1.47G [root@localhost 4GLV]# lvcreate ...
2
votes
1answer
98 views

Is it possible to create metadata only snapshots with LVM?

Using dm thin I understand it is now possible to store the metadata separately from the snapshot itself. Does anyone know if it would be possible to create metadata only snapshots which do not incur ...
3
votes
1answer
2k 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: ...
2
votes
0answers
336 views

How can I specify to lvconvert which mirror leg to drop when specifying the physical volume is ambiguous?

I have managed to end up with an LV with the following mirror setup (output from lvs -a -o name,devices,lv_attr): rawphotos ...
2
votes
1answer
294 views

I/O priority per LVM volume (cgroups)

How can I prioritize LVM volumes I/O performance using cgroups? I know I can use ionice to make changes at the process level but I wish to be able to do this per LV and not per process.
5
votes
2answers
322 views

Can I get LVM to check if my mirrors are consistent?

I'm using LVM mirroring. Following some disk issues I'm concerned about the consistency of the data in my mirrors. Is there anyway I can get LVM to physically compare the data in each mirror?
1
vote
1answer
145 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 ...
2
votes
1answer
133 views

Drawbacks with smaller fdisk partitions, mdadm RAID10, LVM and KVM?

I am setting up a new virtualized server with KVM and LVM. The KVM host and all guests will be installed on a SSD drive. Each guest will have access to a RAID10 array made of 4x3TB sata drives, used ...
0
votes
1answer
2k views

Unable to repair ext4 filesystem, getting errors(

I just tried to boot from live CD and checked my file system using fsck,fsck.ext4, no errors was reported/fixed (i.e. says file system is clean), yet when I'm inside of system it tells me something ...
1
vote
2answers
72 views

OEL fresh install while keeping old LogVols

I've been asked to install OEL 5.x on a server and setup a disk with a few directories (there's only one disk in the server). So I have an OEL 5.x server wtih multiple log volumes in a volume group: ...
0
votes
1answer
368 views

Move encrypted debian system on luks+lvm with dropbear from single SSD to SSD-RAID1

We have a debian linux server which has a single 120GB SSD and 2x2TB HDDs as RAID 1. We now have to move to another server which has 2x240GB SSD and a single 2TB HDD. The aim is to move the current ...
0
votes
2answers
197 views

Expandable Linux filesystem w/ redundancy & support for different drive sizes?

I did a bit of research already and didn't come across any filesystems so far that have the following features: Expandability, Redundancy, and the ability to utilize the full capacity of different ...
2
votes
1answer
360 views

Linux backup in-place (no unmount) solutions [closed]

I have an Ubuntu server that I'd like to backup on a daily basis. I want to be able to restore the entire system with the click of a few buttons (or keystrokes). Also, I don't want to bring down / ...
2
votes
0answers
443 views

Restore LVM if VG is not consistent (XenServer 5.6.1)

i have a VG that uses the PVs /dev/md1 and /dev/md2. Now one hdd failed in /dev/md1: [root@xenserver1 ~]# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] 382320128 blocks ...
0
votes
1answer
40 views

Expand logical volume by resizing underlying partition

I'm building out a VM image in VMWare/CentOS that will be copied and brought up a multiple boxes. When I initially set it up, I made the disk size too small, but did not realize it until all the ...
3
votes
2answers
541 views

See progress of lvm --merge

Is there any way I can see the progress of a merge of my snapshot back to the origin? The only thing I know is that there is an ongoing merge because I can't create a new snapshot.
3
votes
4answers
2k 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 ...
-1
votes
2answers
347 views

Recommended solution to join partitions (disks) into single partition [closed]

I have 4 hard disks (1 Tb each) on server. It's debian wheezy, amd64. Disks 2,3 and 4 are not partitioned yet. I have to join them into single partition, it must be single filesystem/mountpoint for ...
0
votes
2answers
4k views

Basic iSCSI target setup on Proxmox VE (Debian 7) not working

I have created a Linux LVM partition on my disk and want to share it over network via iSCSI. However, the target is unreachable with iscsiadm (from both local and remote). The setup is shown below. ...
0
votes
0answers
2k 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 ...
2
votes
2answers
994 views

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM ...
0
votes
2answers
347 views

Does the initramfs image file need to be updated whenever grub.conf is modified?

I am trying to puzzle out a linux boot configuration problem involving legacy grub (0.97), LVM2, and dracut and trying to eliminate a few red herrings. My trial and error process goes like so: ...
0
votes
1answer
209 views

Shrink a mounted LVM partition

I fear I already know the answer to this question, but here goes. I need to carve out a new partition on a running system. /var/ is mounted from an LVM volume (hdd1_vg-var) and has only 3% used disk ...
0
votes
2answers
276 views

CentOS LVM: how to resize root lv

I took over a virtual server at work after a co-worker left. He, however, setup the server incorrectly at multiple stages and im cleaning them up as I run into them... Currently I realized that the ...
0
votes
2answers
328 views

Create logical volumes from partitions in linux

I have a server running RHEL with below hard disks configuration. [root@localhost indika]# fdisk -l Disk /dev/sda: 150.3 GB, 150323855360 bytes 255 heads, 63 sectors/track, 18275 cylinders Units = ...
0
votes
1answer
705 views

How to get Mondorescue to work with LVM2 (CentOS 6.4)

I'm trying to make an emergency recovery disk with Mondorescue to: Restore my server in case of hardware (or severe software) failure. Make an "identical" server setup for debugging and staging. ...
0
votes
1answer
135 views

LVM2: How to copy snapshots?

I read What does an LVM2 Snapshot contain? and LVM Snapshot confusion. What I'm trying to figure out is if there is a way to create a copy of an LVM snapshot for use with different Xen VMs. I know ...
4
votes
2answers
125 views

CentOS partition reporting out of space

I have CentOS server with 7 partitions and 2 of them are LVM partitions one is divided as 2 LVM partitions. While working with the production software the disk suddenly gets full in a folder that is ...
2
votes
1answer
245 views

What kind of “volume/storage management” has the largest support/feature set these days? [closed]

(DISCLAIMER: This is "time bound" as probably every other question, I just point it out now instead of implicating it) part of reviewing a few basic decisions for our infrastructure is once again the ...
1
vote
2answers
2k views

Remove a duplicate lvm physical volume uuid?

After upgrading a rhel 5 server today I rebooted to the new kernel: curr=2.6.18-371.el5PAE prev=2.6.18-348.18.1.el5PAE. In the boot sequence I saw a message indicating Logical Volume Management was ...
1
vote
1answer
259 views

How to move partitions from 2 LVM volumes into one LVM on other disk?

i had 2 partitions with following layout Disk /dev/xvda: 376.4 GB, 376354897920 bytes 255 heads, 63 sectors/track, 45755 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
2answers
162 views

RAID / FS choice for 12 hard drive machine?

I'm going to purchase a 14 bay HP 2U server with ECC memory and bunch of 3TB enterprise SATA drives. I would prefer to make 2 x RAID6 with 6 drive each. This will be used for local office storage and ...
1
vote
2answers
792 views

Can I use an expanded VMdisk without rebooting the RHEL-server?

We are running RHEL 6.4 on VMware. I have an OS disk of 20GB and want to expand it to 30GB. I have expanded the disk in VMWare. Is there any way I can let the OS recognize that /dev/sda has grown ...
0
votes
1answer
967 views

VGDA full in a scalable volume group? (extendvg)

I have an AIX 6.1 volume group called arscachevg. It is a few terabytes big and consists of 15 physical volumes. When I try to extend it with a new physical volume, I get this error: 0516-008 ...
0
votes
1answer
723 views

An LVM snapshot of an ext4 fs does not seem very clean

I create an LVM snapshot of a mounted ext4 fs: lvcreate -L 10GiB -s -n "root-snapshot" "/dev/myvgname/root" If I then run e2fsck on /dev/myvgname/root-snapshot, it says: e2fsck 1.42.5 ...
5
votes
2answers
152 views

ZFS Equivalent of lvdisplay snap_percent

I've been using LVM snapshots for backing up MySQL databases. FLUSH TABLES WITH READ LOCK is issued and then lvcreate --snapshot --size 4G etc. Because the database is live while the snapshot is ...
0
votes
1answer
193 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, ...
1
vote
0answers
353 views

Why won't my Ubuntu 12.04 Preseed file work with LVM

Here is my preseed file: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true ...
2
votes
1answer
99 views

Creating “Odd” Size Disks in VmWare/Linux

I believe I suffer from "everything must be in powers of 2" syndrome. When asked to create a 30G disk in VmWare for a VM I want to create a 32G disk. If someone needs 256G of storage using LVM I ...
0
votes
3answers
3k views

/dev/sda1 not in a volume group, and vgextend doesn't work

I've got several virtual machines which I access through a VMWare vSphere client (v 5.1.0). One ran out of space and I'm trying to give it some more space. What I've done so far: - Increased ...
0
votes
2answers
3k views

volume group not showing in /dev , /dev/mapper

We configure cluster with rhcs with storage partition.we created pv and vg. we can see pvdisplay and vgdisplay with all information about pv and vg which we created. But we can not see vg file on ...
3
votes
2answers
541 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 ...
2
votes
0answers
277 views

Convert single O/S disk to RAID 1 - Ubuntu 12.04 LTS

I have a server running Ubuntu 12.04 LTS with only a single drive. There are 2 more empty hot swap bays in the chassis. I want to add a little redundancy by adding a RAID 1 to the system. The ...