As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [lvm]

Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.

Filter by
Sorted by
Tagged with
2 votes
0 answers
78 views

How to update LV UUID, Devices file not found

A recent BIOS update has jumbled things in my LVM but I'm not sure what... [root@localhost ~]# pvscan Devices file sys_wwid naa.57c35481cc13b195 PVID IpYMVDa5eXTqYQuLzXc8GukoAVUOK32u last seen on /...
cogito's user avatar
  • 31
0 votes
0 answers
41 views

MacBook Pro Late 2011 Running Extremely Slow After Upgrade to SSD

I have a late 2011 MacBook Pro that's currently running macOS Sierra 10.12.6 version. I updated the HDD(500GB) hard drive to an SSD Samsung 860 EVO(500GB) solid state hard drive. I had originally ...
Diana's user avatar
  • 1
1 vote
1 answer
33 views

Where is mounted LVM snapshot volume's size come from?

I'm learning to do backup database with LVM snapshot. While on it, I found some behavior of snapshot that I can't get it. Here is my setup: 1 Physical Volume and Volume Group from it with size 1.95T (...
Samuel Zhen's user avatar
0 votes
0 answers
22 views

i want to browse a foreign LVM disk

I had a linux box die and I want to try to retrieve some files from its disks. The disks are formatted for LVM. When I connect them to another system I can see the partitions and see that one is a ...
hkc's user avatar
  • 1
0 votes
0 answers
35 views

How to convert LVM mirror to linear after disk failure

I have an ubuntu system with a simple mirrored LV in LVM. One of my disks has failed, and thus I removed it. However, i cannot seem to reduce my LV to linear. I suspect my problem arose when I first ...
kcid42's user avatar
  • 21
0 votes
0 answers
161 views

Proxmox : 8 SAS (Data) and 2 SSD (OS) Setup (SW/HW RAID and VMs)

I'm noob on homelab and server setup, that's why I'm calling to your support Bellow is the main list of my server's components : CPU : 1 x Intel Xeon Silver 4208 RAM : 5 x 16Gb DDR4 ECC RAID Card : ...
user avatar
0 votes
0 answers
29 views

Recover missing data from failed HDD in LVM2

I have a raspberry Pi 4 NAS with 4 externals HDDs connected to it, which are formatted using LVM2, and OpenMediaVault installed on the RP4. After moving to a new apartment, I tried restarting the NAS ...
shanedrum's user avatar
  • 101
-1 votes
1 answer
150 views

How can I extend an LVM volume using lvextend?

Very simple question today: what sort of path is the lvextend command looking for? lvextend's error message asks for "a logical volume path", however this is very misleading in my opinion, ...
Will's user avatar
  • 1
0 votes
1 answer
39 views

Raid 1 LV partially up and unable to repair, the down rimage is missing

I run a lvm raid1 on my old computer. pv: /dev/sda1 sdb1 sdc1 vg: myvg lv: myvg/debian The root partiion is myvg/debian, it is a raid1 on sdb1 and sdc1. (lvcreate --type raid1 -L 6G --name debian ...
gholk's user avatar
  • 1
0 votes
1 answer
46 views

I need to move LVM PEs to a smaller disk, will this work?

I need to migrate Ubuntu to a smaller disk. I have a VM with the first disk that is 50GiB : $ sudo parted /dev/sda unit mib print free Model: VMware Virtual disk (scsi) Disk /dev/sda: 51200MiB Sector ...
SebMa's user avatar
  • 1,477
0 votes
0 answers
18 views

"stop lvm" like "mdadm --stop" - JBOD enclosure

I have a external JBOD enclosure attached to my Homeserver which i use for backup. On top of the HDDs is a LVM. When my backup is completed, i shutdown the whole server and pull the cables of the JBOD ...
Marc's user avatar
  • 265
0 votes
1 answer
78 views

How do I add a previously removed physical volume back to a volume group?

After removing a physical volume from a machine, and returning the physical volume back to the machine, the physical volume is ignored and the following message appears: [root@emma ~]# pvscan ...
Graham Leggett's user avatar
0 votes
1 answer
33 views

Ran fdisk on wrong disk which was part of an LVM

I wanted to add space to an LVM so added a Virtual disk to my Ubuntu 20.04 Virtual Machine. The VM already had 3 disks /dev/sda 32.2GB # OS Disk /dev/sdb 537GB # Data Disk, part of the LVM: ...
Piyush B's user avatar
  • 131
0 votes
1 answer
304 views

lvresize fails: mount: /var: not mounted. Cannot proceed with mounted filesystem

I'm trying to resize the /var partition on debian 11.6. FYI: (I replaced the true volume group name with "xxx") # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
ChristophK's user avatar
2 votes
1 answer
83 views

Windows partition is no longer detectable, how can i fix this?

Long story short: I bought this new flamboyant pc with Windows 11 preinstalled on it, and I wanted to set up a dual boot with Debian. I'm not a Debian pro (more familiar with Ubuntu), so i tried quite ...
ArtBalar's user avatar
0 votes
0 answers
13 views

I ran 'mkfs.ext4' on a LVM volume. Any possibility of data recovery? [duplicate]

I have a external storage device that I use for local network storage. It had a single LVM volume on it with some data on it this morning. I've been working on transferring the data off the LVM ...
MrJman006's user avatar
  • 119
0 votes
1 answer
347 views

LVM volume silently fails to mount

In my server I have one NVMe SSD and two plain old 4TB HDDs which are used for mass data storage. During setup of Ubuntu 20.04 LTS I liked the idea of keeping both HDDs separate and did not set up LVM....
Geert Smelt's user avatar
0 votes
0 answers
328 views

Grub does not load on boot after transfer of SSD drive to another laptop

I got two laptops of the same make and model, laptop Alpha and laptop Beta. Alpha runs a LUKS encrypted LVM of linux and is partitioned into three parts: Grub, swap, and the encrypted drive. It's been ...
nohupt's user avatar
  • 21
0 votes
0 answers
41 views

linux + extend (grow) root file systems without downtime on RHEL production machines

I want to share the following procedure that we did on lab (RHEL 7.2 machine) in order to increase The root file system (XFS filesystem) from 130G to 150G Details from VM RHEL 7.2 machine are df -h / ...
King David's user avatar
1 vote
1 answer
211 views

resize from lvm disk for use in docker container

I have an EC2 on AWS, and one more attached disk. I increased the disk size, and did the resize. But inside that partition is Docker, and in it I have a container with Oracle Linux 7.8. Even doing ...
David's user avatar
  • 65
0 votes
0 answers
205 views

LVM: Renaming LVs and PVs with vgimportclone on disk cloned with dd

Hello everybody out there using LVM, To have an immediate backup disk to replace my main Ubuntu 18.04 hard drive (which uses LVM), I cloned the main hard drive with dd. This resulted in a clone also ...
NicolasBourbaki's user avatar
0 votes
0 answers
332 views

How to merge Linux LVM physical volumes on the same disk?

I have a funny situation (Proxmox, but that's immaterial) where I ended up with LVM, a single volume group on top of two partitions (PVs) that are contiguous with one another on the disk. The PVs (and ...
Paul Stelian's user avatar
1 vote
0 answers
23 views

How to determine how the data was set when creating the ext4 on the raid0 LVM

I am working on consistent snapshots verifications. We snapshotted the raw device attached (saying two drives sdb and sdc) to a host and want to check the data was preserved with the desired orders as ...
wang larry's user avatar
0 votes
1 answer
281 views

Install NAS OS in data disk array instead of separate disk

I would like some help with my personal NAS setup. Instead of installing the NAS OS in a separate disk, as most NAS OS documentation suggest, I am looking to install it in the data disk array instead, ...
Marwi's user avatar
  • 35
1 vote
0 answers
123 views

How to deal with LVM RAID mismatches – are there benign causes?

I employ LVM with raid1 volumes both at home and at work. One of the disks in my home server has been starting to report S.M.A.R.T. selftest read failures. Looking for ways to investigate the severity ...
Magnus Holmgren's user avatar
0 votes
1 answer
414 views

Extending encrypted partition (LVM, LUKS)

I'm running a dual boot (Win 10 Pro, Ubuntu 20.04) system on a single NVMe harddisk. Linux contains one encrypted root partition, an encrypted boot partition and a swap partition. As the root ...
bsj4sla's user avatar
0 votes
1 answer
298 views

Debian - Detecting and mounting a logical volume/softRAID array

I have an HP Proliant ML10 v2 server with a B120i raid controller. Server has 5 disks, 2 logical volumes configured via HP Smart Storage Administrator (4x 3TB drives in RAID 0 is the first logical ...
boog's user avatar
  • 177
0 votes
0 answers
109 views

Is it possible to clone only used space (data) in an lvm volume as if it were a physical disk?

I have several lvm volumes configured to be treated in virtual machines as hard disks. The lvm volume is partitioned on the guest operating system and partitions can be checked with fdisk on the guest ...
mhbeyle's user avatar
2 votes
1 answer
488 views

How to expand logical volume on existing physical volume on Linux

nvme0n1p3 has 8.5G, ubuntu--vg-ubuntu--lv has 4G. How can I expand ubuntu--vg-ubuntu--lv to 8G? NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 ...
Aaron Cool's user avatar
0 votes
1 answer
252 views

Loading encrypted Linux volume on boot

I have Windows 11 running on my Acer laptop (with UEFI). I have shrunk the partition to free up 50GB of space, prepared the USB device with Linux distribution and booted the installer. Now, on the ...
Kamil Gierach-Pacanek's user avatar
0 votes
1 answer
65 views

Can I restore LVM PV and VG (LV) configuration to a smaller disk?

In a virtual machine the size of a disk was found to be too large by mistake after a VG with LV and filesystem had been put on it using all the space. As VMware (they said to me) cannot reduce the ...
U. Windl's user avatar
  • 466
0 votes
1 answer
184 views

Does multiple snapshots influence the performance?

My desktop system(Kubuntu-20.04.4, with LVM2 root-fs) need to be frequently adjusted the configurations, but some configuration would be fault. I take a new LVM2 snapshot of root fs, before every time ...
Leon's user avatar
  • 193
0 votes
2 answers
171 views

Unwanted, surprise device mapping causing problems with linux raid

Original title: Unwanted, surprise LVM disk mapping causing problems with linux raid I've done linux raid on ubuntu for almost a decade but never messed with LVM although I'm vaguely aware it exists. ...
user1169420's user avatar
0 votes
1 answer
304 views

switch from bitlocker to LVM encryption

I am planning to switch to Debian Linux as a daily driver! my only concern is my data present on the D: partition which I used Microsoft bit locker to encrypt the whole D: partition. can some one ...
Xx simo xX's user avatar
1 vote
1 answer
2k views

LUKS with separate /home within encrypted volume

First time using full disk encryption with LUKS. Sorry for a lot of novice questions. Before using full disk encryption, I used to have separate partitions /boot, /, home which allow to to reinstall ...
Polymerase's user avatar
0 votes
1 answer
220 views

Need help recovering ext4 LVM partition

I have a VMware ESXi virtual machine running Ubuntu 18.04 with LVM configured partitions. I was trying to extend one of the logical volumes mount as / but mistakenly and foolishly deleted the LVM ...
Alireza Goftari's user avatar
1 vote
0 answers
2k views

Mount an active logical volume results in special device does not exist

I'm trying to get data from an Ubuntu server disk that got it's boot partition faulted. On the disk there is a logical volume that I'm trying to access through WSL2 on Windows 11. I can activate the ...
Bjorn Bailleul's user avatar
1 vote
1 answer
1k views

LUKS using clevis TPM2.0

Hi I'm trying to encrypt a secondary data disk. I want this disk to be decrypted during boot of my machine. I currently have RAID setup, with an LVM volume on top which is already encrypted with LUKS. ...
Tthecreator's user avatar
0 votes
0 answers
53 views

How to create redundant array of assorted commodity hard drives?

Well, I have some good old hard drives and a good idea is to combine them into an array. For example: 250G 300G 500G 1000G 2000G (There is also a 3000G drive, but I'll save it for regular backups). ...
Dmitry Logvinenko's user avatar
1 vote
0 answers
128 views

Combine LVM caching and mirroring

I have LVM caching setup for my home_1 LV and I would like to mirror it to a new PV as well. When I run lvconvert I get an error "Cannot convert LV myvg/home_1_corig." Is it possible to ...
Mike N.'s user avatar
  • 111
0 votes
2 answers
282 views

lvm semantics compared with Mac OS container volumes - sharing storage between logical volumes?

I'm very new to lvm, and have simultaneously understood how Mac OS container disks work. I'm very happy with Mac OS container disk semantics - I don't have to think how much space to allocate. I just ...
Sridhar Sarnobat's user avatar
0 votes
0 answers
1k views

Clonezilla cloning to smaller disk

I have an SSD disk with LVM volumes (used for Proxmox) that i want to move to smaller SSD. The original disk is 525 GB large, the new drive has 500 GB. I have shrinked the physical volume and the ...
Tibor Molnar's user avatar
0 votes
1 answer
2k views

How to check "stripsize" of a stripped logical volume?

I have created a stripped logical volume using below command: lvcreate -L 1G -n lv1 -i 2 -I 128 myvg1 /dev/nvme0n1p5 /dev/nvme0n2p6 Now, how can I check the stripsize again? I have tried using ...
meallhour's user avatar
  • 103
2 votes
1 answer
69 views

How to grow an LVM volume in the middle?

Let's say I created the following Linux LVM volume group and logical volumes: $ sudo vgcreate vg1 /dev/sdb1 $ sudo lvcreate -L 10G -n lv1 vg1 $ sudo lvcreate -L 10G -n lv2 vg1 $ sudo lvcreate -L 10G -...
Roxy's user avatar
  • 349
0 votes
1 answer
375 views

Resizing my swap partition on Debian encrypted lvm setup has disabled hibernate, how can I fix it?

I installed Debian 11 on an ancient netbook, encrypted with a separate /home partition, otherwise accepting all the defaults. Once I'd got the system set up I realized that I'd only got a 1GB swap ...
John Lawrence Aspden's user avatar
0 votes
0 answers
116 views

VM "Mapper" partition resize to full extend

I just resized my Ubuntu VM (under proxmox) from 32GB to 100GB. However this did not have the efect I was hoping for. It seems the space is there but is not allocated to /dev/mapper/ubuntu--vg-ubuntu--...
Darth Father's user avatar
1 vote
1 answer
64 views

lvm recovery with raid reconfiguration

I have a Dell R510 with a H200 controller previously and I have two disks: a 2T SAS and a 250G SSD. I created two raid0s using those two disks on H200 and then created lvm on top of it. Here is my ...
Feng Xue's user avatar
0 votes
0 answers
283 views

Remove LVM volume after failed disk, lvchange/vgchange/dmsetup not enough

A disk hosting part of an LVM volume failed, I'm trying to unmount everything properly to run btrfs check on it. I've unmounted the BTRFS volume successfully but I can't do anything with the disk ...
zdimension's user avatar
0 votes
1 answer
460 views

CentOS 6 LVM RAID5, unable to activate VG / LV. "device-mapper: reload ioctl on (253:119) failed: Input/output error"

I've found myself in a complex Linux LVM-RAID5 / device-mapper problem after one temporary device failure, and one bad block encountered during that time. The logical volume can now not be activated ...
gusfoo's user avatar
  • 21
0 votes
1 answer
166 views

What is module aes-i586?

I'm using LMDE4 with LVM on LUKS and recently I've been getting these cryptic error messages at boot: modprobe: module aes-i586 not found in modules.dep Volume group "lvmlmde" not found ...
jennyhamm's user avatar

1
2 3 4 5
9