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.
Questions tagged [lvm]
1504 questions
0
votes
0 answers
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: I have my LV group "cinder-volumes" with all its Logical…

Nephews
- 1
- 1
0
votes
1 answer
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 looked and sure enough the pool is showing 0 free…

mav1c
- 1
- 1
0
votes
0 answers
How do I recover a broken logical volume group?
I created a logical volume group for my xen VMs on a separate drive. I had them working perfectly.
Then I accidentally unplugged the USB cable hosting my vg0. Now my VMs drives cannot be detected.
I can see them.
root@bradNewInspiron15:/etc/xen#…

brad
- 123
- 5
0
votes
1 answer
How can I extend or resize lvm from disk space
We use ceph to manage the storage and recently increased /dev/sdb's disk size.
I'm not sure how to utilize the newly available space in my ceph's lvm.
sdb …

rafas
- 1
0
votes
2 answers
How to resize LVM partition in my setup?
I have a CentOS 6 VMware VPS with the current partition format :
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_serverdl-lv_root
11G 4.9G 4.7G 52% /
tmpfs 1.9G 0 1.9G 0%…

master lfc6
- 27
- 2
- 7
0
votes
0 answers
Do I need a spare slot to replace a drive in an LVM raid array?
I am planning to set up an LVM raid 5 array and looked at how to replace a faulty drive.
I found the replace command
lvconvert --replace dev_to_remove vg/lv [possible_replacements]
For this to work, do I need to insert the new drive first in a…

The Shurrican
- 2,240
- 7
- 39
- 60
0
votes
1 answer
How to increase PV in Ubuntu after Virtualbox VDI resizing?
I did run out of disc space for the root partition in Ubunut 20.04. This is a guest system on Virtualbox.
Therefore I did:
Resized disk in virtualbox
Attached it to another linux box
Booted the other box
Resized pv
Now it looks like this:
sde …

merlin
- 2,093
- 11
- 39
- 78
0
votes
0 answers
speed difference between FS created by LVM and parted cmd
I was testing read/write operation on FS to check speed via dd cmd.
/app - created with LVM
/app1 - created with parted
when I run below cmds, can see huge diff in speed for both operation with same cmd. Wanted to know why such discrepancy if both…

user640121
- 1
- 1
0
votes
0 answers
Create an Fully Automated Installer for Debian with FAI
I searched on Google about creating Fully Automated Installer for Debian. My aim is to have an ISO file, make it bootable in pendrive. So if I plug this pendrive in a computer, power on the physical button then it will boot this iso, automatically…

Kalib Zen
- 137
- 7
0
votes
1 answer
Fresh Ubuntu 20.04 install no disk space on / and unable to extend
I have fresh Ubuntu 20.04 with 50GB disk size installed using defaults.
Now I don't have any space left on /dev/mapper/ubuntu--vg-ubuntu--lv.
df -h
Filesystem Size Used Avail Use% Mounted on
udev …

wojcieh
- 158
- 1
- 8
0
votes
0 answers
Unable to extend, create and attach openstack volume to an instance
I am running Ocata openstack on Ubuntu 16 and trying to extend an existing volume from 100GB to 250GB by following the link:
https://docs.openstack.org/cinder/rocky/cli/cli-manage-volumes.html
After running fdisk -l I do not see anything
I tried to…

gbayi_omo
- 1
- 2
0
votes
0 answers
How to resize img file created with dd on LUKS-LVM partition?
I have installed a new Debian 10 on /dev/sda with LUKS + LVM. It has the following partition structure:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 79G 0 disk
├─sda1 8:1 0 953M 0 part …

Kalib Zen
- 137
- 7
0
votes
0 answers
Add disk to software raid pool
I have a setup like this there run a mirroring software raid1 but its possible to add a disk more and use its like a raid5 or how do i add more storage to the raid?
Current with 2 disks
| / | /var | /usr | /home |
--------------------------
| …

The Tech Guy
- 21
- 1
- 1
- 3
0
votes
2 answers
Mixed HDD size storage system with parity
Im searching for a way to get the most out of "spare" HDDs. Following setup given:
1x 2 TB
2x 3TB
2x 6TB
What i want/need is:
Parity (1x HDD can fail. For example, one of the 6TB. Data should still be accessable)
Most storage possible, without…

Marc
- 127
- 1
- 7
0
votes
1 answer
LVM PV missing on boot - dropped to initramfs shell
I rebooted my ubuntu 20.10 server today and it suddenly started complaining that it cannot find one of the PVs in the root LV
After some digging around in the shell that it dropped me to I could see that the PV was indeed missing. I couldn't…

Declan Shanaghy
- 211
- 1
- 5