LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

0
votes
0answers
5 views

Recover partially overwritten LVM disk

Background Ive got 3 HDDs on my system: /dev/sda1 165 GB mounted at / /dev/sdb1 320 GB LVM Volume 1 of VG HOME /dev/sdc1 750 GB LVM Volume 2 of VG HOME What happened I was trying to copy a ISO ...
2
votes
1answer
10 views

“Unable to reduce RAID LV - operation not implemented”

I've created a logical volume using Ubuntu 14.04 that started off at 80GiB. I resized it to 128GiB, but now I'd like to reduce back to 80GiB. There's an ext4 file system filling the volume. My command ...
0
votes
0answers
27 views

Unable to Mount ext4 filesystem: bad block size 65536

root@vagish-SVL24115FAB:~# lvdisplay --- Logical volume --- LV Path /dev/vg1/lv1 LV Name lv1 VG Name vg1 LV UUID ...
1
vote
1answer
25 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
28 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
18 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
0answers
10 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 ...
0
votes
1answer
15 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
20 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
20 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 ...
1
vote
0answers
102 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
17 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 ...
0
votes
0answers
33 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
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 ...
-1
votes
1answer
108 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 ...
0
votes
0answers
31 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
18 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
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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
101 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
24 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
291 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
143 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
0answers
43 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
46 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.
0
votes
0answers
91 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
32 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
91 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
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
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 ...
2
votes
1answer
133 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 ...
0
votes
0answers
60 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
67 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. ...
1
vote
0answers
57 views

Update GRUB with encrypted LVM on second volume/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 ...
0
votes
1answer
66 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 ...
1
vote
3answers
235 views

How to read/mount full ubuntu volume from now external hard drive

Yesterday I decided to upgrade my laptop hard drive to an SSD. I was previously running Ubuntu 14.04 on the HDD that came with it. I have installed Ubuntu 14.10 on the SSD. I would like to mount up ...
0
votes
0answers
72 views

how to set up LVS on Ubuntu 14.04.1 LTS

please let me know how to set up and configure Linux Virtual Server on Ubuntu 14.04.1 LTS (Ubuntu 14.04.1 LTS) My Ubuntu is running on single hard drive on virtual box (ex.VMware) Thanks
0
votes
2answers
227 views

Setting up LVM and deleting partition volume

I am running Ubuntu 14.04 LTS in VMware. I recently ran out of space so I decided to add a 10GB volume. The problem is I didn't install ubuntu with lvm initially so now I am trying to do it ...
0
votes
1answer
102 views

Root Partition using too much space

I'm having problems with my disk usage. My system monitor says that I have 44,6gb used. But when I run disk usage analyzer, it shows that I have 5.4gb used. My partitions are in LVM. Here some images: ...
0
votes
0answers
56 views

Mounting a Drive on a Fresh Ubuntu 14.04 Installation (System Type: Linux LVM)

I have recently installed Ubuntu on my machine. I had been previously using Windows on the same and am switching to Ubuntu completely. On my hard drive, i have 2 partitions, one is around 50GB and the ...
1
vote
1answer
40 views

How to setup device mapper RAID on LVM on Ubuntu 12.04

I have read that LVM can be setup as raid without using mdadm. I have setup LVM with two physical HDD and would like to set up RAID1 but I can't find any guidance. Is there any documentation on how ...
7
votes
0answers
140 views

Backup LVM snapshots and Grub2 problem

Long story short, I'm using obnam to take backups of my system. This is what I do: take LVM snapshot of /, /usr, /boot, /var, /home mount the snapshots on /bck-snapshots, /bck-snapshots/usr, ...
0
votes
0answers
56 views

Mounting NAS200 Linksys LVM2 in UBUNTU 14.04

I'm new to Linux (I can get around in it) and would like some help if you don't mind. I have been working with Linux for several years to some extent so I can get around some with the GUI, DASH and ...
0
votes
0answers
146 views

LVM VG is not activated during system boot

Since upgrade from Ubuntu 14.04 to 14.10, one of my VGs doesn't come online when the system boots up, and unfortunately, this VG has my root FS, thus I'm dropped to the initrd BusyBox prompt. ...
0
votes
0answers
40 views

Split encrypted Ubuntu installation into multiple encrypted partitions

I run a standard Ubuntu installation with LVM-Luks-based encryption which was set up by the installer. Now I would like to split this installation up since I want to use my home with another Ubuntu ...
0
votes
0answers
96 views

Configuring a file server using Ubuntu Server 14.04.1 LTS

I just recently got a computer capable of running Ubuntu Server with two 3TB hard drives and a 16GB SSD. The SSD is where Ubuntu boots from, and the 3TB hard drives are empty space. The Ubuntu Server ...
1
vote
1answer
86 views

How do I use move space from /home lvm to root lvm

I have a root lvm with 10 GB, most of which is used, and a /home lvm with 877 GB. I want to resize the /home lvm to free up space, and then allocate that to root. I'm not clear on whether I can ...