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
12 views

I/O scheduling on LVM on dm-crypt

I have the following setup: Stock Debian stable (Linux kernel 3.16.7) running on Dell PowerEdge R320 Two SATA hard drives in RAID1 on a PERC H310 Mini controller, visible as /dev/sda dm-crypt target ...
0
votes
0answers
9 views

Why does my server not boot after moving root fs, inside LVM, to raid?

I'm trying to move my root partition to raid based physical volumes, and I seem to be failing. The procedure I'm using is somewhat complicated, but that's because my hosting provider has very limited ...
0
votes
0answers
31 views

LVM Raid1 mirror leg lost

Odd one. I have 3 x 3TB disks in my server. /dev/sdc[1] is a raw 3 TB disk /dev/sda2 is /boot /dev/sda3 is 3TB /dev/sdb1 is 3TB sda3 and sdb1 were a raid1 mirror The server was up for some time, ...
2
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
17 views

LUN doesn't mount after reboot

After changing the size of a LUN (grow) on a RHEL 6 System, the LUN/LV (which is part of a Volume Group) does not mount after a reboot anymore. I have to execute vgchange -a y And after that i can ...
0
votes
1answer
23 views

LVM volumes not found.. Aggressive recovery methods?

Our system experienced a hard reboot, and when it came up, we started getting panics. The boot mount was on an LVM volume. We recovered the GPT partition but all of the LVM commands that I have run ...
16
votes
4answers
14k 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 ...
0
votes
1answer
17 views

Extending an existing LVM partition with fdisk

I am looking for some help on expanding my LVM partitions. I have two disks I want to expand (10GB to 50GB and 40GB to 150GB). I added the extra space in VMWare and the expanded disk is being picked ...
6
votes
2answers
1k views

Grub2 reports physical volume pv0 not found on server non bootable anymore

I first installed my ubuntu server (11.10 amd64) using lvm but not fully mastering the concept of it. I think that's partly what made the mess of partitions on my two disks (seems to me). I installed ...
5
votes
1answer
1k views

rsnapshot LVM fails to remove snapshot volume

I am using rsnapshot on a Debian Wheezy server. This was recently upgraded from squeeze. Since the upgrade, I am getting the following error from the hourly cron job: remote rm -rf /share/HDA_DATA/...
1
vote
1answer
1k views

DRBD LVM - backed vs. physical & LVM filter

We're experimenting with DRBD/pacemaker on top of an existing Debian 6 Encrypted RAID1 setup. We have one comparatively general and one comparatively specific question: 1) DRBD - backed vs. ...
0
votes
2answers
37 views

Migrating NAS using LVM to Hardware RAID1 without data loss

I'm trying to figure out how to add RAID 1 to my CentOS NAS server. Today I have 2x3TB disks in a non-RAID configuration. I'm using LVM to manage a few logical volumes to partition my data. I'm not ...
-2
votes
1answer
13 views

Directory mounted on a newly created logical volume does not show a correct size

I have two physical hard drives on a Linux system (server / hosting), and I created a logical volume from sda3 (partition on disk A) and sdb (the whole disk B). I then mounted it on /home directory, ...
0
votes
3answers
242 views

how to allocate percentage of a PV to a VG in lvm

I have 3 RAID arrays in my server, mapped to 2 PVs in my lvm2 setup. apollo:~# pvs PV VG Fmt Attr PSize PFree /dev/sda1 apollo lvm2 a- 3.64T 0 /dev/sda2 apollo lvm2 a- ...
-2
votes
2answers
52 views

linux + timeout from command

in my bash script I want to add timeout for the lvresize command so if the command is waiting , I will exit after 5 second , as the follwing: timeout 5 lvresize -L 1M /dev/mapper/rootvg-home ...
0
votes
2answers
26 views

Limits on extending LVM volume?

I have a CentOS 7 server. I have extended a LV a few times like so: fdisk /dev/sdd pvcreate /dev/sdd1 vgextend pg_data /dev/sdd1 lvextend /dev/pg_data/lvol0 /dev/sdd1 xfs_growfs /dev/pg_data/lvol0 ...
0
votes
1answer
60 views

linux + lvextend vs lvresize - what are the differences

what are the diffrences between lvextend to lvresize as the below example? lvextend -L+1m /dev/mapper/rootvg-home lvresize -L+1m /dev/mapper/rootvg-home dose the both examples do exactly the same ...
0
votes
1answer
21 views

How to set up LVM in this situation?

http://prntscr.com/bhyu4k I have a set up that looks like this, and I need to have sda3 and sdb under /home folder, all as one. I dont care about the contents of the current /home directory, ...
0
votes
1answer
30 views

How to create two file in two difference physical volume of a volume group

I have two physical volume (for example: /dev/sdc and /dev/sdd). I create a volume group (VG001) from the two physical volume, and I create a logical volume which take entire the volume group. From ...
22
votes
2answers
17k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
12
votes
4answers
8k views

LVM Performance overhead?

I would be thankfull if someone who understands how LVM works, could tell me a rough estimate, how much slower using LVM (with a Software RAID1) will be. (What I do not want to know how much slower ...
0
votes
1answer
47 views

Thin LVM reducing the metadata size and performance

I have recently created a Thin LVM. I notice the Data is at 1.60% and Meta at 1.21%. [root@srv ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lv1 volgrp1 twi-aotz-- 410....
0
votes
1answer
1k views

Unable to automatically remove LVM data

I am trying to install ubuntu 12.04 via preceed config onto Dell PowerEdge R710. I had RedHat installed on the box then I tried installing ubuntu 12.04, then auto install popping with Unable to ...
3
votes
1answer
3k 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: ...
1
vote
2answers
1k 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 ...
1
vote
1answer
21 views

RAID geometry parameters for XFS on top of LVM

I need to set up an XFS filesystem on top of LVM on top of a hardware RAID-6 (10x 6TB + 2 parity) and I found the guideline on http://xfs.org/index.php/XFS_FAQ ("How to calculate the correct sunit,...
1
vote
0answers
28 views

LVM volume has a data percent bigger than 100%

One of my LVM volume is shown to have 372.6% data. How could this happen? Note the volume have been re-sized down from a bigger size, but the file system seems working fine. It actually impacts the ...
1
vote
1answer
46 views

How to resize LVM in Redhat

I have a VM with Redhat 6.8 that originally started with a 60GB disk 1. In VMware I increased the size to 100GB. I would like to increase the /tmp volume from 2GB to 5GB. I assume I need to resize the ...
1
vote
0answers
58 views

XenServer 6.2 - could not find filesystem '/dev/root'

We have a Citrix Xenserver 6.2 install. Today we had an incident where power to the server was suddenly cut off from the server. It had been running for quite some time without issue. It has quite a ...
0
votes
1answer
1k 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. ...
-1
votes
1answer
20 views

Running LVM using VNC Viewer on CentOS 6

Need to run Logical Volume Manager on my CentOS 6 vm (Created by VMWare) using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical ...
0
votes
0answers
33 views

lvs command cannot find LVM partitions, what tool to use to interact with these partitions?

When doing a fdisk -l there are two "Linux LVM" partition, but using lvs returns nothing and lvmdiskscan returns "0 LVM physical volumes". What tool should I use to interact with these partition ? (...
1
vote
0answers
18 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
0
votes
0answers
27 views

Am I wasting half my disk space by not mounting a volume?

I inherited a Debian server from the previous sysadmin who left, without much documentation. I'm not a sysadmin, but I guess for now I'll have to be, and I'm trying to understand what disks and ...
1
vote
1answer
22 views

Dir size increases after rsyncing to a different machine with same configuration

Have a MySQL (percona, 14.14 Distrib 5.6.28-76.1) machine with a 1TB SSD hosting around 712Gb of mysql data. MySQL has 4 databases, with, say database1, taking major space, 656Gb. Lets call this ...
15
votes
10answers
59k views

“fdisk -l” like list of partitions and their types for LVM logical volumes?

You know how "fdisk -l" lists drive partition tables and shows the partition id/types for each partition? Is there a similar way to get the partition id for LVM logical volumes? EDIT: I'm aware of "...
0
votes
1answer
38 views

LVM file locking error after moving extents to new physical volume

On a CentOS 6.7 system, I started getting SMART errors on a disk that was part of a volume group under LVM. So I used the recommended procedure: add a new disk to the system, create a new physical ...
0
votes
1answer
47 views

home logical volume is not available after reboot

On a server with RHEL 7.2 it gets to emergency mode when rebooting. Looking a bit I found out that what happens is that the /home partition was missing and the reason was LVM: --- Logical volume ---...
0
votes
0answers
12 views

centos 7 /etc/lvm/archive flooded

not sure how to track down this but /etc/lvm/archive is seeing multiple entries created per minute. there is no cron job set up to do such archiving. also other similar servers do not have this issue (...
0
votes
0answers
12 views

DD + LVM Snapshot + Space shortage

Here is the scenario : I have a production system that can't be shutdown for very long, it has the following root filesystem LVM: [root@an2 ~]# df -h Filesystem Size Used ...
3
votes
2answers
298 views

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD ...
0
votes
1answer
42 views

Moving disk space from /home to / on RHEL7.2 with xfs file system

I've setup RHEL7 with default partitioning, and they partitioned it as following: /dev/mapper/rhel-home 100GB /home /dev/mapper/rhel-root 50GB / Both are on xfs filesystem. How can i shift most of ...
0
votes
0answers
28 views

LVM difference between LV size and Cow-table size?

I created a snapshot: lvcreate -n Snapshot -L 512M -pr -s /dev/fedora_2016/home now with lvdisplay it says that LV size is 2GB and Cow-table size is 512MB. 1.What is the difference between LV size ...
0
votes
0answers
94 views

Backup MySQL with LVM, questions about the MySQL Session

I want backup my mysql database with lvm. I will do the backup with cronjob. Here the pseudocode Open mysql session Run SQL FLUSH TABLES WITH READ LOCK Do backup lvcreate -l100%FREE -s -n mysql-...
2
votes
0answers
349 views

How to Reclaim Space from XenServer?

I found that the XenCenter storage tab claims there is 1096.6 GB used of 1107.7 GB total (708.5 GB allocated). It appears that some space has been eaten and not released. The SMLog shows: [13816] ...
151
votes
4answers
50k 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 ...
1
vote
1answer
57 views

Is there a difference between LVM and HA-LVM or is it just how you use it.

I am studying up on HA Clusters using pacemaker and corosync. The Red Hat documentation treats LVM, HA-LVM and CLVM as separate topics. I understand the added features and benefits of CLVM over HA-...
0
votes
0answers
47 views

using same LVM volume for devicemapper and a bind mounted volume

I'm running an Amazon EC2 machine with a 512GB EBS mount. My plan is to split the EBS into two parts - one to be used by Docker 1.11 for its images (via devicemapper) and another to be bind-mounted to ...
2
votes
1answer
247 views

How to investigate high CPU for dmeventd (lvm2 / xfs)

I have three CentOS 7.2.1511 Servers that started showing dmeventd at the top of the cpu utilization (single core). They are running docker and apache mesos. Even when I shutdown docker and mesos ...
1
vote
3answers
1k views

Getting debug output from a debian initramfs

I'm attempting to configure a server for a debian lenny on software raid0 and a LVM root filesystem via the serial console and the hosting company's recovery console (basically an ubuntu liveCD). ...