Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

Filter by
Sorted by
Tagged with
0 votes
2 answers
36 views

Where is my /dev/dm-2 2 GB swap partition?

On a brand new Ubuntu 22.04.2 installation, swapon --show shows I have a 2 GB swap partition: $ swapon --show NAME TYPE SIZE USED PRIO /dev/dm-2 partition 1.9G 0B -2 Neither df -h, nor ...
Gabriel Staples's user avatar
0 votes
0 answers
23 views

Can't boot into ubuuntu after adding PV to LVM [closed]

I've been running Ubuntu (Elementary OS 6.1) an intel NUC for a few months, everything has been fine. It installed with LVM, and a few weeks ago, I added a new internal SSD as a PV to my existing root ...
kozone's user avatar
  • 1
0 votes
0 answers
23 views

How to mount an LVM formatted hard drive connected through a USB adapter?

What would be the standard directory to create for an external hard LVM hard drive? nicholas@mordor:~$ nicholas@mordor:~$ ls /dev/mapper control vgubuntu-root vgubuntu-swap_1 nicholas@mordor:~$ ...
Nicholas Saunders's user avatar
0 votes
0 answers
22 views

Partition disk when installing ubuntu using LVM

I am trying to partition my disk when installing my ubuntu image: What am trying to achieve is: Set up 3 main partitions / , /var and /home encrypt all 3 paritions using LVM encryption module ...
Rafe's user avatar
  • 1
0 votes
0 answers
28 views

Failure to install Ubuntu

I try to install ubuntu22.04.02 lts in my laptop asus x540u models, at first time all things are working good only in steps 5 when i chose to erase the disk with LVM, so it contine to loading without ...
JEEdz's user avatar
  • 11
0 votes
0 answers
16 views

Not all logical volumes appears during installation of Ubuntu Server 20.04.6 and 22.04.2

I'm trying to install Ubuntu Server 22.04.2 from the live USB stick. I have 3 existing volume groups (LVM). Some of the partitions has been created with Ubuntu 18.04 (and probably ealier versions too)....
Clèm's user avatar
  • 176
-1 votes
0 answers
49 views

grub fails finding root LV after lvrename : error: failed to get canonical path of `/dev/mapper/VG_ALL-LV_Ubuntu_root'

grub-probe fails finding root LV after a lvrename operation : $ df -h / Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG_ALL-LV_Ubuntu_root 7.3G 19M 6.9G 1% / $ ...
SebMa's user avatar
  • 1,981
1 vote
0 answers
70 views

Re-install ubuntu 22.04 on encrypted LVM partitions

I have an existing installation (Debian) using encrypted LVM partitions. I would like to re-use the same partitions to install Ubuntu (more precisely, format the / partition with the new system but ...
csol's user avatar
  • 21
0 votes
0 answers
40 views

Partionning with preseed

I used to find my solutions on old post here but today I have to write for help as I don't find any usefull answer anywhere. I'm sure you'll rock and help me with this problem I have for quite a while ...
Thomas B's user avatar
1 vote
1 answer
58 views

ubuntu--vg-ubuntu--lv and vgdisplay give different sizes for different commands

Even though the disk size is 221.57 GiB and there is no unallocated disk space and /dev/mapper/ubuntu--vg-ubuntu--lv gives only 98G where did the rest go? output of: fdisk -l /dev/sda Disk /dev/sda: ...
Kofiko's user avatar
  • 13
0 votes
0 answers
20 views

extending an exsiting lvm

hello im trying to extend an exsistant lvm /omics/tools to have more space right now it only have a maximum of 5t i want to increase it by 10 df -h shows: --- Logical volume --- LV Path ...
nader dhamer's user avatar
0 votes
1 answer
34 views

Used P2V to reduce size of LVM VHDX - Issues with grub and booting now

Hi All hoping for some Linux genius advice I inherited a VMWare VM cluster with a few production VM’s they were all way over provisioned and all have 1tb Thick drives But are only using 100gb odd each ...
Chayne's user avatar
  • 1
1 vote
0 answers
58 views

lvresize command doesn't increase size of lvm

This is my output of lsblk: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 63.3M 1 loop /snap/core20/1828 loop1 7:1 0 63.3M 1 loop /snap/core20/1852 ...
S.M Emamian's user avatar
1 vote
0 answers
30 views

How to increase a partition and lvm

This is my lsblk output: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 63.3M 1 loop /snap/core20/1828 loop1 7:1 0 63.3M 1 loop /snap/core20/1852 loop2 ...
S.M Emamian's user avatar
0 votes
0 answers
74 views

I messed up and made my /boot partition laughably small over 4 years ago. Resizing it will not be straightforward. What can I do?

Ubuntu version is 22.04 LTS Desktop My boot disk is /dev/sda, and it has three partitions. Here are the relevant mounts: ~$ df -h Filesystem Size Used Avail Use% Mounted on tmpfs ...
tamale's user avatar
  • 1,437
0 votes
0 answers
21 views

Do I have to extend the partition hosting a LVM VG or could I directly extend the LVM VG to use the free disk space

How to extend this LVM disk to use the extra space of the sda disk: $ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 ...
s.k's user avatar
  • 1,138
1 vote
0 answers
47 views

How to disable GUI for password prompt for encrypted LVM volumes on boot?

How to disable GUI for password prompt for encrypted LVM volumes on boot and how to remove all strings on console output? I just need cleared prompt with blinking cursor. And yes, I want to confuse ...
Denis at SO's user avatar
0 votes
0 answers
21 views

LVM move from two small to two bigger

doc2 and keeping WordPress on it as backup WordPress. Running out of room on the two 2TB SSD's have on it. So I put two 4TB SSD's on it all at the same time because want to copy the 4TB LVM, to the ...
Raymond Day's user avatar
0 votes
0 answers
31 views

LVM logical volume space used

I am using the lvdisplay command in LVM and am attempting to determine the used size of the logical volume from the following output: --- Logical volume --- LV Path /dev/vg1/Web ...
Jonathan's user avatar
  • 1,250
0 votes
1 answer
459 views

22.04 (LVM, encrypted) stopped booting, drop to shell: Error: vgubuntu-root does not exist

I'm running Ubuntu 22.04 with LVM/encryption. This morning, the normal boot sequence stopped working: it does not prompt me for my encryption password, but instead drops to a shell with the following ...
Gary's user avatar
  • 1
1 vote
0 answers
132 views

How to resize and shrink the sole root mount LVM physical volume?

I've selected LVM default option and completed Ubuntu 22.04 installation, but failed to resize and shrink the sole root mount LVM physical volume afterwards. Method 1: # mount -t ext4 /dev/mapper/...
sof's user avatar
  • 497
0 votes
0 answers
70 views

Is there a way to recover data from a drive that was an LVM partition?

I'm a bit new to ubuntu, apologies upfront for gaps in my understanding. One of our device broke down recently and needed to be RMA. The device had 2 drives, an internal 30gb drive and a 1 tb ssd. The ...
AimanT's user avatar
  • 1
1 vote
1 answer
138 views

How to resize lvm partition so I can give more space to /boot partition [duplicate]

I have tried gparted live, so partitions are not mounted, but I cannot apply any change in main partition (because it's lvm partition I am afraid) This are the details Device Boot Start End ...
Raul Sanchez's user avatar
0 votes
0 answers
44 views

System unbootable after upgrade to 22.04

After system upgrade to 22.04 (from 20.04) system is not bootable. It complains that it can't find /dev/mapper/ubuntu--vg-root and defaults to an initramfs shell // BusyBox. I believe there was an ...
user238740's user avatar
0 votes
0 answers
32 views

Installing and creating a configuration for GRUB (Ubuntu 18, RAID1, LVM). Problems

There is my config (VirtualBox): sda 8:0 0 10G 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi └─sda2 8:2 0 8.5G 0 part └─vg0-lv0 ...
Maxy's user avatar
  • 1
0 votes
0 answers
326 views

initramfs shell after upgrade to Ubuntu 22.04 - raid

I upgraded from 20.04 to 22.04 and after reboot I get the following screen / errors (see screenshot) and it goes to the initramfs shell. It's a RAID system. It might be that boot partition was too ...
user238740's user avatar
1 vote
1 answer
163 views

How can I increase the size of lvm partition?

I have a ubuntu 18.04 system. I have a total of 3 partitions and in my third partition, I have an LVM partition. I need to increase the size of that partition. Here is the output of lsblk I need to ...
hamza toor's user avatar
1 vote
0 answers
15 views

Extend LVM partition with the parent drive [duplicate]

I want the ubuntu--vg-ubuntu--lv partition to use the whole sda3 disk. So the / would be 296.1GB. Any idea how can i do that? Cause i dont know how to do this way. I have 0 idea what am i doing, i ...
Lolis4TheWin's user avatar
2 votes
1 answer
377 views

Use the whole disk instead of a partition as root dir

My problem is that i have a ~300GB hdd (sda3) that i cannot use cause the / is not there. How can i change that? I think i installed lvm with the ubuntu server and this caused the problem. So in this ...
Lolis4TheWin's user avatar
3 votes
1 answer
72 views

LVM merge destroyed hard drive

I tried to upgrade from Kubuntu 22.04 to 22.10, and borked it. Accidentally pressed Ctrl-C with the terminal window active. I think I was able to fix everything, but didn't want to chance it. I had an ...
Kenneth Hanson's user avatar
0 votes
0 answers
287 views

Could not open '/dev/pve/vm-130-disk-0': No such file or directory because of "Unable to resume pve-data-tpool"

We are facing an issue while starting the VM on the proxmox with the below error kvm: -drive file=/dev/pve/vm-130-disk-0,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,detect-zeroes=on: ...
Naveen Kumar H S's user avatar
1 vote
1 answer
33 views

Does LVM store information about the volume group configuration in the filesystem (for example /etc)?

I have an ubuntu 22.04 with software raid 5 and a LVM volume group with two logical volumes as "/home" and "/usr/local/src". I want to make a complete reinstall of the operating ...
John L.'s user avatar
  • 51
0 votes
0 answers
30 views

Do I need to create a raid with the iDRAC or better with LVM?

We bought a new DELL Server (PE R7525) with AMD EPYC processors and 7 SSDs (a 1.92Tb storage space). As I am not familiar with it I would like to ask for advice, before trying it the hard way. Does ...
Assa Yeroslaviz's user avatar
0 votes
0 answers
115 views

sda3_crypt: cryptsetup failed after regular upgrade (ubuntu 22.10)

I'm stuck at boot time after a regular upgrade which seems to have messed up with encryption and/or boot... No key available with this passphrase. This is not a problem of keyboard or special ...
Marc C's user avatar
  • 1
0 votes
0 answers
23 views

Does Ubuntu installation create folders automatically when using mounts on logical volumes to folders that do not exist yet?

I'm currently installing a new Ubuntu 22.04, and I have the following structure: | Volume Group - VG_SSD | | Default Logical Volumes we are used to: ...
Raul Chiarella's user avatar
0 votes
0 answers
35 views

Cloning hardidsk of 128GB into a 500 GB is not using the rest free space

I have just cloned my hard disk of 128 GB to a big one of 500GB . I have use commands dd to do it. The partition of ubuntu was done with lvm in the first installation. So when I plug in the new hard ...
yop's user avatar
  • 87
0 votes
0 answers
169 views

lvm volume group issues w/ ubuntu 22.04

I have triple boot system, bios raid 0, with windows, fedora 33 and ubuntu 20.04. the fedora and ubuntu are on lvms. Everything was working. Then I upgraded the ubuntu install to 22.04. Booting into ...
Burlen Loring's user avatar
1 vote
0 answers
234 views

Unable to mount to /dev/sda3 (lvm2)

Being an amateur, I tried to mount the /dev/sda3 partition to a mount point after installing the latest LTS of Ubuntu Server $ sudo mount /dev/sda3 /home/xxxx/bake-buddy mount: /home/xxxx/bake-buddy: ...
Cardsfan's user avatar
1 vote
1 answer
58 views

How to reallocate disk space to get more room?

I have a Ubuntu Server 20.04 running in a virtual machine. It started complaining that there was no enough space on "/" to run software update, so I followed this wonderful advice: Ubuntu ...
mcnubb's user avatar
  • 11
0 votes
0 answers
140 views

Disable read/write workqueue for Ubuntu Full-Disk-Encryption

I am currently trying to set up multiple devices with Ubuntu (20.04.5 LTS) and the drive must be encrypted, so I used LUKS during the installation. (I checked "Use LVM with the new Ubuntu ...
Pascal Diu's user avatar
0 votes
0 answers
30 views

How to extend logical volumes on ubuntu server

I want to use all the space in /dev/mapper/ubuntu--vg-root on typing df -h Filesystem Size Used Avail Use% Mounted on udev 1,5G 0 1,5G 0% /dev tmpfs ...
swarnika sarangi's user avatar
1 vote
0 answers
388 views

why is default installation of ubuntu 22.04 lts use half of available storage?

new installation of ubuntu 22.04 always try to use half of the available storage on the disk how can we change this annoying default behavior, so it can use the full storage on disk?!?
uberrebu's user avatar
  • 230
0 votes
0 answers
85 views

Manual fsck every day

I have the latest ubuntu distro on a server which I run 24/7. About once a day the server will just appear to be offline, my plex goes down and when I try to SSH in, I just get connection refused. ...
Gullen's user avatar
  • 1
0 votes
1 answer
159 views

Filesystem reports less available disk space than LVM (lvm with luks)

There is this issue that has been bothering me for a while. LVM, lvdisplay, vgdisplay, pvdisplay, lsblk all shows the disk has the assigned 3.64 TB, but the filesystem is reporting it's only 1.5 TB. I ...
Typewar's user avatar
  • 173
0 votes
2 answers
1k views

GUI for LVM management on Ubuntu 22.04

I've seen Is there a new GUI for LVM from 5 years ago but none of the answers seem applicable to Ubuntu 22.04. I've created a 2-disk RAID and put an LVM2 physical volume on top, then created a volume ...
kbro's user avatar
  • 121
0 votes
1 answer
65 views

boot hangs and needs manual 'lvm vgchange -aay'

Related to boot hangs and needs manual 'lvm vgchange -ay' but still present in 22.04: I have an encrypted boot volume, followed by LVM root. Every boot, the other LVM volumes get activated ...
foo's user avatar
  • 127
0 votes
0 answers
33 views

Resize Ubuntu lvm2 pv partition

I'm trying to resize the Ubuntu partition, but gparted or any live Ubuntu disck are not allowing me to do it. Screenshot How can I reduce the ubuntu partition to 100GB? Thank you
Fra's user avatar
  • 1
0 votes
0 answers
212 views

Problems with encrypted and lvm partitioning Ubuntu 22.04

I just installed Ubuntu 22.04 and I have a problem. it did not automatically install cryptsetup and cryptsetup-initramfs packages. That means when I boot it jumps automatically to (initramfs) and it ...
Benat Marcos Carballo's user avatar
0 votes
0 answers
88 views

LVM Resize with Correct Command Fails

I am on an Ubuntu 20.04 VPS server. I have a volume group called ubuntu-vg within this volume group I have a lvm partition called /home. I need to shrink it and allocate space elsewhere, so first I ...
nightwatch's user avatar
0 votes
0 answers
32 views

Is it typical to have write speed halved by RAID0 (with lvm2), and what can I do about it?

Since I configured two SATA SSDs as a RAID0 with lvm2, Disks (gnome-disk-utility) reports in its benchmark that their reading speed is around doubled, but their writing speed is halved. Screenshots ...
Fanta's user avatar
  • 325

1
2 3 4 5
22