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

LVM volume group is lost

I have got a msata ssd which I was using as lvm till sometime back. I picked it up after a month or so but now it won't mount. So I ran pvs to see what is happening and saw that there is no Volume ...
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
21 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
32 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
934 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. ...
-1
votes
0answers
37 views

Damaged LVM Volume

I am working on a server that has no backups. The previous sysadmin created an LVM with 10TB of space, and one of the drives has failed. I'd like to try to extract data from the working drive, but ...
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: ...
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
0answers
8 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
24 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
22 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
71 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 ...
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
22 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
52 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 ...
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 ...
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
3answers
215 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
35 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 ...
128
votes
4answers
40k 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 ...
0
votes
1answer
44 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 ...
-1
votes
0answers
12 views

Can't remove lvm after creating snapshot

I have script to backup logical volume. It create *_snapchot of img, then dd, zipped and load to another server. After that script remove lvm volume by lvremove -f. But now i have problem, snapshot in ...
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
16 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
73 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 ...
4
votes
1answer
916 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 ...
0
votes
1answer
28 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
23 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
51 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
937 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
56 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
34 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
70 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
45 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
26 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
32 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
301 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
36 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
36 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 ...
0
votes
1answer
55 views

LVM Free Disk Space

I have a MongoDB running on a virtual server (Ubuntu 14.04.2 LTS). The MongoDB logs say this: Fri May 8 13:08:02.270 [initandlisten] ERROR: Insufficient free space for journal files Fri May 8 ...
0
votes
1answer
64 views

Can you do multiple pvmove at the same time?

I have following case: Server with 4 disks - devices /dev/sdb - /dev/sde. Each of these disks is physical volume, and all of them are within single volume group. In this volume group, I have single ...
0
votes
1answer
65 views

How to migrate from ide to virtio in RHEL 6.5 KVM guest with LVMs

I want to migrate a IDE-using, LVM-based KVM guest running RHEL 6.5. I found this steps in this page: 1) Run virsh edit . From there, edit the config file and adjust all lines of <target ...
2
votes
1answer
111 views

LVM Partition being detected as wrong size

There is a server I'm responsible for that is showing a drive (full) and much smaller than the drive should be. My knowledge of LVM is not deep enough to see why. I could use some help from a good ...
2
votes
1answer
1k views

In a distributed filesystem like MooseFS or XtreemFS, should individual nodes expose “raw-er” storage, or LVM'd storage?

When preparing an infrastructure to utilize a distributed storage system like MooseFS or XtreemFS, how should individual nodes present storage to the rest of the environment? Is it better for ...
3
votes
1answer
387 views

pvcreate not working: can't open exclusively

After having added 2 disks of 1Tb to a Dell PowerEdge, I went through their initialization with the goal to add them to an existing LVM VG. When the MegaCli background initialization went complete, I ...
0
votes
1answer
91 views

RAID5 rescue with LVM2 running on it

I have a RAID5-array consisting out of 6 1TB drives. Recently with hardware changes i needed to recreate the raid to rewrite the bootloader on each drive. Now the problem starts. Starting the Debian ...
12
votes
2answers
30k views

LV Status: Not available. How to make it available?

I connect an iSCSI target, create a Physical Volume and Volume Group on it. Then I create an LV, and mkfs.ext3 /dev/vg00/vm and all that works great. Then I disconnect the target iscsiadm -m ...
0
votes
2answers
29 views

I added space to a kvm img file but the physical extents do not show up in lvm

I ran qemu-img resize kick.img +12G and thought I'd see some free physical extents when running pvdisplay but nope. When I run virt-filesystems --long --parts --blkdevs -h -a kick.img I see the space ...