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)

4
votes
1answer
842 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 ...
4
votes
1answer
142 views

Logical Volume Recovery

I have a machine with 180 or so logical volumes as well as an OS partition that were wiped out with a format when reinstalling centOS6. I made a terrible mistake, not being familiar with the interface ...
4
votes
1answer
525 views

EC2 disk goes to 100% util, but fine after reboot

We've been running some production services on Amazon EC2 for a while, using mainly t1.large and t1.xlarge instances (non-EBS). Every so often one of the attached (ephemeral disks) will get into a ...
3
votes
1answer
147 views

reusing existing RAIDs on preseeded installation

I'm trying to automate the reinstallation process of existing Ubuntu installations. Partition layout: md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( ...
3
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
1answer
64 views

How do I specify what PVs are used for mirroring when adding a mirror in LVM to an existing LV?

I've got an existing VG containing a single LV on a RHEL server that consists of a handful of SAN disks. In an effort to migrate the server to a newer SAN, I'd like to mirror the existing storage to ...
2
votes
1answer
869 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 ...
2
votes
1answer
162 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 ...
2
votes
1answer
86 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
57 views

Why the I/O rate difference between an LV and PV?

I have been doing some benchmarks reading with dd from both the LVM device and the PV device and I got some unexpected results: $ sync ; echo 3 > /proc/sys/vm/drop_caches; dd bs=1M count=1024 ...
2
votes
1answer
275 views

LVM+MongoDB. Dropping in speed of backup creation

Till recent time we have been making mongo backups archiving LVM snapshot on hidden SECONDARY server with RAID10 on SAS disks. Currently operation on making snapshot from volume with 500 Gb of data ...
2
votes
1answer
117 views

LVM2 volume group lost

I updated one of my servers, but - although I took care not to modify - the volume groups on /dev/sdb1 were lost, although the physical volumes seem to be still there: [root@server ~]# pvscan PV ...
1
vote
1answer
18 views

How to change the PVID of a device and still be able to import the Volume Group in AIX?

I have 3 disks that are copies of other disks so they have the same PVID's. I would like to change the PVID of those disks and import the volume group but as I understand the VGDA information on the ...
1
vote
1answer
40 views

How do I replace a disk with LUKS on LVM2 - no raid, no span

I have LUKS on LVM (LVM Partitions created first, then each partition is encrypted separately, following this guide on Arch Wiki). I am using two volume groups, and each is isolated to a drive. This ...
1
vote
1answer
169 views

/usr/sbin/thin_check: execvp failed: No such file or directory

Running CentOS 6.5, a brand new "minimal" server install, trying to use LVM2 thin pool feature. Packages installed are: lvm2 (2.02.111) device-mapper-persistent-data-0.3.2-1.el6.x86_64 ...
1
vote
1answer
443 views

How to automatically increase the partition size of multiple Ubuntu nodes in VMware vSphere?

We have dozens of Ubuntu nodes where I have to resize the hard disk drive to different sizes. Currently I’m doing all of the following steps manually: Increase the size of each node’s virtual hard ...
1
vote
1answer
95 views

Encrypted partition on Debian requiring multiple keys to unlock

The title pretty much sums it up, but I want to create a second data partition on a web-facing server which is encrypted and requires two people to provide passphrases before it can be unlocked. Is ...
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 ...
1
vote
1answer
300 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 ...
1
vote
1answer
58 views

identical drivers different pv size

i've got strange situation with identical drives: pvdisplay --- Physical volume --- PV Name /dev/sda5 VG Name group1 PV Size 465.52 GiB / not ...
1
vote
1answer
114 views

Does Ubuntu 12.04 LTS support booting from RAID 6?

I'm setting up a new Ubuntu server using 12.04.2 LTS. I have five drives that I am setting up in a RAID 6 with LVM. Can I use this for bootup? Or should I make a separate RAID 1 partition for bootup ...
1
vote
1answer
437 views

Exporting Volume Group From One Server To Another Difficulties

I'm attempting to migrate a volume group from one Ubuntu 12.10 server to a new Ubuntu 12.10 Server(upgrades). My existing VG is spread across 3 physical drives, and within the VG is 2 logical volumes. ...
1
vote
1answer
460 views

volume group disappeared after xfs_check run

EDIT** I have a volume group consisting of 5 RAID1 devices grouped together into a lvm and formatted with xfs. The 5th RAID device lost its RAID config (cat /proc/mdstat does not show anything). The ...
1
vote
1answer
274 views

high load and OOM-killer on domUs while pvmove

Situation xen 4.0.1 dom0 (debian squeeze) domUs all with LVs as disks: disk = [ 'phy:/dev/vg-00/domu-swap,xvda1,w', 'phy:/dev/vg-00/domu-disk,xvda2,w' ]) one VG (vg-00) with 2 PVs Goal Move all ...
1
vote
1answer
616 views

Assembling Software RAID in Live CD for data recovery

I need help recovering some data that's on my RAID which is on a LVM on my server running Ubuntu. What happened was I deleted the logical volume that controlled my swap space which was on a partition ...
0
votes
1answer
7 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 ...
0
votes
1answer
37 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 ...
0
votes
1answer
36 views

Multiple lvms or one large lvm

Say you have a server that has two VGs (base and sys) and base is the standard partitions (root, var, etc.) and sys would be application specific partitions. I can't find any real documentation for ...
0
votes
0answers
21 views

mounting logical volume attached to vm while vm is running

i am experimenting lvm2 and qemu-kvm. and I want to share and ask some questions. at the end of there is appendix what i am doing. a logical volume on host is attached on guest host (vm) as vda. this ...
0
votes
0answers
52 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 ...
0
votes
0answers
76 views

mdadm/grub2/lvm boot failure if all drives are physically connected

Weird problem here. I've got a Debian 7 server (quad core, 32GB RAM) that runs a whole bunch of VMs. The main boot drive is a RAID 1, with an LVM volume group called System, which contains a bunch of ...
0
votes
0answers
56 views

LVM fault tolerance and recovery over 2 mdraid RAID5 arrays PVs

I have an Ubuntu 14.04 LTS server with an mdraid RAID5 array and LVM on top, meaning one PV and one VG using it. The LVM is configured to allocate all the space to one LV. The LV is formatted with an ...
0
votes
0answers
122 views

mkfs.gfs2 failing silently on centos7 cluster?

I'm building a test cluster using centos7 and pacemaker, with shared storage on GFS2 over clustered LVM. I've set up a 2-node cluster, dlm and clvmd, both nodes can see the clustered logical volumes. ...
0
votes
0answers
62 views

lvm disk corrupt after force power down

I have virtual machine running on kvm host. But after force shutdown (unplugged power supply of physical server), virtual disk corrupted, cannot boot to OS (OS: CentOS 32bit, include 2 partition, ...
0
votes
0answers
15 views

Launch EC2 instance with Logical Root Volume

I need EC2 instance on Amazon Web Services with CentOS 6.5 where the root partition will be Logical Volume. Is there some specific AMI or some available option for choosing before launching the ...
0
votes
0answers
46 views

does the number of lvm logical volumes affect ssd performance

Please let me know what your thought are on this. I've installed Ubuntu multiple times on a msata ssd mS200S3 120GB. There is a noticeable decrease of read performance on the exact same hardware for ...
0
votes
0answers
31 views

Failed RAID 1 drive in a logical volume - lost cause?

I have a non-critical CentOS 6.5 server with a rather quirky disk setup: The main logical volume (mounted as /) comprises two RAID 1 disk pairs, so it's made up from md1 (2TB) and md2 (1.5TB). ...
0
votes
0answers
307 views

EC2 instance with partitions for /boot as ext4 and root / as lvm possible?

I've been playing about with this for a few days now. I haven't managed to find an example of someone running an EC2 instance with the root volume partitioned to have /boot on ext4 (or 3 or 2) and ...
0
votes
0answers
74 views

sar -b reports much too high statistics, are the I/O counted twice?

On a Linux server sar -b reports much too high read block statistics, sometimes 3.500.000 readb/s peak and around 2.500.000 readb/s sustain, which makes more that 1 gigabyte/s (according to the sar ...
0
votes
0answers
233 views

swapoff running forever on LVM volume

I'm currently trying to resize my swapspace on a Proxmox VE server with LVM volumes, as I'm running out of space for LVM snapshots and the swapspace is fairly oversized: root@rb-srv-gus:~# free -m ...
0
votes
0answers
187 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
688 views

Optimizing disk performance on KVM VM configuration

I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
0
votes
0answers
821 views

Any disadvantage of running a virtual machine using files for its drives hosted on freenas/zfs?

I recently got tired of the really slow I/O reads and latency (10-30 MB/s read, not sure for latency but very slow) from a provider I rent a virtual machine from. He uses freenas, the virtual machine ...
0
votes
0answers
80 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
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 ...
0
votes
0answers
138 views

Speed up lvm2 mirroring process

(As a LVM2 noob) I have converted a linear volume to a mirror, now it is slowly (iostat says around 7/sec) mirroring everything over. Can I speed up the mirroring process by adapting some tunable? ...
0
votes
0answers
86 views

How to install a Debian on the remote Server with running Debian alreadz?

There are many tutorials (e.g. the main I think: D.3. Installing Debian GNU/Linux from a Unix/Linux System), how to install a new Debian from one another. But they all sounds for me like you need a ...
0
votes
0answers
218 views

Why does Xen fail to create domUs/start the virtual network interface?

I have received two errors while trying to create a new domU on Xen. First, I received this error: Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err ...
0
votes
0answers
119 views

Trouble resizing LVM volume after expanding Areca 1280 RAID 6

My problem is very similar to Trouble resizing LVM volume after expanding Areca 1220 RAID 5 array; however, my 2 LVs are created on a unpartitioned raid volume: # pvdisplay --- Physical volume --- ...
-1
votes
0answers
9 views

Data rescue for lvm-raid

i've had to change mainboard and CPU of my storage server consisting out of 6x1Tb devices. As it was operated by a Software RAID (dm-raid) i've thought plug and play. But then no bootsector was ...