LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

54
votes
0answers
2k 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 ...
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, ...
3
votes
0answers
272 views

lvm disappeared after disc replacement on raid10

here my problem: I am running ubuntu 12.04 on a raid10 (4 disks), on top of which I installed an lvm with two volume groups (one for /, one for /home). The layout of the disks are as follows: Disk ...
2
votes
0answers
64 views

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 ...
2
votes
0answers
2k views

ubuntu 14.04 not booting, update-initramfs “nothing to do, exiting”

I did a mess while installing ubuntu 14.04 on my XPS 15 (9530 haswell) and I need help to rebuild boot partition. My computer has one miniSATA SSD 32 GB and a 1TB HDD. I crypted both with LUKS with ...
2
votes
0answers
44 views

How to remove encryption from volume during installation

I'm currently in the process of installing Ubuntu Server 12.04 onto a fresh build. I have two 3TB hard drives that I'd like to run in software RAID 1, and was following this tutorial. During ...
2
votes
0answers
265 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
2
votes
0answers
88 views

Combine two hard drives

I have a PC with 2 physical hard drives, each is 500 GB (sda and sdb) I'd like to combine them in one large hard drive (1T). I couldn't find a clear approach on how to do it. I tried LVM with no ...
2
votes
0answers
234 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, ...
2
votes
0answers
339 views

help me understand lvm initial setup loop device

I have a (very) rough understanding of what lvm is, I'm finding it a little hard to grasp loop devices however. Anyway here's my issue: Someone ran an Ubuntu server install for me and probably went ...
2
votes
0answers
62 views

can I easily migrate a working root system from non-LVM partitions to LVM partitions?

I am running an ubuntu 12.04 system with a lot of modifications on a system with two (identical) harddisks. At the moment those are not running any LVM partitions. I would like to start using LVM, but ...
2
votes
0answers
215 views

How to choose LVM mapping mode when installing Ubuntu server 12.04?

I would like to create a volume group with striped mode on top of 2 RAID-1 devices. The issue here is I cannot choose striped when configuring LVM at installation stage. It's always be linear.
2
votes
0answers
310 views

when installing /boot inside a lvm group, where do I install the boot loader?

I am setting a personal file/cloud server based on ubuntu server 12.04 and owncloud but there are certain things about the partitioning that I can't get my head around... Let's say for example I want ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
1
vote
0answers
86 views

ddrescure raw image? lvm encryption lubuntu hard drive to usb drive

I've read I should ddrescue my not-booting hard drive in raw to a larger USB drive. I read this GNU ddrescue Manual but I'm sure which command to use, and whether to chose direct disk access or raw? I ...
1
vote
0answers
285 views

How to install Ubuntu server 14.04 on LVM RAID?

I want to try install ubuntu on LVM RAID logical volume, but fail on step grub installation. There are my steps as below: 1. use three HDDs called sda, sdb, and sdc to create a volume group. 2. ...
1
vote
0answers
742 views

Logical Block number in the “Buffer I/O error”

I was trying to determine a bad PV which was causing the LV to report Buffer I/O error and found this interesting behaviour in the "Buffer I/O error" message. On a Large LV that is mapped to ...
1
vote
0answers
351 views

Is Ubuntu still toxic to Macs with Fusion Drive?

Installing Ubuntu BROKE my (since-repaired) Fusion Drive. I burned ubuntu-14.04-desktop-amd64+mac.iso to a DVD, and booted it and I asked it to install beside my OSX install on my homemade* Fusion ...
1
vote
0answers
19 views

Ubuntu not finding my LVM2 volume

first let me say that I'm pretty green when it comes to Ubuntu (and Linux in general) but using guides that I came across online I was able to setup a Ubuntu 13.10 media/file server using a spare PC ...
1
vote
0answers
93 views

Reusing disk partition during ubuntu installation

is there a way to tell partman to re-use current disk layout/lvm layout when using preseeding? either that or bypass partman completely? i'm using a custom preseed file with my own partman recipe. but ...
1
vote
0answers
20 views

Preserving LVM Partitions while installing ubuntu

I decided to make the switch from OpenSuse to ubuntu. I use lvm with opensuse and I wanna have my partitions in ubuntu. The only option I see in installation is to erase everything and use lvm which I ...
1
vote
0answers
103 views

Two “ubuntu-vg” partitions unable to mount due to naming clash

I had Ubuntu 13.04 installed on my laptop. Rather than upgrading, I decided to install 14.04 fresh on a new SSD. So, I have two drives. One with 13.04 and my old data, and one with 14.04. Both ...
1
vote
0answers
1k views

Getting “read failed after 0 of 4096 at xxxxxx: Input/output error” error for LVM

I have system with Ubuntu 12.04. On this system used LVM for managing disk drives and similar mass-storage devices. When I used lvscan command for scanning all the logical volumes then it displayed ...
1
vote
0answers
32 views

Failure proof logical volumes on heterogenous bunch of irreliable hard disks

Like I guess most people do, I have accumulated an assortment of various hard drives over the years. They are mostly of different size, manufacturer, speed, etc. There are too many off them to put ...
1
vote
0answers
180 views

Repair LVM after resize No init found/doesn't have requested /sbin/init

On a clean install of ubuntu 14.04 with LVM (no custom options chosen) I resized the LVM using the following steps from a Ubuntu live USB stick: Shrink the root LV with system-config-lvm tool Tried ...
1
vote
0answers
154 views

/dev/mapper/cryptswap1 is not ready yet or not present

I get this error whenever I start my Lubuntu 13.10 installation: /dev/mapper/cryptswap1 is not ready yet or not present It asks me, if I want to skip, manually repair, or wait. I chose the option; ...
1
vote
0answers
622 views

Unlocking Encrypted Root (LUKS on LVM) with “hidden” USB Keyfile

I have a Ubuntu Server 13.10 machine. Its root partition is encrypted with LUKS, which is then stored in a logical volume. On boot, the LV is mounted and then cryptsetup requests my passphrase; once ...
1
vote
0answers
22 views

Lv not showing correct in fdisk

I am working on a project with iscsi to create a iscsi-target and initiator. Right now i made a logical volume which looks like this: But when I do fdisk -l it shows: The problem is why does it ...
1
vote
0answers
87 views

Mounting /opt/mongo on new partition or resize primary partition on VMWare server

i was assigned to add space to our virtual machine running ubutnu 12.04 LTS. Our provider increased disk space in VMWare and i now need to expand it from the system. The server has only one primary ...
1
vote
0answers
73 views

How to fix broken upgrade on Ubuntu Server on USB thumbdrive with Encrypted LVM

Oh woes is me: I decided to do a do-release upgrade on my workstation and managed to bork my production workstation. My setup was as follows: 32GB usb key that Ubuntu Server booted from - this ...
1
vote
0answers
41 views

What should I do with this apparently redundant swap partition?

I have a machine running Ubuntu Server on an encrypted LVM, with an encrypted swap partition. After I unlock the LVM during boot, I get this message: The disk drive for ...
1
vote
0answers
218 views

Migrating LVM installation to new drive - how to create boot partition?

I have Ubuntu 12.04 installed on a single 1TB HDD under LVM2. The disk contains a separate boot partition with everything else under the LVM. I'd like to move everything to a larger drive and remove ...
1
vote
0answers
319 views

Why won't the Ubuntu 12.04 installer use my preseed file?

Here is my preseed file: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true ...
1
vote
0answers
594 views

Ubuntu 13.04 will not erase previous Ubuntu with RAID

When trying to do a clean installation of Ubuntu 13.04 on a system that has a RAID controller and RAID5 volume set and also had Ubuntu 11.04 installed will not allow me to delete the RAID or even ...
1
vote
0answers
304 views

Rescue system with dmraid (12.04LTS)

I've installed ubuntu into a fakeraid (dmraid). I used fakeraid because I'll need to dual boot with my Windows 8, which isn't still installed. My array and its partitions looks like the following ...
1
vote
0answers
924 views

12.10 installation with LUKS encryption & LVM in EFI mode

I try to figure out how to perform an installation of Ubuntu 12.10 (EFI Mode) with LUKS encryption and LVM scheme. What I've done so far: Booted on a GParted Live CD 0.14.1-6 in "EFI mode only" (in ...
1
vote
0answers
519 views

LVM mounted ubuntu 12.04. No space left on device

I have a logical volume that is 2.44 TB in size which is mounted. I use it to store movies and TV shows for sharing on the home network. However, all of a sudden the system now gives the error: No ...
1
vote
0answers
191 views

2x SSD like one drive 12.10

I want to do a clean install of ubuntu 12.10. I got 2x 40GB SSD's. I want to have them like one drive. (like RAID0), is there a way to do this with LVM, in the graphical Ubuntu 12.10 installation? I ...
1
vote
0answers
152 views

Is it possible to extend filesystem using network drive?

I'm running very low free disk space on my file system. Is it possible to extend file system size using network drive (using LVM or similar) Preferably I would like to use Google drive (There is ...
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 ...
0
votes
0answers
26 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 ...
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
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 ...