Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

tripple boot grub2 with lvm /luks

I have a dualboot (1 x WIN10 (Bitlocker) + 1 x kubuntu KDE(LVM/LUKS)) and it works great. Now I like to install 2nd Ubuntu system. For that I create /boot , /, /home, /Swap in an aditional Volumen ...
user avatar
0 votes
0 answers
22 views

Problem with FDISK/LVM : Damaged volume group on Ubuntu

hoping to get some advice. Ran into a problem with FDISK/LVM: needed to add an additional new disk to Ubuntu Server 20. This has a storage setup using LVM/VG using the default setup configuration. ...
user avatar
0 votes
1 answer
12 views

LVM restore configured lv to have more blocks then are available in vg

I recently had a 2TB disk go down due to, albeit, stupidity on my part. Let's just say I won't be working with live power anywhere near my server again. However, I don't have another disk that size, ...
user avatar
0 votes
2 answers
18 views

lvm storage full when torrented a large file, couldn't free up space [duplicate]

I started a torrent download to an lvm storage. The file was bigger then the free space on the storage, so I deleted it through the transmission interface, then I emptied the "Trash". Now ...
user avatar
0 votes
0 answers
35 views

Diskfilter writes are not supported - want to understand changes in patched file

I have a followup question about an answer on another question. My question is too long to fit in a comment so I followed best practices as explained on meta. Question: Diskfilter writes are not ...
user avatar
0 votes
1 answer
15 views

How can i change the size of the LVM by taking space from sd3

i changed the size of the Partitoins and i gave all the free space to the sda3 partition because the lvm that I am using is located in the sda3 but the problem is that sda3 is not giving the lvm any ...
user avatar
0 votes
1 answer
44 views

Can I add the ubuntu desktop gui for disk decryption to ubuntu server?

I have an automatic install with cloud-config that takes the ubuntu-server image and adds ubuntu-desktop as a package. But I noticed the LVM decryption has a nice gui if you just install ubuntu ...
user avatar
0 votes
2 answers
68 views

lvchange -ay on a lvmcached logical volume memory leak Ubuntu 22.04

Ubuntu 22.04, I configured SSD cached LVs using lvmcache (type writecache) following lvmcache man page. The system boots fine but the cached LVs status is always NOT available. LV Path ...
user avatar
0 votes
0 answers
35 views

How to create a volume group with 8M extents and logical volume that has 50 extents?

I am new at linux, and I am trying to create a volume group with 8M extent with command; vgcreate -s 8M VG /dev/sdc After that, logical volume that has 50 extents with command; lvcreate -n backup -L ...
user avatar
0 votes
2 answers
166 views

Extend LVM size

I recently cloned my ubuntu from a 250GB SSD to my new 2TB SSD. It automatically created an LVM with 248GB with my root filesystem in it. I would like to resize the LVM to full 2TB. nvme0n1 ...
user avatar
0 votes
1 answer
216 views

What is causing my system to stall / freeze / corrupt data when using LVM + LUKS full-disk-encryption under Ubuntu Server?

Summary of Issue After enabling the LUKS / dm-crypt full-disk-encryption option available through the Ubuntu installer, disk I/O performance is absolutely abysmal. Writing to the disk stalls / freezes ...
user avatar
0 votes
1 answer
54 views

How to extend ext3 filesystem without lvm? [duplicate]

There are some informations of my system. My disk has 59.7GB. I have already used 28GB. It remains about 30GB. Now, I want to add this 30GB to /dev/mmcblk1p1 which's mountpoint is /. I have already ...
user avatar
0 votes
0 answers
23 views

How to install Ubuntu 20.04 next to a LVM distro?

So I have Kubuntu installed using LVM and want to install Ubuntu on the same disk (using the classic swap & ext4 partitions and no LVM). During the installation I choose "Something else" ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
  • 173
0 votes
0 answers
60 views

Enabling hybrid sleep with FDE (LUKS+LVM) and secure boot

So over the past few days, I've been jockeying around trying to figure out a way to do this: using hibernate on Ubuntu. My setup is as follows: I have two NVMe SSDs: one has Windows 11 installed (...
user avatar
  • 11
0 votes
0 answers
40 views

ubuntu-vg not using all available disk space (possibly LVM related)

Sorry for the bad title. I am new to this and I have no idea what everything is called. My apologies. Situation and The issue I'm having I am currently running an Ubuntu 20.04LTS server at home. ...
user avatar
0 votes
0 answers
160 views

fsck said "Cannnot continue, aborting", but device is unmounted

Problem I want to fix corrupted logical volumes and a partition. The SSD is originally used by Proxmox OS. However, I try to recover it by Ubuntu (Safe graphics) from Live USB. At first, I have tried ...
user avatar
  • 101
0 votes
1 answer
52 views

What is LVM2 useful for on a single disk system?

Ubuntu 20.04's installer points you towards LVM + LUKS if you want your disk encrypted. I do. But I'm not sure what LVM adds. e.g. I followed the easy option and installed this way. It set up: ...
user avatar
  • 8,017
0 votes
1 answer
42 views

Is safe create partitions within .vdi to install Ubuntu Desktop/Server through VirtualBox? With and without LVM?

For some laptops I installed Ubuntu Desktop and Server - 20.04 - through VirtualBox, normally taking all the disk space defined and available through the .vdi file. Until here all is ok. Now I am ...
user avatar
0 votes
0 answers
39 views

Not booting after changing LVM/LUKS password

I changed the LVM/LUKS password and when I needed to reboot the computer following a "partial upgrade" it would not boot up. I am prompted for the password, when I type in the old password I ...
user avatar
0 votes
0 answers
140 views

Extend partition size on ubuntu 20.04 on VMware

I have ubuntu 20.04 with 10gb HDD on VMware. I have exported it and move another VMWare. I need to have more capacity on HDD so on VMWare, I extend the HDD to 20. I used this link to add new space to ...
user avatar
  • 101
0 votes
0 answers
20 views

convert one-drive setup to a mirrored disk

I have a running Ubuntu 18.04 server on IBM Power (ppc64le architecture). I have two disks - sda and sdb. Ubuntu has been installed on sda (partitioned, /dev/sda3 for LVM) - and I'd like to have it ...
user avatar
0 votes
0 answers
44 views

LVM + LUKS encryption blank screen on boot (BIOS not UEFI)

I've recently installed Ubuntu 20.04 on my laptop. Often, while rebooting or booting from cold, immediately after the hardware vendor's splash screen, I just get a blank screen, with no disk activity, ...
user avatar
  • 8,017
0 votes
0 answers
11 views

Is it OK to add space to a logical volume while it is being used heavily?

The existing logical volume on my server is being used extensively (TBs of data being copied to the logical volume) therefore the logical volume is filling up. Soon it will be full, so I want to add ...
user avatar
1 vote
0 answers
37 views

Problem with LVM

So I recently subscribed to a VPS that has 2 x 2TB drives. I installed Ubuntu 20.04 and then I followed this guide (in french) to try to consolidate the space as 4TB (or a bit less ofc) but I am now ...
user avatar
2 votes
0 answers
106 views

Why is the read/write speed of two SSDs so slow when mounted as single logical volume with LVM under Ubuntu 18.04 LTS?

For scientific computing, we need fast read/write speeds. So I upgraded one of our machines with 2 SSDs. I used the command hdparm -Tt /dev/sda to test the read speed. As reference, our standard HDDs ...
user avatar
0 votes
0 answers
106 views

Mounting (and automounting) internal HDDs

I had Ubuntu 20.04.3 LTS installed in my Desktop PC, in my 1tB HDD, and I had an extra 1tb HDD for storing files. I've bought an 250GB SSD and did a fresh install of the same OS in it. Didn't change ...
user avatar
  • 86
0 votes
0 answers
20 views

apparent paravirtualized and iscsi disks are incompatable in oci based ubuntu compute

we were trying to configure this with oracle cloud infrastructure and disks are shared among computes with paravirtualized options with read/write shared options now we can not configure stonith with ...
user avatar
0 votes
0 answers
66 views

How to move hard drives with Fat32 & EXT2 boot partition(s)?

I'm trying to update the SSD on my desktop to a larger one. The computer was originally built around 2011 and has the ubuntu version upgraded over the years (currently on 18.04; I believe started on ...
user avatar
1 vote
0 answers
66 views

How to mount/recover failed drive?

Today my home server went to kernel panic, something went wrong with its system drive. I swapped the drive, restored the server and now I'm trying to figure out what happened to the old one. It ...
user avatar
  • 11
0 votes
0 answers
34 views

inodes become overwritten, fsck required many reboots on Ubuntu Server (ProxMox)

I'm using a 4TB WD Red (WD40EFAX) HDD for the main storage on my ProxMox instance, which runs a few Ubuntu Server 20.04.3 VMs. After writing anywhere from 5-500GB of data to this drive, eventually a ...
user avatar
  • 1
0 votes
0 answers
116 views

"Insufficient free space" when trying to increase swap space on LVM?

I installed Ubuntu 21.10 with LVM to use full encryption on my disk. It works great, the only problem is that it chose a 1gb swap partition size, while I have 16gb or ram... me@me:~$ sudo vgs VG ...
user avatar
-2 votes
1 answer
349 views

A Complete Guide For Transition From Single to Multiple Partition Ubuntu 20.04 Server On Already Installed System Using LVM

The title is my request. I have been reading for hours and I have found tutorials for moving /home to a partition and /tmp to a partition. But none for converting all recommended directories into ...
user avatar
0 votes
0 answers
47 views

Creating mdadm RAID1 boot/OS and RAID6 storage arrays with shared hot spares in Ubuntu 20.04

I'd like to install ubuntu server 20.04 with a few SSDs in a RAID1 for the boot/OS drive, and a handful more SSDs in RAID6 for storage, then finally have 2 hot spare SSDs which would be able to be ...
user avatar
  • 121
1 vote
1 answer
77 views

Removed LVM swap partition, and now booting takes a lot of time because of errors

Context Originally I had the following partition structure nvme0n1 ├─nvme0n1p1 /boot/efi └─nvme0n1p2 ├─ubuntu--vg-root / └─ubuntu--vg-swap_1 swap Then I decided to remove the ...
user avatar
0 votes
1 answer
53 views

2 alternating lvm luks encrypted ssd drives with a USB booting issue

I hope everyone is healthy and safe. I have one lvm luks encrypted ssd let's call it "A" and it is the main drive inside the laptop, and one lvm luks encrypted ssd on USB let's call it "...
user avatar
0 votes
0 answers
48 views

lvremove snapshot met "Logical volume *** in use"

I taked a lvm2 snapshot of my root lv a few month ago, now when I remove it with lvremove, but I get "Logical volume svg/0902_extended in use". I never mounted it, and I now confirmed it ...
user avatar
  • 107
0 votes
0 answers
27 views

Which top directories in Ubuntu do frequently change?

I'm using Kubuntu-20.04, and LVM2 partition. Before installing some software, I'm afraid that the new soft get mess my system, so I often take a snapshot of the root volume. But the root volume ...
user avatar
  • 107
0 votes
1 answer
62 views

Linux won't boot after shrinking LVM

I am using Ubuntu 18.10. I have a Volume Group and a Logical Volume mounted on /home Volume Group is /dev/mapper/volume_group and Logical Volume which is mounted on /home is /dev/mappper/...
user avatar
0 votes
0 answers
42 views

How can I resize a lvm partition?

I am running Ubuntu 20.04 Server ARM64 in VMWare Fusion on macOS and I just ran into the virtual disk size of 20GB, I increased the disk to 40GB in VMWare Fusion but I also have to increase the ...
user avatar
2 votes
0 answers
558 views

does there exist a concise guide installing Ubuntu 21.10 desktop with LVM and LUKS 2 full disk encryption, enabling encrypted hibernation?

I've previously only used the graphical installer for Ubuntu with the simple automated partitioning scheme with disk encryption, however I would like to be able to have encrypted hibernation -> ...
user avatar
0 votes
0 answers
70 views

Grub won't boot when the root filesystem is in (lvm/volgroup0-lv_root)/ instead of (hd0,1)?

grub won't boot, Without doing anything to the terminal and running the boot command, I get this response error: you need to load the kernel first., so I looked around online and find people doing ...
user avatar
1 vote
0 answers
290 views

How to reinstall GRUB on an LVM system?

I have an old system installed Ubuntu 18.04 (desktop). It was partitioned /boot/efi on /dev/sda1, /boot on /dev/sda2, and / on /dev/sda3 (with LVM). The /boot partition was too small to install new ...
user avatar
0 votes
0 answers
874 views

Cannot Mount Old Ubuntu Drive connected via USB: mount unknown filesystem type 'LVM2_member'

I am trying to mount a previous Ubuntu 20.04 boot drive (250GB M.2 NVMe SSD in a USB-C adapter) to a Ubuntu 20.04 machine at /mnt/foo. However, when I try to mount the drive by doing $ sudo mount /dev/...
user avatar
0 votes
0 answers
47 views

Install Ubuntu 20.04 Focal Fossa with RAID 1 on two devices no UEFI [Solved]

The methods seen on this forum DO NOT WORK for me. They talk about create swap partitions that are no longer needed. BTW I have a solution which I will immediately answer but welcome others.
user avatar
-1 votes
1 answer
329 views

Move an existing Ubuntu installation to new disk that i've configured it with lvm - a few specific questions

I've been searching the internet for any answer to this and have not found anything that I can wrap my head around, not that specifically answers my questions anyway. I installed a new hard disk in my ...
user avatar
0 votes
0 answers
52 views

shutdown doesn't work

I've been experiencing a problem where my machine doesn't want to shut down properly, forcing me to hold down the power button for a force shutdown. It happens both with commands and when pressing the ...
user avatar
  • 131
0 votes
1 answer
200 views

Can I override the LVM volume group name using storage: layout in the autoinstaller?

I have physical machines with multiple (n) hard-drives that I want to install identical copies of Ubuntu 20.04 on using the Automated Server Install. My hope was to just be able to use the LVM layout ...
user avatar
0 votes
0 answers
48 views

Help to choose right file system type to create

I need help about a file system creation on Ubuntu server 21.10 installed on a virtual machine hosted on vmware environment. In particular I'm like to know which kind of FS I should use for my ...
user avatar
  • 11
1 vote
1 answer
87 views

how to read raw data from disk

I want to use LVM over LUKS. I just filled large disk with semi-random data: I've put LUKS on the new drive (with a password I have already forgotten) Then dd if=/dev/zero of=<the whole encrypted ...
user avatar
  • 11

1
2 3 4 5
21