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
1 answer
Who brings up lvm volumes and how when booting?
I know the logical volumes info is saved in the lvm metadata, and the tools from lvm2 can be used to scan them out and setup the kernel DM by ioctl. I am curious that who does this work during booting so we can mount lv as rootfs, systemd?

Changbin Du
- 501
- 5
- 11
0
votes
1 answer
Storage partitioning redhat/centos linux; anaconda kickstart storage configuration
Super beginner with storage related concepts. So confused with what could be the problem with the storage configuration below. This is kickstart file/string used to configure redhat os installer.
clearpart --all --drives=vda,vdb,vdc --disklabel…

awesome_penguins
- 13
- 4
0
votes
0 answers
Proxmox LVM on ISCSI resize
I have a cluster of 5 nodes running Proxmox PVE 5.1.
I had configured a ISCSI storage connected to a SAN and several LVM mapped to LUNs.
I resized one of these LUNs, but the LVM is still the old size.
Can I make a pvresize to extend the LVM without…

jeepee
- 1
- 2
0
votes
2 answers
xen-hypervisor - right way of snapshot and revert
I have an CentOS 7 with xen-hypervisor 4.6.6.
I manage the VMs from cli with xen-tools (xl, etc).
The VM disks are managed with LVM.
I would like to create snapshot of VM and revert if needed (eg.: in case of failed system update).
Please tell me…

Xcross
- 3
- 3
0
votes
0 answers
How to add a btrfs raid 1 to an encrypted lvm2 volume group under Solus OS (Linux)?
What I have:
Solus OS install with an encrypted LVM2 on a 56G SSD w/o swap - works pretty
good. I have 32G RAM, so swap isn't an issue right now - it's my future main rig
and it is mainly intended to being used as desktop for office, web, daw…

Enrico Lefass
- 1
- 2
0
votes
1 answer
pvcreate not able to initialize physical volume
I got some application which will call the pvcreate each time.
I can see the volumes in my vm as follow:
$ pvscan
PV /dev/vda5 VG ubuntu-vg lvm2 [99.52 GiB / 0 free]
Total: 1 [99.52 GiB] / in use: 1 [99.52 GiB] / in no VG: 0 [0 ]
$…

R_SS
- 317
- 5
- 21
0
votes
1 answer
Using Ansible to Configure Multiple Drives with LVM
In full disclaimer I am a bit of a neophyte with Ansible and I might be biting off more than I can chew, but I have a need to be able to configure IO servers. Think of them as the front-end servers for Gluster, or Lustre OSS servers, etc... Each of…

Randy
- 1
- 1
- 1
0
votes
1 answer
Specify lvm filter in command?
I exactly know the usage of filter in lvm.conf (from here), but I want to specify the filters in command, like below:
lvs --filter [ "a/.*/" ]
The lvm just not support that, and I have try the commandprofile but it just not support section…

Sun Gengze
- 749
- 2
- 6
- 12
0
votes
1 answer
pvcreate failing to create PV. Device not found /dev/sdxy (or ignored by filtering)
I have an oVirt installation with CentOS Linux release 7.3.1611.
I want to add a new drive (sdb) to the oVirt volume group to work with VMs.
Here is the result of fdisk on the drive:
[root@host1 ~]# fdisk /dev/sdb Welcome to fdisk (util-linux…

Manuel Luis Aznar
- 63
- 1
- 6
0
votes
3 answers
How can I resize a fat32 file system in an LVM partition?
Simple enough: I have an LVM partition (e.g. /dev/mapper/foo-fat) that contains a Fat32 file system. Prior to reducing the size of this LVM partition (which I'll do with lvmreduce), I want to reduce the size of the Fat32 filesystem it contains.
It…

Edward Falk
- 9,991
- 11
- 77
- 112
0
votes
1 answer
Shell script array
I have two arrays in a bash script, every array have same number of elements, I need to write 2nd array's every element for every element in the first array in a for loop
first array name: ARR_MPOINT
second array name: ARR_LVNAME
piece of the…

Ramana
- 3
- 5
0
votes
1 answer
BackupPc doesn't backup mounted LVM Snapshot?
I resetup my BackupPc and running into a Problem:
I want to backup "/backup" on all hosts. I started with ONE host for test purposes.
Process:
BackupPC calls a Shell-Script on the Client
That script generates some snapshots and Mount them to…

lippoliv
- 727
- 2
- 11
- 28
0
votes
1 answer
Error: "gzip: stdout: No space left on device" during Linux kernel upgrade (while there is space)
I'm currently in the process of trying to upgrade my Linux kernel from 4.4.0-63 to 4.10.12. I've gotten through the steps (by using http://www.thegeekstuff.com/2013/06/compile-linux-kernel manual) of: make -> make modules -> make…

MangoOfFury
- 97
- 3
- 11
0
votes
1 answer
Duplicate of PV dev /dev/mapper/mpathc exists on unknown device 8:96
I have configured multipath in RHEL linux. i have changed the filter to "filter = [ "a|/dev/disk/by-id/dm-uuid-.*mpath-.*|", "r|.*|"]". After that while issue a command vgscanif diplays a followin error
Duplicate of PV…

G.Krish
- 21
- 7
0
votes
0 answers
Is it possible to list files or directories on a logical volume?
I have a python script that removes a logical volume. As part of the functional testing, I need to test it's behaviour if lvremove is called when there is a file or directory open, that is stored on the logical volume.
To do this, I want a list of…

Crowgrammer
- 1
- 2