Questions tagged [lvm]

Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Can lvm put metadata lv to specific device?

As title, I want to locate metadata lv onto a SSD to improve performance. We know metadata lv is like vg1/mypool_tmeta if created a vg1 and thinpool mypool. EX: I want to put mypool_tmeta on another ...
-1
votes
0answers
17 views

How to resize LVM

I found many related questions and answers like this or guides like this but most of them didn't want to do exactly what I want and I am feeling quite insecure and am afraid of doing something wrong. ...
2
votes
2answers
24 views

Resize extended partition in the middle of the hdd with LVM

I would like to add a partition to use the free space (50GB) for LVM. The disk has been enlarged several times, which has created this partition chaos. How can I bring it back to order and use the ...
1
vote
1answer
34 views

LUKS encrypted drive is missing. “cryptsetup: lvm is not available”

I have an internal SSD (NVMe) on which I've installed Ubuntu 18.04 with Full Encryption using LUKS. Recently, I replaced the motherboard of my laptop which caused the signature verification of the ...
0
votes
1answer
19 views

Is there a “partition uuid” for a logical volume?

I'm doing a kickstart installation. On the kernel boot line, the kickstart file is specified by inst.ks=hd:LABEL=<lv label>:/ks.cfg. The kernel/anaconda finds and loads this. In the kickstart ...
0
votes
0answers
9 views

Centos 8 armhfp(rpi3) switched rootfs to luks->lvm->ext4 does not boot, device-mapper: table: 253:0: crypt: unknown target type

need your commbined knowledge to tackle a issue i have with moving the rootfs of Centos 8 to lvm on luks So when flashing the centos8 image (http://isoredirect.centos.org/altarch/8/isos/armhfp/) the ...
0
votes
1answer
34 views

increase /var partition by adding few disks

Before one year I extend the /var on the redhat 7.x server as the following from 100G to 200G notes: a. VG-A is the VG b. server is VM server c. file-system is XFS procedure: 1. pvcreate /dev/sdb 2. ...
-2
votes
1answer
25 views

How could I make several disks as one so that I could have one disk with space

Initially, I had an 200Gb disk (/dev/sda) where are located boot loader (/disk/sda1) OS itself (/disk/sda2) Then via VMware it was added several disks /dev/sdb (150 Gb) /dev/sdc (1 TB) Now it ...
1
vote
1answer
46 views

rhel + efsck + Deleted inode xxxxx has zero dtime

when I try to resize the disk we get that resize2fs /dev/sdb resize2fs 1.42.9 (28-Dec-2013) Please run 'e2fsck -f /dev/sdb' first. so when I try to do e2fsck I get the following e2fsck -f /dev/sdb ...
0
votes
1answer
42 views

Move LVM of PV1 to PV2

How do I move/merge LVM on sda3 to sda2? The problem is vg1-var and vg1-opt reside on both PVs, so a pvmove won't do the trick. sda 8:0 0 80G 0 disk ├─sda1 ...
0
votes
0answers
14 views

LVM stripe configuration and external/VM snapshot could cause issue?

I was thinking to migrate a single virtual machine, CentOS 8, with a lot of data to a software raid configuration with 4x LVM striped disks to improve performance. The virtual machine is on top of ...
0
votes
1answer
24 views

Centos8 root Network drive is full, need to increase space

I have installed Samba on centos8 in order to enable sharing for windows systems. I have 2 HDDs already installed having 1 TB each drive. I installed a new drive also which is 2TB. The problem I am ...
0
votes
1answer
19 views

Why htop shows no use of IO when iotop does?

I just started to pvmove --alloc anywhere on an luks2 encrypted PV. The commands takes a long time, and as expected, in iotop I can see the commands invoked for this operation are taking a fair bit of ...
-1
votes
0answers
23 views

LVM Can't Format Logical Volume

I am trying to create a combined partition of 2 external USB hard drives to my Raspberry Pi, I successfully created the physical, volume, and logical groups for the drives. As I try and format the ...
1
vote
1answer
20 views

LVM: Fix logical volume to a phyiscal device

I'm not sure if what I want to do is necessary nor actually helpful but maybe someone can clarify as I couldn't find a good explanation/solution. I have a LVM that originally consisted of just a ...
0
votes
1answer
31 views

Luks encryption with no passphrase

I have successfully installed Arch Linux with full disk encryption, however I omitted a passphrase in the hope that when starting up I won't be asked for a password. However it still asks me for a ...
3
votes
1answer
86 views

CentOS 7 Linux Root / Mysterious 35GB Space /dev/mapper/centos-root

I have read similar posts here and other forums for a while now but running out of ideas. We have a few CentOS 7 Linux VMs running in our environment with 40 GB Root drives. A few months ago these ...
0
votes
0answers
22 views

how can increase ceph osd size, created on os disk

I m new in ceph world, and test ceph cluster on one virtual server. I`m creating osd , according this: https://docs.ceph.com/docs/dumpling/start/quick-ceph-deploy/#add-ceph-osd-daemons i create some ...
0
votes
0answers
21 views

Find out which partition / LVM was used for booting

I plan to device a recovery mechanism, where, after a failed boot, the system should reboot from a snapshot (created with an RHEL package). The procedure calls for booting from the recovery, and then ...
1
vote
1answer
30 views

Setup RAID10 (mdadm and/or lvm) starting with three empty disks, then add fourth disk (has data in it)

Please, tell me if it is possibile to create RAID10 (near layout) with odd drives and then adding even(th) disk to that existing RAID10. TOTAL: 4* 2TB drives (sdc,sdd,sde,sdf) FREE: 3 of them (sdd,...
0
votes
0answers
44 views

lvm: dos signature detected on /dev/sda4 at offset 510. Wipe it?

I'm trying to dual boot Arch Linux (on LVM) and Windows 10 (which I upgraded from Windows 7) on my BIOS/MBR system. I made a Linux LVM partition (it's name is /dev/sda4) with fdisk, but when I try to ...
0
votes
0answers
28 views

Recover old HOME directory data from USB external HDD error: mount: unknown filesystem type 'LVM2_member', Couldn't find valid filesystem superblock

Reason: /boot filesystem corrupted: Both bootable hard drive cables were disconnected with motherboard by accident when it was powered on, which caused the HDDs /boot filesystem crashed. CentOS 7 ...
0
votes
1answer
29 views

How to merge lvm

I don't know what my colleague exactly did but I know that he was trying to increase the size of LVM. For now I can see such an output after executing the command lsblk: NAME MAJ:MIN RM SIZE ...
1
vote
1answer
35 views

How to increase LVM partition

I'm using RHEL7 and here is my partition: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 100G 0 disk ├─sda1 8:1 0 1G ...
1
vote
1answer
17 views

LVM with partitions or with disks

I started using LVM on my server. Today I created the VG and assigned a drive to it. But after looking around I saw, that nearly every tutorial speaks about assigning partitions to the VG. What I did: ...
0
votes
0answers
27 views

LVM: on simple raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%

On simple lvm raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%. lvm> lvs -a -o name,raid_sync_action,sync_percent LV SyncAction Cpy%Sync safe ...
1
vote
1answer
41 views

LUKS not prompting for password after kernel update

I have an unencrypted /boot partition and an encrypted root under lvm, created during kubuntu installation: root# cat /etc/crypttab nvme0n1p5_crypt UUID=562c3c2c-9ef4-4417-aff8-1912e3828175 none luks,...
0
votes
0answers
19 views

How to organize volume groups

I have a home server with a few different partitions and services running on it. I currently have three volume groups: system which contains root partition personal which contains one logical volume ...
0
votes
0answers
18 views

Kickstart LVM without partion

I would like to create kickstart for Centos8 to have 1 small drive with standard partition for boot (no problem here) and other drive with for rest of the system. But I want to configure whole second ...
1
vote
0answers
24 views

KVM guest stalls whenever guest disk IO happens

I have a KVM guest I created with virsh. The host machine is Ubuntu 18.04 and the guest machine is Ubuntu 18.04. Both run the Linux maus 5.3.0-59-generic kernel and I am using the hardware ...
0
votes
1answer
24 views

PV on LVM Partition inside a dm-crypt container

I am trying to set up LVM on LUKS. Here is what I did: head -c 100M /dev/zero > test-file losetup /dev/loop0 test-file cryptsetup luksFormat /dev/loop0 cryptsetup open /dev/loop0 cryptlvm gdisk /...
0
votes
1answer
20 views

Using LVM, can I mirror one large volume against several smaller ones?

I have one very large (physical) disk and many smaller ones. Using Logical Volume Management's builtin mirroring functions, is it possible to achieve one very large mirrored logical volume that, on a ...
0
votes
0answers
17 views

Cloning a mdadm RAID1

I have an old PC which has two internal hard drives of 80GB in a mdadm RAID1 configuration with LVM on top of it. I wanted to migrate this PC to a virtual machine, so I booted both, the PC and the VM, ...
0
votes
0answers
39 views

Encrypting swap partition

So I've recently struggled with encrypting both / and /home partitions with LUKS, without using LVM while installing Arch Linux. The goal was simple - unlock with only one passphrase, without the need ...
1
vote
0answers
18 views

Remote unencryption start-up hdd ubuntu 18.04

So ideally I would have posted a comment to this thread SSH to decrypt encrypted LVM during headless server boot?, but apparently I am not allowed to do that until I have 50 reputation.. Anyway I ...
1
vote
1answer
36 views

How to add a block to udev database that works after reboot?

This is related to this question. I have 3 hard drives in my laptop and Fedora 32 is installed in /dev/sdb. /dev/sda and /dev/sdc are just extra storage formatted in ext4. Every boot takes more than a ...
0
votes
2answers
42 views

How to remove a disk from an lvm partition?

Can anyone help ? I have 2 disks spanning my main partitions. 1 is 460Gb and the other is a 1TB. I would like to remove the 1TB - I would like to use it in another machine. The volume group isn't ...
0
votes
0answers
10 views

iSCSI changing lvm caching

I have a md array layered with lvm & a cache drive(using dm-cache cachepool writeback method) attached at the lvm layer. Before I formatted this with xfs and exported as an nfs share but decided ...
0
votes
0answers
13 views

Replacing a physical volume in a LVM/RAID configuration

Let's say that I have a RAID-5 logical volume vg00/lv00, with three physical volumes /dev/sda, /dev/sdb and /dev/sdc. I want to replace /dev/sdc with a new drive. I want to do this in two scenarios: ...
1
vote
1answer
33 views

Extending LVM partition with unallocated space on CentOS guest system

I believe this is an easy question for people in the know. I have ~100 GB unallocated hard disk space that I want to use to extend my home partition. What commands do I need to run? [paul@localhost ~...
0
votes
0answers
30 views

Disk partition Centos7 LVM

I have a small VPS (Centos 7) that I am currently working on and want to publish some websites. Want to partition a part of the disk so I can put the /var/tmp and /tmp so I can apply the noexec and ...
0
votes
0answers
355 views

Desktop doesn't start after upgrade to Ubuntu 20

I've a dual boot ( windows + ubuntu ) with grub2. I had Ubuntu 16 and I upgraded it via UI ( I was informed about some crashes about packages it couldn't get, but the process continued until the very ...
2
votes
1answer
76 views

How to remove missing PV when VG has a duplicate name

Using MaaS to reinstall Ubuntu 18.04, I ended up in the situation where I've got two Volume Group's named "vgroot", two logical volumes named lvroot and an extra PV now named [unknown]. How do I get ...
1
vote
1answer
15 views

How do I extend the storage space on a lvm filesystem in Linux?

I recently added CentOS 7 to my home PC alongside Windows 10 while WFH. The amount of storage space I allocated for this ended up not being enough, so I used Gparted to reduce my windows space and ...
1
vote
2answers
34 views

LVM: Shrinking /scratch, extending SWAP

kamals@poc02:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root vg_system -wi-ao---- 63.98g scratch ...
1
vote
0answers
9 views

LVM RAID 1 with external HD for a laptop

Consider the following scenario for a laptop: Most of the time the laptop sits in its docking station on the desk but is occasionally taken out. Docking and undocking can happen while running or while ...
0
votes
0answers
72 views

Setup LVM with cloud-init

I'm currently undertaking my first experiments with cloud-init and an Ubuntu 18.04 LTS cloud image. However, I'm struggling a bit with setting up LVM - I can't find any documentation on how to do it. ...
0
votes
0answers
70 views

LVM cache, issues flushing blocks and cache lv “not available”

i have a cached lv and i want to extend it. afaik, i will have to remove the caching, extend the lv, and then add the caching again. however: lvconvert --uncache /dev/vgraid/lvraid result in ...
0
votes
1answer
44 views

procedure with multipath and lvm - migrating to new storage array

I have an older redhat (5) server that needs to have 9 array filesystems moved to a new array. I'm seeking some assistance on the best way of doing this and how the process works. The data is being ...
0
votes
1answer
31 views

Copy xen VM to test a dist-upgrade of a mailserver

I use Xen with LVM and want to clone my mailserver VM vm01.mail-disk with courier/postfix in Debian jessie to test if an upgrade is easily feasable. How do I clone the VM and what do I have to change ...

1
2 3 4 5
25