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
117 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
45 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
90 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
41 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
151 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
161 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
186 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
97 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
54 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
53 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
413 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
542 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
312 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
603 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
235 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
485 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
482 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
317 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
448 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
18 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
23 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
30 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
21 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
34 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 ...
1
vote
0answers
200 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
50 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
106 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
243 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
59 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
61 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
79 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
214 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
141 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
223 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
158 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
179 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
168 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
148 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
304 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
374 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
292 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
188 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
384 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
279 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
217 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
360 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
302 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
301 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 ...