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
vote
2answers
159 views

ext3 converted to ext4 still being mounted as ext3

I have a somewhat bizzare problem at the moment with my Debian-system (mainly testing). I used to have a root-partition on lvm that was formatted as ext3. I now booted a live-system and converted ...
2
votes
1answer
107 views

Recover data after lvreduce on “/”

I accidentally ran lvreduce on / instead of "/home" on a RHEL 5.9 system that unfortunately had a lot of code that was not backed up, and the system will not boot now obviously. What is the best way ...
0
votes
1answer
50 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
0answers
87 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
vote
1answer
277 views

Using LVM to extend 2TB diskd on a linux VM?

Currently have mounted on one of my web servers a linux box on VMware with two external drives in. These are both 2TB drives which is the limit to what you can add into VMware. I want to use lvm to ...
-1
votes
1answer
70 views

Storage virtual machine. LVM or loop devices? [closed]

Actual situation: I'm the administrator of a virtual machine. The virtual machine is a Debian. This machine will be mainly a storage machine with different services (svn, ftp... ), and a webserver. ...
2
votes
0answers
831 views

LVM DRBD Shared between nodes proxmox

Context : I have proxmox cluster with the volume group shared with drbd for the VM - KVM. I have a problem with drbd. Indeed, when a node disconnect, the associate link between the differents nodes ...
2
votes
2answers
3k views

Used vgextend/lvextend to add addtional 8GB space but it is not reflected in df output

I have created an instance of ubuntu VM in VirtualBox. At the beginning I have only allocated 7GB for the storage and the VM has now run out of space. First I added another 8GB (/dev/sdb) to the VM ...
1
vote
2answers
71 views

mount a partition on an lvm partition

I have a xen dom0 server (named virtserver), which contains a guest machine, let's call it "virtguest". The virtguest used to be a physical machine earlier, and the whole old disk (with several ...
0
votes
1answer
78 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
161 views

Snapshot a KVM guest with non-file storage

I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be ...
0
votes
1answer
265 views

LVM mirror with data and logs mirrored on same 2 devices

I'm trying to set LVM mirroring with only 2 devices. It works perfecly when I add third device for mirrorlog, or use corelog. But with only 2 devices and --alloc anywhere LVM nearly always creates ...
0
votes
1answer
104 views

How does data storage on Amazon EC2 work especially for databases?

I've been playing around with Amazon's Web Services for over a year now, however I don't quite understand how it works. When I for example select an AMI of my choice from the EC2 console and I ...
2
votes
2answers
212 views

VMWare ESXi: to extend a partition or create a new drive?

Is it better to extend an existing partition or to create a new drive in a VMWare ESXi virtual machine? I'll be using LVM to put the drive in an existing volume group on my VM and to extend a SAN ...
0
votes
1answer
174 views

lvconvert --merge how to undo?

I have created a script for users who work on KVM virtual machines to be able to perform lvm snapshots on the logical volumes where their VMs are installed. Snapshot restores are performed via ...
1
vote
0answers
110 views

udev rule for disconnection and hibernate/suspend

I have an external hard drive which contains different GPT partitions. One of them is a LVM partition. This partition is contained in a LVM volume group (called "volga"), which in turns splits into ...
1
vote
1answer
4k views

LVM: “Couldn't find device with uuid” yet blkid finds the UUID

I have a SLES 11.2 PPC (3.0.58-0.6.6-ppc64) system that lost track of its volume group (containing LVs with data that is not critical but would be rather nice to get back). The disks are connected ...
0
votes
1answer
69 views

LVM Snapshot confusion

I think I understand some of the lvm snapshot concept, but am confused about one last thing. After you take the snapshot, if you don't mount it, will it be active? What I really want to know is will ...
3
votes
2answers
185 views

Why does my lvm physical volume have significantly less space than the partition it contains?

I'm on centOS 6.4. I have a 39TB hardware RAID configured as RAID 6. I created a single 39TB partition with parted. It reports: (parted) print ...
1
vote
4answers
822 views

What does an LVM2 Snapshot contain? [duplicate]

Everything I read makes me think an lvm snapshot is a direct copy of the logical volume that was snapshot(ed), but how can that be when it takes 10 seconds to snapshot a 90 gig logical volume? If I ...
0
votes
1answer
109 views

Adding disks to and resizing a LVM

I'm managing a virtual cloud server on EC2 for a client which has the requirement of expandable storage. Currently, I have a 1TB EBS drive mounted at /mnt which I need to expand. Since 1TB is the ...
1
vote
2answers
2k views

How to determine optimal size for LVM snapshot?

I'd like to create a backup script that uses LVM snapshots during backup. This script will run on several Linux machines. I'd like to avoid creating snapshot that is too small and gets full during ...
0
votes
1answer
102 views

How to resize LVM group wheen 4 partitions already in system?

Centos, I have already expanded Virtual disk in Vmware, now i need to add additional space to LVM Group but most tutorials out there are saying to create new partition and add it to LVM. Since there ...
0
votes
2answers
285 views

Setting up LVM Volume Groups… hang

My Debian 7 System dosn't boot anymore. The boot stop with a kernel message like thisMy Debian 7 System dosn't boot anymore. The boot stop with a kernel message like this: [.....] Setting up LVM ...
0
votes
1answer
44 views

LVM reduce from one Logical volume and add it to another

i am having two volume groups vg1 and vg2 on vg1 i am having two Logical volumes LV1 and LV2 ,LV1 is full and LV2 is having more than 60% free space. Is it possible to reduce Lv2 and then using that ...
1
vote
1answer
51 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
2answers
201 views

Physical disks comprising a Volume in RHEL

How do I list the physical disks and associated information (disk model, size, etc.) for all disks that are members of a physical volume in RHEL? For example, if I do I "pvscan", I get the following ...
1
vote
0answers
197 views

Ubuntu 10.04 Server stuck at grub prompt

I have a virtualized server running 10.04 LTS that is no longer booting. We had a number of issues with our SAN that abruptly disconnected the storage from the virtual machine infrastructure and ...
2
votes
1answer
167 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
54 views

Are blocks that are read from LVM kept in Linux's block cache?

Does Linux keep blocks that are read from an LVM logical volume in the block cache as it does with blocks read from a "regular" block device or is the IO direct? Also, do the usual buffering ...
4
votes
1answer
134 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 ...
1
vote
1answer
107 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
2answers
307 views

can't resize root at Ubuntu Server 12.04 LTS

I've done lvresize -L 264G 101/root (was 15GB) but /dev/mapper/101-root shows 13Gb. What am I doing wrong? I really appreciate the help! root@server1:/home/user# df -h Filesystem Size ...
2
votes
1answer
106 views

Recovery RAID array LVM

I have a NAS, the unit became unresponsive so after some research I pulled the drives out of the box, and hooked them up to my Ubuntu box. I now see all 4 drives, and all 4 partitions on the drives. ...
1
vote
2answers
920 views

How to increase Free PE in LVM physical volume?

I use Proxmox 2.2 for making OpenVZ containers. It ships with a tool called vzdump that can create backups of OpenVZ containers on the fly. It uses snapshot functionality of LVM to create temporary ...
0
votes
1answer
159 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 ...
2
votes
1answer
452 views

kickstart partitioning error with LVM

In Kickstart, I keep on getting the error; Adding this partition would not leave enough disk space for already allocated logical volumes in vg_ibus I do not get why I am getting this error. ...
1
vote
1answer
351 views

How to automount lvm on startup ubuntu?

I'll start some background that can be skipped: I have an ubuntu machine that I installed some time ago with the default partitioning on a an 80GB hard drive. The machine runs has rTorrent that starts ...
0
votes
1answer
96 views

How to create new logical volume by taking the space from an existing one

I am new to the world of logical volumes. I have installed a Linux (CentOS), and the installer created an 50 GB root logical volume (mounted at /), and a 475 GB home logical volume (mounted under ...
0
votes
1answer
62 views

LVM can I extend a logical volume across 2 volume groups?

I resized my /opt which was the only logical vol in vg2 but I want to give that freed space back to / which is on vg1. Is this possible? pvscan output below. I want to grow my / partition which is ...
0
votes
1answer
517 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
52 views

Volume group not created

I have a Professional XXL with 2x 1TB HDDs (1TB RAID) server from velia.net and i want to create a volume group in it but when first i create pv it's showing. [root@xen17 ~]# pvcreate ...
0
votes
1answer
638 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 ...
2
votes
1answer
472 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 ...
0
votes
1answer
239 views

8kb block sizes as it relates to different storage layers

I have a PCIe SSD card that uses 8kb block cells. It supports "Virtual Controllers" that can split this drive in half and create LVM RAID0 with 8kb stripe size. On top of that I install a file system ...
1
vote
2answers
344 views

What kind of performance overhead with LVM on Fusion ioDrive2 as Oracle DB 11gR2's Flash Cache?

This is a bit wordy, so please bear with me. :) We have a RAC cluster of 3 Oracle 11gR2 servers and purchased FusionIO ioDrive2 PCIx cards for these servers to use as OracleDB's Flash Cache. These ...
0
votes
1answer
106 views

Convert clustered LVM volume group to stand alone

I am running clustered LVM, and I need to convert my cLVM VGs back to stand alone. It appears that I should be able to run "vgchange -c n " with out losing any LVs. The only thing I need to do is ...
0
votes
1answer
53 views

Postfix smtp redirected and not sending

I'm new to this so please go easy if I don't explain it lugubriously. I'm admin'ing a debian based KVM/LVM server. It has several VM's on it but two that are the problem. Recently I had to clone VM A ...
6
votes
1answer
654 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 ...
1
vote
1answer
1k 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 ...