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)

4
votes
0answers
155 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
59 views

Mirroring on external SCSI and iSCSI disks inside same volume group

On IBM P5 505 (maint level 5300-07) servers there is a concurently accessed external storage, which is connected using external Ultra320 SCSI port (DAS). External storage is detected as hdisk2 which ...
3
votes
0answers
103 views

Bad sector on disk, part of a LVM over RAID1 array, which files are affected?

My RAID1 array /dev/md1 is rebuilding after one of the disks has been replaced. Problem : the source disk has Unrecoverable Errors, and my only choice if I do not want to lose the whole data set (no ...
2
votes
0answers
71 views

lvm PV on top of dm-cache

I am running a private cloud (opennebula, KVM) where I am running VMs both directly using LVM Logical Volumes and using disk images on a file system (one is faster, the other is easier to migrate), ...
2
votes
0answers
172 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
185 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 ...
2
votes
0answers
267 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 ...
2
votes
0answers
108 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
347 views

How to Reclaim Space from XenServer?

I found that the XenCenter storage tab claims there is 1096.6 GB used of 1107.7 GB total (708.5 GB allocated). It appears that some space has been eaten and not released. The SMLog shows: [13816] ...
2
votes
0answers
59 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: dm-uuid-LVM-...
2
votes
0answers
54 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
1k 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
435 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 rawphotos_mimage_0(0),rawphotos_mimage_1(0),...
2
votes
0answers
587 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/...
2
votes
0answers
340 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
640 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
2k 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
262 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 partman-auto/...
2
votes
0answers
509 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 if=/dev/...
2
votes
0answers
489 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
349 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
451 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
26 views

LVM volume has a data percent bigger than 100%

One of my LVM volume is shown to have 372.6% data. How could this happen? Note the volume have been re-sized down from a bigger size, but the file system seems working fine. It actually impacts the ...
1
vote
0answers
57 views

XenServer 6.2 - could not find filesystem '/dev/root'

We have a Citrix Xenserver 6.2 install. Today we had an incident where power to the server was suddenly cut off from the server. It had been running for quite some time without issue. It has quite a ...
1
vote
0answers
17 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
1
vote
0answers
39 views

Is it possible to extend the data device of an Thin Provision pool setted by device mapper?

TL;DR : How can I extend the Thin-Pool if I'm not using LVM but Device Mapper itself directly? Detailed version: As far as I know, when we create a thin-pool by dmsetup, we can set a ...
1
vote
0answers
120 views

Which are possible hierarchies for bcache, mdadm RAID and LVM?

Assuming I want to use bcache for caching, mdadm for RAID (1) and LVM for partitioning (and that I don't care that there might be performance drawbacks due to many levels of I/O and device management ...
1
vote
0answers
25 views

Libvirt does not see updated LVM volume

All VMs run off an LVM pool. I resized one of the LVM volumes to increase VMs drive copacity. Resized it with lvextend as usual. Everything is successful and lvs shows the new size. Libvirt does not ...
1
vote
0answers
24 views

Disorganized disks because of different disk technologies - LVM an answer?

I have a 1 TB spinning HD, and a 256 GB SSD. I keep my OS and large projects on the SSD, for speed. The rest is on the spinning HD, because of its size. The problem: This means I have things to ...
1
vote
0answers
73 views

Transaction id mismatch on thinly provisioned LVM-Volumes

I have setup a thinpool with 3 thinly provisioned LVM volumes inside. After increasing the size of those I did run into serious problems and now I would like to remove the thinpool in order to start ...
1
vote
0answers
45 views

How to stop unmounting of lvm volumes when autoextend fails?

We are using lvm thin pools with autoextend enabled: thin_pool_autoextend_threshold = 80 thin_pool_autoextend_percent = 10 This is how we create the pool and the volumes: pvcreate /dev/sdb ...
1
vote
0answers
50 views

Figure out the used space on the snapshot thin volume

I have the following lvm configuration. Hard Disk: /dev/sdb (Size 10 GB) VG: vg_root on /dev/sdb THIN_POOL thin_pool occupying the whole physical extent lvcreate -y --extents 100%free --thin vg_root/...
1
vote
0answers
333 views

Mount LVM in rescue mode

I am having trouble mounting a LVM to extract a Proxmox virtual machines data. Any ideas on how I can mount it? The data is on one of the two 2TB hard drives. I think they are RAID 1 root@rescue:~# ...
1
vote
0answers
217 views

Freshly created LVs do not survive reboot - check of thinpool failed

In order to use gluster snapshots, I am trying to create LVs through LVM as thinly provisioned logical volumes are needed to make gluster snapshots work. Creation works, but the setup does not ...
1
vote
0answers
51 views

LVM partition says no space even though it's not

I'm trying to do backups on my Proxmox both to an NFS share. The NFS share is on an Ubuntu (14.04) server with a 2TB HDD separated into 2 x 1TB partitions with LVM. For some reason (looking with ...
1
vote
0answers
127 views

Growing docker's volume on an LVM

I followed the instructions here to set up docker on CentOS using the LVM. I fed it a 16G disk. It consumed 6.37GB. Now, one of my containers ran out of disk space. What do I have to do for docker to ...
1
vote
0answers
321 views

V2P - Using Clonezilla with VMware - but I have two virtual disks

Don't ask me why but I've been requested to V2P a VMware machine. I'm using Clonezilla and a couple tutorials online. But, my VM has two virtual disks (screenshot). Currently in the process, but if ...
1
vote
0answers
64 views

issue in increasing disk size in ubuntu guest vmware

Have followed link I was trying to increase the size of my disk allocated to ubuntu guest in vmware below are the things i have already done Increased max setting in vmware settings - Done ...
1
vote
0answers
94 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
1
vote
0answers
93 views

Optimum LUN size for LVM created NFS share

I have access to roughly 80 TB of capacity via a SAN, which I want to set up as as 2 NFS shares: 1 share of 70 TB and 1 share of 10 TB. The 10 TB share will have full backup to tape, whereas the 70 TB ...
1
vote
0answers
250 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
169 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
249 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
200 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
188 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
164 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
412 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
316 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
195 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
402 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 d-...