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
1 answer
pvmove to smaller drive?
I am running on CentOS 7, lvm, with an XFS formatted root drive. As originally set up, the server had a single large root volume that contained both the OS and the data. The data has now grown, and I would like to move it off to a separate drive.…

ibrewster
- 387
- 1
- 4
- 16
0
votes
0 answers
After resize and after reduce get error on parted
Scenario
I expanded the disk space, from a kvm in proxmox.
By mistake expand instead of 50 GB expand 500GB
Well, when I did the vps check with dmesg | grep vdb and with fdisk -l /dev/vdb | grep ^/dev I realized my mistake
Choose to stop the machine…

abkrim
- 417
- 7
- 18
0
votes
2 answers
how do i extend pv when extending vmware disk?
I extend the disk in vmware
after doing so I get the configuration but how to extend the pv /dev/sda1 at 30G to later extend the vg?
I don't want to extend the partition with fdisk I just want to extend the pv stop then extend the vg and lv…
user482363
0
votes
1 answer
Linux pvmove gone awry after turning on mq_deadline, any way to recover?
So we had a migration in the office using pvmove. Then this happened
Mar 8 12:26:51 v1 kernel: [ 5798.100321] BUG: kernel NULL pointer dereference, address: 0000000000000140
Mar 8 12:26:51 v1 kernel: [ 5798.101099] #PF: supervisor read access in…

Ajay
- 61
- 1
- 6
0
votes
1 answer
LUKS encryption on which layer?
Option1: Linux Partition -> LUKS -> LVM
Option2: Linux Partition -> LVM -> LUKS
Which stack is better from system load aspects?
Background: On my Linux server (CPU AMD Opteron 6338P, LSI 3ware SAS / SATA-RAID controller with two 4TB HD in RAID 1, 64…

questor
- 1
- 2
0
votes
1 answer
KVM, libvirt, and LVs inside LVs
I have a Debian server running KVM+libvirt. The VMs disks are LVs on the host. The trouble is that if I create LVs inside the guests, they are recursively detected on the host and that creates all sort of problems, like the inability to resize or…

wazoox
- 6,918
- 4
- 31
- 63
0
votes
2 answers
Resizing Ubuntu server LVM on a VPS
I just subscribed for a Ubuntu 18.04 server, it is advertised as 20 Gb disk space but my root LVM is only 3.9 Gb. As you can see below the sda3 actualy has 20 Gb but the root ubuntu--vg-ubuntu--lvm has only 3.9. Any chance I can resize it by myself…
0
votes
1 answer
What's the reason behind having LVM activation mode set to degraded by default?
Out of curiosity, why is this
root@pve:~# lvmconfig --type default activation/activation_mode
activation_mode="degraded"
degraded, by default?
Doesn't this configuration expose users to the risk of data loss?
Say user has a raid1, with 1 mirror and…

Chris
- 260
- 1
- 4
- 16
0
votes
1 answer
Restore root on LVM with one disk (seperate boot partition)
I did a stupid thing and accidentally removed my LVM partition in parted. Since this was a single disk LVM, parted rescue finds an EXT2 partition in the sectors, but I am unable to boot from that since my initramfs is still looking for an LVM VG. I…

Anže Jenšterle
- 1
- 1
0
votes
2 answers
Combining Two 2TB disks and One RAID-10 Array into A Single Logical Volume?
Is it possible to combine 2 disk and 1 RAID array into 1 single logical volume in Ubuntu 18.04?
I am planning to set up a PostgreSQL database on this machine and think it is better to let it store data in 1 single volume than to span across…

Nyxynyx
- 1,459
- 11
- 39
- 49
-1
votes
1 answer
DM multipath along with local disk
I have one /storage partition which is created from /dev/sdc local disk which is in LVM, now i want to extend it. we have 1 disk free which is a multipath disk over iscsi.
can i add this disk in the existing LVM? will there be any issue when server…

snehal s
- 179
- 1
- 3
- 8
-1
votes
1 answer
/dev/mapper Partition 1 does not start on physical sector boundary
How to fix "Partition 1 does not start on physical sector boundary" for "Disk /dev/mapper/isw_ddfdcbhjcj_Volume0"?
sudo fdisk -l
Disk /dev/mapper/isw_ddfdcbhjcj_Volume0: 935.4 GiB, 1004400541696 bytes, 1961719808 sectors
Units: sectors of 1 * 512 =…

wuwuming
- 1
- 2
-1
votes
1 answer
Mount options for a deep-learning workstation
So, my university advisor assigned me to setup a deep-learning workstation in our laboratory to do some research. But it's my first contact with linux and system administration and I'm feeling a bit lost in some aspects of the installation. One of…

Lucas Figueiredo
- 5
- 4
-1
votes
1 answer
Extend lvm logical volume
I have to increase an lvm partition, then the fact is this I have an lvm centos with 3 file systems (you see them in the image) then the first one is /dev/mapper/centos-root which is what I should increase while /dev/mapper/centos-home which is what…

riki
- 103
- 4
-1
votes
1 answer
Unable to create volume group
Im trying to create a volume but get the below error.
p@prem-ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.6G 4.0K 7.6G 1% /dev
tmpfs 1.6G 1.2M 1.6G 1% /run
/dev/sda1 …

user1050619
- 119
- 1
- 6