0
votes
0answers
24 views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
0
votes
1answer
46 views

sed fix for BusyBox - boot fail unable to mount LVM

BusyBox why u no vi?! Summary: Ubuntu 14.04 Server after upgrade first boot, only boots to BusyBox v1.21.1 initramfs with "gave up waiting for root device" due to missing /dev/mapper/xxx-root as ...
1
vote
2answers
63 views

ZFS RAID0 pool without redundancy

I created a ZFS pool on Ubuntu 14.04 without specifiying RAID or redundancy options, wrote some data to it, rebooted the machine and the pool is no longer available (UNAVAIL). I don't have the exact ...
0
votes
0answers
32 views

KVM : VMs need several restarts to boot (on 2 different hosts)

I'm using a KVM hypervisor on a Ubuntu Server 12.04 server. My virtual machine's virtual disks are LVM volumes, formatted as ext3. The guest OSes are all Ubuntu 12.04 and 14.04 server. Everything ...
0
votes
0answers
142 views

Optimizing disk performance on KVM VM configuration

I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
1
vote
0answers
42 views

reusing existing raids on preseeded instalation

I'm trying to automate reinstall process of existing ubuntu installation. partition layout : md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( raid1, ...
0
votes
0answers
58 views

Ubuntu 12.04 multipath boot device with LVM

I'm bootstrapping Ubuntu nodes using cobbler, with a predefined preseed. Due to a bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/959749 it doesn't work too well to install on a ...
2
votes
0answers
41 views

Change the logical volume

I am quite new this snapshot process. Let, I have three logical volumes as A, B, C. I worked on logical volume C. But accidentally when I restart the system, it goes to the snapshot A. How can I ...
0
votes
3answers
68 views

Setup replication from one local disk to another local disk ( Ubuntu )

Is there is are some way to setup local replication of the one disk to the another ( Ubuntu ) in the such way that all read operations will be involve only first disk ? Such configuration will be very ...
0
votes
1answer
161 views

Unable to automatically remove LVM data

I am trying to install ubuntu 12.04 via preceed config onto Dell PowerEdge R710. I had RedHat installed on the box then I tried installing ubuntu 12.04, then auto install popping with Unable to ...
1
vote
2answers
1k views

Ubuntu 13.10 - How to disable LVM and cryptsetup? cryptsetup: evms_activate is not available

I am trying to remove whole drive encryption from my Ubuntu installation. I've run Ubuntu from Live CD, mounted crypt partition and copied it to another partition /dev/sda3. sudo cryptsetup luksOpen ...
0
votes
0answers
47 views

lvextend onto a ramdisk or tmpfs

I want to be able to run system image backups of my root partition without downtime. I've read that I can use LVM snapshots and dd to create such images, but my current lvgroup has no unallocated ...
1
vote
1answer
205 views

Boot failure with root on MD (RAID1) + LVM: udev event timing

A fresh install of Ubuntu Server 13.10 (x64) is having problems booting from its root volume located in md+lvm. I've kludged a solution for now, but I'd like to understand more about what's going on ...
0
votes
0answers
49 views

Ubuntu server - Installation to second harddisk - LVM

I have VPS with crashed filesystem ( missing /etc direcotry after fsck ) and 2 virtual block devices: /dev/vda and /dev/vdb Partitions on /dev/vda: 1# /boot 5# LVM root swap Partitions on ...
0
votes
1answer
209 views

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM ...
1
vote
0answers
182 views

Why won't my Ubuntu 12.04 Preseed file work with LVM

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 ...
3
votes
1answer
91 views

Backup of write heavy Solr / MySQL server

I am attempting to set up an automatic backup for a server running Ubuntu. This server is used to host a couple applications which are rather write heavy and subject to a good amount of traffic. To be ...
0
votes
1answer
60 views

Convert a LVM into a RAID 5

I have 3 disk (600GB) only one in use. is possible convert into a RAID5 without need a external disk my system is: Ubuntu 12.04.1 LTS 3 x SAS 600GB Hitachi (only 1 in use in a VG)
0
votes
1answer
550 views

extend unallocated disk to an existing lvm

im using vmware on my ubuntu server, initial setup was 10GB disk utilization, increased it to 15GB using lvextend and added another 5GB for a total of 20GB. below displays my fdisk -l Disk /dev/sda: ...
0
votes
1answer
108 views

Adding disks to and resizing a LVM

I'm managing a virtual cloud server on EC2 for a client which has the requirement of expandable storage. Currently, I have a 1TB EBS drive mounted at /mnt which I need to expand. Since 1TB is the ...
1
vote
0answers
174 views

Ubuntu 10.04 Server stuck at grub prompt

I have a virtualized server running 10.04 LTS that is no longer booting. We had a number of issues with our SAN that abruptly disconnected the storage from the virtual machine infrastructure and ...
1
vote
2answers
286 views

can't resize root at Ubuntu Server 12.04 LTS

I've done lvresize -L 264G 101/root (was 15GB) but /dev/mapper/101-root shows 13Gb. What am I doing wrong? I really appreciate the help! root@server1:/home/user# df -h Filesystem Size ...
1
vote
1answer
315 views

How to automount lvm on startup ubuntu?

I'll start some background that can be skipped: I have an ubuntu machine that I installed some time ago with the default partitioning on a an 80GB hard drive. The machine runs has rTorrent that starts ...
1
vote
1answer
829 views

How to increase the inode size

I have Ubuntu 11.10 Server 64bit. my clients upload a lot of small xml files on my server. and my business needs all of those files. I have storage space, but the problem is in inode size. by running ...
1
vote
0answers
209 views

LVM failure recovery

We have an server PC with "intel matrix storage manager" raid (or maybe 'fake' raid) controller. Firstly there were one RAID-1 with two equal seagate disks of 1TB size. We've installed ubuntu server ...
1
vote
1answer
194 views

Exporting Volume Group From One Server To Another Difficulties

I'm attempting to migrate a volume group from one Ubuntu 12.10 server to a new Ubuntu 12.10 Server(upgrades). My existing VG is spread across 3 physical drives, and within the VG is 2 logical volumes. ...
1
vote
1answer
76 views

Extending Ubuntu LV - added new HDD

I have installed a new hard drive into my pc and followed this guide to extend the logical volume but I have barely gained any space? ...
0
votes
0answers
69 views

Create a Rawdisk from LV with partitions

For emergency in my old machine (CentOS with Xen server) i made clone my LVs with dd example: dd if=/dev/vg/lv0 of=/backups/vg_lv0.dd now in my new machine i've created a LV with the same size ...
2
votes
1answer
544 views

error: unknown LVM metadata header? [closed]

I Upgraded to Ubuntu12.10, and when grub ran through the upgrade it gave me these errors: root@secure:/usr/share/grub# update-grub error: unknown LVM metadata header. error: unknown LVM ...
4
votes
1answer
356 views

3 drives fell out of Raid6 mdadm - rebuilding?

i had an mdadm raid6 array with 13x1TB drives. Within 10 minutes 3 of these drives fell out of the array... we assume bad cable to the controller card and replaced, however now we need to get the ...
0
votes
2answers
984 views

Advanced configuration of Grub2 for RAID5 + Encrypted LVM where /boot needs redundancy

I recorded my complete installation until failure in case you have a question about the installation which I did not provide an explanation for below: http://www.youtube.com/watch?v=BVe5vja3keo ...
0
votes
1answer
308 views

How to deal with LVM encryption on remote restart?

Is there a way to handle the LVM mounting password remotely? This is usually presented during boot on the main console (where the machine physically resides at). I am able to ssh in during the ...
3
votes
1answer
623 views

Why is mkfs overwriting the LUKS encryption header on LVM on RAID partitions on Ubuntu 12.04?

I'm trying to setup a couple of LUKS-encrypted partitions to be mounted after boot-time on a new Ubuntu server which was installed with LVM on top of software RAID. After running cryptsetup ...
2
votes
1answer
2k views

Grub2 reports physical volume pv0 not found when probing/installing

I upgraded a Ubuntu Maverick to Precise server but I get the following error while updating grub: error: physical volume pv0 not found. Now, for my system I have /dev/sda through /dev/sde ...
2
votes
2answers
364 views

RAID -> LVM -> DRBD am I doing it right?

So I've setup RAID1 with an LVM on that and then used the LVM as a physical disk for DRBD. I'm planning on mounting the DRBD to /mnt/data and then moving all config and data files for apache2, mysql, ...
0
votes
0answers
475 views

Ubuntu 10.04 Server w/ root on LVM2, Cannot boot after kernel update

I am running an Ubuntu 10.04 Server with root on a md raid 5 / LVM2 volume. After a kernel update, boot hangs at initramfs saying it gave up waiting for root, "ALERT! /dev/disk/by-uuid/##..## does ...
0
votes
1answer
572 views

Missing LV in VG in LVM partition on Ubuntu

After a power failure, Ubuntu 10.04 Server hard drive is no longer bootable. I tried using boot-repair but it couldn't locate an operating system. I ran gdisk to verify where the lvm partition was ...
0
votes
1answer
307 views

Ubuntu Webhosting Server: RAID1 with LVM to run OpenVZ powered shared Apache hosts

About my confusion. I'm trying to setup Ubuntu Server 10.04 LTS onto two 1 TB physical hard drives built into a server. I don't have a lot of experience with Ubuntu Server yet but I'm familiar with ...
6
votes
4answers
701 views

On Ubuntu 11.10, is it possible to decrypt 2 hard disks encrypted with LUKS / LVM by entering only one passphrase at boot?

here the configuration I have : - 2 hard drives, - first one is encrypted using LUKS and LVM. I'd like to add in the volume group encrypted a second hard drive. I have successfully installed it and ...
4
votes
2answers
4k views

How to remove bad disk from LVM2 with the less data loss on other PVs?

I had a LVM2 volume with two disks. The larger disk became corrupt, so I cant pvmove. What is the best way to remove it from the group to save the most data from the other disk? Here is my pvdisplay ...
1
vote
1answer
871 views

Trouble resizing LVM volume after expanding Areca 1220 RAID 5 array

Thanks ahead for any help. My original setup was an Areca 1220 RAID card with (5) 2TB drives in RAID 5 with a hot spare, making only 4 of them part of the array for a total of 6TB. I then created an ...
2
votes
2answers
1k views

Clarifications on encrypted LVM in Ubuntu, RAID1, and headless server

I’ve pondered about encrypting my hard disk on my laptop and server for quite some time, but never got around to it since I don’t think I understand how encryption affects my day to day usage and the ...
1
vote
1answer
3k views

How can I mount a XenServer VHD from an iSCSI SR in Ubuntu?

I need to get files from a Linux VM that was hosted on an iSCSI volume attached to a XenServer host, but I no longer have any XS hosts around (they've all been converted to VMware). I've already ...
4
votes
1answer
393 views

Rebuild Software RAID1+LVM after OS change (from Ubuntu to CentOS)

I think the title is pretty self-explanatory about my current situation, but here is the long version: I am currently running Ubuntu 9.04, I built a RAID 1 array with two disks and then used LVM to ...
3
votes
5answers
1k views

Backup solution for 10TB using ubuntu

I am setting up a backup server with roughly ten 2TB hard drives raided. The purpose of this machine is simply to back up about 3-10TB of data from another server. What is the best way to achieve ...
1
vote
1answer
661 views

Problem with setting up partitions - encrypted swap partition won't mount

Here's the layout I have; I'm using Software RAID10, LVM, and Encryption: LVM VG vg0, LV main - 2.0 TB Linux device-mapper (linear) #1 2.0 TB K crypto (vg0-main_crypt) ...
1
vote
2answers
1k views

Software RAID, LVM, and Encryption Setup Questions

I have 4 hard drives, each with two partitions on them 10.1GB for swap and 990.1GB for the rest. I took this and set up two MD devices with RAID10, one for the set of 4 swap partitions and one for ...
0
votes
2answers
671 views

Creating multiple ISCSI LUNs from one disk, under Linux

I have a 2.7 TB virtual disk (LSI MegaRAID controller with ten 600GB SAS drives configured in RAID10) under Linux. I am sharing this disk to a remote ESX host via ISCSI. Unfortunately ESX will only ...
0
votes
1answer
572 views

VMware Server - Datastore size not updating after LVM resize (Ubuntu Server 10.04)

I have VMware server installed on Ubuntu Server 10.04. I managed to get to the VMware Infrastructure Web Access interface, however I didn't allocate enough space on my LVM initially to start adding ...
3
votes
1answer
3k views

Advantages and disadvantages of Logical Volume Manager (LVM)? And LVM vs encrypted LVM?

In my situation, it's for a local build/staging server running ubuntu server. Things I'd like to know are: Why I should/shouldn't use LVM? What problems might it cause in terms of either regular ...