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
24 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). ...
user avatar
0 votes
0 answers
13 views

Can I put each docker container (including its volumes) in a separate lvm logical volume?

I have various docker-containers and I want to put each of it (including every volumes and anything else) in a separate lvm volume: openproject-docker => vg-docker/lv-openproject zammad-docker ...
user avatar
  • 111
1 vote
0 answers
20 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 ...
user avatar
  • 111
0 votes
0 answers
16 views

I can't delete unkown PV from LVM Storage

I have some problems with LVM storage. some PVs of my LVM storage are missing and I want to delete these unknown PVs. now, I should delete these PVs for use my LVs and I tried to delete these missing ...
user avatar
  • 1
0 votes
0 answers
98 views

after crash manjaro's gdm doesnt start

i had been working on test disk for recovering lvm external hard , i'v got crash after that i can see the login but after pass the login it goes to black screen and gdm doesnt start this is my log ...
user avatar
0 votes
2 answers
28 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 ...
user avatar
0 votes
0 answers
100 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 ...
user avatar
0 votes
0 answers
70 views

Windows 10 Hyper-V, Debian Guest with Encrypted LVM

I'm having a problem proceeding past the prompt, "Please unlock sda_crypt:", booting into Debian Linux 11. My problem specifically is that nothing happens, the keyboard doesn't work when I'm ...
user avatar
  • 76
0 votes
1 answer
42 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 ...
user avatar
  • 103
2 votes
1 answer
17 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 -...
user avatar
  • 349
0 votes
1 answer
70 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 ...
user avatar
0 votes
0 answers
22 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--...
user avatar
0 votes
0 answers
32 views

vgscan only shows incomplete list of volume groups on RHEL 7

df reports that there are 2 volume groups, vg_root and vg_data: [frodo@gandalf ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_rootvg-lv_root ...
user avatar
1 vote
1 answer
20 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 ...
user avatar
0 votes
0 answers
51 views

mount lvm partition with replicated lvpath on centos7

I tried mount a disk on centos7 which also contains centos7. I read instruction like https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/ But I found the replicated lvpath,which ...
user avatar
0 votes
0 answers
6 views

What is the monitor parameter to lvcreate used for? How do I know if an LV has monitor set?

There are 2 parameters of lvcreate [--ignoremonitoring] [--monitor {y|n}] Who knows what are they used for? And how to know if a LV was monitored? Thanks
user avatar
0 votes
0 answers
16 views

Cinder Volumes not permanent in DevStack

While testing an application in DevStack, I noticed that my environment would become corrupt after VM restarts and discovered it was because the instance volumes would disappear. Since Cinder is using ...
user avatar
  • 1
0 votes
0 answers
44 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 ...
user avatar
  • 10.4k
0 votes
1 answer
91 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 ...
user avatar
  • 21
0 votes
1 answer
56 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 ...
user avatar
0 votes
0 answers
127 views

minimal initramfs (with root on LVM)

Is it possible to trim the initramfs by excluding the udev hook when root is on an LVM? LVM2 installations guide(for LVM) from arch wiki sites udev and lvm2 as the the two hooks necessary. I have ...
user avatar
2 votes
2 answers
110 views

How logical volumes larger than a single disk are stored into multiple disks?

I have one LV that spans across 2 phisical volumes, 2TiB each, for a total size of ~4Tib. Is LVM going to first fill one disk and then start with the second one? In other words, supposing to take one ...
user avatar
1 vote
2 answers
41 views

Logical volume spaning two drives with a dual drive usb dock?

I am researching making a single logical volume spanning 2 external drives. External RAID enclosures seem a bit expensive and I don't need RAID. Could I use a multi-drive USB dock (example)? They seem ...
user avatar
  • 11
2 votes
1 answer
83 views

Creating bootable windows image from a logical volume

Recently I have taken raw image (using dd) of a logical drive of my laptop running windows 10. I would like to convert this into a bootable Virtual Disk so that live analysis of OS can be performed. ...
user avatar
  • 21
-1 votes
1 answer
23 views

How to add and format two additional HDDs to linux server to maximize storage and make it robust?

I am building a home ubuntu server mainly file sharing. I have a 100G SSD drive in which I want to install the system, and I have two 4T HDDs that I want to use as mass storage and mounting point for ...
user avatar
0 votes
0 answers
49 views

Recovering a logical volume who's disk has been removed and plugged back in?

The reasoning behind what I've done is a long story, so I won't delve into details, but here's where I'm at: Take a HDD in a USB->SATA box, and plug it in to a machine, comes up as /dev/sde(1) ...
user avatar
1 vote
1 answer
123 views

Is it advisable to encrypt a RAID device before or after LVM is setup?

I'm currently working on setting up LVM on top of a RAID device in ubuntu. I'm confused about when to run the encryption (using cryptsetup to do this). Should it be; after partitioning the drive? ...
user avatar
0 votes
1 answer
392 views

How can I extend / dev / sda6 is it possible?

I need to extend / dev / sda6 on other occasions and used the following guide (https://www.miarec.com/doc/administration-guide/doc1012), adding a new disk to the vm, but apparently it is not ...
user avatar
0 votes
0 answers
28 views

Disk layout: First 512 bytes are intentionally not used by filesystem(ext, xfs, brtfs) and volume management(lvm,zfs,brtfs), is this a design rule?

I suspect that all modern filesystem(ext, xfs, brtfs..) and volume management(lvm, zfs, brtfs...) intentionally avoid using at least first 512 bytes of the disk or partition, is this true? I know it ...
user avatar
  • 558
0 votes
1 answer
258 views

How do I create new volume or directory out of a different partition?

I'm using Proxmox 6.2. When I was installing it, I've set it to use only a portion of my disk because I was planning of using the remaining space for another partition to contain my VM disks and other ...
user avatar
0 votes
1 answer
133 views

How do I recover data from a Logical Volume on Linux after deleting it?

Yesterday I was trying to shrink my Gentoo Linux partition with LUKS encryption to make place for another distribution, but because it was an LVM partition I was just trying random commands from the ...
user avatar
0 votes
0 answers
27 views

Restore LogicalVolumes LVM

Hi again I need some help I try to change the HDD from a centOS server an for reasons of connectivity I chose do it whit lvm commands and do something bad well i don't think was going to be that bad ...
user avatar
  • 118
1 vote
1 answer
3k views

What is LUKS and LVM2 PV in Gnome-Disk?

After a standard installation of Linux Mint Debian Edition 4, this is how the hard drive is partitioned according to gnome-disk: Ext4 is the standard file system for current Linux systems AFAIK. But ...
user avatar
  • 127
0 votes
1 answer
66 views

Impossible to boot due to corrupted and/or missing logical volume

I am facing a big LVM trouble with a cluster I have to administrate after departure of our beloved colleague. The cluster has 10 nodes under CentOS 6.5 with a single volume group. On top of this group,...
user avatar
  • 1
0 votes
1 answer
695 views

I/O error on dm-3 but I am not using LVM

I've got these errors, but I don't know what partition/disk corresponds to dm3 or even dm-3-8. [22083.266714] Buffer I/O error on dev dm-3, logical block 33062912, lost sync page write [22083....
user avatar
0 votes
1 answer
121 views

All LVM drives are active but none are mounted (ls shows Input/output error)

I am a complete noob when it comes to LVM. I did set it up on 4 drives successfully, but I went to change one of my drives to a larger one, and now none of my drives are mounted. I have a total of 4 ...
user avatar
0 votes
0 answers
192 views

Remove Disks from LVM with no extent available

I want to remove a physical disk from LVM. I don't seem to have free extent available in Physical Volumes # pvs -o+pv_used PV VG Fmt Attr PSize PFree Used /dev/sdb datavg03 ...
user avatar
0 votes
1 answer
29 views

If I add a new partition into an encrypted LVM will that added space be unencrypted?

This is my HDD layout for now: /dev/sda /dev/sda1 - /boot/efi (512M) /dev/sda2 - /boot (1024M) /dev/sda3 - / encrypted LVM (700G) unallocated - 220G Now what I want to do is move that last 220G ...
user avatar
  • 360
0 votes
1 answer
1k views

Reverting back pvresize command for a partition on a single disk

While I was trying to extend my lvm for the / filesystem I made a mistake. And I am not sure if it is a mistake as well. Instead of creating new partition and adding it to pv,vg, and expanding the lv ...
user avatar
  • 1
1 vote
0 answers
367 views

How to recover an LVM mirror after a phsyical device failure?

I had a drive fail in LVM, it shows up as unknown now. The volume group 'vmimages' was setup as a mirror WARNING: Device for PV BejWGq-OBoi-RQ03-2pJU-ow0e-KORt-MbkW8F not found or rejected by a ...
user avatar
1 vote
0 answers
98 views

SSD, HDD, lvm on luks, btrfs, efi

I want to install Ubuntu desktop 20.04 on my laptop (which has an SSD and an HDD) using this scheme: Create luks2 container on each drive and lvms inside them. Format ssd's lvm as btrfs for using ...
user avatar
0 votes
1 answer
200 views

Straightforward way to replicate server running with LVM

I have used Clonezilla to take an image of an Ubuntu 18.04 LTS server that has 4x4TB disks with a single LVM volume spanning them. I did see Clonezilla making an image of the LVM data volume by name ("...
user avatar
0 votes
0 answers
45 views

Building a RAID5 out of multiple drives

I have 2x 12TB drives and then these three additional drives: 2TB, 3TB, 3TB I want to create a RAID5 with as much capacity as I can. So, I was wondering if it'd be possible to use the three small ...
user avatar
  • 172
0 votes
1 answer
40 views

Expand lvm volume using all existing free space

How to expand a volume given the following situation? Looks like there is enough space on sda2 but I do not know how to make the volume centos-root use it. #> parted /dev/sda print free Disk /dev/...
user avatar
  • 451
0 votes
0 answers
271 views

ReFS/BtrFS on hardware raid vs storage spaces/LVM?

I have a Dell Poweredge R230 with 4x 8TB Caviar Red which I‘d like to setup as company file server, likely running windows server (unless i go with btrfs and the windows driver is no good in which ...
user avatar
0 votes
1 answer
2k views

Can't expand root partition

Please advice. I trying to expand root partition on CentOS 8 in VMware virtual machine. lvdisplay showing LV size 210 GiB. --- Logical volume --- LV Path /dev/cl/root LV Name ...
user avatar
1 vote
1 answer
472 views

How to create a LVM and ext4 file system using lvcreate command only

How to create a LVM and ext4 file system using lvcreate command only. is there any swich in lvcreate command to include the file system type?
user avatar
  • 11
0 votes
1 answer
2k views

Move the root partition (LVM) to new SSD

I would like some help moving the root partition from an existing hard drive across to a newly installed SSD. The PC is an i7 (Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz) with 32GB ram and 2 x 2TB ...
user avatar
  • 11
1 vote
0 answers
69 views

LVM (seemingly) only using one device

I've inherited a machine with 2 physical drives: a ~1tb ssd a ~3tb spinning disk Here're the filesystems from $ df -h: [} Note that /dev/mapper/ubuntu--vg-ubuntu--lv is almost full; it's where a ...
user avatar
1 vote
0 answers
205 views

PV is greater than /dev/sda2

I'm receiving below error. seems like while increase the PV size, I have increased greater than /dev/sda2.Because of which my root filesystem is corrupted and cannot boot. Also while booting my root ...
user avatar

1
2 3 4 5
9