Questions tagged [lvm]
Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.
453
questions
1
vote
1
answer
31
views
Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04
I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs:
First disk with the following partitions:
/boot/efi
/boot
...
0
votes
1
answer
45
views
resize2fs wont grow an mdadm array (raid6, lvm, ext4)
I've decided to grow my raid6 array:
- from: 7x 2TB drives (giving usable space of ~9TB in ext4/raid6)
- to: 7x 4TB drives (giving usable space of ~18TB in ext4/raid6)
I have replaced all seven ...
1
vote
1
answer
64
views
store available disks for LVM in array
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
0
answers
16
views
How can I make total size of LVM partition match Used + Available?
I have a weird storage situation that I suspect is because I set up my LVM allocations incorrectly:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/data-cams 916G 830G 41G 96% ...
1
vote
0
answers
16
views
Move unallocated space into extended partition to expand primary partition
Is there any way in Ubuntu to extend the /dev/sda2 partition according to the screenshot?
I can only extend LVM, GParted doesn't allow moving unallocated space behind the /dev/sda2 partition. Thank ...
0
votes
0
answers
102
views
LVM Problems with lvresize showing no extents but there are extents available
I was trying to reduce the size of my Logical Volume. However before doing so I forgot to do a filesystem check. The original size of the logical volume was 403Gb I believe
[root@sysrescue ~]# ...
1
vote
0
answers
36
views
Recover deleted LVM Thinpool
I have erroneously deleted a LVM Thinpool by deleting a VM in Proxmox. I need to recover the data from this Thinpool and I'm struggling on getting in up again.
LVS tells me:
LV ...
1
vote
1
answer
91
views
linux + wipe a signature from a device not succeeded
we have the following file system.
from lsblk -f
sdb LVM2_member uMrU0b-6F3l-M9Ue-LPsf-kd6n-5l4m-WfxaRQ
└─DB_vg-DB_lv xfs a800d759-c8c7-4e7e-86d5-3d6a06123465
...
0
votes
1
answer
71
views
accessing the filesystem of the host from a docker container running in --privileged mode: unknown filesystem type 'LVM2_member'
I'm running a systemed docker container with ssh conection and now want to mount the host filesystem to gain access to it. ( don't worry this is just for demonstration purpose)
If i do
mount /dev/vda2 ...
0
votes
0
answers
80
views
Reducing the size of a LVM on LUKS generated warnings
Hi I have been following this helpful guide (https://wiki.archlinux.org/title/Resizing_LVM-on-LUKS) on how to reduce the size of my filesystem and partitions to generate roughly 100G of free space on ...
0
votes
0
answers
42
views
No completly encrypt and mount LVM during boot after update to bookworm
few day ago I update system and then problems begin to happen.
During boot I were thrown to initramfs (no drive found), so only option to continue is to do command below:
cryptsetup luksOpen /dev/...
0
votes
0
answers
69
views
What makes e2fsck -cc so slow?
This isn't a complaint or a request for tech support or help! I'm just curious about what's going on behind the scenes :)
I'm doing e2fsck -cc to flag bad blocks on an 8TB LVM ext4 filesystem. ...
1
vote
0
answers
45
views
Why is my LVM volume showing as being mounted multiple times?
Just noticed a weird thing in the output of lsblk:
It shows that it’s mounted multiple times for each physical volume. It doesn’t seem to be causing any issues. But I’m very curious why it’s doing ...
0
votes
0
answers
182
views
add capacity using LVM system
my current /home directory is lack of storage so i want to add capacity to LV. want to confirm if my execution plan will not distroy the existing system.
Here is the current disk status:
df -h
/dev/...
0
votes
2
answers
179
views
lvm: lvresize --resizefs does not read the request size in correctly
I am trying to resize a logical volume (as well as the filesystem contained on that volume) and am a little confused by the output of the lvresize command:
# lvresize --resizefs -L 2T /dev/archive/...