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
votes
2answers
23 views

Need clarification on what lvm snapshots are and how they work [duplicate]

My understanding of LVM snapshots is that: when a block changes on the origin, the block is first copied (prior to the change) to the snapshot. The block is then changed on the origin as it would ...
1
vote
0answers
19 views

LVM partition says no space even though it's not

I'm trying to do backups on my Proxmox both to an NFS share. The NFS share is on an Ubuntu (14.04) server with a 2TB HDD separated into 2 x 1TB partitions with LVM. For some reason (looking with ...
0
votes
0answers
22 views

Growing docker's volume on an LVM

I followed the instructions here to set up docker on CentOS using the LVM. I fed it a 16G disk. It consumed 6.37GB. Now, one of my containers ran out of disk space. What do I have to do for docker to ...
1
vote
1answer
2k 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 ...
0
votes
1answer
16 views

Can't merge an LVM snapshot into it's origin

I recently had a problem with an LVM volume because it's ran out of CoW space. I added more space to the volume and restarted it, now it shows CoW is only 66% full. It seems LVM created a snapshot ...
7
votes
4answers
7k views

How to recover logical volume deleted with lvremove

I am on CentOS 5.5 and am running Xen. I have a large volume group that I create logical volumes on using lvcreate. Today I had a customer cancel her account, then change her mind about an hour ...
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: ...
0
votes
1answer
10 views

delete a snapshot created before LVM extension

I believe that snapshots and disk extensions are not friends, having said that... Is it safe to delete a VMWare snapshot created before adding a new virtual hdd to my LVM partition? What I mean is: ...
0
votes
2answers
637 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
2k views

XenServer 6.5 - Creating local iso storage/library failed - SR_BACKEND_FAILURE_222

I was trying to adapt instructions for XenServer 6.2 on how to create a local ISO library to a freshly installed XenServer 6.5 host. However the command ... xe sr-create name-label=LocalIso type=iso ...
1
vote
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
1answer
74 views

Create file system on multipath volume

I'm completely new to linux admin and file system. Recently we acquired an HP MSA P2000 san. I've setup the disk into a vdisk and created 3 volumes on it. On Centos 7, I've also setup the multipath ...
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 ...
0
votes
1answer
249 views

Changing XenServer from LVM SR to EXT SR

I'm trying to setup openstack using this page: https://wiki.openstack.org/wiki/XenServer/PostInstall Unfortunately I think when I setup xenserver it setup the local SR as LVM (which the page above ...
0
votes
0answers
47 views

The RAID 1 Time machine

Last night my server crashed, after reboot I have found it has a disk failure The configuration is 2 x 500GB sata on Centos 6 sda3/sdb3 is software RAID1 sda1/sdb1 = ext3 for / sda2/sdb2 = swap ...
134
votes
4answers
41k 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 ...
4
votes
1answer
942 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 ...
1
vote
0answers
86 views

V2P - Using Clonezilla with VMware - but I have two virtual disks

Don't ask me why but I've been requested to V2P a VMware machine. I'm using Clonezilla and a couple tutorials online. But, my VM has two virtual disks (screenshot). Currently in the process, but if ...
0
votes
1answer
85 views

LVM on disk with no partition table. How to reallocate free space with fdisk?

I shrank an LVM in half using these commands: e2fsck -f /dev/VG/LV resize2fs /dev/VG/LV 5G lvreduce -L 5G /dev/VG/LV Inspecting the physical volume yields this: --- Physical volume --- PV Name ...
5
votes
2answers
4k views

LVM logical volume partition corrupted after lvreduce

I encounter the problem when I try to shrink one logical volume. I took the actions as following steps shows: # unmount /home # lvreduce --size -100G /dev/vg_dev/lv_home # lvdisplay ...
5
votes
2answers
2k 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
0answers
27 views

issue in increasing disk size in ubuntu guest vmware

Have followed link I was trying to increase the size of my disk allocated to ubuntu guest in vmware below are the things i have already done Increased max setting in vmware settings - Done ...
1
vote
2answers
62 views

Cloning LVM partitions

I need to clone a CentOS installation from a 1TB disk partitioned with LVM, to several identical machines. The disk is mostly empty since only the operating system and some software are installed and ...
0
votes
1answer
967 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
0answers
19 views

How to hot add a new disk with virsh attach-disk?

I'm trying to add a new LVM disk to my guest machine (Ubuntu 14.04.1) by doing the following on the host: lvcreate -L 14G -n vm_vm005_data3 vg00 virsh attach-disk vm005 /dev/vg00/vm_vm005_data3 ...
1
vote
2answers
25 views

I've just increased the disk's size but the old size is still display, what could be the cause and how can I fix it?

I need to increase the size of the root logical volume on one of my CentOS 6 virtual servers. I've extended the virtual machine disk space from 16g to 30g. Then I've connected to the machine and ...
2
votes
1answer
31 views

creating new partition for backup

I got a new server form hosting company. It has 2x2tb hard drives. I told the provider I would be using one drive for data/OS and the other for backup.Before doing offsite backup. I moved all my ...
1
vote
0answers
26 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
0
votes
2answers
94 views

Back up incremental snapshots to another volume

I'm looking for a way to implement something close to the following backup scheme: Initially, a full image is copied to the backup target. Periodically (e.g. nightly), only blocks that have changed ...
1
vote
1answer
29 views

df is reporting wrong information in an LVM

I had a full disk usage on /var/log (100%) and deleted a few files to increase space. this is and ext4 partition mounted with default options. However, when I df -h I get: Filesystem ...
0
votes
1answer
56 views

Extending partition on centos 6

I have a VPS which appeared to lack some space somewhere. It should've been 150GB but was only 50GB. I've been trying to extend the partition but I can't seem to find out how even with the help of ...
0
votes
3answers
235 views

LVM: How to re-use unwanted logical volume space on an existing volume

We have this old CentOS4 box and I am trying to increase the space. I want the full 8GB to show up in a "df -h" but it shows only the first Volume of ~4GB. How can I add the 2nd volume to the first? ...
1
vote
3answers
37 views

Logical Volume 100% Use but 50G Appears Free

I am resizing logical volumes on a CentOS server and I have come across an issue where the volumes say that they are 100%, though the "Size" and "Used" columns seem to indicate that there should be ...
0
votes
1answer
59 views

Steps to move an ubuntu 14.04 server install disk (damaged) with lvm to a new disk on the same system

Need some clarification on how to move the following : I have a Ubuntu 14.04 server install with LVM and its disk was failing. I have managed to clone the disk without any errors to a new disk of same ...
0
votes
1answer
9 views

Listing all logical volumes in LVM2 that are snapshots

I have a logical volume that has snapshots where the lv name has the date in it. I'm trying to locate that snapshot using lvs and i'm getting close but can't figure out how to list logical volumes ...
0
votes
0answers
29 views

mdadm and LVM high load and IOwait

I've got a new CentOS 6.6 server with 2 HDD with mdadm & LVM. As I've used the CentOS install CD I assume everything should be aligned properly. I've just written a KVM image to a LVM LV using dd ...
0
votes
2answers
77 views

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The ...
0
votes
1answer
32 views

Mounting Single San Drive on Multiple Hosts

I'm not sure exactly how to ask this, but here goes. We have a san. Within the san, we have the ability to connect a single volume to multiple systems as a raw disk. The Servers themselves would see ...
0
votes
1answer
38 views

Adding new physical volume in encrypted volume group (LUKS)

I have a CentOS 6.6 desktop and chose the encrypt option upon installation. This created a LUKS volume group. Everything works fine, but I want to add an additional drive to the volume group. From ...
-1
votes
1answer
53 views

how to identify which physical drive(s) correspond to an entry in /etc/fstab [duplicate]

Using Centos. Situation: I have multiple drives off of two RAID controllers. I also have multiple entries in the fstab, such as /dev/sdb, /dev/sdc, etc. What I need to know is how I can identify ...
2
votes
1answer
966 views

Extend volume group with adjacent unallocated space

I want to grow my volume group to use the unallocated space next to it. Name Flags Part Type FS Type [Label] Size (MB) ...
0
votes
1answer
94 views

Extending LVM Volume Groups with Physical Extents & pvresize

I have two somewhat related LVM questions regarding extending LVM managed volumes. Firstly, from (edit: old) documentation that I've read about LVM and the relationship between Volume Groups and ...
1
vote
0answers
49 views

Optimum LUN size for LVM created NFS share

I have access to roughly 80 TB of capacity via a SAN, which I want to set up as as 2 NFS shares: 1 share of 70 TB and 1 share of 10 TB. The 10 TB share will have full backup to tape, whereas the 70 TB ...
0
votes
1answer
101 views

Backup kvm Virtual Machine with lvm

I'm new to virtualization and have been searching for a while for a flexible disk format for setting up a kvm VM, after some reading i decided to go with lvm. And did set up the disk and the ...
0
votes
0answers
53 views

Ubuntu 12.04 and Hardware RAID 5 and LVM

I have an existing database server setup with RAID5 (3pcs 1 TB disk - usable is 2TB). One of its partition is /data is LVM. There is production data already in the First RAID 5 so we opted to create ...
0
votes
1answer
31 views

Combining partition types lvm

I have an older disk setup that was made with msdos parition types and it appears that they kept growing the same disk in order to grow the lvm however it ran into an issue where it got to 2TB and ...
0
votes
0answers
42 views

Mount LVM volume as external usb drive?

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 ...
3
votes
3answers
313 views

How can I create one large partiton over two drives in CentOS?

I've got a new dedicated server that I want to use purely for backup purposes. [root@dedi ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 20G 942M 18G 6% / tmpfs ...
1
vote
1answer
48 views

How can I tell pvresize to expand a physical volume to include all available space?

We have a poorly implemented mysql server that had been built by a vendor. It has consumed 100% of available disk space, and as soon as any space is cleared out mysql grows to consume it. This is, ...
0
votes
1answer
38 views

Recover overwritten RAID5 array (XOR)

as I've mentioned in a recent question (RAID5 rescue with LVM2 running on it) I'm rebuilding an RAID5 array. Now, I think that the initial wrong mdadm --create ... command has started the ...