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
0answers
9 views

Recover data from old LVM partition on Centos 7

a few days back I my system would not boot up and go directly to emergency mode with no luck getting out, so I decided to reinstall centos 7. However, there are a few files that I would like to ...
0
votes
0answers
15 views

VG stays in Disks list until system is restarted

When I work with drives from my servers or other LVM formatted systems the VG information stays in the Disks list until I restart. Is there a way to clear or prevent it from sticking in the first ...
0
votes
1answer
22 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 ...
0
votes
0answers
22 views

centos 7 - ran out of space on lvm now cant mount volume

I have a Centos 7 VM which has ran out of space on the LVM used for / Now when we try to boot the VM it goes straight to emergency mode. When I try to use the rescue mode to increase the space and ...
0
votes
0answers
12 views

Unable to mount an LVM2 block device to local path

OS : CentOS Linux release 7.9.2009 (Core) kubernetes version: 1.11 docker : 1.13 The rook ceph deployment is kubernetes is unable to provision pv dynamically hence im trying mount the LVM volume to ...
0
votes
0answers
32 views

Filesystem/LVM config that will prioritize “wearing out” smaller drives first

I've built a janky NAS box for myself that has a wide range of storage device sizes (20GB to 4TB) and all mashed together with BTRFS on Debian Linux. I've noticed that BTRFS will prioritize writing to ...
0
votes
0answers
22 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 ...
2
votes
2answers
107 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 ...
0
votes
0answers
19 views

Create a new partition on a shrunk disk,volume

I resized my disk and volume, and I am not sure how to create a new partition. I am experimenting on a VM where I had 1 80G disk. I resized it using resize2fs and lvresize to 12G so that I could use ...
0
votes
0answers
5 views

LVM or chipset RAID

I have Ubuntu x64 home server which I use as NAS, among other uses. I become worried about longevity of my drives recently, so I decided to spent some cash and go for mirror. Now I have 2x 6TB drive ...
1
vote
2answers
35 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 ...
2
votes
1answer
40 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. ...
0
votes
0answers
26 views

run lvchange --syncaction check in foreground

Is it possible to run a lvchange --syncaction check vm/lv in the foreground or check the state of the check programatically? I looked at the manpage of lvchange and it does not look like there is an ...
0
votes
0answers
29 views

Dell laptops won't boot when their Ubuntu 20.04 LVM drives are swapped

I have two Dell laptops, one Dell XPS 15 7590, and one Dell XPS 15 9500. They are both running Ubuntu 20.04, with LVM enabled, and both encrypted. Each has only one drive installed. Logically, I think ...
0
votes
0answers
10 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
0answers
10 views

Synology recover data with a deleted pv

Our synology died (issue with motherboard) last summer. I recover datas from an ubuntu following this link : https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Storage/...
0
votes
0answers
48 views

New QEMU images on NVMe: ZFS, or MDAM+LVM+LUKS+VDO?

I'm wondering if someone has experience with one or both options being considered, in the context of NVMe and/or VM images - and if the additional complexity of MDAM+LVM+LUKS+VDO is worth any ...
0
votes
0answers
23 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 ...
0
votes
0answers
20 views

Create LVM with differemtn mirror levels utilizing all available space

I have 4 PVs in the VG hdd and am trying to create 2 LVs that will utilize all available space. Note: These PVs are only 2Gi each because I was testing this in a VM before running. Basically I want ...
-1
votes
1answer
22 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 ...
0
votes
0answers
39 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) ...
1
vote
1answer
51 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? ...
-1
votes
1answer
91 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 ...
0
votes
0answers
22 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 ...
0
votes
0answers
9 views

How do I remove a large partition from a LUKS encrypted logical volume group?

See the title. I want to remove a 2.7T partition (sda4) from my volume group to delete and split it up into 500G partitions for later use. # fdisk -l /dev/sda Disk /dev/sda: 4.6 TiB, 5000981077504 ...
0
votes
0answers
26 views

LVM password not prompted when booting Arch on cutom kernel

I have a full disc encrypted system. I believe LVM was used for encryption (installed Arch via Antergos GUI, which had this option build in). I did so some modifications since I have WIndows installed ...
0
votes
1answer
73 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 ...
0
votes
0answers
13 views

Input/output error when using LVM, after unplugging HDDs

I have a couple of HDDs connected to an USB enclosure. I use LVM for all the drives, but every time I disconnect the enclosure and connect it again, my Debian server won't allow me to read or write ...
0
votes
1answer
34 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 ...
0
votes
0answers
54 views

How to recover data of /home directory after the /home was removed in centos 7?

In order to enlarge the size of the root directory in CentOS, I remove the /home using: umount /dev/mapper/centos-home lvremove /dev/mapper/centos-home without first backup of the data in the /home. ...
0
votes
0answers
37 views

LVM duplicate a thin volume

Is there a way to clone a thin logical volume on the same pool ? I would like the new volume to be thin too. hyper ~ $ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%...
0
votes
0answers
19 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 ...
0
votes
0answers
151 views

ext4 filesystem corrupt after filesystem shrink

Outline I am trying to shrink an LVM logical partition (/opt/) that houses an ext4 filesystem on Oracle Linux 6.10. The LV is 30GB in size, and contains 10GB of data (reduced from 18G moments before ...
0
votes
1answer
868 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 ...
0
votes
1answer
47 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,...
0
votes
0answers
145 views

Possible to adjust dm-cache settings for existing LVM cache volume?

I'm trying to adjust the high_watermark, low_watermark and writeback_jobs for drives that are acting as LVM caches for other drives. It seems like these settings shouldn't require a recreate of the ...
0
votes
0answers
22 views

Can you format and use a MDADM array while its building?

The MDADM array was created and is in the process of resyncing. Is it possible to format the drive and use it while it is doing this. Is the same true if I put LVM over it?
0
votes
0answers
25 views

Device multipath setup interferes with software RAID setups on CentOS

I'm using a default installation of CentOS (well, a subset really for oVirt nodes which, at least to me, seems to be the same for the "core part" of the system). It's running on a Supermicro server ...
0
votes
1answer
335 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....
0
votes
1answer
23 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 ...
0
votes
0answers
106 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 ...
0
votes
1answer
17 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 ...
0
votes
1answer
731 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 ...
1
vote
0answers
267 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 ...
1
vote
0answers
70 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 ...
0
votes
1answer
55 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 ("...
0
votes
0answers
42 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 ...
0
votes
1answer
33 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/...
0
votes
0answers
196 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 ...
0
votes
1answer
1k 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 ...

1
2 3 4 5
9