Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,422
questions
0
votes
1
answer
15
views
Proper way of extend /opt with lvm and xfs filesystem
I am keen to know more about the proper way to extend /opt after additional hard disk 5GB with lvm and xfs filesystem. Kindly advised. Many thanks.
0
votes
1
answer
23
views
Implication of deleting an /etc/crypttab entry
On Arch Linux, I setup an encrypted partition on an LVM volume using KDE Partition Manager.
I lost the password to that partition and I deleted the partion using KDE.
Thereafter the boot process ...
0
votes
1
answer
24
views
grub not working with lvm
I have a dualbooted system with windows + ubuntu on LVM:
/dev/sda1 -> efi
/dev/sda2-4 -> windows
/dev/sda5 -> LVM
/dev/vgsys/root -> /
/dev/vgsys/home -> /home
The drive it was on ...
0
votes
0
answers
31
views
Encrypted rootfs wont boot
I've encrypted my rootfs with LUKS+lvm (sda5).
sda1 is my boot partition where grub.cfg stored (not encrypted)
sda2 and sda3 not encrypted rootfs
sda4 - swap (not encrypted)
I want to boot sda5 ...
1
vote
1
answer
69
views
Is it possible to use a file as Filesystem?
Here is the origin of my question:
I'm running Linux containers with LXD snap version at Ubuntu 22.04 on a VPS. The root file system of the VPS is Ext4 and there is not additional storage attached. ...
0
votes
1
answer
18
views
Should I disable cups, lvm2-lvmpolld and lvm2-monitor?
I am using the Cinnamon Desktop Environment in OpenSuSe Tumbleweed, btrfs with grub snapshots without lvm. I don't need to use a printer. Will disabling these services cause problems?
0
votes
1
answer
16
views
choosing a striping number for lvcreate
I have a storage unit that holds 84 SAS SSD's. It has two [scsi] controllers that connect the disk storage unit to a linux host server. Currently the automated storage setup created a virtual (as ...
1
vote
0
answers
23
views
is there a graphical LVM tool... system-config-lvm? [closed]
like with gparted, is there a graphical gui for LVM to facilitate vgcreate and lvcreate ?
I am in RHEL7.9 x86-64, have the RHEL repo's and EPEL and rpmfusion;
https://www.linuxjournal.com/content/...
0
votes
0
answers
25
views
cannot create qcow2 format VM disk on LVM logical volume
I tried to create a new VM using LVM logical volume tdv_qcow2 as its disk, but it seems to be using raw format instead of qcow2 format, even though it is explicitly specified.
sudo virt-install --virt-...
1
vote
0
answers
32
views
How to remove a physical volume from a volume group in a running system
I have the following problem:
I have two Volume Groups, VG00 and VG01. I wanted to extend VG01 by 600GB, but accidentally extended VG00.
What I did was:
add new Disk to virtual Machine (vmware)
...
0
votes
1
answer
59
views
Luks encrypted Manjaro with Bitlocker encrypted Win11 dualboot
As I'm new to UNIX this might be a stupid question but here we go.
I want to install manjaro next to my win11 which I have bitlocker encrypted. I need to keep the Win11 installation as is.
I reduced ...
0
votes
1
answer
20
views
LVM installation on existent Debian9 system
I am not very experienced with Linux, and I have to put myself up to date about the below.
We have several old Debian9 systems migrated to Azure. I see no LVM installed on the system, but there is a ...
0
votes
0
answers
36
views
move /boot to separate partition
I have Fedora 35 installation, where I placed /boot/efi in separate (physical) partition, / in separate (also physical) partition and I have separate lvm partition where I keep my /home volume. I ...
0
votes
1
answer
58
views
LVM VG/LV is not activated at system startup
I have two multipath devices configured
mpathb (36005076300808b3e9000000000000007) dm-1 IBM,2145
size=16T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 ...
-3
votes
1
answer
104
views
Is there a GUI to handle LVM and software RAID operations?
Are there any free graphical tools to manage advanced Linux storage schemes such as
software RAID
and
LVM arrays
in a similar fashion to how
GParted handles partitions?
Unfortunately, it seems most ...
0
votes
1
answer
42
views
Grow partition on ubuntu server 18.04 inside virtualbox doesn't seem to work
These are the steps I am trying from this answer:
Steps I ran:
Run below command to get PV (Physical Volume) name (Ex: /dev/sda1)
sudo pvs
tini-wini # pvs
PV VG Fmt Attr PSize ...
0
votes
0
answers
18
views
How can I see the expected and found metadata block size when calling pdata_tools, e.g. thin_dump?
How can I see the expected and found metadata block size when calling pdata_tools, e.g. thin_dump?
The background to the question is that I try to recover from a too small thin pool on a QNAP NAS.
[~] ...
1
vote
0
answers
83
views
HDD write speed on gpt vs lvm, baremetal vs kvm
I'm comparing write speed of HDD storage from two sources - baremetal, kvm and on two formats - gpt partition, lvm partition. Commands have been run thrice and I checked the average value. I used one ...
2
votes
1
answer
43
views
In what case(s) will `--type mirror` continue to be a good choice / is not deprecated?
The man page of lvcreate says that the LV type mirror is legacy and lvconvert says "In most cases, the mirror type is deprecated and the raid1 type should be used. They are both implementations ...
1
vote
0
answers
28
views
Tool for converting an existing multi-disk LVM to be striped?
I have an existing LVM volume group of 3 disks (same size) with 4 linear LVs. I would like to convert the LVs to be striped across the disks to balance the load on the disks more evenly.
Shrinking the ...
2
votes
0
answers
134
views
Mounting LVM partition on a RAID1 disk from a bricked QNAP NAS
I have a QNAP HS-251+ NAS with two 3TB WD Red NAS Hard Drives in RAID1 configuration. I'm quite acquainted with Linux and CLI tools, but never used mdadm or LVM so, despite knowing (now) that QNAP ...
0
votes
0
answers
21
views
How to dual boot macOS and encrypted Debian with rEFInd?
I am trying to run Debian on a MacBook Pro which runs macOS Catalina. Here is what I have done so far:
Install rEFInd on macOS.
Install Debian from a bootable flash drive. The Debian is fully ...
0
votes
0
answers
32
views
How to mount cloned LV with UUID identical to already mounted LV
I made a bootable backup of my encrypted drive using dd:
> sudo dd if=/dev/sda of=/dev/sdc bs=64k status=progress
After checking that I can boot from the clone, I booted back into the original ...
0
votes
0
answers
14
views
File system check running for a day after `lvreduce`+`lvextend`
I’ve been running out of space on the root logical volume, so I thought I’d change some over from /home to /. This is the rough sequence of events:
lvreduce -L 100G /dev/mapper/vg-home
lvextend -l+...
0
votes
1
answer
26
views
/dev/mapper/crypt-home no longer mounts
In October 2009 I set up a dual-boot system with Ubuntu 9.10 (and whatever Windows OS we were running at the time.) The Ubuntu side was configured with several encrypted LVM partitions on sda5: /home,...
0
votes
0
answers
40
views
Add a disk into volume group
I want to extend a filesystem mounted as /a01 with XFS filesystem on an Oracle Linux 8.x system.
I have an existing virtual disk with 50Gb /dev/sdc partitioned with fdisk as /dev/sdc1.
My current ...
0
votes
0
answers
64
views
after crash manjaro's gdm doesnt start
i had been working on test disk for recovering lvm external hard , i'v got crash after that i can see the login but after pass the login it goes to black screen and gdm doesnt start this is my log ...
1
vote
1
answer
33
views
which physical volume does my logical volume use
I have a volume group which is made of many disks. (actually 2 but there could be more)
one disk (PV) is at risk an I would like to move LV that are on this disk on another one.
I know I can pvmove -n ...
0
votes
1
answer
33
views
How to extend disk space using LVM?
I am new to LVM so please excuse any silly questions. I created a VM on VMWare and edited the settings to extend the disk space from 40 to 80GB. Later i realized that i need to use LVM to actually ...
1
vote
0
answers
33
views
How can /dev/sd* be mounted directly after rebooting?
I executed the command fdisk /dev/sd* and start partionning the disk. I set a new partition file system, then mounted the new partition to a directory that I created. For boot-up automatic running I ...
2
votes
0
answers
32
views
How to restore a physical volume without the restore file?
I previously created a logical volume from a volume group containing 4 physical volumes (4 SATA disks). Then, my linux crashed so I had to reinstall the linux system, and I didn't have any important ...
0
votes
0
answers
27
views
detach iscsi disks from machine and reattach without reboot- device mismatch in lvm
I have a server running Oracle Linux 7.8 and an ISCSI storage which I'm having problem reattaching the iscsi drives without a reboot.
My goal is as such:
Removing currently attached ISCSI disks
Re ...
0
votes
1
answer
85
views
Migrate ext4 LVM2 in preparation to upgrade to btrfs
I'd like to convert my file system from ext4 with LVM partitions (Fedora style: swap, root, home) to btrfs, primarily for the backup/snapshot feature. I read that it's beneficial to not use a LVM when ...
0
votes
0
answers
20
views
Boot sequence is not honoured
I tried to clone my primary disk (dd to 2nd nvme disk), made a mistake (forgot to change the device name of the 2nd disk), booted from the 2nd disk and went into a recovery console (ramfs, limited ...
2
votes
1
answer
194
views
How LVM2 works on low level?
For example i have two disks with sizes 2 and 4 gb. On each of them i create physical volume of the size of the disk and the combine those physical volumes into volume group and create one logical ...
0
votes
0
answers
19
views
Is it possible to have nested striping (besides RAID10) in LVM?
I want to put one RAID on top of other RAIDs. This can easily be done with MDADM by using an existing MD device as one of the members for the new MD device. Similar functionality could probably be ...
1
vote
1
answer
25
views
LVM Disk creation
After creating disks in MX VMware I wanted to use the disk with LVM.
echo '- - -' > /sys/bus/scsi/devices/host0/scsi_host/host0/scan
Can someone explain what the dashes mean in this code to check ...
0
votes
0
answers
30
views
How can I shrink a BtrFS filesystem being a LV in OpenSUSE 15.3?
I have a sys Volume Group (VG) like this:
lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
boot sys -wi-ao---- 664.00m ...
0
votes
1
answer
89
views
How can I extend logical volume to 100%?
I have drive 5GB. I've created pv, than vg and after a logical volume size 2GB by command sudo lvcreate -L +2GB -n lv-test vg-test. Than I formated this volume sudo mkfs.ext4 /dev/vg-test/lv-test and ...
0
votes
1
answer
21
views
Does a physical volume need filesystem before extending logical volume with it?
I have an existing logical volume and I want to extend it with newly added physical volume (from separate disk) in the volume group. Before extending the logical volume, is it required to make ...
0
votes
1
answer
24
views
How to remove a logical volume from xen vm after failed snapshot
First of I'm fairly new to xen vm technology so sorry in advance if I use the wrong vocabulary. So what happened is I took a snapshot from my vm, after a while a cronjob tried to create a second ...
-1
votes
1
answer
37
views
LVM - How to determine if group is active
Last time i had troubel with LVM and i found solution. It consisted of activate group through command:
vgchange -a y
But i wonder how to determine if group is activated, vgdisplay do not show that ...
0
votes
0
answers
29
views
How do I reformat/clean this drive with lvms on it?
I have two RAID-10 spans. One I had misconfigured into an lvm-thin. It currently looks like this.
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 ...
2
votes
0
answers
19
views
LVM Unable to allocate extents for mirror log
I have a known problem when creating a mirrored LV.
# lvcreate --type mirror -l 100%FREE -m1 t1_VG1 -n t1_db01_lv /dev/mapper/t1_db01_rz1 /dev/mapper/t1_db01_gc
Insufficient free space for log ...
1
vote
1
answer
164
views
Trying to move Linux installed on LVM over to new disk
I have Linux Mint installed on and booting from an LVM drive with two physical disks in the volume group (1TB each). I have purchased a new hard drive (4TB) and I would like to clone the whole thing ...
1
vote
1
answer
546
views
Mount LVM to recover data: wrong fs type, bad option, bad superblock on
How do i mount lvm disk used by VM on host machine (Proxmox), so i can copy files?
The VM (Xpenology) is broken and I can't boot on it anymore. I had 2 4TB disk in RAID 1 mounted on it and I want to ...
1
vote
1
answer
57
views
lvremove is not removing previous LV'S filesystem signature. Is it safe to remove it while using lvcreate?
I removed a logical volume that was formatted with ext4 with no data in it. I then proceeded to create a swap LVM but it's giving me a warning that there is an ext4 signature present. I am assuming ...
0
votes
1
answer
281
views
How do I get Linux to find the root filesystem on an encrypted partition?
I have an Ubuntu machine that has been through several kernel upgrades. At the start of the day, I had 3 kernels installed: 5.11.0-34, 5.11.0-46, and 5.11.0-49. I had to upgrade a bunch of packages, ...
3
votes
2
answers
77
views
extend logical volume using parted via script
I would to extend my logical volume via script.
Before i had vm with 10 GB hdd, i incerease hdd 5 GB more, then its toatal 15 GB.
What manually i run command to extend hard disk as follows:
sudo ...
1
vote
1
answer
248
views
How to merge sdb to sda disk volumes using LVM for Debian server?
I got a Debian 10 server for web hosting which has two 1 TB disks, but the two disks are separated. I've been trying to figure out how to merge them but I always run into roadblocks, such as packages ...