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
1 answer
35 views

Add caching for existing LVM

my AlmaLinux 9.3 server currently uses LVM. One VG is mapped to the system SSD drive, consists of two LV, root and swap. This is fine as it is. One VG consist of three hard-drives and is called Vault. ...
Rage's user avatar
  • 1
0 votes
0 answers
14 views

how to mark LVM raid1 PV as in-sync [duplicate]

I am recovering from bad sectors on both sides of my LVM raid setup. (It's the backup server, dammit). I have new disks and a new install. I could wipe the backup partition and suck 1TB of data ...
mcr's user avatar
  • 233
0 votes
0 answers
22 views

how to mark LVM raid1 PV as in-sync

I am recovering from bad sectors on both sides of my LVM raid setup. (It's the backup server, dammit). I have new disks and a new install. I could wipe the backup partition and suck 1TB of data ...
mcr's user avatar
  • 233
0 votes
1 answer
111 views

LVM volumes not present when linux start

We have a VMware cluster with 2 hypervisors, named as ESX6 and ESX7, the past Thursday we made a hypervisor fail drill. We shutdown ESX6, we unplugged the cable. All virtual machines starting to go ...
Javier Ros's user avatar
1 vote
0 answers
14 views

How to find the underlying device for a file on top of ext4 on top of LVM on top of multiple underlying storage devices?

I have a system with 3 SSD devices (/dev/sda, /dev/sdb, /dev/sdc) which contain a single LVM logical volume that span over all the devices. I have a single ext4 partition on the logical volume. I ...
Mikko Rantalainen's user avatar
1 vote
0 answers
55 views

Write out stale data from ext4 fs, once a disk has become available again

This is about an ext4 filesystem on a logical volume managed with LVM on a LUKS encryption on a hardware RAID. The operating system is a generic Ubuntu 22.04 LTS. The RAID unfortunately failed ...
Kai Petzke's user avatar
0 votes
1 answer
76 views

Extending LVM on virtualized ubuntu server

Ok, I hope I can explain this correctly. I am running ubuntu server on proxmox. Unbuntu is running my docker instance. My LVM i originally assigned it is full and I added more storage in proxmox ...
dreg35's user avatar
  • 1
1 vote
0 answers
35 views

LVM Expand RAID1 with Asymmetric Segments Across 3 Heterogeneous Disks

I have 3 disks: one 1TB drive (A1), one 2TB drive (A2), and one 3TB drive (B). Currently, A2 has data on it in one LV that is 1.6TB in size. A1, A2, and B are PVs, in a volume group MyVG. I desire a ...
byteit101's user avatar
  • 111
0 votes
1 answer
74 views

How to reclaim unused space from lvm volume group to create new physical partition

I would like to reclaim some space from my lvm2 volume group to create a new physical partition to install a second OS for dual boots. I am afraid I may have painted myself into a corner with the disk ...
storestyggeulv's user avatar
1 vote
0 answers
179 views

is it safe to use allow_mixed_block_sizes = 1 in LVM when using ext4 with 4k blocks on LVs?

i have Physical Volumes with different blocksizes: blockdev -v --getss --getpbsz --getbsz /dev/md1 get logical ...
brt's user avatar
  • 111
0 votes
1 answer
66 views

How do you make an encrypted swap partition setup persistent across boots?

I have a procedure which will manually create a plain dm-crypt swap volume, with a random key, which appears to work. This is a QEMU/Ubuntu 22.04 system. However, there's no swap after a reboot, so I'...
QF0's user avatar
  • 203
0 votes
0 answers
71 views

LUKS: encrypting swap without requiring a passphrase on boot?

I have a setup where I have a logical volume (data) that should be LUKS-encrypted. However, my feeling is that the rest of the filesystem shouldn't be encrypted, which gives some advantages: The data ...
QF0's user avatar
  • 203
0 votes
0 answers
250 views

"Can't read superblock" when trying to boot . Failed to mount /dev/mapper/xxxxxxx on real root

I finished setting up my new Arch system about a month ago. Since I had two nvme drives to use for the system I did some research on how I could use both of them to utilize the full capacity of both ...
VassilisA's user avatar
0 votes
0 answers
295 views

vgcreate fails with 'already exists in filesystem' error

I have an installation test environment, where occasionally an issue is observed causing volume group creation to fail. At the beginning of test, the disk contains four partitions. # parted -l Model: ...
m.divya.mohan's user avatar
0 votes
1 answer
49 views

Setup raid for a volume group consisting out of 2 nvme drives

I bought 4 x 4tb nvme volumes. I already tested them and they are doing fine. Operating system is Ubuntu-server 23.04. What i want to achieve is the following: 2 drives act as one. (I think that is a ...
Christopher von Blum's user avatar
0 votes
0 answers
28 views

An error occurs when executing the multipath -f command in the Controller when creating a openstack-cinder volume

An error occurs when executing the multipath -f command in the Controller when creating a cinder volume. ==============Infrastructure configuration================ [Openstack Controller01] <--------...
Aaron's user avatar
  • 1
0 votes
1 answer
35 views

apache redirects to local IP on virtual machine

I'm having a problem with my apache setup. I'm using a Proxmox server with multiple virtual machines and only one public IP. Apache runs on the Proxmox host and forwards the requests to the virtual ...
xtrose Media Studio's user avatar
0 votes
0 answers
93 views

"ceph-volume lvm new-db" does not seem to perform as should be

A database device seems to be added to the OSD (via ceph-volume lvm new-db), despite an error is thrown. Until now, it is unclear to me if the DB device was actually successfully added to the OSD or ...
gmaggi's user avatar
  • 1
0 votes
0 answers
139 views

RAID 6, SSD Cache, Journaling, mdadm, LVM, Filesystem Strategies for Data Resiliance

I'm replacing a NAS server thats been in loyal service for almost a decade now. It will be repurposed as my offsite backup, but now I'm setting up a new NAS from scratch for homelab and need some ...
brianclements's user avatar
0 votes
1 answer
46 views

ceph remove spurious data

I’d like to remove some “spurious" data: root@XX03:/# ceph df --- RAW STORAGE --- CLASS SIZE AVAIL USED RAW USED %RAW USED hdd 1.0 PiB 1.0 PiB 47 GiB 47 GiB 0 TOTAL ...
gmaggi's user avatar
  • 1
0 votes
1 answer
43 views

Curious? LVM on a brand new drive?

i wanted to replace a broken zfs-drive on my server and got a "sealed" drive from my storage for that usage, but when i first checked the drive it shows me that there is a LVM on it. My ...
Chris9834's user avatar
  • 181
1 vote
1 answer
95 views

Duplicate LV names after cloning a disk with clonezilla

I have cloned my bare metal installation of Debian Bookworm on LVM to Proxmox VE. The cloning was done via Clonezilla (remote), disk to disk. The Disks were the same size but I'm unaware if I selected ...
Powerriegel's user avatar
3 votes
1 answer
251 views

Proxmox: Good Idea to use LVM thin together with LVM-Caching

I want to migrate my bare metal Debian server into Proxmox. My existing server uses a 120GB SSD and a 8 TB HDD. The HDD is cached on SSD (20G), which improves (read) performance a lot. Here are all my ...
Powerriegel's user avatar
1 vote
1 answer
320 views

How to rescue an encrypted LUKS partition that was partially modified by a Windows tool?

On a system with dual boot, the Windows tool Dell SupportAssist started to modify partitions now I ended up with a broken Linux installation. The Linux installation is/was Ubuntu with an encrypted ...
alexanderadam's user avatar
1 vote
1 answer
473 views

How to Migrate Logical Volume Manager (LVM) Configuration to a New Drive

We have a Ubuntu 20.04 Server Edition installation that was borked upgrading to 22.04 and it doesn't boot. The root partition is on a old physical drive, installed on a disk partition (e.g. sda3). ...
fswings's user avatar
  • 256
1 vote
0 answers
261 views

Trying to set up RAID 1 array on existing AlmaLinux OS disk running LVM, get 'partition exists' warning

I am following instructions from here for setting up a RAID1 on an existing Linux installation. The instructions are for a Debian/Ubuntu installation, but I can't find any specifically for AlmaLinux, ...
jamminjames's user avatar
1 vote
0 answers
25 views

CentOS - lsblk showing added new space for mpath, but pvdisplay is showing previous space

Team, I am working in a production environment and stumbled into a case where, a 3TB space from Storage has already been mounted and used for particular volume group called "ipdata_vg". Now ...
esya's user avatar
  • 11
0 votes
0 answers
93 views

Storage configuration leads to Ubuntu Linux Server Boot failure - ( initramfs )

Ubuntu Server 22.04 installation is completed and successful but the OS doesn't boot! What does mean initramfs ? I've tried to install Ubuntu Server 22.04 on VM. Installation is completed and ...
Shahyar Ashrafik's user avatar
0 votes
2 answers
101 views

Can I copy the files in my original /opt directory after I mount a new LVM on the /opt?

I have new LVM on my Linux server and I want to mount on my /opt. I have files in the /opt directory and I know after I mount, the files will be hidden. Is it possible to rsync the files in the /opt ...
Lermyz's user avatar
  • 1
0 votes
1 answer
82 views

CentOS LVM Extension Trouble

We have a CentOS 8 server that has recently had a lvm fill up on available space. This was not our monitoring system since it watches the disk space and not the volume space. Regardless I am having ...
bShaver's user avatar
  • 39
0 votes
0 answers
248 views

RHEL9.2 complains about missing /lib/modules/5.14.0-284.25.1.el9_2.x86_64 when rebuilding initramfs

The kernel on one of our RHEL9.2 servers was recently upgraded to 6.2.8 in preparation for a software upgrade but due to complications, we've had to revert back to 5.14.0-284.25.1.el9_2.x86_64. I've ...
nathan.glades's user avatar
1 vote
3 answers
634 views

LVM: Creation difference between CentOS 7 and CentOS 6

I have CentOS 6 & 7 server and am creating 512 MB logical volumes: CentOS 7: sudo lvcreate -v -n lvname -L 512M rootvg && sudo mkfs.xfs -L "lvname" /dev/mapper/rootvg-lvnamee ...
JKC's user avatar
  • 31
0 votes
0 answers
118 views

Create Azure Red hat template with custom LVM partitions

I want to prepare Azure template for Red Hat 8 servers with packer and I'm facing problem with setting custom LVM partitions. For example, I want separate /var/tmp, /var/log etc. I deployed some VMs ...
matix324's user avatar
2 votes
3 answers
639 views

Can one VG (Volume Group) contain different types of PVs (Physical Volumes)?

The background is we have our database data directory on an LV which is located on a VG. We want to use the LVM's snapshot function to backup our database data, but this VG has no free PEs left. We ...
Ke Lu's user avatar
  • 21
1 vote
1 answer
331 views

pvmove: "Insufficient free space" when trying to move mirrored LV

Originally I had two PVs /dev/nvme0n1p2 and /dev/nvme1n1p1 containing various mirrored LVs. I recently added two new larger capacity PVs /dev/nvme2n1p1 and /dev/nvme3n1p1, and expanded a LV (home/...
小太郎's user avatar
  • 347
2 votes
1 answer
116 views

File access on SSD array suddenly slowed down; TRIM appears to be unavailable. How to enable, or what else could it be?

We have a system that's used for a GIS database (with Postgres as the underlying engine) which is using a software RAID 5 array of 4x2TB Samsung EVO870 SATA SSDs as its database drive. There is a ...
tsc_chazz's user avatar
  • 1,658
0 votes
0 answers
189 views

mount LVM2 dump or extract files

I have a dump of a filesystem. I dont know how it was created. I want to extract all the files and the filestructure. file dump.bin says it is a LVM2 PV (Linux Logical Volume Manager) file and prints ...
Vincent's user avatar
1 vote
1 answer
39 views

Storing each file on separate physical drives for a single file volume

I am working with a bunch of really large files (>100 GB). As we often process multiple large files in parallel (e.g. 10-12), we think that it might be advantageous to have each file be stored on ...
KT8's user avatar
  • 13
0 votes
0 answers
120 views

Best Option for Compatibility of "Linux Journaling File System" and "Volume Manager" with Microsoft Azure VMs

I'm in the process of setting up a Ubuntu Desktop VM on a bare metal server using VMware vSphere. Once the development process is complete, I plan to transfer the VM to Microsoft Azure VM ...
user20766's user avatar
0 votes
0 answers
414 views

LVM Thin pool performance with NVMe

I have 24 Samsung PM1733 7.68 TB and a server platform Gigabyte R282-Z94 with 2x 7702 64cores AMD EPYC. OS: Oracle Linux 8.6, 5.4.17-2136.311.6.el8uek.x86_64 I need this server for testing so I have ...
shallrise's user avatar
0 votes
0 answers
251 views

Broken disks on LVM system

Hi I have searched all around to find this case. I have a PC WITH 3 disk a main disk with os completly destroyed an another couple of disk with LVM on it If I mount it under linux I can do: sudo ...
user1594895's user avatar
0 votes
0 answers
726 views

XCP-ng Local Storage SR on LVM is unplugged and errors when being re-attached

I have an XCP-ng cluster running XCP-ng 8.2.1 and following a patch and reboot the local storage SR is showing as unplugged. This is an XCP create LVM on a RAID drive, the same RAID drives contain the ...
Dave's user avatar
  • 355
0 votes
0 answers
226 views

LVM mirror with failed disk can't be repaired

I'm trying to help someone resurrect a RAID1 mirrored LVM logical volume on an old server running Fedora 20 (lvm2-2.0.2.106, linux 3.19.8-100). One of the disks in the mirror is dead. The disk ...
Bryan Wright's user avatar
0 votes
1 answer
44 views

Cloudmin backup size

we are using Cloudmin under CentOS 7.9. to manage Xen virtual machines that use LVM. It's all backed up once a week (via Cloudmin's built-in backup system, which I think just uses dd). Last week I ...
Dmitry's user avatar
  • 33
1 vote
1 answer
146 views

Differences between sfdisk and fdisk on LVM disk extend

In order to semi-automate LVM partitions extend on Debian 11 VMs clones from a template, I feel a bit stuck when I try to script it through sfdisk compared to interactive fdisk. Here's the original ...
motorbass's user avatar
  • 353
0 votes
0 answers
268 views

LVM disk is corrupt - is any data recoverable?

Under RHEL7 we have a logical volume consisting of 27 volume groups PVs. Each of these VGsPVs was added sequentially as we ran out of space on the LV. We do not have a backup of the data. There are ...
tmark's user avatar
  • 141
0 votes
0 answers
677 views

Linux LVM - create a mirror, break it, take one of the pieces to a different system, use it there

Using LVM, I would like to create a mirror of a LV, sync it, break it off, attach the mirror-piece to a different system, use it there. Start with a ordinary linear LV. Here is the procedure I have: #...
Steve's user avatar
  • 1
1 vote
2 answers
2k views

how to delete a xfs file system from logical volume (lvm2), to achieve the goal being this logical volume without any file system?

I have LVM RedHat 8 intall and there's one Volume Group there. Fri May 19 [michal@Ora2 ~]$ sudo vgdisplay --- Volume group --- VG Name ol System ID Format lvm2 ...
michal roesler's user avatar
3 votes
1 answer
126 views

Pooled storage with varying redundancy per file system

I have some files that I want stored mirrored. I have some files that I only need single copies (i.e. scratch data, easily regenerated data, etc). And I have some files that are so critical, I want it ...
David Pfeffer's user avatar
1 vote
1 answer
1k views

umount of logical volume failing during shutdown

In my system, multiple logical volumes are created, mounted and /etc/fstab entries are added after systemd starts up. When system is rebooted for the first time, during shutdown many umount failures ...
m.divya.mohan's user avatar

1
2 3 4 5
31