LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

2
votes
1answer
118 views

Restoring clonezilla image to newly created LVM partition

I have read an article about LVM and I would like to install it. Is it possible to make first an image of my total installation, then delete everything, create new LVM partitions as explained in the ...
1
vote
1answer
21 views

How do I move several LVM VG's on a pair of software RAID5 arrays from one Ubuntu install to another?

I have two software RAID5 arrays with LVM sat on top. I'm moving from Ubuntu 12.04 on an old PATA drive to Ubuntu 14.04 on a new SATA drive. I have the basic system up and running but now I'd like to ...
1
vote
0answers
20 views

Can not clone lxc container with lvm backingstore after ubuntu update

Command lxc-clone -s -K -M -H -o debian7 -n debian7-bak Result lxc_container: bdev.c: mount_unknown_fs: 209 failed to determine fs type for '/dev/vg/debian7' lxc_container: bdev.c: detect_fs: 320 ...
0
votes
1answer
17 views

How to check file-level write performance?

In a very similar question, the accepted answer suggests to do: dd if=/dev/zero of=/tmp/output bs=8k count=10k; to measure the write speed of a hard disk. My tests were inconclusive. I have an ...
0
votes
1answer
9 views

DM-Crypt does not accept passphrase

The partition table is: sda1 - /boot sda2 - dmcrypt with LVM, containing root, home and swap volumes Cryptsetup does not accept passphrase, that have been used for a long time and can not have any ...
0
votes
1answer
18 views

Logical Volume now has two segments after lvextend

My ubuntu machine has an LVM2 Volume Group (VG) containing a number of Logical Volumes (LV). The VG is composed of 2 Physical Volumes (PV). All of my LVs were created striped with 2 stripes each. ...
0
votes
0answers
8 views

How can I tell if there is data on an LVM volume?

I recently installed Kodi (formerly XBMC) over an install of ubuntu that had become unusable after an 'upgrade'. The OS is on an SSD. I also had a couple of 2TB drives with video files on them. Now ...
3
votes
4answers
10k views

How to install Ubuntu server with UEFI and RAID1 + LVM

I used to install my servers with LVM over software RAID1, and grub install on the MBR of both drives. Now I have an UEFI server, and the compatibility (BIOS) mode does not seem to work. So I went ...
1
vote
0answers
21 views

How make LVM Snapshots to back in time, in case of bad or non working instalation

I have LVM in my ubuntu installation and i want to know how I can make a snapshot of the whole system, if possible, for example if I install a experimental software and i don't like it, go back in ...
14
votes
3answers
23k 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 ...
25
votes
3answers
96k 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 ...
6
votes
3answers
3k views

How to migrate an encrypted LVM install to a new disk

I have a somewhat customised laptop install I want to move to a SSD directly, without having to reinstall Ubuntu, reinstall all the apps and make all the other changes again. The SSD is smaller, so I ...
0
votes
0answers
18 views

Re-install 14.04 and keep raid and lvm setup and data

I upgraded my 10.04 server to 12.04 and then immediately to 14.04. I had installed gnome in part to get graphic support for Boinc. 14.04 does not support my Nvidia Quadro NVS 285 video adapter, or ...
0
votes
2answers
4k views

XFS File System Fails - Can't read Superblock

After this (Iomega Home Media disk corruption - data recovery help asked) problem solved... i have a new one.. I'm trying to understand why my Iomega Home Media Stopped working, and need for that to ...
0
votes
1answer
300 views

Need to know best way to utilize LVM to backup Ubuntu

So I've had issues with Windows which forced me to install and learn Ubuntu as I'm fed up with MSFT. So now I need to know the most efficient/best way to image Ubuntu so that if I messed something up ...
5
votes
2answers
13k views

How to shrink Ubuntu LVM logical and physical volumes?

I have installed Ubuntu 12.10 as the only OS on my system. I told Ubuntu to overwrite everything as I was in a hurry, hence I only have the two partitions Ubuntu creates, the Boot Partition of a ...
0
votes
1answer
175 views

How to reinstall kernels after accidental deletion with a separate boot partition and an encrypted LVM volume?

My installation is a Ubuntu 12.04 64 bits (Classic "legacy" MBR - No EFI/UEFI here) with two partition : A separate boot partition An encrypted LUKS volume that contains the system Logical Volumes ...
2
votes
1answer
553 views

LVM on encrypted partition drops me to initramfs root missing

I installed Ubuntu 13.10 64bit on my PC. I have single hard disk (/dev/sda) with LVM encrypted partition. So the problem is that after reboot I cannot start Ubuntu (it dropped me to initramfs prompt ...
1
vote
0answers
89 views

How to configure RAID + 2 LVM volumes via preseed?

Internally, we use Ubuntu (14.04 Trusty) on our workstations, and until now we've done all of our builds by hand, including the creation of RAID/LVM/LUKS-encrypted volumes. This doesn't scale, and ...
0
votes
2answers
16 views

Making my server virtual - what happens to my LVMs?

I have a physical server with about 10TB in two different LVMs and VGs. I'm going to be installing a bare-metal hypervisor on the hardware now, which means I'll have to rebuild my Ubuntu server. I set ...
8
votes
3answers
16k views

How to change the password of an encrypted LVM system (done with the alternate Installation)?

I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Everything works great as before, but I would like to change the password of the ...
0
votes
1answer
5k 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 ...
0
votes
0answers
31 views

Installing ubuntu, wont boot, stuck at GNU GRUB

I'm just getting into computers, and I built my own PC and everything went really smoothly until I went to install an operating system. I installed ubuntu on a usb and everything was working fine ...
-1
votes
1answer
93 views

Can't shrink ubuntu 14.10 partition, GParted shows drive is full but only 6.6GB is used

Sorry for what is probably not the hardest question. I've been using ubuntu for a while but I've recently installed it on a new computer, and filled a blank hard drive with it. Now i wish to shrink ...
1
vote
0answers
21 views

How do you move a LVM crypto swap partition from sda to sdb?

I have LVM configured for an encrypted home folder. Naturally this implies that swap falls into the crypto catagory. I have installed a second disk with a swap partition already ready to go and ready ...
0
votes
0answers
30 views

lvm VG on boot disk (array) not found with vgdisplay but VM VG seen

I have weird problem with VM server and two raid arrays: OS is installed /dev/sda (raid-5 array) with vg-disk (group?) with id vg_server1 which is created during installation. Later on there is ...
0
votes
0answers
17 views

No LVM2 metadata record found

I have a question about LVM2 metadata record. Considering ouput from following commands: user@host:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/dm-2 vgdata lvm2 a- 2.73t 0 /dev/dm-3 vgdata lvm2 a- ...
1
vote
2answers
3k 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
1answer
26 views

LVM partitioning - how to assign disk space equally

I want to divide the remaining space on an LVM physical volume exactly equally between five new logical volumes (they're going to end up as personal network drives for five users). Is there a ...
0
votes
1answer
106 views

My server is making me download the code instead of running it

I am running an ubuntu server 12.04 but unfortunately I am not being able to make the interpreter run the code exactly. I am using nginx encrypted lvm and here is the conf.d (main part): server { ...
1
vote
1answer
95 views

GRUB see LVM disk with Kubuntu only after enter to BIOS

I have a boot problem. I've installed Kubuntu 13.10 from a standard image file (using the standard installer) without manual partitioning. During the set-up process I chose the option "Setup on ...
0
votes
0answers
22 views

expanding filesystem

I`m totaly newb in Linux-like systems. Can u help me expand filesystem? Ubuntu server is hosted on Xen. I have some additional space in hypervisor but do not know how to do resize in the system. ...
1
vote
1answer
41 views

Is there a way to backup an individual partition that is part of a logical volume?

Is there a way to backup an individual partition that is part of a logical volume? I would like to do an automated regular snapshot that is compressed if possible.
1
vote
0answers
15 views

How to shrink LVM2-designated partition without recreating it?

I've installed Ubuntu with LVM2 and now I want to make a new partition on that disk. I've shrank the root virtual volume and now swap volume is located on last extents of the physical volume. AFAIU ...
0
votes
2answers
262 views

grub fails to install to MBR (RAID+LVM+LUKS)

Please note the edit at the end I'm building a home server (my first attempt at it) using Ubuntu Server 14.04.1 on an old machine (BIOS doesn't support UEFI), and I want to set up the whole system on ...
0
votes
1answer
114 views

Increasing the filesystem and partition size - vgdisplay “no volume groups found”

I want to increase the main partition size on Ubuntu 12.04.5 LTS server. I'm trying to follow this guy's tutorial. ...
0
votes
2answers
1k views

disk space wrongly displayed after installing LVM disk

I installed ubuntu server using LVM partitioning on a 1 TB hard disk. However, after installation, i can only see 10 Gig space here is the fidsk output ` # fdisk -l Disk /dev/sda: 1000.2 GB, ...
0
votes
0answers
41 views

Adding and removing a disk from LVM without losing data

I have a logical volume with a 3TB drive and 500GB drive. And since I have only about 50GB space left in the volume, I would like to expand this logical volume by adding 1TB drive and removing the ...
1
vote
0answers
42 views

update-grub fails on lvm cryptoroot

Disclaimer: I'm running this server now but I did NOT install it. I have two disks connected to an Intel Hardware Raid Controller running in RAID1. On top of it there is a fully encrypted 12.04 ...
0
votes
1answer
15 views

How to properly modify the contents of an LVM Logical Vollume that is being use by a Virtual machine

Q1 - How to properly modify the contents of an LVM Logical Vollume that is being use by a Virtual machine?. Q2 - On Xen?. Q3 - On VirtualBox?. Q4 - On KVM?. Thanks for our time.
5
votes
2answers
6k 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 ...
0
votes
0answers
85 views

Mirror my LVM data disks - Ubuntu 14.04 Server

First of all, this is my first post, and I am very new to Ubuntu and everything Linux. My problem is this: I recently installed Ubuntu server 14.04 on my home server's 1TB drive. I also have 2x 2TB ...
0
votes
0answers
31 views

How to disable LVM for sda?

When I installed Ubuntu 14.04, I check use LVM option. I want to disable LVM for sda, but I don't want to wipe this disk. Is it possible?
0
votes
0answers
87 views

Restoring a VM to LV, GRUB disk not found

This is what my setup looks like: ubuntu 14.04 running KVM with libvirt has a HW-Raid it's running from (/dev/sda) and another HW-RAID (/dev/sdb) that is the PV to a LVM VG called "datavg" with ...
0
votes
1answer
27 views

Partition a LVM disk

I have Ubuntu 14.04 installed. I want to add partitions table to a LVM disk of 465 GB. I would like to make two partitions without loosing any data. Gparted is showing that the whole 465 GB of the ...
0
votes
0answers
20 views

Reformatting Drives with Data, Specifying What Goes Where

I have two hard drives, one is a solid state hard drive (250 GB), while the other is not (2TB). I would like to reformat the hard drives such that Linux treats the two hard drives as one (I believe ...
0
votes
0answers
54 views

LVM: unable to create snapshot due to failed merge of prior snapshot

I inadvertently created a situation where I deleted an LVM snapshot that was pending a merge (yes - bonehead move). Now I can neither finish the merge nor create a new snapshot on the original logical ...
1
vote
0answers
64 views

Can't find LVM root dropped back to initramfs

When I boot up I get a screen saying "Gave up waiting for root device" Then it lists common problems "ALERT! /dev/mapper/ubuntu--vg-root does npt exist. Dropping to a shell!" Then I get initramfs. ...
73
votes
5answers
66k 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?
0
votes
1answer
65 views

Mount and access encrypted LVM on second drive

On one machine I have an encrypted LUKS container around an LVM on /dev/sda that I can boot into. On the same machine is a second drive with an encrypted LUKS container around an LVM on /dev/sdb (that ...