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

Restore LVM if VG is not consistent (XenServer 5.6.1)

i have a VG that uses the PVs /dev/md1 and /dev/md2. Now one hdd failed in /dev/md1: [root@xenserver1 ~]# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] 382320128 blocks ...
0
votes
1answer
34 views

Expand logical volume by resizing underlying partition

I'm building out a VM image in VMWare/CentOS that will be copied and brought up a multiple boxes. When I initially set it up, I made the disk size too small, but did not realize it until all the ...
3
votes
2answers
300 views

See progress of lvm --merge

Is there any way I can see the progress of a merge of my snapshot back to the origin? The only thing I know is that there is an ongoing merge because I can't create a new snapshot.
3
votes
3answers
1k views

Slow disk I/O in KVM with LVM and md raid5

I have been battling with a kvm setup under debian for two weeks now, specifically with guest I/O disk performance. The system: -Supermicro 1018d-73mtf (X10SL7-F motherboard) -16GB ECC/UB -Intel ...
-1
votes
2answers
208 views

Recommended solution to join partitions (disks) into single partition [closed]

I have 4 hard disks (1 Tb each) on server. It's debian wheezy, amd64. Disks 2,3 and 4 are not partitioned yet. I have to join them into single partition, it must be single filesystem/mountpoint for ...
0
votes
2answers
2k views

Basic iSCSI target setup on Proxmox VE (Debian 7) not working

I have created a Linux LVM partition on my disk and want to share it over network via iSCSI. However, the target is unreachable with iscsiadm (from both local and remote). The setup is shown below. ...
0
votes
0answers
1k 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
1answer
474 views

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM ...
0
votes
2answers
225 views

Does the initramfs image file need to be updated whenever grub.conf is modified?

I am trying to puzzle out a linux boot configuration problem involving legacy grub (0.97), LVM2, and dracut and trying to eliminate a few red herrings. My trial and error process goes like so: ...
0
votes
1answer
104 views

Shrink a mounted LVM partition

I fear I already know the answer to this question, but here goes. I need to carve out a new partition on a running system. /var/ is mounted from an LVM volume (hdd1_vg-var) and has only 3% used disk ...
0
votes
2answers
219 views

CentOS LVM: how to resize root lv

I took over a virtual server at work after a co-worker left. He, however, setup the server incorrectly at multiple stages and im cleaning them up as I run into them... Currently I realized that the ...
0
votes
2answers
235 views

Create logical volumes from partitions in linux

I have a server running RHEL with below hard disks configuration. [root@localhost indika]# fdisk -l Disk /dev/sda: 150.3 GB, 150323855360 bytes 255 heads, 63 sectors/track, 18275 cylinders Units = ...
0
votes
1answer
357 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. ...
0
votes
1answer
113 views

LVM2: How to copy snapshots?

I read What does an LVM2 Snapshot contain? and LVM Snapshot confusion. What I'm trying to figure out is if there is a way to create a copy of an LVM snapshot for use with different Xen VMs. I know ...
4
votes
2answers
104 views

CentOS partition reporting out of space

I have CentOS server with 7 partitions and 2 of them are LVM partitions one is divided as 2 LVM partitions. While working with the production software the disk suddenly gets full in a folder that is ...
2
votes
1answer
219 views

What kind of “volume/storage management” has the largest support/feature set these days? [closed]

(DISCLAIMER: This is "time bound" as probably every other question, I just point it out now instead of implicating it) part of reviewing a few basic decisions for our infrastructure is once again the ...
1
vote
2answers
866 views

Remove a duplicate lvm physical volume uuid?

After upgrading a rhel 5 server today I rebooted to the new kernel: curr=2.6.18-371.el5PAE prev=2.6.18-348.18.1.el5PAE. In the boot sequence I saw a message indicating Logical Volume Management was ...
1
vote
1answer
212 views

How to move partitions from 2 LVM volumes into one LVM on other disk?

i had 2 partitions with following layout Disk /dev/xvda: 376.4 GB, 376354897920 bytes 255 heads, 63 sectors/track, 45755 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
2answers
149 views

RAID / FS choice for 12 hard drive machine?

I'm going to purchase a 14 bay HP 2U server with ECC memory and bunch of 3TB enterprise SATA drives. I would prefer to make 2 x RAID6 with 6 drive each. This will be used for local office storage and ...
1
vote
2answers
499 views

Can I use an expanded VMdisk without rebooting the RHEL-server?

We are running RHEL 6.4 on VMware. I have an OS disk of 20GB and want to expand it to 30GB. I have expanded the disk in VMWare. Is there any way I can let the OS recognize that /dev/sda has grown ...
0
votes
1answer
600 views

VGDA full in a scalable volume group? (extendvg)

I have an AIX 6.1 volume group called arscachevg. It is a few terabytes big and consists of 15 physical volumes. When I try to extend it with a new physical volume, I get this error: 0516-008 ...
0
votes
1answer
605 views

An LVM snapshot of an ext4 fs does not seem very clean

I create an LVM snapshot of a mounted ext4 fs: lvcreate -L 10GiB -s -n "root-snapshot" "/dev/myvgname/root" If I then run e2fsck on /dev/myvgname/root-snapshot, it says: e2fsck 1.42.5 ...
5
votes
2answers
134 views

ZFS Equivalent of lvdisplay snap_percent

I've been using LVM snapshots for backing up MySQL databases. FLUSH TABLES WITH READ LOCK is issued and then lvcreate --snapshot --size 4G etc. Because the database is live while the snapshot is ...
0
votes
1answer
159 views

Mounting an LVM snapshot and converting file: is it safe?

I have KVM running and need to convert some qcow2 disk images from running guests into vmdk format. Is it safe to take an LVM snapshot of the logical volume that the qcow2 file resides on, mount it, ...
1
vote
0answers
246 views

Why won't my Ubuntu 12.04 Preseed file work with LVM

Here is my preseed file: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true ...
2
votes
1answer
86 views

Creating “Odd” Size Disks in VmWare/Linux

I believe I suffer from "everything must be in powers of 2" syndrome. When asked to create a 30G disk in VmWare for a VM I want to create a 32G disk. If someone needs 256G of storage using LVM I ...
0
votes
3answers
2k views

/dev/sda1 not in a volume group, and vgextend doesn't work

I've got several virtual machines which I access through a VMWare vSphere client (v 5.1.0). One ran out of space and I'm trying to give it some more space. What I've done so far: - Increased ...
0
votes
2answers
1k views

volume group not showing in /dev , /dev/mapper

We configure cluster with rhcs with storage partition.we created pv and vg. we can see pvdisplay and vgdisplay with all information about pv and vg which we created. But we can not see vg file on ...
3
votes
2answers
398 views

LVM with SSD + non SSD in volume group (for snapshot storage)

I have a KVM box running some critical VMs which perform software builds. The server runs SSD drives. I have an older version of KVM which has limited snapshot capability, and I have decided to use ...
2
votes
0answers
205 views

Convert single O/S disk to RAID 1 - Ubuntu 12.04 LTS

I have a server running Ubuntu 12.04 LTS with only a single drive. There are 2 more empty hot swap bays in the chassis. I want to add a little redundancy by adding a RAID 1 to the system. The ...
0
votes
1answer
106 views

LVM volume falsely reporting itself as full

I am standing up a new CentOS 6 system to do some data processing. As I load the data into a brand new 100gb LVM volume, I reach about 35% full, and it starts to report that there is no space left on ...
0
votes
1answer
128 views

Cannot see available disk space in LVM

I have iSCSI disks connected to my server. i want to resize their capacity. It has LVM on the disk. when i resize the disk in equallogic SAN, i gave it 700GB. and when it check its disk space by fdisk ...
0
votes
1answer
1k views

LVM drive is not mounted after boot

I have created an LVM with three physical disks named "orcafiler1". Problem is, every time after boot, the LVM drive is not mounted and I have to manually run vgchange -ay orcafiler1 The fstab ...
0
votes
3answers
102 views

Is it possible extend filesystem on a non-LVM?

I have an Amazon Line AMI with two drives, one for root and one for data, 8G / 1024G /data the data partition almost full 93% /data, and I want to extend the data partition without wiping the ...
-5
votes
2answers
759 views

How to convert lvm to ext3/4? [closed]

I have an old box(CentOS 5) that was formatted as lvm but now I want to convert it to ext3/4 file system without losing data. I have some empty disks that can be used, so is there an easy way to do ...
1
vote
1answer
1k views

Multipath device unpresented to host. How to delete it from LVM and the system?

OS: Red Hat Enterprise Linux AS release 4 Storage people had unpresented a couple of disks previously exported to the system (things that... sometimes happens). Well, there is no problem with this ...
1
vote
0answers
216 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
5
votes
3answers
6k views

Device /dev/sdb1 not found (or ignored by filtering)

I am trying to add a physical volume for use to add volume groups and thus LV inside them. Sadly I am getting the following error. [root@server ~]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ...
5
votes
1answer
7k 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 ...
0
votes
1answer
21 views

Taking storage from swap and adding to LVM

My current output of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 20G 2.1G 17G 11% / tmpfs 64G 0 64G 0% /dev/shm /dev/sda1 ...
0
votes
0answers
110 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
2answers
64 views

LVM system space is not consistent

I have found some problem in my server, here it is: df -H | columt -t Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_test-lv_home 212G 177G 25G 88% ...
1
vote
1answer
135 views

Re-mount EBS vol on EC2 instance

I am new to sysadmin. I am trying to launch a EBS-backed EC2 instance. I did the following based on mongodb docs: sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=1 ...
1
vote
1answer
184 views

Is it possible to either abort or interrupt and later continue a lvconvert -m1 operation?

I have run the command lvconvert -m1 rootvg/newroot /dev/sdb to convert a linear logical volume to a mirrored one. The operation has not yet finished; I interrupted the command with ctrl-c at ...
-1
votes
3answers
96 views

Two drives, how can i max reliability and uptime? [closed]

I have an asterisk pbx. It has 2 drives in a raid 1 setup. However if my main drive fails my 2nd won't boot, as it has no boot partition. The most important thing for me is up time. If there is a ...
0
votes
1answer
203 views

How do I make a volume within a LVM survive a reboot?

I have a xenserver that has a local ISO repository created following Inside the LVM found at this link: ...
0
votes
1answer
472 views

Creating raid1 array with mdadm cuts space

I'm trying to create RAID1 mirrored disks on already deployed system (CentOS 6.4). I have two disks: source /dev/sda with the OS and /dev/sdb which will be the mirror. The disks are connected from ...
0
votes
2answers
411 views

Multiple 2 TB LUNs — ZFS or ext4-over-LVM

I am going to deploy an Ubuntu 12.04-based archiving system. Due to limitations of the SAN Storage, it can only present me with 2TB LUNs. So, I have to merge multiple 2TB LUNs to achieve the desired ...
4
votes
1answer
677 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
105 views

LVM - spanning single VG across multiple PVs

while configuring a small-business server (CentOS 6.4) I came across a doubt that I have regarding LVM managing and I was hoping you can help me clarify. The machine has the following storage setup: ...