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
0
votes
2answers
28 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 ...
1
vote
1answer
39 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
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 ...
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
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 (/...
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
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 |------------------------...
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 ...
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 ...
0
votes
1answer
167 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
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
193 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 ...
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
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
95 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/...
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. ...
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 ...
0
votes
0answers
51 views

LVM - Insufficient suitable contiguous allocatable extents for logical volume

I’m aware that the issue has been arisen before, but with different use cases, like extending issues or striped logical volumes Insufficient suitable allocatable extents when extending lvm But, for my ...
0
votes
0answers
34 views

LVM Logical Volumes will not activate on Cloudlinux 7.8

Recently, after a reboot, the system landed in Emergency Mode. The cause appears to be that the system is failing to mount a few of the disks as defined in /etc/fstab. These disks are Logical Volumes. ...
0
votes
1answer
59 views

promox is blocked from fully booting by ifupdown2 start job

i have a promox server with ifupdown2 installed. recently when trying to reboot the entire server promox failed to get to console, it gets stuck on replication runner failing and the ifupdown2 service ...
1
vote
1answer
134 views

Arch Linux - KVM - Sharing SSD and HDD between Arch and it's VMs

I'm relatively new to linux and I'm trying to build an Arch linux that will have a gaming VM. I have 2 disks: a 500GB SSD and a 2TB HDD. I've settled on a LVM with a swapfile and extra space for ...
0
votes
0answers
23 views

Extend LVM partition

I need to extend existing LVM mounted to /opt. I've created new volume sdb2 and mounted it to /opt, but disk space in df -h output still the same. What esle should I do? lsblk output: └─sda3 ...
0
votes
0answers
59 views

DD of LVM Partition to another disk drive not working - no space left on device

I have a vmdk attached to my Linux VM instance (/dev/sda). The disk has 2 partitions, as shown below: Disk /dev/sda: 17.2 GB, 17179869184 bytes, 33554432 sectors Units = sectors of 1 * 512 = 512 ...
0
votes
0answers
43 views

Missing creation time for LVM logical volume

One of our storage has an lvm volume group on which multiple logical volumes are not set the creating host name and time (LV Creation host, time attribute). These were created quite a long time ago, ...
0
votes
2answers
88 views

Monitor Linux Server filesystem health and suspicious activities

I run my own, small server here. The server runs on Ubuntu 18.04. There is one single HDD using LVM on a partition together with EXT4. LVM is used for taking snapshots. I also use Webmin with ...
0
votes
1answer
34 views

How can I extend lvm on centos with default partitioning?

I have a centos 7 OS on VM with default partitioning like this: enter image description here NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1T 0 disk sda1 ...
1
vote
1answer
92 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 ...
0
votes
0answers
57 views

Possible solutions for Linux mdadm “raid5” over devices with different sizes?

I have server with 5 disks of 4TB, 2 with 8TB, and 1 10TB. I'd like to bundle them all together into Raid5/Raid6. As far as I understand one cannot do it nicely with disks of varying sizes. But I ...
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 ...
1
vote
0answers
54 views

Running Windows in QEMU with LVM causes very slow disk acess

I have the problem, that whenever I try to run Windows within QEMU, it seems that disk access is becomming very slow after a short while. Surprisingly both access to the disk from within the VM as ...
1
vote
1answer
1k views

How can I access a LVMs in a partition using a LiveCD?

I have a server running Centos 6 in a data centre that suffered a kernal panic which then prevented the OS from booting (according to the support staff in the DC). The DC support staff also suggested ...
0
votes
0answers
45 views

LVM: Stripe All Mirror Everything setup on home server

Idea: I currently have this home server, serving as SMB fileserver and providing a couple of network services. It contains one 2TB and two 3TB drives, simple mounted volumes. While it mostly stores ...
0
votes
0answers
66 views

Ubuntu Kickstart - LVM Partitioning using two HDD's not working and fdisk -l output makes no sense on successful single disk deploy

I have read so many kickstart configs and pressed recipes that my head is spinning, and I just need some help or clarification regarding this. Before I go too much into the config, the gist is that I ...
2
votes
1answer
55 views

Disable write intent bitmap on LVM RAID1

I want to use LVM on raw devices to be able to dynamically create RAID0 and RAID1 volumes depending on my current needs. I've recently learned that the write intent bitmap feature of mdadm reduces ...
0
votes
0answers
19 views

pvcreate behaviour changes in Ubuntu 18.04?

Context: I am running Ubuntu based workloads in AWS which use multiple EBS volumes attached as an LVM virtual disk. The system was originally written on Ubuntu 16.04, and since upgrading to Ubuntu 18....
0
votes
0answers
13 views

Steps for extending CentOS Linux VMHDD on the fly without data loss?

Can anyone here please share the steps to extend the CentOS v8 Linux VM after I extended it to 60 GB. [root@PRDLINUX01-VM ~]# df -kh Filesystem Size Used Avail Use% Mounted on ...
0
votes
0answers
48 views

Steps to extend CentOS v8 VM disk space on the fly without data loss?

I need some steps I can follow from the Putty session so I can extend the CentOS v8 VM without losing its data? I have already extended the disk space in the VMDK into 60 GB from its initial 40 GB. [...
0
votes
1answer
40 views

Best way to mirror a large drive onto two smaller ones

I have an 8.0 TB Drive which will soon start filling up with videos I have two spare 4.0 TB Drives The system is running Linux Mint 19 Tara and is my desktop system (Yes it's a big system able to ...
1
vote
0answers
53 views

Prevent LVM from activating all LVs upon connecting SAN storage?

We have a cluster of Proxmox VE servers with shared SAN storage. The storage server provides a big LUN through iSCSI. We use iscsiadm on the PVE hosts to load the storage. Per our workload, we setup ...
3
votes
1answer
54 views

Replace failing LVM disk with root

This was my first setup so it's a bit messy. Extremely small root volume (3.9GB) which I'd like to increase but the problem right now is that the disk is failing and I need to replace it. root@...
0
votes
0answers
87 views

terraform - shall one use simple disk or linux LVM?

Is there any drawback of using LVM disks in terraform managed virtual machines? Currently I come to the project where all disks are simple linux disks, but terraform is unable to resize them up ...
0
votes
0answers
54 views

How to reduce size of LVM partition and create another partition?

I have a standard parition and lvm partition on my disk /dev/sda [root@server1 ~]# fdisk -l Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors Units: sectors of 1 * 512 = 512 bytes Sector size ...
0
votes
0answers
58 views

Extend mirrored LV onto one PV

Legend: Crummy homemade LVM Legend Mixed: Mixed LV I need to add space to an existing 1TB mirrored LV (2 1TB disks) with a new 2TB disk yielding 1+2=3TB. How do I do this? I can't move my data to ...
3
votes
1answer
156 views

Confirming parameters for XFS filesystem and LVM volume striping over 2 ADAPT (RAID6-like) volumes

We are setting up an ADAPT0 (RAID-60-like) configuration for a file server. We have six disk pools. Each consists of 14 disks and is set up using ADAPT. According to Dell's official white paper, ADAPT ...
0
votes
0answers
17 views

Folder in Ubuntu Became a File and the other Show Question Mark in Owner/Group

I encountered a very weird issue, appreciate if someone could help. One of my folder stored in a LVM2 XFS filesystem (mdadm RAID6), silently became a file and a folder showing question mark on both ...
2
votes
1answer
160 views

Why does active-active configuration degrade performance compared to failover?

We are setting up the new storage for an HPC compute cluster that we are managing for applied statistics, bioinformatics, and genomics. Configuration We have the main enclosure with a Dell EMC ME4084 (...

1
2 3 4 5
28