LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

3
votes
2answers
55 views

Unable to create a flakey file system for testing

In Ubuntu 14.04 when I try: sudo dmsetup create test --table '0 123 flakey 1 0 /dev/loop0' (or the delay target), I get an error: device-mapper: reload ioctl on test failed: Invalid argument ...
0
votes
1answer
85 views

Using lvm and thin provisioning (thinpool) on a PV larger than 2T

Initial problem I'm trying to make use of lvm thin volumes on Trusty 14.04 with an external drive of 3TB as the PV for the volumegroup, but for some reason this fails and the thinpool gets somehow ...
1
vote
0answers
23 views

Cannot mount LVM Ubuntu 16.04

I'm kinda new to this LVM thing. I have a hard disk that I need to mount in order to recover some important files. The hard disk was originally from a Centrix Xenserver. Here's the output of fdisk -l ...
0
votes
3answers
8k views

Mount Logical Volume failing

I'm trying to mount my logical volume and get the following error: root@mediaserver:/home/jon# mount /dev/mediaserver/homeserver /media mount: you must specify the filesystem type So I tried to ...
117
votes
5answers
131k 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?
1
vote
1answer
4k views

lvmetad is not active yet; using direct activation during sysinit

After install Lubuntu 16.04 show the following message during the boot: lvmetad is not active yet; using direct activation during sysinit /dev/mapper/lubuntu--vg-root: clean, 121574/7168000 files, ...
2
votes
2answers
1k views

Shrink extended partition containing lvm

I have been bashing my head against the wall, regretting ever having opted into using LVM. I need to shrink the 75GB /dev/sda2/ to make room for a new OS installation. To do this, I need to shrink ...
3
votes
3answers
3k views

Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi)

How do I resize a LVM partition using system-config-lvm? As per: http://askubuntu.com/a/489909/45156 I clicked on the partition and try to resize, but get Logical volume is not mounted but is in ...
1
vote
3answers
5k views

Grub2 on LVM: How can I switch between alternate root LVs?

I have a working setup of Ubuntu Server 12.04 LTS (precise) installed on a LVM Volume (/dev/vg0/root). /boot is on the same LV, and Grub2 boots nicely from it using its own raid/lvm/xfs modules. Great ...
0
votes
0answers
8 views

Live shrink lvm2 partition

I need to shrink the root partition to give more size to the boot partition. Can I resize/shrink the root lvm2 partition while using it from inside ubuntu?
1
vote
2answers
3k views

Recovery from hell - undeleting partition overwritten by Xubuntu 12.10 installer?

This is turning into a nightmare - following my initial recovery of my two partitions, I went to install Xubuntu 12.10 (again). At this time I had two partitions - one of ~39 GB had Zorin OS 6 ...
3
votes
0answers
110 views

16.04 - Slow Kernel Boot (LVM issue)

After upgrading to Ubuntu 16.04 my system boot slow down consistently To analyze the cause I used this command. systemd-analyze plot > boot.xml google-chrome ./boot.xml I have found out ...
2
votes
0answers
20 views

Ubuntu Server issues with LVM

I need help with my Ubuntu Server 16.04. After reinstalling, I've noticed that some LVM2 units were not mounted, unlike the others that was in EXT4. I've followed the instructions in this link ...
2
votes
0answers
124 views

Ubuntu Server 16.04 SW RAID1 LVM - broken RAID unable to boot

I have an old notebook hp nx9020. I want to use RAID1 so I have PCMCIA card - SATA controller and SATA drive on it. I am using this configuration for years (maybe 8 years) on Debian, later on Ubuntu ...
0
votes
0answers
25 views

LVM problem on upgrade to 16.04

I upgraded a server from 15.10 to 16.04. All went smoothly and the machine appeared in good state. However, there seems to be a problem with LVM. I have one volume group with several volumes. lvs ...
1
vote
0answers
23 views

LVM Check Disk for Bad Sectors with RAID Mirroring to Fix Them?

I'm working on creating a very reliable, high-volume storage server on Ubuntu. Suppose you have a large 4 TB RAID1 set of 2 disks on LVM... At this size, I find it's more common to get a bad sector. ...
3
votes
1answer
169 views

How to use snapshots with BTRFS in Ubuntu along with a separate HOME partition

My goal is to make snapshots while upgrading software. I installed Ubuntu in LVM partitioning with a separate HOME partition in another HDD formatted in XFS ("/" in BTRFS), but I'm trying to follow ...
1
vote
0answers
37 views

How to Install Ubuntu Server without swap?

I have a 256GB solid state drive on which I plan on installing Xen and a few VMs. For the host (dom0), I want to use Ubuntu Server 16.04 and have it take up as little space as reasonably possible. ...
0
votes
0answers
19 views

How to extend existing partition?

I have added a new hard drive of 500gb size on my ubuntu 14.04 machine: chris@columbus:~$ sudo lshw -C disk *-disk description: SCSI Disk physical id: 0.0.0 bus info: scsi@2:0.0.0 logical name: /dev/...
14
votes
5answers
56k 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 ...
0
votes
0answers
50 views

Does 16.04 default install overwrite only one or all harddisk? How about LVM?

I am planning to install Ubuntu 16.04 on the first disk of a system with multiple harddisks (and Ubuntu 14.04 in an encrypted LVM setup on the second disk). When I start the installation and am ...
0
votes
1answer
130 views

Ubuntu 16.04 booting to black screen with blinking cursor when adding additional hard drives

I recently updated my home Server to 16.04, undeniably the worst decision as I did not do it properly and just updated without backing up. Save all of the comments of back ups and what have you.I have ...
1
vote
1answer
115 views

Ubuntu will not boot into busybox for remote LUKS decryption using dropbear

I want to unlock an encrypted LVM at startup on a headless Ubuntu 16.04 server. This is a fairly fresh install. The only installs I have done are mate-desktop, xrdp, dropbear, and busybox. My client ...
25
votes
3answers
41k 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 ...
7
votes
3answers
25k views

Fixing unbootable installation on LVM root from Desktop LiveCD

I just did an installation from the 10.10 Desktop LiveCD, making the root volume an LVM LV. Apparently this is not supported; I managed it by taking these steps before starting the GUI installer app: ...
0
votes
0answers
28 views

Mount/unmount disc partition

I am new to Linux and I am having some issues with disc space. I hope that somebody can help me with this: I would like to connect /dev/mapper/cfcb--vg-root to use space from /dev/mapper/vg_data-...
0
votes
0answers
15 views

All LVM enabled ubuntu installations have the same name

This guestion is not particularly new. The problem has been around for some time. Two "ubuntu-vg" partitions unable to mount due to naming clash Unable to mount an LVM Hard-drive after ...
4
votes
3answers
801 views

What is the proper way to install Ubuntu 15.04 with LVM, LUKS, and manual partitioning?

I am trying to install Xubuntu 15.04 with LVM and LUKS, manually partitioning in order to have a separate /home partition. So far I have booted the Xubuntu live CD and went through these steps: ...
2
votes
2answers
30 views

Installed Ubuntu due to Windows 7 failure, need to save windows data drive

I am a first time Ubuntu user. I have installed Ubuntu due to my Windows 7 did not want to boot up (tried safe mode, command line, boot disk, boot from usb....etc. ) On my Windows 7 setup, I have ...
0
votes
1answer
69 views

Updating 14.04 to 16.04. Can I do it without impacting LVM?

I'm not a Linux whiz by any means. A few years ago I struggled through learning how to set up my 3 drives as one large drive using LVM. I'd just as soon not have to re-learn or risk the data that's ...
0
votes
0answers
14 views

How to Create a Mirrored Logical Drive

Sirs: I am trying to set up a Mirrored LVM using Ubuntu 15.10 desktop. I have managed to create a 25Tb logical drive which I would like to split up and mirror. From what I can read, it can be done, ...
1
vote
0answers
38 views

Ubuntu is broken after attempted LVM installation

I am trying to install LVM on an Ubuntu 14.04.4 machine, I have the system booted on /dev/sda1, and want to create an LVM partition on /dev/sda2. These are the steps I have followed: apt-get install ...
0
votes
0answers
15 views

Convert UEFI to legacy on encrypted disk

I've installed Xubuntu 16.04 with ticking the box "encrypt whole system" (basically LUKS on an LVM) with UEFI boot loader. Now I would like to switch to legacy booting. How can I reconfigure (?) GRUB ...
2
votes
0answers
31 views

Ubuntu saying “Volume group ubuntu-vg not present” before prompting for password

Ubuntu 16.04 isn't prompting for my luks password. I pressed ctrl+alt+F1, and the output says "Volume group ubuntu-vg not present." Of course not! I haven't been asked for my password! ubuntu-vg ...
2
votes
0answers
82 views

Encrypted LVM Disk Password not “in box”

After a recent installation of Kubuntu 15.04 using encrypted LVM, I have the following problem. When I boot the system, the pretty Kubuntu encrypted disk password screen appears, but when I type the ...
0
votes
2answers
299 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 ...
0
votes
0answers
38 views

No bootable device found in Ubuntu 14.04 with LVM encription (boot-repair-log attached)

Everything goes ok until the computer was blocked, I have restarted it and seen the errror No bootable device found With boot repair disk https://sourceforge.net/p/boot-repair-cd/home/Home/ on a live ...
0
votes
0answers
21 views

Ubuntu doesn't prompt for disk password when booting

I have an Arch partition installed on a LVM volume. It corresponding physical volume is in an encrypted partition (I used cryptsetup to do this). I installed Ubuntu Studio 15.10 in another logical ...
1
vote
1answer
84 views

What and where are backup files for Ubuntu install of LVM installation? (MBR, VG, LV)

SUCCESS; WILL CLEAN THIS POST SOON..... HISTORY: Ubuntu Install Helps Destroy MAC I have a Mac with OSX and wanted to install Ubuntu Studio on a 40GB USB drive. By carelessness (and being a victim ...
1
vote
1answer
69 views

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?
0
votes
1answer
27 views

What exactly is written to disk with an LVM basic install on 1T drive?

I need to reverse an LVM install to an Intel MAC 1T disk, if possible. Even if it's not possible, I still want to know what exactly is written to the disk after pvcreate, vgcreate and lvcreate are ...
0
votes
0answers
26 views

Problems with Maas and LVM's across mutiple drives

I'm trying to use ubuntu 14.04 MAAS to provision a system and am having some issues. The end goal I am after is: 1 x 64Gb SSD with a boot partition, a root partition, an lxc partition and a swap ...
0
votes
0answers
26 views

Cinder with LVM backend support for High Availability of Ubuntu openstack Liberty

Kindly help me ,whether Ubuntu openstack Liberty with 14.04, supports HA ? also did Cinder supports LVM backend for HA mode, kindly clarify
2
votes
1answer
5k views

install LVM dual boot with Windows

I am trying to install Ubuntu dual boot with windows. I have about 150G free space in may machine and want to install Ubuntu 14.04 there. My machine has this partition structure Partition 1 ...
1
vote
1answer
3k views

Entire HDD is one big lvm2-pv, hence unable to resize partitions or even bring back Windows

**The History** I have a Samsung NP300 E5C laptop with 8GB RAM and a 750GB HDD. I bought it as freeDOS. Then I installed Windows 8.1 pro 64 bit OS in it. Then I wanted to go for Ubuntu. I ...
0
votes
1answer
58 views

Re-size boot drive partitions

I recently swapped out a smaller drive (320gb) for a larger one (500gb) because I was getting warnings about space. I had done all of the logical things I knew about to free up space and decided it ...
0
votes
1answer
42 views

Are my files on an ext4 filesystem recoverable after removing the logical volume the filesystem was inside of?

Scenario: The other day I was trying to "unmount" some logical volumes so that I could close the LUKS partition they were inside. I accidentally uses lvremove thinking that was the right command to ...
3
votes
0answers
788 views

Upgraded to 16.04 and now getting error message

After successfully upgraded to 16.04, I am now getting this message whilst booting lvmetad not active yet, using direct access
0
votes
1answer
450 views

Change size of /root patition in ubuntu 16.04 LVM

I installed ubuntu 16.04 with these settings "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation" checked I have a 1tb hard drive and all that 1tb is now in the root ...
0
votes
0answers
46 views

Encrypted LVM partitioning

All I want to do is install an ubuntu based distro (Backbox 4.5.1) with the following configuration: 200mb primary partition for /boot encrypted LVM that contains: 30gb for / 8gb for /swap and the ...