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)

5
votes
5answers
1k views

Need help with recovering RAID array

To make a long story short, I am responsible for a media server that has two RAID arrays (/dev/md0 and /dev/md2). I still have a ton to learn about software RAID and LVM, etc. We had a drive fail in ...
5
votes
5answers
5k views

LVM mirroring VS RAID1

Having learned a bit about LVM mirroring, I thought about replacing the current RAID-1 scheme I'm using to gain some flexibility. Problem is that according to what I found on the Internet, LVM is: ...
5
votes
3answers
6k views

What KVM disk type to use?

I'm setting up a few KVM virtual guests and I'm debating which disk type to use. I haven't been able to find a good resource online that runs down the pros and cons of each. Can you help me create a ...
5
votes
1answer
4k views

HP DL380 G7 + Smart Array P410i + sysbench -> poor raid 10 performance

I have running system with low IO utilization: HP DL380G7 ( 24gb RAM ) Smart Array p410i with 512mb battary backed write cache 6x SAS 10k rpm 146gb drives in RAID10 Debian Squeze linux, ext4 + LVM, ...
5
votes
5answers
10k views

linux LVM mirror vs. MD mirror

I think I remember making some mirrors years ago with LVM, and I don't remember this "log" thing. Or maybe I made the mirror with mdadm and put LVM on top. That must be it. What is the LVM log for ...
5
votes
3answers
3k views

debian 6 preseeding keeps asking “Write the changes to disks and configure LVM?”

I try to use an expert recipe configuring lvm for debian 6.0.5 netinstall. I don't want to be asked any questions, but it keeps asking me "Write the changes to disks and configure LVM?" Here is part ...
5
votes
1answer
84 views

Are ZFS pools or LVM volume groups more reliable for utilizing many partitions?

When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike ...
5
votes
3answers
624 views

User reduced LVM logical volume without resizing filesystem

I received an email yesterday that one of our users was trying to make room for a heartbeat/clustering package which requires its own partition to act as a voting disk. To do this, he attempted to ...
5
votes
3answers
646 views

Which filesystems offer snapshot functionality for users to recover data?

I'm working on a project that will teach linux to youth. Knowing they will have a tendency to delete or corrupt items in their home directories we are looking for a good snapshot option. We will not ...
5
votes
2answers
2k views

Ubuntu Kickstart installation using LVM waits for input

I have a PXE Boot Setup for installing CentOS 5 and Ubuntu 10.04 via Kickstart. I use LVM and installing CentOS without any user interaction works but Ubuntu always asks to "confirm to write changes ...
5
votes
3answers
6k views

Using LVM snapshots for KVM virtual machine clones

So, I've got a pretty awesome KVM setup running now, CentOS5.5 on the host and guest domains, libvirt managing all the configuration, etc. The guest domain filesystems are stored in LVM on top of a ...
5
votes
2answers
99 views

Can I get LVM to check if my mirrors are consistent?

I'm using LVM mirroring. Following some disk issues I'm concerned about the consistency of the data in my mirrors. Is there anyway I can get LVM to physically compare the data in each mirror?
5
votes
2answers
112 views

Accessing the partitions on an LVM volume

Suppose you have an LVM volume /dev/vg0/mylv. You have presented this as a virtual disk to a virtualised or emulated guest system. During installation the guest system sees it as /dev/sda and ...
5
votes
1answer
2k views

Resizing a LUKS encrypted volume

I have a 500GiB ext4 filesystem on top of LUKS on top of an LVM LV. I want to resize the LV to 100GiB. I know how to resize ext4 on top of an LVM LV, but how do I deal with the LUKS volume? ...
5
votes
2answers
199 views

Moving an existing Linux into an LVM

We have a server with an existing Linux installation (CentOS 6) + boot partition on disk 1, and an empty disk 2. What we'd like to setup is this: One disk (1 or 2, doesn't matter): The main system ...
5
votes
2answers
2k views

Is it possible to convert striped logical volume to linear logical volume?

I've a logical volume that is striped across three physical volumes. I had to move this logical volume to another physical volume. This worked nicely with pvmove command. However, I discovered later ...
5
votes
2answers
1k views

LVM: resize2fs not resizing

I'm having a weird issue with resize2fs. I've performed all the commands and they all have been successful, however, my filesystem is the same size as it was before: [oracle@server~]$ df -h /backup ...
5
votes
2answers
110 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 ...
5
votes
1answer
579 views

Home-grown SAN — topology ideas?

I'm interested in hand-rolling a SAN solution on Linux with the following technologies: iscsi mdadm raid lvm multipath xfs/gfs/??? teamed NICs Hardware-wise, I'm thinking of 2 x gigE (or better) ...
5
votes
1answer
422 views

Trying to find the 'max files per directory' figure for an OCFS2/LVM volume

I have a bunch of RHEL/OEL Apache VMs (on ESX 3.5) hardware load-balanced into a little http file farm. I need to expand the dataset they're serving from 1TB to 10TB and although I can use OCFS2 and ...
5
votes
1answer
351 views

Where is the best place for LUKS to sit in a RAID/LVM/LUKS stack?

I am implementing a server storage setup making use of software RAID, LVM and LUKS. I can think of three combinations this configuration could take: RAID, LVM, LUKS RAID, LUKS, LVM LUKS, RAID, LVM ...
5
votes
1answer
3k views

Change owner of LVM LV's device node in RHEL5

First time using serverfault, please excuse any breaches of etiquette. I've created several LVM2 logical volumes in local storage on a server, and would like one of the device nodes - not the ...
4
votes
5answers
2k views

What are the benefits of the Logical Volume Manager

What are the features and potential benefits of Logical Volume Manager beyond what is detailed on its Wikipedia page?
4
votes
6answers
2k views

JFS or XFS or anything else?

After deciding to use LVM2 as volumemanager on our servers there was also the wish for an online resizeable filesystem. After reading a few articles I decided to use JFS in favour of XFS. Now today I ...
4
votes
6answers
2k views

How to copy a large LVM volume (14TB) from one server to another?

I have to copy a very large LVM volume from server A to server B. Below is the filesystem of server A and server B Server A [root@AVDVD-Filer ~]# df -h Filesystem Size Used Avail Use% ...
4
votes
5answers
7k views

How to access LVM partitions on OS X?

I need to access ext3 partitions over an LVM logical volume in a SATA HD connected through USB2 to my iMac with OS X 10.6 . Is it possible to see LVM volumes from OS X? How? Disk Utility says that ...
4
votes
4answers
2k views

SSD drives and RAID configurations vs LVM

Background: I'm familiar with the basic RAID levels, and am curious to know if using SSD devices in a RAID0 or RAID5 would be a better deployment than adding them to a large LVM volume. ...
4
votes
3answers
1k views

lvm+ext3 vs ext3 recovery

I would like to hear from people who have personal experience recovering crashed systems or data from crashed drives using lvm+ext3 and ext3. Which option is harder to recover from backup or to ...
4
votes
4answers
9k views

How to extend a Linux PV partition online after virtual disk growth

VMware allows to extend the size of a virtual disk online - when the VM is running. The next expected steps for Linux system are: extend the partition: delete and create a larger one with fdisk ...
4
votes
4answers
2k views

How to keep or drop LVM snapshot?

I have made an LVM snapshop by lvcreate --name snap --size 10G -s /dev/vg00/vm What command should I write if I want to drop the snapshot, and not keep the changes that have happened since the ...
4
votes
3answers
2k views

Can't Mount LVM Snapshot Volume

I have a logical volume which serves as the filesystem for a virtual guest OS. I'm happy with the state of my guest OS and would like to make a backup of it. I created a snapshot using lvcreate and ...
4
votes
2answers
2k views

Should I be using LVM snapshots along with rsnapshot?

I manage a CentOS 4.8 server for a small workgroup. Last year I converted the filesystem to LVM over software RAID (RAID 1, two mirrored drives). I now have the following filesystems on LVM/RAID: ...
4
votes
2answers
81 views

LVM Configuration possible?

I have hard discs D1 and D2 which are 140GB each and D3,D4 which are 600GB. I've been reading about the benefits of using LVM and I was thinking about the following configurations. This one would ...
4
votes
1answer
970 views

Is Microsoft's “Storage Spaces” just LVM for Windows? [closed]

From initial reading, it looks like Microsoft's forthcoming "Storage Spaces" is an LVM-like tool for Windows. Is this a correct assessment? If it's not merely LVM-for-Windows, then what is it, and ...
4
votes
2answers
3k views

repair partition table

Hallo. I've just overwritten my partition table of my system's hard disk. i made a cfdisk on the wrong device (/dev/sda instead of /dev/sdd), deleted all partitions, made one new primary spanning ...
4
votes
2answers
84 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 ...
4
votes
2answers
2k views

Can I install Xenserver with larger local storage?

I installed XenServer 6.0 on a machine with 2 drives (80GB SSD and 1TB SATA). My goal is to have some space for local storage where I can put ISO (since it will be very difficult to access the box ...
4
votes
1answer
2k views

What happens when a disk fails in LVM?

I am configuring a linux server on an ESX 4.1 host. This server needs to have several TBs of data stored on it. We are currently debating whether or not to use LVM. Our current reasoning is that is is ...
4
votes
1answer
132 views

What is logical volume management?

I am new to the world of Linux and recently came across logical volume management however am unsure if I have understood its function correctly. My understanding is that I have 3 physical devices or 3 ...
4
votes
3answers
3k views

Linux Software RAID1: How to boot after (physically) removing /dev/sda? (LVM, mdadm, Grub2)

A server set up with Debian 6.0/squeeze. During the squeeze installation, I configured the two 500GB SATA disks (/dev/sda and /dev/sdb) as a RAID1 (managed with mdadm). The RAID keeps a 500 GB LVM ...
4
votes
1answer
4k views

LVM is reporting I/O errors, but the disk reports no problems. Argh

I've started seeing errors reported by LVM on certain Logical Volumes (and by Xen when attempting to create virtual machines on these LVs). But I've run tests on the disk, and can't see any hardware ...
4
votes
2answers
1k views

Does Proxmox VE Support LVM as block storage for KVM guests?

Does Proxmox VE Support LVM as block storage for KVM guests to avoid the overhead of going through the filesystem layer on the host system ?
4
votes
2answers
287 views

Encrypted storage for clustered MySQL

I have a requirement to provide a highly available MySQL database with encryption-at-rest on a 2.6.32 linux kernel. The 'highly available' part isn't that hard, but the 'with encryption-at-rest' is ...
4
votes
2answers
942 views

RAID0 (both hardware and md) slower than LVM?

I'm doing some benchmarking of nodes as we build out a distributed filesystem. Since files are going to be distributed and replicated across many nodes, we're using raid0 on the nodes themselves. ...
4
votes
1answer
2k views

losetup -d giving : device busy

I am mounting a KVM disk (LVM) following these commands : # losetup /dev/loop0 foo.img # kpartx -av /dev/loop0 # mount /dev/mapper/loop0p1 /mnt # unmount /mnt # kpartx -dv /dev/loop0 # losetup -d ...
4
votes
2answers
1k views

Convert full hard drive to LVM without external storage

Recently, my 2TB hard drive ran out of space, so I purchased another one to supplement it. My old drive is mounted in a specific folder (does not have system files or anything). Technically, I could ...
4
votes
2answers
458 views

Best strategy for setting up LVM over RAID for flexibility down the road?

Alright, I'm hoping that this question is unique enough to not be considered another "What's the difference between LVM and RAID?" questions. Here goes... I'm setting up a linux server which has a ...
4
votes
1answer
463 views

Areca RAID volume and LVM alignment

I have the following hardware: 1x - Areca ARC-1680IX-24 PCIe x8 SAS RAID Card 24x - Seagate Barracuda LP 2 TB 5900RPM SATA 3 GB/s 32 MB Cache 3.5-Inch Internal Hard Drive ST32000542AS I plan on ...
4
votes
2answers
2k views

Any way to recover ext4 filesystems from a deleted LVM logical volume?

The other day I had a proper brain fart moment while expanding a disk on a Linux guest under Vmware. I stretched the Vmware disk file to the desired size and then I did what I usually do on Linux ...
4
votes
2answers
3k 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 ...