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)

0
votes
0answers
91 views

Backup MySQL with LVM, questions about the MySQL Session

I want backup my mysql database with lvm. I will do the backup with cronjob. Here the pseudocode Open mysql session Run SQL FLUSH TABLES WITH READ LOCK Do backup lvcreate -l100%FREE -s -n ...
1
vote
2answers
1k views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
2
votes
0answers
336 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] ...
0
votes
1answer
1k views

How to get Mondorescue to work with LVM2 (CentOS 6.4)

I'm trying to make an emergency recovery disk with Mondorescue to: Restore my server in case of hardware (or severe software) failure. Make an "identical" server setup for debugging and staging. ...
148
votes
4answers
48k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
2
votes
1answer
2k views

Xenserver 5.6 SR_BACKEND_FAILURE_47 no such volume group, but it is there

I've looked everywhere (Google, here, a bunch of other sites), and while I have found people with similar problems, I couldn't find a single one with a solution to this. Last night our xenserver 5.6 ...
1
vote
1answer
16 views

Is there a difference between LVM and HA-LVM or is it just how you use it.

I am studying up on HA Clusters using pacemaker and corosync. The Red Hat documentation treats LVM, HA-LVM and CLVM as separate topics. I understand the added features and benefits of CLVM over ...
0
votes
0answers
29 views

using same LVM volume for devicemapper and a bind mounted volume

I'm running an Amazon EC2 machine with a 512GB EBS mount. My plan is to split the EBS into two parts - one to be used by Docker 1.11 for its images (via devicemapper) and another to be bind-mounted to ...
2
votes
1answer
69 views

How to investigate high CPU for dmeventd (lvm2 / xfs)

I have three CentOS 7.2.1511 Servers that started showing dmeventd at the top of the cpu utilization (single core). They are running docker and apache mesos. Even when I shutdown docker and mesos ...
5
votes
1answer
1k views

rsnapshot LVM fails to remove snapshot volume

I am using rsnapshot on a Debian Wheezy server. This was recently upgraded from squeeze. Since the upgrade, I am getting the following error from the hourly cron job: remote rm -rf ...
1
vote
3answers
1k views

Getting debug output from a debian initramfs

I'm attempting to configure a server for a debian lenny on software raid0 and a LVM root filesystem via the serial console and the hosting company's recovery console (basically an ubuntu liveCD). ...
6
votes
4answers
23k views

Device /dev/sdb1 not found (or ignored by filtering)

I am trying to add a physical volume for use to add volume groups and thus LV inside them. Sadly I am getting the following error. [root@server ~]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ...
3
votes
2answers
4k views

XenServer 6.5 - Creating local iso storage/library failed - SR_BACKEND_FAILURE_222

I was trying to adapt instructions for XenServer 6.2 on how to create a local ISO library to a freshly installed XenServer 6.5 host. However the command ... xe sr-create name-label=LocalIso type=iso ...
1
vote
1answer
199 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
1answer
1k 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. ...
6
votes
2answers
1k 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 ...
18
votes
7answers
4k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
7
votes
3answers
1k 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 ...
1
vote
1answer
16 views

how to remove duplicate blkid entry

I created an lvm and proceeded with formatting the partition /dev/vg1/lvm1 with ext3. However, accidentally i format again the partition but this time i used the device /dev/mapper/vg1-lvm1. Both ...
0
votes
2answers
4k views

volume group not showing in /dev , /dev/mapper

We configure cluster with rhcs with storage partition.we created pv and vg. we can see pvdisplay and vgdisplay with all information about pv and vg which we created. But we can not see vg file on ...
1
vote
2answers
119 views

How check progress of lvconvert --replace

I'm replacing few disks configured with RAID5 at LVM. The command used to replace is lvconvert --replace /dev/oldpv vgname/lvname /dev/newpv It's start the process in background. The parameter -i ...
0
votes
1answer
1k views

Unable to automatically remove LVM data

I am trying to install ubuntu 12.04 via preceed config onto Dell PowerEdge R710. I had RedHat installed on the box then I tried installing ubuntu 12.04, then auto install popping with Unable to ...
0
votes
1answer
11 views

Can't find logical volume when booting imported disk images in Xen guest

I've got a couple of drives I copied over using ddrescue to image files for booting under Xen. They contain an LVM volume group with a couple of volumes in it, which was originally split across two ...
3
votes
1answer
3k views

clvmd problems during the RHEV cluster deployment

We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully: ...
1
vote
2answers
93 views

Accessing linux guest OS filesystem in qcow2 image

I'm attaching VM qcow2 image to get access to files which inside: modprobe nbd max_part=63 qemu-nbd -n -c /dev/nbd0 /var/lib/libvirt/images/vm-image.qcow2 scanning for volume groups vgscan: ...
0
votes
1answer
58 views

Can't delete LV (volume is used by another device)

We had a KVM machine running on a CentOS 6.7 server and have since deleted the VM. However, the logical volume that was assigned to the VM has remained on the system and I can't find a way to delete ...
8
votes
7answers
35k views

Can't remove open logical volume

When I try to remove a logical volume I get the message #lvremove /dev/my-volumes/volume-1 Can't remove open logical volume "volume-1" #lvchange -an -v /dev/my-volumes/volume-1 Using logical ...
17
votes
4answers
31k views

Is this how LVM snapshots work?

I'm trying to figure out how LVM snapshots work so I can implement it on my fileserver but I'm having difficulty finding anything on google that explains how it works, instead of how to use it for a ...
6
votes
7answers
5k views

lvremove claims LV to be open

frequently I notice that after a $ sudo lvcreate vg -L 10G immediately followed by a $ sudo lvremove vg/<created volume> I get the error message Can't remove open logical volume "..." ...
-2
votes
2answers
4k views

pvcreate: device /dev/sdXX not found (or ignored by filtering)

I'm unable to add a new volume (provisioned by a SAN storage) as a PhysicalVolume for the host's LVM volume. Here is the error message: #sudo pvcreate /dev/sdc1 -v Device /dev/sdc1 not found (or ...
-1
votes
1answer
67 views

VM filesystem in read-only mode

I have a VirtualBox Ubuntu VM with a virtual disk that is mounting as a read-only filesystem. I'm not sure why that is, and my attempts to remount as read/write haven't worked. One of the last things ...
2
votes
2answers
1k views

How do I remove a locked Logical Volume ([pvmove0]) left over after a disk error?

Following some disk errors while I was moving some extents, I now have a hidden locked [pvmove0] which doesn't seem to have any physical extents assigned, although it is 4Mb long! # lvs -a ...
0
votes
1answer
31 views

New Swap Drive - Linux Hangs during Boot

An application checked the swap space during install and required it to be the same amount as ram. So i added a new disk (Server is a VM) and done the following: swapoff /dev/mapper/ol-swap vgcreate ...
0
votes
1answer
18 views

Is it possible RAID/LVM Stripe that can lose a disk/data but volume itself stays available?

Firstly, I want to make it clear I don't care about data loss, and I understand the risks involved. What I'm looking for is guidance and if what I am hoping for is even possible. My Scenario: I ...
1
vote
0answers
78 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 ...
0
votes
2answers
22 views

Remove just added volume from LVM

We did the following: Added a volume (500G) to the volume group Extended the logical volume on the volume group We did not extend the filesystem on the logical volume. Then we decided, that it is ...
2
votes
2answers
35 views

What happens when you temporary lose a disk in LVM volume group?

The Dell MD storage allows a maximum of 64TB virtual disk. We have some imaging staff that require more than a 100TB of storage preferably in one location. I'll create 2 x 64TB vdisk on the same dell ...
0
votes
1answer
19 views

Shrink non-bootable LUKS LVM

I'm importing a VMWare OVA whose second disk uses LUKS and configured to use 1TB of space, although its VMDK is only 30GB. I want to shrink this down. I am following the instructions here ...
13
votes
6answers
18k views

How do I easily repair a single unreadable block on a Linux disk?

My Linux system has started throwing SMART errors in the syslog. I tracked it down and believe the problem is a single block on the disk. How do I go about easily getting the disk to reallocate that ...
0
votes
1answer
13 views

Is it possible to control which physical volume is used for a given logical volume in LVM?

If I have a volume group spanning multiple PVs, when I create a new LV, can I specify which PV it is stored on? What about for snapshots? I'm envisioning a scenario with a volume group made up of an ...
0
votes
0answers
56 views

How to recover XenServer vm's from a mdadm raid 1 HDD

I have an older server, namely, Fujitsu Siemens Primergy TX 150 S6 on witch i have installed XenServer 6.5.0-90233c. On it i have multiple virtual machines of different sizes of witch i need to ...
1
vote
0answers
31 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 ...
0
votes
1answer
186 views

Why is zfs/btrfs recommended for an lxd host?

Note that for maximum performance, it's recommended to have /var/lib/lxd on a btrfs filesystem or setup ZFS or LVM and configure LXD to use a ZFS pool or LVM VG. Source Why is that? I.e. ...
1
vote
1answer
1k views

KVM guest won't boot from hard disk image, but will from CD-ROM image [closed]

I'm using KVM to host a Debian unstable guest on a Debian unstable host. Emphasis on 'unstable' :-) Until recently (and until a recent round of Debian package updates on both host and guest) this was ...
1
vote
1answer
2k views

clvm, removing cluster volume group (FC)

After having a bit of a fiasco with clvmd, I would like to start from scratch, and really not use clvmd, since in my case its almost not needed. I can easily have 'lvscan' incorporated in higher ...
0
votes
0answers
18 views

lvcreate reports disk full, vgdisplay says space still exists

I'm attempting to create some new lvm partitions for a Xen VM. The drives are already set up - running sudo vgdisplay give me the following: --- Volume group --- VG Name n3850a-vg0 ...
3
votes
1answer
96 views

How to get filesystem information of a logical volume which is not mounted

In linux, I want to get file system type of an ummounted logical volume. Is there any way to do that
0
votes
2answers
29 views

Which version of kernel/lvm allows for lvreduce of mounted (live) logical disk?

I have seen an experimental linux box where lvreduce -rL -10G /dev/main/repository worked without unmounting (i.e. even on root,home dir etc), but it does not on my server install debian ...
0
votes
1answer
125 views

lvs output : Data% column

Following is a example of standard lvs output: LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert POOL VG twi-aotz-- 399.80g 28.12 14.75 ...
0
votes
1answer
34 views

same libvirt config, one machine boots, the other does not

I am migrating a bunch of vms from an old machine to a new one. The old one was using some in-house scripts and lvm logical volumes, the new one uses libvirt and plain files. The configs are rather ...