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
0 votes
0 answers
6 views

Reducing the size of a LVM on LUKS generated warnings

Hi I have been following this helpful guide (https://wiki.archlinux.org/title/Resizing_LVM-on-LUKS) on how to reduce the size of my filesystem and partitions to generate roughly 100G of free space on ...
Will Poynter's user avatar
0 votes
0 answers
20 views

No completly encrypt and mount LVM during boot after update to bookworm

few day ago I update system and then problems begin to happen. During boot I were thrown to initramfs (no drive found), so only option to continue is to do command below: cryptsetup luksOpen /dev/...
Piotr's user avatar
  • 1
0 votes
0 answers
11 views

What makes e2fsck -cc so slow?

This isn't a complaint or a request for tech support or help! I'm just curious about what's going on behind the scenes :) I'm doing e2fsck -cc to flag bad blocks on an 8TB LVM ext4 filesystem. ...
Dani's user avatar
  • 11
1 vote
0 answers
14 views

Why is my LVM volume showing as being mounted multiple times?

Just noticed a weird thing in the output of lsblk: It shows that it’s mounted multiple times for each physical volume. It doesn’t seem to be causing any issues. But I’m very curious why it’s doing ...
Dani's user avatar
  • 11
0 votes
0 answers
124 views

add capacity using LVM system

my current /home directory is lack of storage so i want to add capacity to LV. want to confirm if my execution plan will not distroy the existing system. Here is the current disk status: df -h /dev/...
HelloFromWorld's user avatar
0 votes
2 answers
82 views

lvm: lvresize --resizefs does not read the request size in correctly

I am trying to resize a logical volume (as well as the filesystem contained on that volume) and am a little confused by the output of the lvresize command: # lvresize --resizefs -L 2T /dev/archive/...
aarondiel's user avatar
  • 101
0 votes
1 answer
63 views

why fdisk -l /dev/sdX not show under system the "Linux LVM"

from fdisk -l /dev/sda , we got the following Device Boot Start End Blocks Id System /dev/sda1 * 2048 2099199 1048576 83 Linux /dev/sda2 2099200 ...
King David's user avatar
1 vote
0 answers
133 views

Free blocks count wrong when using e2fsck

I have 2 disks attached to my server, one is fixed and the other can be expanded. I have these disks added to a volume group with LVM and linux mounted on top of it. When I want to grow the space of ...
Alejandro Muñoz's user avatar
1 vote
1 answer
86 views

Recover RAID5 volume after temporary failure of controller

I have an LVM RAID5 configuration, where two LVs are currently not active because one SATA controller did not properly resume from suspend, consequently leading to two devices, i.e. two PVs, failing. ...
TJahns's user avatar
  • 21
2 votes
0 answers
72 views

Recover a RAID5 logical volume with two failed devices

before bashing me I assure you I know a RAID5 devices can survive only one drive failure. So... why am I asking this? I had two disks disconnected simultaneously from my machine, so raid failed. Also ...
RDX's user avatar
  • 41
0 votes
0 answers
391 views

EXT4 filesystem Superblock invalid after lvextend and power failure

There was a LVM with VG on two partition-based PVs My bad, everything following was happening on a mounted filesystem. I've successfully added third PV pvcreate /dev/sdc2 Successfully extended the VG ...
Namudril's user avatar
0 votes
1 answer
403 views

Can I setup LVM raid1 to mirror one physical disk onto another?

I have two HDDs, I'm planning on only using one (with NixOS) and the other one should be a mirrored backup, I've had many problems trying to set up a RAID 1 with NixOS and the only documentation I can ...
okaz's user avatar
  • 1
1 vote
0 answers
79 views

Is it possible, or practical to "Nest" LVM VGs?

Situation is: 1x1TB 7200 HDD; 1x0.5TB 7200 HDD; 1x1TB 5400 HDD; 1x0.5TB 5400 HDD. All interconnects SATA3.0+ Desired outcome... Join the 2x 500GB HDDs to form 1TB; Present that to LVM as 3x1TB volumes ...
user497028's user avatar
0 votes
0 answers
872 views

pvs, vgs and lvs returns... nothing?

I'm new to Rocky Linux. When I installed my Rocky Linux, I've configured the partitions to be LVM. I can tell that it works, because when I run fdisk -l I get what I need: [user@localhost ~]$ sudo ...
RockyNewbie's user avatar
1 vote
0 answers
126 views

Why is the filesystem larger than logical volume?

On the machine, there is a logical volume /dev/lvm/tmp of size 500MiB with the same size partition /dev/mapper/tmp that is mounted on /tmp. Checking the logical volume: # lvdisplay /dev/lvm/tmp --- ...
JPM02's user avatar
  • 11
0 votes
0 answers
23 views

Centos 4.8 not booting after replacement disk controller

I have a quite old Centos 4.8 backup. Root partition is on LVM. (/dev/mapper/centos-root). This backup (tar.gz archive) works fine if i restore it in Vmware cluster with SCSI controller. But now i ...
LimpTeaM's user avatar
2 votes
1 answer
2k 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
102 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
173 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
117 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
  • 21
0 votes
0 answers
123 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
339 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
92 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
1k 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
180 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
  • 11
0 votes
1 answer
159 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,753
0 votes
0 answers
57 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
  • 325
0 votes
1 answer
704 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
64 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
894 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
243 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
1 answer
2k 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
687 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
1 vote
1 answer
476 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
973 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
29 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
589 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
197 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
1k 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
792 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
3 votes
1 answer
2k 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
620 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
289 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
  • 579
1 vote
1 answer
519 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
  • 239
-1 votes
2 answers
373 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
539 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
4k 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
443 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
2 votes
0 answers
3k 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
2k 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

1
2 3 4 5
9