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
13 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
71 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
15 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
11 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
16 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
0answers
8 views

Cannot resize LVM logical volume

I installed KDE neon in Virtual Box. While installing, I selected the option "Erase everything and use encrypted LVM" (cannot remember the exact wording), and everything went well. The disk layout is ...
0
votes
0answers
32 views

Ext4: messing inodes & superblocks

writing my first post here after searching all known linux forums looking desperately for a solution. Short story is, I did a lv size reduction before resizing the fs first. That turned into a ...
0
votes
1answer
63 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
75 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 ...
0
votes
0answers
16 views

Rearraing LVM disk setup

I would like to cleanup my currently tangled setup of LVM to better suit my work process. You can see I'm only using about half of the devices/storage I have available. Yet I now converted my old ...
1
vote
0answers
38 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
32 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
28 views

lvconvert asked to wipe an ext4 signature. I refused. But it says it succeeded. What's going on?

I have a volume group hdd_encrypted_vg on two physical devices. I had a logical volume important in this vg on one of the physical devices. I wanted to make important a raid1, so I did lvconvert: # ...
0
votes
0answers
38 views

Installing Debian on existing encrypted LVM disk

I had Debian installed with encrypted LVM and seprated partions for /root, /home and etc... Now my os is broked and I want to reinstall Debian on it again without losing my data on /home partion But ...
0
votes
0answers
27 views

CentOS: LVM was created but I need assistance to safely remove physical volume

I really hope for your assistance. I've created LVM and trying to safely remove one of PVs (/dev/sdb9) which has 1.49 GiB, but I'm facing with the error: Insufficient free space: 382 extents needed, ...
0
votes
0answers
8 views

Move /home from encrypted LVM SSD to RAID 1 (KDE Neon)

I have a fresh KDE Neon installation in an SSD with encrypted LVM. I have also 2 HDDs in RAID 1. I tried with several tutorials with a lot of problems and I had to reinstall KDE Neon several times ...
0
votes
0answers
39 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
23 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
86 views

How to mount LVM partitions on sysrcd

I have a Ubuntu 18.04 dedicated server, I tried to change SSH port(SSH port before is 63058), I edited /etc/ssh/sshd_config and add # to line Port 63058. However after I reboot the server, I can not ...
0
votes
0answers
59 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
274 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 ...
0
votes
0answers
237 views

Couldn't find all devices for LV - PV Unknow error

I'm currently struggling on a topic about LVM on a CentOS VM. I recovered the VM as it was, and I don't understand the problem. I suppose that someone tried to add disk space, but that went wrong at ...
1
vote
1answer
87 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?
0
votes
1answer
307 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
45 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 ...
1
vote
2answers
454 views

mdadm RAID underlaying an LVM gone after reboot

The main part of my problem ha been discussed here the other time... ... but I have two special questions that haven't been answered before. The Situation: I upgraded my hardware, installing two new ...
0
votes
1answer
1k views

Can I mount an LVM under Windows?

I have a dual-boot PC running Fedora and Windows 10. I would like to access the Fedora filesystem when the box is running Windows. This answer makes me think the answer is "no" but it is a slightly ...
0
votes
0answers
61 views

xfsdump creates very large incremental backups

I am trying to backup a MongoDB database using a combination of LVM snapshots and xfsdump. The MongoDB runs in a docker container with a persistent volume residing on its own Logical Volume, that is ...
0
votes
1answer
60 views

Volume group still active after disabling with vgchange?

I noticed that sometimes vgchange -a n [vgname] seems to not close the volume group properly. This happens most often, when I actually prepare a new system and I do not know what is causing this. ...
0
votes
0answers
15 views

Cant Marged 2 HDDs at one Point. Centos 7 - using LVM

What I tried is in below [root@s151409 ~]# fdisk -l Disk /dev/sdb: 250.0 GB, 250000000000 bytes, 488281250 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 ...
0
votes
1answer
543 views

Debian 11 Bullseye encrypted LVM times out on first boot attempt

I attempted to install Debian Bullseye with an encrypted LVM and have run into this problem for the first time trying to boot after installation. Volume group "system" not found Cannot process ...
0
votes
0answers
20 views

How to extend root logical volume

I have a root logical volume that is too small for the operation that I am attempting. Now I want to extend it. I tried lvextend noticing that size remains the same on that command - also after ...
0
votes
0answers
53 views

clonezilla with LUKS and LVM

How can I use clonezilla with a LUKS & LVM setup? I have a single volume group inside LUKS, and two btrfs logical volumes inside that. Ideally, only the used filesystem blocks will be saved to ...
0
votes
0answers
6 views

Installing Ubuntu alongside Arch on a LVM encrypted volume

I want to have Ubuntu on my Laptop alongside Arch because i really need certain software I cant make run on my current setup, but the harddrive with Arch was LVM encrypted, so Ubuntu doesnt recognize ...
0
votes
0answers
10 views

Is this a reasonable storage expansion procedure?

Did i miss anything important? Changes: Adding 4x more HDDs ( SATA II/III 2TB ) Current Storage Stack 8x SATA II/III HDDs 2TB 1 large partition each 4x mdadm raid 0 /etc/md[1-4] 1x mdadm raid 1 /...
1
vote
1answer
159 views

Removing lvm cache volume results in “Unknown feature in status” output

Recently I've replaced the HDDs in a RAID 1 mdadm array due to a lack of space. The structure is as follows: - 2 HDD in RAID 1 (Originally 2x2TB, now 2x4TB) - LVM - Swap - BTRFS - 3 ...
0
votes
1answer
47 views

How to share VirtualBox guest OS images?

I want to run multiple VirtualBox VM guests on the same Ubuntu (or Mac) host. To save disk space, I'd like to have them all boot off of a single guest OS image (installed fully once on the first VM), ...
1
vote
2answers
175 views

Recovering LVM Raid-5 Array

I have a failed raid-5 array that I can't seem to recover. Basically the story is I had this data in raid 5 and I was using LVM which has built-in raid now. I noticed one of the disks going bad so I ...
0
votes
0answers
109 views

Incorrect disk space on LUKS LVM volume

I have a new HDD attached to my machine (CentOS 7.6), 1TB in size. I used fdisk to create a new primary partition there of size 500GB, type "8e" (Linux LVM). I then marked it as an LVM physical ...
0
votes
0answers
36 views

Recovering data from NTFS file system

I have a hard drive with lvm2 pv file system. Its a 2TB drive from the NAS. I believe its partition table is damaged. There for I am going to format it with NTFS file system. Is there any problem in ...
0
votes
0answers
26 views

How to extend Ubuntu 18 /root partitation?

We have an Ubuntu 18 VPS running on VMWare and we want to extend its / partition size without losing data. It seems partitions have not been created using LVM, so lvm commands such as lvdisplay ...
1
vote
1answer
1k views

TRIM support on an USB-attached SSD

I have an SSD (Samsung 860 EVO) attached via an USB-SATA adapter (I tried both this one and this one) to an ARM computer (Odroid N2) running Armbian (Linux 4.9.180). I partitionned it with LVM (...
0
votes
0answers
45 views

(Fedora) Bad sectors in LVM preventing clone

[Fedora 29] I have a 500GB spinning rust disk that I want to clone to a 500GB SSD. I've used Clonezilla local-disk-to-local-disk, but it complains about bad sectors; "retry with --rescue". I did ...
1
vote
2answers
31 views

Red Hat lvm logical volume size parameters

I am trying to find where it is documented that I can determine for certain what the bB and sS options are in lvcreate and lvextend commands from lvm> prompt (or for that matter from # prompt). The ...
1
vote
0answers
85 views

lvconvert creating cached LV - results in device-mapper: reload ioctl on (254:0) failed: Invalid argument

On Sles15, after successfully creating the Meta and Cache LVs and combining them with lvconvert, I then go to associate the Cachepool with the slow LV and get the following error: lvconvert --type ...
0
votes
0answers
28 views

Setting up VirtualBox on Ubuntu 18.04

I just recently reformatted my hard drive to multiboot 3 different linux distros. I installed Kali first, and used the installer to create logical volumes where I later installed CentOS and Ubuntu. ...
0
votes
0answers
72 views

can't install grub on lvm volume for virtualization with debootstrap

I can't install grub in an lvm volume , I've follow this guide for debootstrap: https://diogogomes.com/2012/07/13/debootstrap-kvm-image/index.html thanks for your help root@hostname:/# grub-install /...
1
vote
1answer
118 views

DRBD and LVM in combination

I'm wondering what is the best way to combine DRBD and LVM. Is it better to first create logical volumes and then sync them with DRBD, or is it better to use DRBD with the physical disks / partitions ...
3
votes
1answer
92 views

getting reads when writing to raw device

I need to move big chunk of data to a logical volume without any file system on it. While doing so, I noticed that on every write there is a read. This is something that I don't see for writes into ...

1
2 3 4 5
8