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)

3
votes
0answers
47 views

Efficiently get file deltas for backups

With many large Xen sparse image files that have to be backed up, I'm looking for a way to do this efficiently both in terms of disk space (saving space with a differential tool like duplicity, bup, ...
3
votes
0answers
137 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( ...
2
votes
0answers
72 views

How to emulate union mount behaviour with LVM in CentOS?

In short, I want to create a system restore image. My idea with AUFS is like the image below Now, as I require this mount setup at boot-time, I don't think I can do it with fuse and will require AUFS ...
2
votes
0answers
48 views

Recover lost volume group in hp ux 11 v2

The disk containing operating system (vg00) has failed. I tried to install the operating system on a new disk and I want to restore other volume group (vg01 and vg02) on two disks that contain data.
2
votes
0answers
43 views

Does the LVM DM UUID contain any metadata?

For example within the name listed below is there any metadata within the name, eg based on server serial number or date created or such: ...
2
votes
0answers
51 views

Change the logical volume

I am quite new this snapshot process. Let, I have three logical volumes as A, B, C. I worked on logical volume C. But accidentally when I restart the system, it goes to the snapshot A. How can I ...
2
votes
0answers
517 views

Please help recovering lost volume group

After a reboot, the volume group on my server completely disappeared. [root@dal01 log]# vgdisplay No volume groups found [root@dal01 /]# lvdisplay No volume groups found [root@dal01 ~]# pvdisplay ...
2
votes
0answers
282 views

How can I specify to lvconvert which mirror leg to drop when specifying the physical volume is ambiguous?

I have managed to end up with an LV with the following mirror setup (output from lvs -a -o name,devices,lv_attr): rawphotos ...
2
votes
0answers
350 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 ...
2
votes
0answers
235 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 ...
2
votes
0answers
472 views

Almost All Xenserver Logical Volumes Disappeared - Recovery?

We had a hard disc crash of one of two hard discs in a software raid with a LVM on top. The server is running Citrix xenserver. On the hard disk which is still intact, the volume group gets detected ...
2
votes
0answers
1k 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
0answers
187 views

Debian: preseed partitioning results in deadlock

I'm using this code in my preseed.cfg for debian testing (wheezy): #Partman partman-auto partman-auto/init_automatically_partition select 50some_device__________regular partman-auto ...
2
votes
0answers
402 views

How to clone LVM thin provisioning volume?

I googled many times but couldn't find an answer. What I want is cloning an LVM thin provisioning volume to another thin volume. For now I know dd can clone a thin volume as following: dd ...
2
votes
0answers
349 views

pvcreate not working: can't open exclusively

After having added 2 disks of 1Tb to a Dell PowerEdge, I went through their initialization with the goal to add them to an existing LVM VG. When the MegaCli background initialization went complete, I ...
2
votes
0answers
431 views

linux hardware raid 10 / lvm / virtual machine partition alignment and filesystem optimization

I've been reading everything I can find about partition alignment and filesystem optimization (ext4 and xfs) but still don't know enough to be confident in setting up my current configuration. My ...
2
votes
0answers
236 views

What is the default metadata size in temporary volume during a pvmove?

I ran into an interesting error when attempting to address a particular problem. We had an issue where we have to move the extents over to new physical volumes because the metadata size was too ...
2
votes
0answers
440 views

How do I create a RAID10 array using EBS on Amazon?

Basing this question on information I got in Why does df shows only half the size of a RAID10 array?, how should I create a RAID10 array using EBS volumes on Amazon, in a way that will not be ...
1
vote
0answers
62 views

LVM psychical volume partitions

I have 2 logical volumes in a volume group that span two hard drives. The problem that I'm currently having is that the I can no longer mount the volume group because the superblock is misreporting ...
1
vote
0answers
62 views

Debian KVM Host, Debian guests : where full-disk encryption should be done?

I have a host under Debian Wheezy, running qemu/KVM. I want to have all my guests fully-encrypted. I can see to possibilities : - Either I encrypt the LVM Volume using dm-crypt (cryptsetup) and use ...
1
vote
0answers
106 views

Mysql table doesnt exist error after trying run from lvm snapshot

I'm trying to set up mysql replication by making lvm snapshot of master datadir and copying it to slave. The procedure is quite simple, on master server I execute "FLUSH TABLES WITH READ LOCK" and on ...
1
vote
0answers
44 views

lvm archive and backup files not purging

I do hourly backups doing snapshots, and every time I do it creates files in /etc/lvm/archive. But lvm doesn't appear to pay any attention to the "retain_days" parameter under "backup" in ...
1
vote
0answers
64 views

pvs/vgs/lvs and block device size not matching

I have a LV with a filesystem on it. The LUNs behind this filesystem have been grown on SAN, as have the PV, VG, and LV. But the block device seems not to match so my resize2fs fails. I never saw ...
1
vote
0answers
67 views

LVM2 Thin pool transaction_id mismatch

I believe we trashed some LVM thinpool metadata while moving 2 volume groups to a different machine. We now trying to reactivate the volume groups on the original machine. The physical volumes, volume ...
1
vote
0answers
99 views

grub: Booting Ubuntu off /boot in LVM, broken after upgrade

I have servers I want to upgrade remotely and headlessly from Ubuntu 12.04 LTS to 14.04 LTS. This upgrade has to happen via script, with no interaction. The do-release-upgrade command exits cleanly, ...
1
vote
0answers
96 views

task fstrim blocked for more than 120 seconds

I'm experiencing random crashes on my system. I've narrowed the problem to the fstrim program that's launched weekly by cron. In the console, I've got a set of blocked tasks among whigetch I find ...
1
vote
0answers
76 views

fdisk with lvm: Why is first sector at 3072 instead of 2048?

Using ubuntu 12.04, i have a xen-server and several vms. Considering /dev/vm-disks/testes - an lvm volume partitioned during OS install /dev/vm-disks/testes-home - another lvm volume, unpartitioned ...
1
vote
0answers
203 views

reclaim space from xen server

i found xencenter stotage => general tah display 1096.6 GB used of 1107.7 GB total (708.5 GB allocated) seen some space have been eaten and not release. the SMLog show that [13816] 2014-03-28 ...
1
vote
0answers
253 views

SSD+MDRAID+LVM+KVM results in lower performance than expected

We use kvm for virtualization, the disk images are stored as logical volumes. The logical volumes are stored on a bunch of software-RAID1 (mdadm) arrays composed of Intel DCS3500 SSDs (each array is a ...
1
vote
0answers
159 views

Attach Multiple disk LVM from old Xenserver to new Xenserver

hope you can help me with this one... We have a Xenserver 6 with 4 320 Gig disks as a one LVM Volume Group. Suddenly past friday one disk failed and we were unable to start the server. I have tried to ...
1
vote
0answers
153 views

Need help recovering RAID 6 array

My CentOS 6.5 server had its primary drive fail the other day. Our hosting company replaced the primary drive and reinstalled the OS. The system is up and running, but the 15TB of RAID6 storage isn't ...
1
vote
0answers
317 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 ...
1
vote
0answers
238 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 ...
1
vote
0answers
151 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
0answers
298 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 ...
1
vote
0answers
257 views

LVM failure recovery

We have an server PC with "intel matrix storage manager" raid (or maybe 'fake' raid) controller. Firstly there were one RAID-1 with two equal seagate disks of 1TB size. We've installed ubuntu server ...
1
vote
0answers
236 views

Backing up VMs to a tape drive

I've got myself one of these fancy tape drives, HP LTO2 with 200/400 GB cartridges. The st driver reports it like this: scsi 1:0:0:0: Sequential-Access HP Ultrium 2-SCSI T65D I can ...
1
vote
0answers
81 views

Single drive LVM to RAID6 LVM

I cloned my entire LVM volume group from a single drive to a RAID5 array with 3 disks. The VG is formed by these logical volumes: root swap home ... and other volumes of some XEN virtual machines. ...
1
vote
0answers
74 views

Setup cloadmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume?
1
vote
0answers
101 views

command line LVM issue on CentOS 5

I am able to create from using lvm GUI to do as follows: /dev/var-v0l/var /var ext3 defaults 1 2 /dev/varopt-vol/var-opt /var/opt ext3 defaults 1 2 ...
1
vote
0answers
516 views

I/O error on non-existent device?

Getting the following in /var/log/messages: Sep 17 10:38:53 server1 kernel: end_request: I/O error, dev sde, sector 0 Sep 17 10:38:53 server1 kernel: end_request: I/O error, dev sde, sector 63 Sep 17 ...
1
vote
0answers
204 views

Linux software Raid LVM restore volume group

first of all: excuse my bad english :) We use a Archlinux server with 3 HDD in software raid 1 mode. There should be two lvm extended partition from which i think they should be work in volume ...
1
vote
0answers
247 views

lvm/xfs does not utilize full raid device

My older 2 CPU server (32-bit LV Xeon, centos 5) drives a raid6 array. Since I grew it from 7x2T to 8x2T (I had to CD boot a "more modern" fedora to even do the 82-hour growing, but that's another ...
1
vote
0answers
294 views

After upgrade to SLES11 SP1 - LVM on top of software RAID5 not working anymore

On a system where I have been running OpenSuSE11.1 for some time I performed a fresh installation of SLES11 SP1. The system used a software RAID5 system on top of which an LVM was setup with a single ...
1
vote
0answers
351 views

Imaging LVM-based Linux system to new computer: UUIDs change?

We are attempting to use Acronis TrueImage to copy the hard drive from one standalone Red Hat Enterprise Linux 5.5-based computer across to two others as part of a production operation. We are using a ...
1
vote
0answers
606 views

squeeze with lvm on top of raid 0 fails to boot using grub2

GRUB Loading Welcome to GRUB! error: no such device: <GUID>. Entering rescue mode... grub rescue> ls (hd0), (hd0,msdos2) (hd0,msdos1) grub rescue> set prefix=(hd0,msdos1)/grub ...
1
vote
0answers
81 views

Configuring multiple XFS filesystems with external logs on LVM

I'm configuring an NFS server with multiple filesystems for use by different groups of users. Other similar systems we have installed recently have used XFS filesystems on logical volumes, on top of ...
0
votes
0answers
13 views

Back up incremental snapshots to another volume

I'm looking for a way to implement something close to the following backup scheme: Initially, a full image is copied to the backup target. Periodically (e.g. nightly), only blocks that have changed ...
0
votes
0answers
34 views

Data recovery seems impossible after kernel upgrade. MDADM (Raid1) LVM2

I opened a question about rebuilding a bad partition My Problem that din't take me anywhere. Bad news is the company trying to rescue the data says it's finding huge inconsistencies they can see some ...
0
votes
0answers
30 views

Preseeding with RAID1 Encrypted LVM

I would like to preseed a debian wheezy system with Encrypted RAID1 LVM. I've done some google searching, seen others asking the same question, but have not found any answers. I have successful ...