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
0answers
12 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 ...
0
votes
0answers
24 views

Am I wasting half my disk space by not mounting a volume?

I inherited a Debian server from the previous sysadmin who left, without much documentation. I'm not a sysadmin, but I guess for now I'll have to be, and I'm trying to understand what disks and ...
1
vote
1answer
21 views

Dir size increases after rsyncing to a different machine with same configuration

Have a MySQL (percona, 14.14 Distrib 5.6.28-76.1) machine with a 1TB SSD hosting around 712Gb of mysql data. MySQL has 4 databases, with, say database1, taking major space, 656Gb. Lets call this ...
-1
votes
0answers
24 views

Blank LVM partition after recovery. Where is the data?

colleagues! A few days ago, the logical volume has been removed from one machine. Today, it turned out that there were still important data. No problems, everyone knows vgcfgrestore. Found in the ...
0
votes
1answer
29 views

home logical volume is not available after reboot

On a server with RHEL 7.2 it gets to emergency mode when rebooting. Looking a bit I found out that what happens is that the /home partition was missing and the reason was LVM: --- Logical volume ...
0
votes
0answers
10 views

centos 7 /etc/lvm/archive flooded

not sure how to track down this but /etc/lvm/archive is seeing multiple entries created per minute. there is no cron job set up to do such archiving. also other similar servers do not have this issue ...
0
votes
1answer
33 views

LVM file locking error after moving extents to new physical volume

On a CentOS 6.7 system, I started getting SMART errors on a disk that was part of a volume group under LVM. So I used the recommended procedure: add a new disk to the system, create a new physical ...
0
votes
0answers
11 views

DD + LVM Snapshot + Space shortage

Here is the scenario : I have a production system that can't be shutdown for very long, it has the following root filesystem LVM: [root@an2 ~]# df -h Filesystem Size Used ...
3
votes
2answers
271 views

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD ...
0
votes
1answer
29 views

Moving disk space from /home to / on RHEL7.2 with xfs file system

I've setup RHEL7 with default partitioning, and they partitioned it as following: /dev/mapper/rhel-home 100GB /home /dev/mapper/rhel-root 50GB / Both are on xfs filesystem. How can i shift most of ...
0
votes
0answers
19 views

LVM difference between LV size and Cow-table size?

I created a snapshot: lvcreate -n Snapshot -L 512M -pr -s /dev/fedora_2016/home now with lvdisplay it says that LV size is 2GB and Cow-table size is 512MB. 1.What is the difference between LV size ...
1
vote
1answer
33 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
35 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
27 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
137 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
15 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
127 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
142 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
84 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
19 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
36 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
20 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
18 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
64 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
36 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
237 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
21 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
100 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
36 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
100 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
35 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
19 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
73 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
70 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
75 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
29 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
17 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
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 ...
5
votes
1answer
218 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
27 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
34 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
31 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
52 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
180 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
31 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
50 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
156 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 ...