Questions tagged [lvm]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
89 views

Cannot activate Logical Volume which was managed by Pacemaker

I have two CentOS 7 servers that clustered with Corosync and Pacemaker to work in Active/Passive way. The whole idea was to move the mount point in case of a problem emerges in the active node. My ...
1
vote
1answer
38 views

Difficulties on remove an LV. [device busy]

i'm facing difficulties removing a logical volume from my server on SLES11SP3. Checked online for help, tried many things with no success, thus i ask the experts. # lvscan ├─vg-lv_a (dm-22) 253:22 ...
0
votes
2answers
23 views

Grow raid5 lvm by adding extra disks

I have 3 drives that I want in raid5 to get the most space utilization while still allowing a disk failure. But I want to be able to expand the array later when I have more disks (likely up to 7 ...
0
votes
1answer
2k 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. My ...
10
votes
2answers
3k views

Can I get LVM to check if my mirrors are consistent?

I'm using LVM mirroring. Following some disk issues I'm concerned about the consistency of the data in my mirrors. Is there anyway I can get LVM to physically compare the data in each mirror?
17
votes
4answers
130k views

How to display used devices/free space when using LVM?

I have following situation: =$ LC_ALL=C df -hP | column -t Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-rootlv 19G 854M 17G 5% / /dev/mapper/vg0-homelv 19G ...
0
votes
0answers
51 views

How to take image backups of the partition the backup program is running on

I am trying to take image backups for my system. I am running on a VPS from a hosting website. I wanted to try to make backups using an image software like clonezilla but that didn't work as I wasn't ...
0
votes
0answers
37 views

LVM IO Errors Xen Guest (Buster)

I have been running diagnostics on all of my disks, and am down to 2 new seagate 4TB drives, and a Samsung EVO 850 SSD. These all report no errors when running a thorough diagnostic in the Dell Setup ...
3
votes
2answers
4k 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
15k views

How to unmount logical volume with active mountpoints?

I have logical volume mounted on /opt which i want to unmount but cannot. I suspect this is due to other, 'underlying' logical volume mounted on /opt/mongo There are a lot of opened files on /opt/...
0
votes
1answer
51 views

How do I resolve this LVM issue in Ubuntu on a USB External Drive?

I'll try to be brief and succinct. I recently wiped my Ubuntu server and re-installed 20.04 on an older Proliant DL360. This system had two seagate external USB drives attached to it which store a ...
0
votes
2answers
3k views

System does not boot from root LVM RAID1 partition when any of the underlying PV is missing

I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition ...
2
votes
1answer
8k views

Linux LVM: move free space from a volume group to another

I've just read "How can you re-allocate space from one Volume Group to another Volume Group in Linux?" How can you re-allocate space from one Volume Group to another Volume Group in Linux? But I'm ...
1
vote
2answers
11k views

CentOS7 Dracut lvm command not found

I updated CentOS7 kernel because of Meltdown issue from 3.10.0-693.11.1 to 3.10.0-693.11.6, but after that update, I cannot boot as centos drop to the dracut with error warning /dev/mapper/centos-...
0
votes
0answers
40 views

Failed hard-drive in LVM mirrored volume can't be pvmove'd

I have a volume group data containing one logical volume data, composed of currently 10 drives (total 13TB), of which one physical volume is failed (/dev/sdi, 1TB) and one is its replacement drive (/...
50
votes
3answers
65k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
5
votes
3answers
7k views

Very high memory usage, but not claimed by any process?

While stress-testing LVM on one of our Debian servers, I came across this issue where memory would fill up a lot to the point where it would run the server out of memory, but no process would claim ...
8
votes
2answers
2k 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 ...
3
votes
1answer
5k 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: ...
0
votes
1answer
74 views

parted + usage help not described the resizepart

we need to use parted command as example on rhel server 7.2 version parted -s /dev/sda resizepart 2 but from parted help we not find the option resizepart example: parted -s /dev/sda resizepart 2 ...
0
votes
1answer
1k views

Cannot get kernel to ask for LUKS password at boot after migrating the system from LVM to LVM on LUKS

I am running Linux Mint 18.3 on desktop system. I have migrated my workstation to LVM over LUKS, from plain LVM. The system does not boot and does not ask for LUKS password at boot. I can boot the ...
1
vote
0answers
14 views

LVM: how to strip Logical volume without impacting existing data?

I have an LV lv1 backed up by a VG vg1 using 2 PV pv1 and pv2. From lvs I understand that the layout of the LV is linear: # lvs -o+lv_layout,stripes LV VG Attr LSize Pool ...
0
votes
0answers
27 views

How to add space to /home in LVM when HDD is detected and hard disks are in the same location

I have a website having around 25TB disk space in /home partition. Tonight I figured out I'm running out of space, so I checked my hard disks (they are in raid 0 array) and found I had a file around ...
0
votes
1answer
1k views

Easiest way to change directory into its own logical volume in LVM2

I have a dir called /mydir on logical volume /dev/vg1/lv_root ( / ) var is on its own logical volume, so is opt and /usr.. If I have free space in the volume group, what is the easiest way to change /...
0
votes
0answers
72 views

From mdadm raid to LVM (raid or mirror) decisions and how to monitor

We are migrating some server from linux raids (0 and 1) to LVM with stripe or mirrors. At the moment our systems are mainly configured something like | /tmp - /home - /others |------------------------...
1
vote
1answer
51 views

How I can create LVM VDO volume on top of LVM RAID?

Im using LVM to setup my lower level storage with raid5 via lvcreate --type raid5 --size 2T -I 256K -i 3 -n my_lv my_vg Now I want to setup VDO on the top of this using LVM too. Im aware of this man ...
0
votes
1answer
48 views

rhel + parted failed after increasing OS VM disk and rescan

we have VM rhel machine version 7.6 example from lsblk lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 300G 0 disk ...
1
vote
2answers
1k views

How do you run lvm's thin_dump or thin_check? metadata can't be live, but then what option do you use?

I want to run thin_dump, and thin_check. They say they cannot be ran on live metadata. That's fine by me. The problem is I don't know how to make the metadata not live, while still being able to ...
0
votes
1answer
454 views

Extend LVM when all 4 primary partitions have been taken

I've been asked to increase the disk size of an LVM managed CentOS (virtual) server. The current partition table is as follows: Disk /dev/vda: 429.5 GB, 429496729600 bytes, 838860800 sectors Units = ...
1
vote
1answer
2k views

Moving a LVM Partition from Proxmox to VMWare, lvdisplay mapped size changed, why?

This question is "kinda" about Proxmox VM’s but probably more to do with LVM’s I’ll explain. I created a VM on a Promox server with a partition of 20Gb on the local-lvm When I do a lvdisplay I do ...
0
votes
1answer
164 views

Reize LVM volume with ansible

Short version: how do you resize/extend a logical volume with ansible? It includes built-in support for managing both physical volumes and volume groups and logical volumes. Based on the following ...
0
votes
1answer
52 views

How to increase the free space in a Volume Group in LVM after expend VM disk size

We want to increase the space in a Volume Group in our VM centOS server For example from pvs we see pvs PV VG Fmt Attr PSize PFree /dev/sda2 VLwol lvm2 a-- <100.00g <5.09g ...
1
vote
2answers
2k views

How to automatically increase the partition size of multiple Ubuntu nodes in VMware vSphere?

We have dozens of Ubuntu nodes where I have to resize the hard disk drive to different sizes. Currently I’m doing all of the following steps manually: Increase the size of each node’s virtual hard ...
2
votes
1answer
3k views

LVM: One or more devices used as PVs in VG have changed sizes

I recently installed LVM on Ubuntu 18.04 running on a physical workstation, and then I created my first LV. After first reboot I found a problem, as I cannot activate it anymore. I noticed this error:...
1
vote
1answer
2k views

Missing LV in VG in LVM partition on Ubuntu

After a power failure, Ubuntu 10.04 Server hard drive is no longer bootable. I tried using boot-repair but it couldn't locate an operating system. I ran gdisk to verify where the lvm partition was ...
1
vote
1answer
4k views

How to delete thin volumes from an overcomitted LVM thin pool

So i have a LVM thin pool (used for glusterfs with snapshots) that got overcommitted and now has metadata read-only (M attribute). There are a few snapshot lvs left on the pool (gluster created those ...
1
vote
0answers
8 views

Ovirt Host not healthy after upgrade from 4.4.0 to 4.4.2 using yum

After I upgraded one of my Ovirt hosts from 4.4.0 to 4.4.2 using yum become a faulty host for the cluster. I tried to uninstall the upgrade but that didn't help. After checking the status of the Host ...
0
votes
1answer
192 views

Is my KVM VM thin provisioned?

I was reading another post here Use Thin LVM Volume for KVM VM trying to understand whether or not KVM is capable of creating thin provisioned VMs. The post from about 8 months ago has both the OP ...
23
votes
6answers
28k views

Does LVM need a partition table?

It appears that I am able to successfully do a pvcreate on top of a raw block device, without ever taking the step of creating a partition table. I am then able to create a volume group, logical ...
6
votes
3answers
38k views

Insufficient free space: X extents needed, but only Y available

I'm trying to extend a LVM in a Vmware Workstation 12 Pro CentOS VM. Below are the steps I am following and where I stopped because don't know how to folow from there: Create the primary partition ...
5
votes
2answers
427 views

Estimating the time needed for a resize2fs shrink

I have a large ext4 filesystem which I'm currently shrinking (109Tb -> 83Tb in my case), and it's taking an extremely long time (Day 5 as of asking). Currently I can see that the process is still ...
22
votes
2answers
3k views

Is it safe to mount the same partition to multiple VMs?

I'm using ubuntu 20.04 with Xen Hypervisor. On my machine I have an SSD that hosts my VM images, and then four sata drives which I have data on. My current set up is to mount the data on my domain0 ...
0
votes
2answers
56 views

Disk usage in LVM: Which directories contains most data?

We have following volumes: $ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 0 ...
0
votes
0answers
18 views

LVM can't activate lv, sub lv-s active

I have a logical volume but I can't activate it but it looks the sub lvs (I don't know what is the term for them) are active. lvs -a: LV VG Attr LSize Pool Origin ...
0
votes
0answers
92 views

LVM: “manual repair required” - how to troubleshoot?

After an unclean shutdown one of my two volume groups didn't come up as usual. I don't understand what is wrong and how to fix it. boot logs Oct 28 19:25:21 hp1 lvm[1893]: Check of pool vmdata/...
2
votes
2answers
16k views

Resize partition to maximum using parted in non-interactive mode

Since using fdisk in this case is fairly complicated due to the fact that the non-interactive usage is probably not possible or at leasr very complicated (using printf), i want to use parted ...
1
vote
1answer
2k views

/usr/sbin/thin_check: execvp failed: No such file or directory

Running CentOS 6.5, a brand new "minimal" server install, trying to use LVM2 thin pool feature. Packages installed are: lvm2 (2.02.111) device-mapper-persistent-data-0.3.2-1.el6.x86_64 /etc/lvm/lvm....
1
vote
0answers
51 views

Dead Citrix XenServer with LVM: How to get the VHDs off the system?

My company recently delegated the task of recovering a fairly old (~2015) Citrix Xenserver to me. The machine had a major electrical fault which caused a hard drive failure and a collapse of the RAID. ...
1
vote
1answer
1k views

How to change the PVID of a device and still be able to import the Volume Group in AIX?

I have 3 disks that are copies of other disks so they have the same PVID's. I would like to change the PVID of those disks and import the volume group but as I understand the VGDA information on the ...
0
votes
0answers
20 views

How to prevent LiveCD from automatically starting md, luks, lvm and bcache

Is there any way to build a Debian based LiveCD that will have everything to create and mount md-raid, luks, lvm and bcache (without need to apt install after live boot) but will never automatically ...

1
2 3 4 5
28