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)

1
vote
1answer
15 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
25 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 ...
1
vote
1answer
15 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 ...
2
votes
1answer
54 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 ...
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 ...
1
vote
2answers
84 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
54 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 ...
-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 ...
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 ...
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
34 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 ...
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
54 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
169 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. ...
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
27 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 ...
1
vote
0answers
72 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
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 ...
0
votes
1answer
16 views

VMWare Ubuntu 14.04 not reading ram

I have a vm running Ubuntu 14.04 LTS. Everything was working fine. I allocated some more ram to it but VSphere is now saying it doesnt have any of that ram now. Vmware says the ram is unaccessed per ...
1
vote
3answers
56 views

LVM and RAID setup

I am relatively new to LVM and RAID. I have a Server (HP ProLiant) with a Hardware Raid (RocketRaid 2710). Given two HHDs (500 GB) I wanted to setup RAID 1 (Mirroring). When installing Ubuntu I made ...
0
votes
0answers
58 views

Hardware raid, LVM and KVM cache policy

I have a question about right cache policy for KVM using LVM and hardware raid-controller. So from the bottom: 1. We have LSI RAID controller 9260, 512Mb cache and BBU. Later we also will have ...
1
vote
0answers
24 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 ...
2
votes
1answer
53 views

unmounted logical volume is “busy”?

I'm trying to shrink an ext4 filesystem on a CentOS 6 server. I did a lazy unmount of the filesystem while I waited for some processes to finish running. They've all finished running but I can't ...
0
votes
2answers
27 views

Can LVM VG Contain PVs With Different Filesystem Types

Assuming of course, that both filesystems support LVM functionality. I originally thought yes, since this is an abstraction layer, but when googled couldn't find a direct confirmation.
0
votes
0answers
15 views

LVM - VG not recognised - how to fix?

I have a (CentOS) server running a KVM and a number of (Ubuntu) VM's. Each VM servers disk is mapped to its own LV on the CentOS server. I discovered today that one of the VM's is failing to reboot ...
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 ...
5
votes
1answer
207 views

How to extend LVM PV to the beginning of disk?

I have server with 2TB disk, that someone initially partitioned like this: 300GB standard primary partition for operating system files(CentOS 7). 1.7TB LVM with some pretty big logical volumes - for ...
0
votes
1answer
18 views

Reverting LVM to separate partitions

I have an VMWare Virtual Machine (Ubuntu Server 11.04) that's using three VMDKs, then all of them are parte of an LVM. The problem I'm facing is at the creation time every one of those VMDKs were ...
0
votes
0answers
23 views

LVM File Systems created with multipathed ISCSI storage LUNs are automatically going to Read-Only mode

I am using my RHEL 5 server with SAN LUNs to take the backup of my domain mails of all the users. For the redundancy, I configured multipathing for those LUNs. For scalability, I used those ...
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
30 views

Bit copied a disk image using the dd command to a new and bigger disk. How do expand whole LVM? [duplicate]

I just copied a 50 GB disk image using dd for bit copying to a new harddisk with 200 GB storage. On the disk is LVM including the system partition EXT4 and a swap partition (both LVs). Well the copy ...
1
vote
1answer
50 views

Use Lvm snapshot for a new (KVM) virtual machine

I need to migrate one CentOS5 (32bit) physical server to in a virtual machine. My idea is to take a snapshot of the LV and then import in kvm creating a new vm. Is this a good idea? More precisely, I ...
0
votes
1answer
142 views

Are bcache and/or dm-cache considered stable for production in 2016?

I would like to use linux SSD caching (dm-cache or bcache) with Debian Jessie production servers. (kernel 3.16) My question: Are dm-cache and bcache modules reliables in linux 3.16 ? Do I need to ...
-3
votes
1answer
29 views

LVM partition not available after creating partition while mounting

This is what I needed, 1. Add new disk 2. Create New pv, vg and lv as per below plan Plan /dev/mapper/PJR_sapvg1-USR_SAP_PJR /usr/sap/PJR/sapmnt/GJR 20Gb /dev/mapper/PJR_sapvg1-SAPMNT_PJR ...
0
votes
0answers
49 views

Encrypted LVM stops when mounting swap

I have configured a disk with LUKS this way (Ubuntu server 15.10): Boot partition Rest partition (LVM group) LVM data -> Encrypted (pass) -> ext4 /data LVM root -> Encrypted (pass) -> ext4 / LVM ...
1
vote
2answers
109 views

How to resize an LVM if default block size is changed to 1K from 4K

I am working over RHEL 5.4 and using LVMs over the storage LUNs for storing my files. Each LVM infact reaches the size up to 16TB on ext3 even. And my server is in production. Just for introduction of ...
0
votes
0answers
17 views

RHEL 5 LVM: “dmsetup info” showing “Tables Present” as None

We have running a huge Live Setup on RHEL 5 and Storage LUNs configured on LVMs. Until recently the server is running fine but we have triggered a reboot over the machine for some maintenance purpose ...
0
votes
1answer
42 views

How to use lvconvert with two disks for mirroring? - Insufficient suitable allocatable extents

On a RHEL 5 I have to create an LVM mirror from multipath disks. There are enough free extents, but - on two disks, because the VG was made out of 4 disks. [root@SERVER ~]# pvs -v --segments | head ...
0
votes
1answer
58 views

Copy centos 6 modify mdadm raid 1 and clone to new mdadm raid 1 ssd

I have: Centos 6.7 grub-install -v grub-install (GNU GRUB 0.97) lsblk two new SSD 128gb Live usb with Parted_Magic_2015.03.06 /boot/grub/device.map # this device map was generated by ...
3
votes
2answers
166 views

LVM Raid 1 + SSD Caching

I have three disks: /dev/sda slow hdd /dev/sdb slow hdd /dev/sdc fast ssd /dev/vg0 volume group consisting /dev/sd{a,b,c} Each logical volume (lv) should be raid1 mirrored and ssd cached. With ...
-1
votes
2answers
57 views

Scan only new files whit clamav [duplicate]

I have a cron script witch makes snapshots every day and scan the whole partition whit clamav. But if possible it would bee a better idea to scan only the modified files i think. The snapshot is ...
-2
votes
1answer
30 views

External Drives on RAID/LVM configuration

I had 2 drives corrupted and now replaced with new ones sitting on RAID 0. After installing the new drives I have attached the 2 old corrupted drives via usb to retrieve data from them. These 2 drives ...
0
votes
1answer
111 views

low write disk speed of windows kvm guest with LVM

I have a trouble with my windows 2008 R2 KVM guest. It write speed to disk extremely slow: But on another VM (windows 10) on this KVM host write speed is ok: # cat /etc/system-release CentOS Linux ...
0
votes
1answer
81 views

Server fails to boot with lvm error : ¨Invalid argument for --available: ay Error during parsing of command line.¨

We have problems with our storage server, it was not updated for a while so we tried to updated it, tho during the update process (it needed some 2k package updates) it totally blacked out. (no screen ...
0
votes
0answers
40 views

setting nr_requests for build server - LVM partition

I have a build server with a free ram of about 120 GB after boot. I also have 3 disks in total, which I am using as one LVM with 3 stripes. I would like to increase nr_requests for the block device. ...
0
votes
1answer
40 views

LVM2: Can I change the LV size (not COW-table size) of a snapshot?

I'm curious if it is possible to create a snapshot of (e.g.) 10G volume, and then resize the snapshot to be 20G, along with the file-system within? Using lvresize or lvextend only alters the ...
0
votes
1answer
42 views

LVM thin snapshot unavailable

To test out thinly provisioned snapshots before applying them to a production system for backup purpose, I did the following: lvcreate -L1G -T storage/thinpool lvcreate -V10M -T storage/thinpool -n ...