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)

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

add space to virtual disk on vmware

I have a VMWare Server 3.5 system with 2 VMs. On one powered on vm I changed the disk size from 1TB to 1,5TB. But the vm didn't see any new unallocated space so that I reboot twice the server. But ...
1
vote
2answers
368 views

Dead software RAID CentOS 6

I have a RAID 5 array (with LVM on top) on a CentOS 6 box. The array itself is an LSI StorageTek disk shelf with 14 drives connected to the server with a fibre channel cable. After rebooting the ...
0
votes
2answers
128 views

LVM in cluster — need an advice

I'm trying to configure a 2 node cluster with shared storage, but the configuration is probably little unusual. It is described below: Both nodes have access to a shared storage that has a number of ...
4
votes
1answer
115 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
421 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 ...
2
votes
1answer
138 views

I can't mount a LVM snapshot on a XEN host

I'd like to backup my XEN VMs by copying-rsyncing a LVM snapshot. I'm trying to mount a snapshot that contains a XEN guest's virtual disk (ext4). Below are all the steps I follow. I can't mount the ...
2
votes
1answer
59 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 ...
2
votes
1answer
484 views

why does my lvm2 volume group only work with multipath device mapper and not powerpath

my server is Oracle Enterprise Linux 5.4 (RHEL5) on an hp blade (x64) with qlogic HBAs connected to an EMC clariion SAN. we are migrating from multipath to powerpath because emc and the company ...
2
votes
1answer
367 views

How to keep filesystem layout identical in every RedHat Installation?

I want to keep the following layout same in every installation on the identical servers: dm-0 /dev/VolGroup00/LogVol00 dm-1 /dev/VolGroup00/LogVol01 dm-2 /dev/VolGroup00/LogVol02 dm-3 ...
2
votes
1answer
2k views

How to remove bad disk from LVM2 with the less data loss on other PVs?

I had a LVM2 volume with two disks. The larger disk became corrupt, so I cant pvmove. What is the best way to remove it from the group to save the most data from the other disk? Here is my pvdisplay ...
2
votes
1answer
195 views

can't recover LVM volume: Please specify a *single* volume group to restore

I'm trying to recover a deleted LVM volume but can't see to get the syntax right. Running the following command gives me a list of backed up LVM volumes: root@usaxen02:[~]$ vgcfgrestore -l ...
1
vote
1answer
35 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
76 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
175 views

Guest system managed by libvirt doesn't start after successful installation

Host system — Ubuntu 12.04. Virtualization — KVM. Disks — LVM. Guest system installation was successful. But after restart: Booting from Hard Disk... Boot failed: could not read the boot disk ...
1
vote
1answer
62 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
249 views

Problems mounting HPUX LVM+VXFS filesystem on Linux

I have a physical disk from a HPUX system that I need to access from a Debian Linux for ia64 system. From the hpux-lvm-tools project I have the tools to access the HPUX LVMs (Linux LVM has a different ...
1
vote
1answer
394 views

Adding 4TB local SR to XenServer 5.6 SP2

I'm trying to add a secondary local SR to XenServer but not having any success. The server has two RAID 10 arrays; the primary array was selected for VM storage in XenServer setup - it totals 272GB. ...
1
vote
1answer
335 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
526 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
29 views

Easiest way to change directory into its own logical volume in LVM2

I have a dir called /mydir on logical volume /dev/vg1/lv_root ( / ) var is on its own logical volume, so is opt and /usr.. If I have free space in the volume group, what is the easiest way to change ...
0
votes
1answer
34 views

KVM copy contents of image into raw smaller LVM2 partition

I have a KVM guest, running on a KVM host...both Gentoo Linux. The guest is called webserver.img. It is 21 gigs large, but I am only using 5 gigs inside the image. I want to make a logical volume ...
0
votes
1answer
50 views

how to resize ufs partition on linux

is there a way to resize a lvm partition after processing dd command? /dev/vg0/disk1 is 1G /dev/vg0/disk2 is 5G after a dd partition, the size of /dev/vg0/disk2 become 1G. dd if=/dev/vg0/disk1 ...
0
votes
1answer
146 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
1answer
160 views

PacemakerDRBD Mount Issue

We are stuck trying to get pacemaker to work with DRBD, and having tried various alternatives can't get our "drbd1" to mount and get some errors. NOTE: we are trying to get pacemaker to work with an ...
0
votes
1answer
69 views

scripted resize kvm images

I'm examining the possibility to script the resizing of a kvm image. The goal is to give our customers the possibility to upgrade their vps online. So for instance if a customer has a vps of 10G then ...
0
votes
1answer
93 views

Resize LVM partition DomU Windows

I have a xen DomU running with Windows Server 2003 on a lvm partition has 10GB but i need more. if a Linux partition, I would do: # umount # lvextend -L +10G /dev/<VG>/<LV> # resize2fs ...
0
votes
1answer
176 views

Reduce root LVM Parition Centos 6.3

I installed Centos 6.3 as a KVM guest OS, and used the default partition settings. Now I noticed that my / partition is 50GB and my /home is only 20GB. I want to increase my /home to atleast 50GB and ...
0
votes
1answer
38 views

Arch Linux on Software RAID, can't find VolGroupArray

I am trying to install Arch Linux on a Software RAID that I am building following their instructions on the Wiki. I built as far as the Logical Volumes and after that switched to the Installation ...
0
votes
1answer
57 views

Extending Ubuntu LV - added new HDD

I have installed a new hard drive into my pc and followed this guide to extend the logical volume but I have barely gained any space? ...
0
votes
1answer
506 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
484 views

System can't get lock on VG after exending LV?

So I just extended the VG on my server. Basically, the local disk is 300GB. I initially created two partitions: sda1 is a primary partition, with ext4 assigned to /boot; sda2 is where 74G VG resides ...
0
votes
1answer
182 views

SuSE Enterprise Linux 10 reports “write error: disk full?” even though there are 13TB available

So, I recently added some disk to a system and everything seemed to be peachy, the extending of the LVM went fine and so did the filesystem resize. However, when a user logs on to the system and tries ...
0
votes
1answer
348 views

Missing LV in VG in LVM partition on Ubuntu

After a power failure, Ubuntu 10.04 Server hard drive is no longer bootable. I tried using boot-repair but it couldn't locate an operating system. I ran gdisk to verify where the lvm partition was ...
0
votes
1answer
89 views

Undo LVM on Fedora 13?

I had lost my boot partition. This happened quite frequently. I used to boot for recovery and rewrite the existing partioning. Last time I missed the correct option and installed LVM by mistake. Is it ...
0
votes
1answer
203 views

Successfully reduced LVM partition in CentOS, but other programs still see it as it's original size?

I'm trying to restore a clonezilla image of a server that had a total disk size of 1TB, however the server I need to restore to only has 400GB of space available. I figured by reducing the mounted ...
0
votes
1answer
192 views

resize a xen hvm disk

Ok, I am trying to resize a Xen HVM disk. I have added the space to the vm as you can see here it is now 780GB. --- Logical volume --- LV Name /dev/VM_VolGroup/vm104_img VG Name ...
0
votes
1answer
267 views

Ubuntu Webhosting Server: RAID1 with LVM to run OpenVZ powered shared Apache hosts

About my confusion. I'm trying to setup Ubuntu Server 10.04 LTS onto two 1 TB physical hard drives built into a server. I don't have a lot of experience with Ubuntu Server yet but I'm familiar with ...
0
votes
1answer
85 views

convert currently used disk and new disk to lvm

Currently I have my home on an 1TB disk, which is an WD Green, thus not the most quick one. I have an 2TB WD Green disk I want to use as well, and in a LVM fashion (Have heard that striped LVM could ...
0
votes
1answer
342 views

How to stop a runaway loopback process/device without reboot

I am using LVM on my debian 5 server and tried to create a new disk with a partition and a filesystem. server:/# pvs PV VG Fmt Attr PSize PFree /dev/sda2 primary lvm2 a- ...
0
votes
1answer
696 views

What can go wrong with dmsetup suspend / resume?

I have a backup procedure for ec2 instances with lvm spanned volumes that does the following: 1) ssh to the box as root using an ssh forced command to dmsetup suspend the spanned volume. 2) take an ...
0
votes
1answer
205 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 ...
0
votes
1answer
176 views

[Fedora 14][LVM2&EXT4] Overwritten partition config

Accidentally, I deleted my '/etc' & '/bin' folder (I know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I ...
0
votes
1answer
638 views

lvm physical volume set not allocatable after server move to virtual machine. Can I change it?

I have a virtual machine running on LVM. Its working ok except that now I can't expand or create any logical volumes. It gives me the error: # lvcreate -L10G -n test LocalVG Insufficient free space: ...
0
votes
1answer
397 views

lvm mirroring space unavailable

I am trying to migrate my data on lvm to two new disks, and setup mirroring between the two. I have successfully migrated all of the data to the first of the two disks, leaving the second one ...
-1
votes
1answer
791 views

LUKS with LVM, mount is not persistent after reboot

I have created a Logical vol and used luks to encrypt it. But while rebooting the server. I get a error message (below), therefore I would have to enter the root pass and disable the /etc/fstab entry. ...
-1
votes
1answer
2k views

Can't deactivate volume group with 1 logical volume open (Debian Squeeze)

I keep getting this error every time I poweroff/rebbot my computer. I've everything installed on LVM except /boot. I'm worried if this will affect the data on disk. -Thanks!
-3
votes
1answer
149 views

LVM showing as individual partition in RHEL6

When I create a Logical Volume on my Hard disk and new partition is showing in fdisk -l output. [root@linux1 ~]# fdisk -l Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 ...
0
votes
0answers
181 views

Redhat ext3 and/or powerpath issue

We are running Redhat EL 5 update 3 with Powerpath 5.3sp1. We did a FLARE upgrade on clariion and during SP upgrade, one of the emcpower devices which is mounted as ext3(using LVM) mounted as ...
0
votes
0answers
161 views

Please explain how to implement this: Portable DiskSafes With LVM Snapshots

I read a description of a very intriguing backup strategy that seems to fit my requirements. I need help to: implement it manually one time automate it to run periodically Here's the original ...