Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes. In particular, a volume manager can concatenate, stripe together or otherwise combine partitions into larger virtual ones that administrators can re-size or move, potentially without interrupting system use.

Volume management represents just one of many forms of storage virtualization; its implementation takes place in a layer in the device-driver stack of an OS (as opposed to within storage devices or in a network).

1078 questions
25
votes
9 answers

How do you rename the volume group that contains the root volume in LVM?

I want to rename the volume group that my root volume is on. How can I do this?
flickerfly
  • 7,279
21
votes
1 answer

How can I use LVM snapshots in Ubuntu?

I've installed Ubuntu using these options: Erase the disk and install Ubuntu Encrypt the new Ubuntu installation Use LVM How can I create LVM snapshots, so that I'm able to revert system changes when it's necessary?
9
votes
1 answer

How do I check / modify LVM state on a pre-installed system?

So I just got a nice little home server (not 100% a server, it's also destined to run a few GUI jobs, but, mostly) configured to my specs, and it came with Ubuntu 10.4 pre-installed by the guys who put it together (who aren't Ubuntu specialists, but…
8
votes
2 answers

Move free space out of LVM

I have a 500 GB LVM2 container on a 500 GB HDD which holds a 96 GB root partition (ext4) and a 4 GB swap partition. I made this setup using the alternate cd and set the amount of disk space to be used to 100GB, presuming that the remainder would…
user77111
7
votes
1 answer

Expand LVM Logical Volume on Virtual Machine

I had a very specific problem. I have a LVM running on a single physical volume on a Virtual Machine. The size of the logical volume is ~150GB and I wish to expand it to ~250GB. I was able to expand the physical volume from my Virtual Machine…
6
votes
1 answer

Can I disable LVM on my ubuntu installation

I have workin Ubuntu instance. Now I decided to refuse of LVM usage. Can I disable LVM and reformat filesystem so that regular file system will be used?
zubactik
  • 163
6
votes
1 answer

How to create LV (Logical Volume) after Ubuntu is installed?

I need to create LV for xen guest. There is only one disk of 70 GB. While installing, I use the default process and not the LVM. Do I need to reinstall Ubuntu to create the LV? Is there some better method? Thanks a lot. # vgdisplay No volume…
user217872
  • 61
  • 1
  • 1
  • 2
4
votes
2 answers

Is it possible to setup LVM with the ubuntu 20.04 graphical installer?

I'm trying to install Ubuntu 20.04 Desktop in a lvm-inside-luks type of configuration. This works fine with both the graphical fedora workstation installer, the debian installer, and the ubuntu 20.04 server installer. Debian and Ubuntu 20.04 server…
Zulakis
  • 149
3
votes
1 answer

resize un-allocted space to /root LVM

It looks like my partition table are all screwed up and of course now when I'm at a loss for disk space I'm realizing a huge mistake. I don't think all of my disk space was allocating when I first installed and partitioned setting up LVM. from what…
carter
  • 71
  • 1
  • 5
3
votes
1 answer

logical volume management in ubuntu trusty

I am learning linux system administration on ubuntu trusty and I had to create logical volumes from two partitions created off the disk in the ubuntu VM. Now this is how it went: sudo pvcreate /dev/sda3 sudo pvcreate /dev/sda4 sudo vgcreate myvg…
George Udosen
  • 36,677
3
votes
1 answer

Is this example of volumes and filesystems still valid?

Hi I am learning how to manage and set up a ubuntu linux server. I'm reading a book called beginning ubuntu lts server administration. It suggests setting up the hard drive manually and also gives an example set up. The book is based on 8.04 and I…
urok93
  • 1,959
3
votes
1 answer

LVM volume not accesible after accidental drive removal, now LV Status is suspended

I have a home server with a pool of 3 drives, and the OS installed in a thumb drive, this thumb drive had physical errors and I had to reinstall the OS, the LVM pool was working well after thumb drive crash, but I accidentally selected one of the…
hirofairlane
  • 31
  • 1
  • 4
2
votes
1 answer

Want to logout of ssh session but pvmove is running in foreground

Situation: I just migrated my disks from a HP MicroServer to a HP DL320e v2, in the process discarding an onboard backup HDD. To replace it I've added another SSD that I want to add to my LVM VG. Problem: I got carried away with all the changes…
albal
  • 141
  • 6
2
votes
0 answers

Can volume snapshots be used as replacement for Clonezilla images?

I've been always using classic disk partitioning and Clonezilla images of selected partitions for fast recovery in case of a catastrophic disk failure. I'm now testing LVM on a new system. It also uses whole disk encryption so the whole volume group…
tmt
  • 1,029
2
votes
1 answer

LVM - how is data allocated between disk

its quite possible I didn't understand what I was doing when I set it up, but... OK, I bought three 2TB drives that I wanted to use for media storage. I didn't want to deal with figuring out which files to put in which drive, so I Googled "how to…
bcsteeve
  • 1,289
1
2 3 4