Questions tagged [lvm]

In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.

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

pvdisplay does not show the one lvm volume

Need your help for finding the one volume. i need to migrate the particular volume , but i am not able to get that particular volume. it was mounted on filesystem. but when we check the pvdisplay ...
0
votes
0answers
10 views

I need more space but i cant add space to /dev/mapper

Sorry my english, but I'm italian, today on my vps with ubuntu I restarted emby server, but it didn't start and doing service emby-server status, it gives me the error: Unhandled exception. System.IO....
0
votes
0answers
19 views

extend volume of CentOS7 VM

there is an issabel VM which i increased the VM hard drive from 20G to 1.07T through ESXi. next i add sda4 partition as new Linux LVM (following this path at step 22 ), seems i have to use vgextend [...
1
vote
1answer
66 views

lvmcache/dm-cache writeback cache full performance

I have a SSD writeback cache in front of a HDD, set up through lvmcache (so a dm-cache). When the cache LV is not full (Data% column in lvs < 100.00%), writes go to the cache device (monitored via ...
0
votes
0answers
23 views

Perform backup of root directory in luks-container form initramfs

My server is running from a root directory in an encrypted luks container with lvm layout. To perform a backup of the root partition, it is usually the consensus that the filesystem can not be mounted,...
0
votes
1answer
20 views

What's the best way to set up LVM on an AWS EC2 Instance running Ubuntu?

basically I want to setup an EC2 instance that is properly setup with LVM, instead of what you get when you start up one using the basic Ubuntu AMI which is completely un-partitioned. Where I'm ...
1
vote
1answer
23 views

LVM - pvmove to a smaller volume

I would like to pvmove a logical volume to a smaller, but faster drive, leaving the excess part on the original drive. Can that be easily accomplished?
0
votes
0answers
14 views

Linux LVM - and re-arranging disks?

The root filesystem is in a VolGroup that consists of /dev/sda5 and /dev/sdd1. So in between those 2 drives there is sdb and sdc, and i would like to remove those. I am guessing that sdd will be ...
0
votes
1answer
18 views

Resize AWS LVM volume

I have successfully increased the space on AWS EBS volume. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 64G 0 disk ├─nvme0n1p1 259:1 0 63.9G 0 part / ├─...
0
votes
0answers
15 views

LVM can not create lv exceeds maximum metadata size

I used LVM on top iscsi, but I got error when I running lvcreate as image, exceeds maximum metadata size (we're not using lvm-thin so somehow there's a metadata warning), Has anyone had a similar ...
0
votes
0answers
12 views

Deactivation of lvm volume group surviving boot

due to a failing hard disk, I would like to deactivate the volume groups living on it, to make sure that the disk is messed with as little as possible until it gets replaced. I know that I can ...
0
votes
1answer
40 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 ...
0
votes
0answers
18 views

Connect LVM volume directly to oVirt Virtual Machine

I have used libvirt before (KVM). I had a VM that had a host LVM Logical Volume directly attached to the virtual machine. (e.g. /dev/myvg/myvol) So this volume was presented to the virtual machine as ...
0
votes
2answers
46 views

Recover a failed Physical Volume (PV) in LVM

My motherboard burned. After getting a new motherboard and attaching the disks, recovering a failed PV fails, because the hard disk size has decreased. # pvcreate --test --uuid "wcUYiJ-ULvA-YcLK-...
2
votes
2answers
177 views

How to increase speed of RAID 5 with mdadm + luks + lvm

I think I am kinda lost with my current server setup. It is an HP Proliant dl160 gen 6, and I put 4 spinning disks with a setup that has mdmadm + luks + lvm and on top of it btrfs (maybe I went too ...
0
votes
0answers
13 views

How to install Xenserver Properly

When I installed xenserver 7, It asked me if I want thick or thin provisioning. Thinking this is a production server I must have chosen EXT because I had problems with LVM before with balooning of ...
0
votes
1answer
68 views

Linux -LMV DM devices IOPS count

I know this might sound like a silly question, but here I go. I have CentOS 7 running in a server with a disk using LVM, according to the vendor the disk could achieve 500 iops, the disk is under /...
2
votes
0answers
32 views

Getting DRBD to boot up in a synchronized state from cold boot

I am working in an environment with an embedded High-Availability NVMeoF cluster, and need this cluster to be available within minutes of a cold power-on of all nodes, and trying to set up a RAID-10 ...
0
votes
0answers
21 views

Is there any limit in how many drives I can combine in one LV

Let say I have 16 4TB Drives in a Raid 1 setup (two drives per raid1). This gives me 8 4TB drives to store on. Now I want those to be one big partition. Is it possibel to use all those 8 drives in one ...
1
vote
1answer
198 views

How to create LVM RAID 1 with 4 disks of 2 different sizes?

I have a system with 2 x 1TB (NVMe SSDs) 2 x 2TB (SATA SSDs) disks and would like to create a RAID 1 system using all available disks (so I have a 3TB RAID1 system at the end). Unfortunately, most ...
0
votes
1answer
58 views

Properly Extend virtual volumes on a CentOS VM, new space in /dev/cl/ not occupied by /dev/mapper

I have a CentOS VM (on a windows host, managed with virtualbox) that ran out of disk space. I extended the virtual disk size, then used gparted to assign the new space to the existing partition Then I ...
0
votes
1answer
41 views

Have lvm spread LVs across several PVs

I have a server with multiple disks. Most are raid1: PV /dev/md127 VG HDDs lvm2 [465.63 GiB / 421.63 GiB free] PV /dev/sdg1 VG backup lvm2 [<931.51 GiB / <931.51 GiB ...
1
vote
1answer
53 views

LXD on ZFS on LVM on H/W RAID 10

I have a Dell R540 with PERC H730P running RAID 10 over 12 DISK to the tune of ~22TB. I want to run various applications/services in LXD containers. I understand that ZFS is preferred for LXC storage ...
0
votes
1answer
144 views

Add new disk to LVM group using ansible module

Team, there are lvol module but I am having hard time find way to add new device to existing VG group. so I took alternate route to use shell module and running RAW commands. but is there a way I can ...
0
votes
0answers
15 views

Remove missing sub-LVs from LVM2 raid1 array

I have a two drive LVM2 RAID1 array where I've handled two HDD failures. It still works now, but when I examine my logical volume I can see it contains sub LVs for the physical volumes that are no ...
0
votes
1answer
45 views

Recovering a nested PV

On my Proxmox 6.4 host, I had an LVM Thin pool that was 250GB large. I created an Ubuntu VM (which used LVM for the root partition as well) on it, but accidentally oversubscribed it, so the PV inside ...
0
votes
1answer
50 views

Create lvm volume in the last cylinders of the disk

In all magnetic disks, the speed difference between the first and last sectors is noticeable, up to a factor two or three. This is still true with the new multi-terabyte disks. So it still makes sense ...
1
vote
1answer
665 views

Proxmox VE: add a LVM storage on top of iSCSI: how to find "base" value for pvesm

I'm using Proxmox VE platform, version 6 or 7, and I'm currently documenting the initial setup with the idea of automating it later. So I'm looking for all command line commands to do all that I must ...
0
votes
2answers
159 views

Is it possible to backup a LVM disk to an external server?

Over the past month I've been putting my mind into how LVM works. The initial thought was that it is very flexible, I was surprised the system could still run while moving the disk to another local ...
1
vote
1answer
159 views

OpenStack node not booting after forced shutdown, ubuntu--vg-ubuntu--lv does not exist

After forcibly rebooting my OpenStack compute & block storage node, it no longer boots; how can I fix this or recover its data? Gave up waiting for root file system device. common problems: -Boot ...
1
vote
0answers
99 views

Commands hangs on logical volume

I'm using virtual machine with SUSE Linux Enterprise Server 11. After one of the critical shutdowns of the server, the disk id have changed. I have changed and replaced the values with new ones in the ...
0
votes
1answer
101 views

Centos 6.10 - How to increase allocated PE size to take up Free P/E size

I recently had to shrink a Clonezilla image, but overdid it an now have to recover some unused free space. Here is the output of vgadisplay: --- Volume group --- VG Name ...
1
vote
2answers
233 views

Reducing an lvmgroup - cannot resize to xxxx extents as later ones are allocated

I've been going through the process of reducing the size of a Centos 6.10 image by reducing an lvmgroup. I'm at the point where I've been able to run this command: pvresize -tv --...
1
vote
0answers
18 views

Striped Logical Volume

Im currently setting up a lab for LVM, three PV sdb1 sdc1 and sdd1. A striped logical volume is created named stripe01 with PV sdb1 and sdc1. Are there any options in lvconvert to add/remove a stripe ...
0
votes
0answers
203 views

Convert thin logical volume to thick

I have a volume group that has a thin pool with logical volumes. I don't want these to be thin -- I want them to be regular logical volumes. How can I move them out and convert them to thick ...
1
vote
1answer
39 views

Resizing Virtual Ubuntu Server

I have a virtual instance of Ubuntu Server running. Increased the virtual disk from 37GB to 50GB, but now stuck on getting the additional space to the LVM. I have tried lvextend and resize2fs with the ...
2
votes
1answer
174 views

Cannot extend logical volume with ansible lvol module

I cannot extend an LVM logical volume with ansible lvol module This is an excerpt from my playbook: - name: Create lv (lvcreate) become: true lvol: vg: "{{item.vg_name}} " lv: &...
1
vote
1answer
144 views

Broken lvm results in read_urandom error

I was doing something in a chroot, and unfortunately I broke the host. Now I cannot manage the volume groups: pvs read_urandom: /dev/urandom: open failed: No such file or directory Same error with ...
0
votes
2answers
244 views

lsblk shows LVM volume as subcomponent of a partition

Given two physical drives, sda and sdb, I have: Used fdisk to make sda1, sda2, sdb1 and sdb2 Created four physical volumes accordingly: pvcreate /dev/sda1 etc Created a volume group: vgcreate datavg /...
0
votes
0answers
37 views

Is there any risk to create an LVM group with two disks of different physical sector size?

I have two hard drives of different physical sector size. I would like to create an LVM volume group with them, however, when I do so with vgcreate, I get a warning telling me that the two disks have ...
0
votes
0answers
44 views

LVM got Unallocated after MBR to GPT using gdisk

I accidentally deleted (not formatted) my Ununtu LVM partition on Windows today using it's Disk Management software. After a long night, I've managed to boot into Ubuntu again with my data intact. ...
0
votes
0answers
107 views

How to properly update container sizes when extending kvm/libvirt disk when running into "... smaller then corresponding PV size" error?

I work on a Debian buster system as a KVM/libvirt host and followed this guide to extend the disk of my guest: https://computingforgeeks.com/how-to-extend-increase-kvm-virtual-machine-disk-size/ . ...
1
vote
0answers
55 views

Is it possible to migrate between two physical disks without (much) downtime?

I have a server with a medium-sized database on a disk which is filling-up. There is no LVM or RAID or anything like that in play at this point. I already have the new disk installed in the server. Is ...
0
votes
1answer
59 views

How to backup large MySQL database with the help of LVM snapshots?

I am trying to find a backup/restore procedure for a MySQL 8 DB with 400M+ Rows in InnoDB tables. MySQLdump takes days and therefore I am trying this now: Mount a LVM volume on the DB Folder Create ...
2
votes
5answers
640 views

How can I restore an LVM snapshot of a larger volume on a smaller disk?

I am trying to backup/restore an LVM volume on a local Ubuntu 20.04 (Focal Fossa) server. The production server has an LV of 500 GB, however there are only 19 GB used so far. The local development ...
0
votes
0answers
96 views

What does the Cpy%Sync column of lvs output mean for a cache LV?

I have a host with a single cache LV (~800GB SSD in front of a multi-TB RAID array; write-through mode). I ran a routine scrub on the RAID last night (lvchange --syncaction check). Ever since that ...
0
votes
0answers
30 views

How do I expand centos-root to get more storage space?

When I run fdisk -l on CentOS-7, I get the following: Disk /dev/sdd: 1920.4 GB, 1920383410176 bytes, 3750748848 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes ...
3
votes
1answer
118 views

e2fsck cleans a filesystem and then a few minutes later (after a lot of reads) there are errors

The filesystem is on an LVM RAID5. It appears to be working correctly: $ sudo pvs [sudo] password for jrwren: PV VG Fmt Attr PSize PFree /dev/sda2 datavg lvm2 a-- <7.28t ...
0
votes
0answers
28 views

Import exisiting Logical Volume into Openstack

My Openstack (Microstack on Ubuntu) got screwed up and I had to reinstall it. Putting a backup of the Openstack config back in place didn't work so have to start "fresh". The problem now is: ...
0
votes
1answer
33 views

How to free space in lvm pool?

I have a newly built CEntOS 7 server with a single large lvm pool we plan to use for VM installations. When I tried to create a new VM instance using ssm, I got errors saying there's no space. So I ...

1
2 3 4 5
29