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.
459 questions
1
vote
0
answers
39
views
LVM cached volume in writethrough mode flushes when uncached
I’m working with an LVM logical volume, which is cached by a faster LV. The setup is dm-cache, writethrough mode, smq policy.
Now I’m trying to uncache it and I’m seeing it’s flushing a lot of blocks.
...
1
vote
1
answer
166
views
How to restore data from an SSD?
Is there a chance to restore at least /home if this happens:
It was necessary to replace the disk in my wife's laptop. For some reason, I decided to do it at night, after putting the children to bed, ...
0
votes
0
answers
186
views
How to recover files from LUKS partition of Ubuntu that when unlocked is empty
messed around with the mounting options of my Ubuntu OS, I have since backed up the LUKS partition to a IMG file.
When I luksOpen it, I am able to mount the LVM2 member on a live Ubuntu however there ...
0
votes
0
answers
83
views
How to tell Ubuntu there is a working logical volume on the drive?
When performing factory recovery in order to update BIOS, I didn't want to dd back the whole drive backup I had, for I wanted to keep the reinstalled Windows since apparently there was something odd ...
1
vote
2
answers
164
views
rsync consistent and integrity state (LVM/no-snapshot)
On my ubuntu server, I have a directory which has around 800 GB data (filesystem is ext4), this data is written and get changed very frequently, it is on the lvm but the vg doesn't have any free ...
2
votes
2
answers
275
views
Grub stuck on the minimal BASH-like line editing after a power interruption (debian 13)
After a brutal power interruption while updating the system, Debian 13 doesn't boot anymore. It's stuck on the "Minimal BASH-like line editing" with the "grub>" invite.
The disk ...
0
votes
0
answers
70
views
P2V migration of a Linux server goes to grub-rescue after the second boot of the destination VM
After doing a P2V migration of a Linux server with VMware vCenter Converter Standalone, I see the following configuration after the first boot of the destination VM :
$ lsblk /dev/sd?
NAME ...
1
vote
0
answers
43
views
How is my LUKS root LV being mounted?
I have an Ubuntu LUKS on LVM install that is currently working fine, but I'm planning on migrating it to another drive and obviously want it to be able to boot properly.
The boot drive has an MBR and ...
0
votes
0
answers
204
views
Grub2, change keyboard disposition for LUKS passphrase using grub-mkimage
Following this and this i'm trying to change keyboard disposition on Slackware 15.1 (current) (iso) for entering LUKS passphrase with Grub2.
Disk partitions
# lsblk
NAME MAJ:MIN RM ...
-1
votes
1
answer
78
views
Recover data from failed NAS
I had a Segate NAS with two disks in a RAID1 configuration. The NAS stopped working and I am trying to copy the data off one of the drives.
The drive is configured with the NAS os existsing in the ...
2
votes
0
answers
392
views
How to backup and restore partition information for Ubuntu LUKS LVM backup
I have an ubuntu 20.04 system on which the boot drive is 250Gb, and current partiton size is 120Gb.
It was originally installed on a 120Gb SSD that I have now imaged onto a 250Gb SSD.
The current ...
0
votes
0
answers
138
views
Create LV thinpool over two PVs prioritising the fast PV
I have two PVs in a VG, where /dev/sda1 is slow and /dev/sdb3 is fast. I want to create a 0.5TB LV thinpool that uses all of the fast disk and the remainder of the slow disk. I will use this for ...
1
vote
0
answers
145
views
Cannot access LVM2 partition from fedora 40 SSD
I recently upgraded my fedora install from 38 --> 40 and it seemed fine afterwards. I then tried to copy that installation to a new larger SSD via "dd" and that's when the problems ...
1
vote
1
answer
380
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
140
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 ...