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)

1
vote
2answers
4k views

Ubuntu 13.10 - How to disable LVM and cryptsetup? cryptsetup: evms_activate is not available

I am trying to remove whole drive encryption from my Ubuntu installation. I've run Ubuntu from Live CD, mounted crypt partition and copied it to another partition /dev/sda3. sudo cryptsetup luksOpen ...
1
vote
0answers
121 views

Attach Multiple disk LVM from old Xenserver to new Xenserver

hope you can help me with this one... We have a Xenserver 6 with 4 320 Gig disks as a one LVM Volume Group. Suddenly past friday one disk failed and we were unable to start the server. I have tried to ...
2
votes
1answer
114 views

Expanding RAID6 with LVM

My question is a bit broader than the question title, but here is my situation: I have Synology Hybrid Raid (SHR) built on 2 x 2TB drives. I want to migrate to a software-RAID on a homegrown linux ...
0
votes
1answer
713 views

Is it a good practice to put all partitions into LVM? [closed]

I would like to know what is the best practice regarding the partitioning policy, especially when it comes to Logical Volume Manager. Is it better to put the entire partitioning into LVM or use it ...
1
vote
0answers
149 views

Need help recovering RAID 6 array

My CentOS 6.5 server had its primary drive fail the other day. Our hosting company replaced the primary drive and reinstalled the OS. The system is up and running, but the 15TB of RAID6 storage isn't ...
1
vote
4answers
384 views

Best Linux Partitioning for Multiple Resizeable HDD

My ISP has a machine with 6 HDDs (3TB+3TB+3TB+2TB+2TB+1TB) which we want to turn into a FTP/Download server for local users. I am planning to install CentOS 6.5 on one 2TB, rest of all space shall ...
1
vote
1answer
239 views

Breaking off /tmp using LVM

I've recently been put in charge of a RHEL6 server running our NMS. I don't know much about Linux filesystem administration. What I'm needing to do is create a partition for /tmp, instead of having it ...
0
votes
1answer
106 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
571 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
92 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
449 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
132 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
70 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
1answer
459 views

LVM RAID 1 for root

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
228 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
82 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 ...
2
votes
1answer
1k 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
265 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
217 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
212 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
106 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
111 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
1k 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
69 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
325 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
165 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
270 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
329 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
35 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
364 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
3answers
1k 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
244 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
3k 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 ...
1
vote
2answers
614 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
262 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
122 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
239 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
256 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
439 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
118 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
111 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
229 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
1k 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
220 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
153 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
587 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
711 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
646 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
139 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 ...