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
2 answers
Building and installing a kernel that can mount / from an EXT3 on an LVM2 device
I have an ageing but much loved Fedora Core 6 box for which I am attempting to compile a kernel more recent than 2.6.22, in order that I might employ its support for an eSATA card.
My Fedora box has a pair of 500G disks & uses LVM2 to pool most of…

Martin Cowie
- 111
- 1
0
votes
2 answers
Converting raw image to LVM. Won't mount afterwards
According to this post, it should be okay, to use dd to convert a raw Xen image to LVM.
What I have done
dd if=/vm.img of=/dev/vg00/vm
I can mount vm.img with mount -o loop vm.img /root/tmp. It only have one bootable partition.
But I can't mount…

Sandra
- 10,303
- 38
- 112
- 165
0
votes
1 answer
LVM 2 snapshots and free blocks
LVM 2 snapshots works as COW. However the block may change even if it is not used anymore. As SSD disks may need marking of free/used blocks to better manage blocks, the API was introduced into Linux to mark free/used blocks.
My question is - does…

Maciej Piechotka
- 677
- 1
- 7
- 15
0
votes
3 answers
how to allocate percentage of a PV to a VG in lvm
I have 3 RAID arrays in my server, mapped to 2 PVs in my lvm2 setup.
apollo:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda1 apollo lvm2 a- 3.64T 0
/dev/sda2 apollo lvm2 a- 1.14T 0
/dev/sdb apollo1 lvm2 a- 2.05T…

bobinabottle
- 579
- 2
- 7
- 19
0
votes
2 answers
Extending storage space with SAN/iSCSI
I'll be creating a Linux storage server with several TB capacity using a hardware RAID array. But I was wondering, what are my options for extending it in the future?
To be more specifiec, if I create a volume group with the local RAID array as…

Halfgaar
- 8,084
- 6
- 45
- 86
0
votes
1 answer
LVM issues when adding a newly-carved LUN from a Clariion - pvcreate fails
This seems to be a semi-common issue asked, but I have not yet found a good solution.
I try the following:
[root@localhost ~]# pvcreate /dev/sdc
Can't open /dev/sdc exclusively. Mounted filesystem?
This forum post shows the user's solution to have…

warren
- 18,369
- 23
- 84
- 135
0
votes
1 answer
Manual LVM Clustering or formatting leading to Input/Output Errors
I'm trying to use LVMs on multiple machines at once without the use of CLVM. My reason for doing so is that I've found CLVM rather unstable and a pain to get working in the flexible way in which I want it. Given that I know which servers will be…

Joe
- 344
- 2
- 7
- 23
0
votes
2 answers
How to use LVM on Rackspace Cloud
I am trying to set up a simple but effective solution to make a backup of my rackspace cloud servers. These servers each run subversion, trac, and some database-backed custom php applications.
My idea is to set up a LVM and mount a volume under,…

batrick
- 3
- 1
0
votes
1 answer
How to mount a drbd/gfs logical volume from Xen VM?
Any hint on how to do this for primary/primary? I have drbd and gfs running ok, I can see the logical volume from the DomU but dont know how to mount it. Should I install gfs on DomU and mount???
Thanks
Cris
None
0
votes
2 answers
Does /boot safe on top of a lvm LV (logical volume)?
Title already asked the question. More specifically, I read in some documents that logical volumes are nice in general but not for /boot in a linux system. They say that bootloaders don't understand LVM volumes, so create a separate partition for…
fantoman
0
votes
3 answers
What could be causing LVM errors on first boot after install in Debian?
I've installed Debian (lenny) on a machine at home. It was set up during install to have a /boot partition, then the rest was encrypted, then had an LVM ontop of that, then all the other partitons inside LVM.
After install completed and on first…

ianfuture
- 121
- 1
- 4
0
votes
0 answers
Create Azure Red hat template with custom LVM partitions
I want to prepare Azure template for Red Hat 8 servers with packer and I'm facing problem with setting custom LVM partitions.
For example, I want separate /var/tmp, /var/log etc.
I deployed some VMs based on marketplace image and they have default…

matix324
- 1
0
votes
0 answers
mount LVM2 dump or extract files
I have a dump of a filesystem. I dont know how it was created. I want to extract all the files and the filestructure.
file dump.bin says it is a LVM2 PV (Linux Logical Volume Manager) file and prints a UUID and the size.
I tried to use kpartx like…

Vincent
- 1
- 1
0
votes
0 answers
Best Option for Compatibility of "Linux Journaling File System" and "Volume Manager" with Microsoft Azure VMs
I'm in the process of setting up a Ubuntu Desktop VM on a bare metal server using VMware vSphere.
Once the development process is complete, I plan to transfer the VM to Microsoft Azure VM infrastructure for production using Veeam Backup &…

user20766
- 1
- 2
0
votes
0 answers
LVM Thin pool performance with NVMe
I have 24 Samsung PM1733 7.68 TB and a server platform Gigabyte R282-Z94 with 2x 7702 64cores AMD EPYC. OS: Oracle Linux 8.6, 5.4.17-2136.311.6.el8uek.x86_64
I need this server for testing so I have to use a thin pool in my environment (i need…

shallrise
- 89
- 1
- 13