lvm (logical volume manager) is a software that allows disk partitionning by hiding the physical limitations of the underlying disks. It can make logical partitions from separate physical partitions even on separate disks, hide mirroring, allow increasing the size of a logical volume while used and so on
Questions tagged [lvm]
190 questions
0
votes
2 answers
Im trying to add additional space to my virtual machine. I went from 250GB to +750GB but am having trouble adding it to the lvm
Current my pv looks like this
tj@ubuntugis:~$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name ubuntu-vg
PV Size <31.00 GiB / not usable 1.00 MiB
Allocatable yes (but…

Tommie Jones
- 957
- 1
- 16
- 37
0
votes
1 answer
CentOS 7: LVM swap extension not shown by the "free" command
I'm running a CentOS 7 guest on a VirtualBox 6 on Windows. The result of the free command is as follows:
$ free -h
total used free shared buff/cache available
Mem: 15G 2.4G 11G …

Seymour Glass
- 81
- 2
- 15
0
votes
1 answer
Linux : where exactly is a file saved when there are multiple logical volumes?
I've mostly worked in Windows environments and am still very noobish in everything Linux, so it's very likely I'm missing basic Linux concepts. That being said, I have questions about logical volumes and their interactions with files :
I have to use…

Cheradenine Zakalwe
- 45
- 6
0
votes
1 answer
How to move mounted and mapped logical volume from one volume group/physical volume to another
I know that there are many similar questions but none of the solutions works for me as it is a little complicated in my case. I'm sorry if I overlooked one of them.
So I have a Ubuntu server with 2 physical volumes, one is a 4TB HDD and another one…

Anthony Kung
- 1,025
- 3
- 12
- 22
0
votes
1 answer
Missing creation time for LVM volume
One of our storage has an lvm volume group on which multiple logical volumes are not set the creating host name and time (LV Creation host, time attribute).
These were created quite a long time ago, but unfortunately (since the date is missing) I…

Laszlo Malina
- 43
- 1
- 5
0
votes
1 answer
UDisks script to list all mounted USB devices
i wanted an UDisks script to list all the usb devices that are mounted on my system , which
must have ability to detect LVM devices.
Perl / C / Shell any is fine
Many thanks.
P.S: Hal is deprecated on my Gentoo and removed

daisy
- 22,498
- 29
- 129
- 265
0
votes
1 answer
LVM linux. What does it mean LEs in my task? May be it is typo
at the moment I preparing to RHCSA exam and complete some tasks to achieve desired result. I have a question by this task:"Create a logical volume called linuxadm of size equal to 10 LEs in vgtest volume group (create vgtest with PE
size 32MB) with…

juke er
- 40
- 6
0
votes
2 answers
Script to extend LVM volume and resize the filesystem
On my server, I have to extend lvm volumes from time to time in order to make more space. For this, I use commands lvextend and resize2fs. I would like to have a command which will present me a list of LVM volumes to choose from and ask for the size…

Floyd
- 739
- 1
- 7
- 20
0
votes
1 answer
How can I get the Laravel 7 Homestead database snapshots working?
I've enjoyed Homestead for years and today noticed a very appealing feature that I've never used before.
https://laravel.com/docs/7.x/homestead#database-snapshots says:
Homestead supports freezing the state of MySQL and MariaDB databases
and…

Ryan
- 22,332
- 31
- 176
- 357
0
votes
1 answer
Remove Volume Group from a re-pourpsed disk
I have this SSD that was in another Ovirt cluster that I destroyed, and now I'm trying to re-purpose this disk but can't seem to clear it. I have tried wipefs and dd but it still shows up in fdisk -l. How can I clear all lvms from this disk?
sudo…

Frank S
- 99
- 1
- 3
- 8
0
votes
1 answer
Unexpected System failure of CentOS7 due to LVM partition not mounted
I have a problem with my CentOS7 system installed in Intel NUC(Intel® Core™ i7-7567U CPU @ 3.50GHz × 4 ).
Last time i was not able to login to the system by any user or root password. Then I tried to rescue the password by reset root password. But…
0
votes
1 answer
HP-UX repairing a stale extent on a mirrored disk set with a failing primary disk
I have an HP-UX 10.20 system with a mirror disk pair. I recently had a failed disk, which I'll refer to as "the bad disk". I had to remove it from the system in order to boot successfully. I went through the procedure of replacing it with a new…

a344254
- 571
- 2
- 9
- 20
0
votes
0 answers
Command lvcreate throwing an invalid flag error?
I'm working on a group project that involves having to use the command lvcreate. When trying to run lvcreate with certain flags, this error message appears (the flags passed in are in the error message):
Error: Error Creating LVM LV for new image:…

mparfan
- 9
- 1
0
votes
1 answer
MongoDB LVM snapshots backup and restore on diffent filesystems
I want to backup a large MongoDB database (aprox. 100GB) using LVM snapshot, but the filesystem differs from the backup to restore point.
The actual database resides on AWS EBS with ext4 filesystem and I want to restore it in another EBS with…

eszanon
- 3
- 1
- 3
0
votes
1 answer
The use of LVM over JBOD or RAID, is possible or not recommended?
I am installing a 5 node Cassandra installation and will have 10 SSD 1.9 TB drives available per node. I want to use LVM to combine the 10 drives and distribute the disk space needed for each node.
The only documentation that I can find for…

Heath Curry
- 3
- 4