Skip to main content

Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

292 votes
5 answers
543k views

What is LVM and what is it used for?

As a Linux/Ubuntu newbie, what is LVM and what is it used for? In terms of a web server installation, what benefits does it provide? Would you recommend using it?
Matthew Blackford's user avatar
124 votes
4 answers
160k views

Ubuntu Server 18.04 LVM out of space with improper default partitioning

I installed Ubuntu Server 18.04 with the LVM option and left the default partition setup. Now my main drive only has 4GB in a 1TB hard drive. How can I fix this without starting from scratch? Results ...
CyborgDroid's user avatar
  • 1,353
117 votes
8 answers
466k views

How can I resize an LVM partition? (i.e: physical volume)

I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is ...
Idan Yadgar's user avatar
  • 1,271
104 votes
2 answers
7k views

How do I enable Ubuntu (using full disk encryption) to call LUKSsupend before sleeping/suspending to RAM?

This question is related to another one by @Stefan, but it is not a duplicate of it. The questions are slightly different: the author simply wanted to know if this had been implemented, while I'm ...
Jonas Malaco's user avatar
  • 1,453
101 votes
7 answers
197k views

How to change the password of an encrypted LVM system (previously alternate Installation, now advanced feature)?

I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Update 2020: Encrypted LVM can be selected at the Installation type step of the ...
Filbuntu's user avatar
  • 13.3k
87 votes
4 answers
151k views

How to change LUKS passphrase?

Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase. Preferably, this should be done using GUI tools, thus, enabling ...
ervingsb's user avatar
  • 1,191
70 votes
1 answer
47k views

WARNING: PV /dev/sda3 in VG ubuntu-vg is using an old PV header, modify the VG to update

When I do sudo apt-get upgrade, I have the following message: WARNING: PV /dev/sda3 in VG ubuntu-vg is using an old PV header, modify the VG to update. What can I do?
JarsOfJam-Scheduler's user avatar
60 votes
4 answers
114k views

How do I check whether I am using LVM?

I installed Ubuntu by choosing the option "Something else" at the step called "Allocate drive space" of the installer. Then I created my own partition table. Now that Ubuntu is installed, can I check ...
Agmenor's user avatar
  • 16.3k
57 votes
3 answers
124k views

How to set up multiple hard drives as one volume?

I am about to set up box to basically be a file server. I plan on having multiple drives in the box, and would like to set them all up so that they appear to be a single drive. So I could essentially ...
Jacob Schoen's user avatar
  • 5,115
53 votes
8 answers
295k views

mount unknown filesystem type 'lvm2_member'

After upgrading from 14.04 to 16.06 my system failed. I have done a fresh install on a new drive, but that failed too... I have done another install but now when trying to mount my original drive ...
pst007x's user avatar
  • 8,122
46 votes
5 answers
176k views

Can't format / delete locked partition from GParted?

I can't format my hard disk for Ubuntu installation. It has Fedora installed in it. I wonder how to unlock the locked partition to delete and format it, since I am stuck at installing Ubuntu. I am now ...
owl's user avatar
  • 4,971
45 votes
2 answers
58k views

How can I modify the size of swap with LVM partitions?

I'm trying to add/modify a swap partition on my LVM-formatted hard disk by using GParted from a LiveCD. I only see one big partition taking up the whole disk. Is there a hidden swap? Does an ...
fredh's user avatar
  • 451
45 votes
2 answers
110k views

What are the advantages/disadvantages of the new encryption feature in ubuntu 13.10

I'm in the middle of installing 13.10 and the Ubuntu page I was following on how to install from a USB stick says nothing about these two choices (on the Installation type screen): 1) Encrypt the ...
user250093's user avatar
43 votes
7 answers
27k views

Increase Swap in Ubuntu 18.04 Under Lvm and Encrypted File System

I did a clean install of Ubuntu 18.04 Desktop. I used the graphical installer and chose "Encrypt the new Ubuntu installation for security". It used by default LVM and created a partition for the ...
leviatan89's user avatar
34 votes
3 answers
94k views

Adding Disks With LVM

I'm sure this has been answered somewhere on here before (I even found kinda a guide here, but seemed to be a bit spotty and incomplete) but I was wondering if someone could assist me or at least ...
oink's user avatar
  • 1,081

15 30 50 per page
1
2 3 4 5
73