191 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
42
views
TASK ERROR: activating LV 'SAS-Thin/SAS-Thin' failed
I'm getting the following error TASK ERROR: activating LV 'SAS-Thin/SAS-Thin' failed: Activation of logical volume SAS-Thin/SAS-Thin is prohibited while logical volume SAS-Thin/SAS-Thin_tmeta is ...
1
vote
1
answer
87
views
Looking to comment out certain fields in lvm.conf file using Ansible
I believe I'm messing up basic regex, I have an lvm.conf file that I need to comment out certain key value pairs on. The structure looks like:
global {
locking_type = 1
locking_dir = &...
0
votes
4
answers
992
views
How to get list of device names that are available for LVM
I am using lsblk command to get the device names on linux servers. However, I want to find the command that will help me scan the devices and store the results in an array only for devices that are ...
0
votes
1
answer
252
views
LVM using ansible - need to allocate based on size
I need to mount 4 filesystems into sd* devices based on size. If sda- 100, sdb -200 and sdc -50 and sdd -100 GB respectively then I need to mount my app filesystems into these 4 devices based on size.
...
0
votes
1
answer
179
views
lvcreate lv in Alpine container
I'm working on a lvm csi, which can create logic volume(lvm) in a container.
It succeeds when I run lvcreate command in a Alpine base image, but it fails when I use other base images(such as CentOS, ...
0
votes
1
answer
197
views
Creating LVM Partitions for Web App, Database, Unused Space, and Swap on Almalinux 9.3 [closed]
Struggling with LVM partitioning on Almalinux 9.3 GPT disk (sda), aiming to allocate space for a web app, database, unused storage, and a swap partition.
Currently, my Almalinux 9.3 system is ...
2
votes
0
answers
211
views
LVM: How do I merge fragmented LVM PE Segments/Ranges that were fragmented during pvmove operations?
I have 2 HDDs with 18TB & 8TB combined as an LV (Logical Volume) under a VG (Volume Group).. I initially had another 1TB which I recently removed/reduced from this VG and while reducing, I used ...
0
votes
1
answer
153
views
Pacemaker lvm cluster
I have added disks to the cluster nodes through the "iscsid target" server. Those disks are visible with "lsblk". ( /dev/sdb) . But when you want to create "vg" and "...
1
vote
0
answers
575
views
Why the Maximum Metadata Size of a Thin Logical Volume Is Only 15.81G?
My boss asked me to create a thin pool with metadata size exceeding the maximum limit.
In the first step, I executed the subordinate command:
[root@localhost ~]# pvs /dev/vdb
Configuration setting &...
0
votes
1
answer
746
views
grow up logical block size: - FAILED: failed to dump sfdisk info for /dev/sdb
How can I grow up space of the /dev/mapper/ubuntu--vg-ubuntu--lv?
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.5G 0 1.5G 0% /...
-1
votes
1
answer
832
views
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 ...
-2
votes
1
answer
1k
views
Can't reclaim lvm "thin pool" space
The pool usage is very large compared to the lvm volume, but it doesn't seem to be actually used.
Previously, the metadata area was full and the metadata was expanded. Since then I've had "lvm ...
-1
votes
1
answer
798
views
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 ...
1
vote
1
answer
387
views
Mapping nested device mapper mounts back to their physical drive
Looking for a reliable (and hopefully simple) way to trace a directory in an lvm or other dm mounted fs back to the physical disk it resides on. Goal is to get the model and serial number of the drive ...
-2
votes
1
answer
399
views
How do I assign another hard disk to root in linux? [closed]
The following is the current status of my disk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 62M 1 loop /snap/core20/1587
loop1 ...