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
How to take the snapshot of lvm in AWS?
I am fairly new to the AWS and have created some MySQL servers in Amazon EC2. Being cognizant, I have set up the DB server to store the data in an LVM mount point. Now for data retention I would like to take snapshots in regular basis (of course as…

sameergautam
- 71
- 6
0
votes
1 answer
Is there a command library interface for LVM?
I am developing a code module which identifies all the partitions in the linux machine.
I also need to figure out if any of the partitions are using LVM. If LVM is used, then i should create snapshot and return the snapshot mounted volume names.
For…

user312544
- 21
- 1
- 3
0
votes
1 answer
AIX 7.1 Creating an enhanced JFS file system issues?
I am fairly new to AIX and am trying to create my first jfs file system mounted on /usr1.
I started off by creating my volume group from the available disks..
#/usr/sbin/mklv -y'vl_usr1' -t'jfs2' -c'2' vg_usr1 6005
van-oppy# lsvg vg_usr1
VOLUME…
user1709091
0
votes
3 answers
Virtual filesytem over multiples files
is it possible to create and mount a virtual filesystem what is made over normal files and not over disk/partition?
Firstly I though in LVM, and instead of use disks or partitions, use files. But it isn't possible, or I don't know how to dot it.…

lodopidolo
- 175
- 2
- 10
0
votes
1 answer
LVM versus Lustre File System
We have to build a large scalable filesystem.
Since LVM and Lustre both can provide dynamic scaling of file system size,
I wanted to know the relative advantages and disadvantages of LVM vs Lustre File system.
Thanks in advance.

hrs
- 487
- 5
- 18
0
votes
1 answer
Show just LV Size?
Is there a way to just show the sizes of all LV's on a volgroup? I have about 100 of them and it's a challenge to see which ones are the largest.

paradoxic
- 95
- 1
- 7
0
votes
2 answers
Using lvremove with regex
I would like to use lvremove to delete multiple volumes by matching a regex.
For example, I have a volume group with volumes:
lv-1-8a
lv-1-846a
lv-1-5a
...
I have tried:
lvremove volgroup/lv-1-*
but it seems that this is not accepted, I get the…

EkcenierK
- 1,429
- 1
- 19
- 34
0
votes
1 answer
What does lvcreate on physical volumes? Will it removed the data?
Base on http://www.centos.org/docs/5/html/5.2/Cluster_Logical_Volume_Manager/create_linear_volumes.html
"When you create a logical volume, the logical volume is carved from a volume group using the free extents on the physical volumes that make up…

Jan Mark
- 147
- 1
- 2
- 10
0
votes
1 answer
Which command will help me figure out, my base Physical volume that I am residing on?
Is there a way, I can figure out the base physical device, that I am residing on. For example say, physical devices, which cannot be removed/edited/modified....

howtechstuffworks
- 1,824
- 4
- 29
- 46
0
votes
1 answer
Reading Desktop Icons via ListView (LVM_GETITEM) - Windows 7 problems
The following code works fine in Windows XP, and was working in Windows 7 at one point, but no longer works. I can't seem to figure out why unfortunately. Has anyone else had issues?
To be more specific, it finds all the icons, and their locations…

Para
- 836
- 8
- 18
-1
votes
1 answer
How to find which EBS volume is storing the data
I have created a ec2 instance and attached 3 ebs volumes to it, I have created a lvm on the 3 ebs volumes and mounted it to /var/lib/pgsql and then installed postgresql source 8.4 and configure it to /var/lib/pgsql/data/data1 and i have created a…

Sam
- 19
- 3
-1
votes
1 answer
Redhat Increasing disk partition in linux
I have a disk in azure redhat. I increased the size from 128GB to 256 GB. I restarted it and mounted it again. It is gpt partion.For lsblk /dev/sdc1 is showing it already has 256 GB but df -h is showing 128GB.
lsblk /dev/sdc1
NAME MAJ:MIN RM SIZE…

Karikaaalan
- 149
- 1
- 8
-1
votes
1 answer
Any alternate method to allocate free space without growpart?
I am trying to allocate free space to root as my disk space is full (I am using this guide https://guideplanet.co.uk/index.php/2021/03/26/lvm-extention-for-centos/). I am doing it via KVM (ionos hosting). But i am not able to install growpart as it…

Jack
- 363
- 1
- 4
- 14
-1
votes
1 answer
Possible to pvmove & vgreduce in LVM if PVs are allocated to Xfs free space?
I have a ~250 TB Xfs file system, distributed across several disks (PVs) via LVM.
I've moved most of the data to another server. The remaining data (~60 TB) would easily fit on just PV.
I would like to decommission all but one disk in my VG. The…

Daniel
- 2,032
- 5
- 21
- 27
-1
votes
1 answer
could not figure out how much is one extent?
i got the homework from Devops school and one of LVM question below , i am confused with extents , teacher said that it should be calculated like this : 20x25 = 500 mb --> so the partition supposed to be made about 600 mb with extra space ! But from…

mike543
- 1
- 1