Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.

learn more… | top users | synonyms

1
vote
0answers
30 views

Linux Partition with SSD and HDD

I'm currently setting up my server and I don't get how to choose Disk 1 and Disk 2 for the partition. vg0 should be the HDD and vg1 the ssd. Maybe you can help me how to set up such in this syntax. ...
0
votes
0answers
12 views

Is it possible to spawn any kind of terminal on dedicated lan card before entering LVM volume passphrase?

I got IBM x3500 m2 server running Ubuntu server on encrypted LVM volume. This machine has one slower LAN card for service purposes. Is there any way to spawn some kind of console on it BEFORE ...
0
votes
0answers
17 views

How to increase lvm size in Fedora 20 ( partitions already messed up )

hi all i have two partitions one is used for f20 , and another is ntfs. i didn't know that gparted should not be used any more, and system-config-lvm has retired and not in repo anymore, so i boot up ...
0
votes
0answers
12 views

Fedora 20 stopped booting after migrating to RAID array

I have decided to migrate my working Fedora 20 installation onto RAID-1 software array. After this operation, I have a problem with booting my system. Background My machine is MacBook Pro (Early ...
0
votes
1answer
20 views

how to recover pv and lvm with no lvm export?

hi i have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd use to have 2 pv on 2 partitions , ...
0
votes
0answers
11 views

size of extent on LVM2

in LVM1 there was a limit of 65k extends. So size of extent had to been chosen carefully between wasted space on partitions (to big extent) and maximal possible size of logical volume (too small ...
0
votes
2answers
36 views

How can I shrink a Logical Volume, and re-allocate the freed space into a new partition on the same drive?

I have a drive, sda. It has two partitions: sda1: /boot sda2: LVM managed in Volume Group volgrp01 volgrp01 contains the following Logical Volumes: lv_root (30 GB) lv_swap (8 GB) lv_scratch (430 ...
0
votes
0answers
12 views

KVM images not reading from custom location

In CentOS linux server I have a disk scenario as , A LV with vg0 in it and in that I have created a directory with intention as KVM have to read the images from this location. I have set KVM to read ...
0
votes
1answer
16 views

Can I give the partitions in my xen guests friendly names?

I've got a bunch of LVM logical volumes on a machine running Xen, with descriptive names like "photos". When I attach them to a Xen guest, the standard is to give them unmemorable names like xvda1, ...
0
votes
0answers
9 views

issue mounting LV to /tmp in RHEL

I tried mounting an LV to the /tmp directory and it has seemed to mess up my RHEL VM. To mount, I did the following: 1. Added following line to fstab: /dev/VolGroup00/lvol0 /tmp ext3 ...
0
votes
0answers
17 views

How to make user-friendly “time machine” with my LVM thin-provisioned partitions?

I have setup all of my partitions on LVM thin-provisioned device. In some article I've read that this allows me to make incremental snapshots in a simple manner - move back and forward between them. ...
0
votes
0answers
11 views

hdparm slow on LVM

I have a ec2 ubuntu with some EBS volumes and a LVM with three EBS. When i hdparm on a single EBS volume i am getting: sudo hdparm -Tt /dev/xvdb /dev/xvdb: Timing cached reads: 12522 MB in 1.99 ...
1
vote
0answers
33 views

How to configure RAID 1 on Intel Rapid Storage, and partitioning design

I would like guidance on setting up a RAID 1 system from BIOS with Intel Rapid Storage. System details: I have Click BIOS II running on a MSI motherboard (Z77A-G43). I also have 2 x 2TB hard drives. ...
0
votes
0answers
15 views

Scriptable resize (enlargement) of partition inside LV to end of LV?

I'm trying to automate some KVM installs, and I need to fit an existing image onto a newly created LV. The image is partitioned minimally, so I need a way to enlarge the first partition from the ...
0
votes
0answers
64 views

IOWAIT on removing a stale iSCSI LUN via configfs

I've got a bit of an interesting situation here. I'm currently operating on a system that uses LVM logical volumes to host iSCSI LUNs, which are configured via configfs (!). Somehow, one of those ...
0
votes
2answers
54 views

How to enlarge “/”?

Im using Red Hat 6.3 MP with two 'discs': -- VMware virtual disc (sda) with: /boot (sda1) ; swap (sda2) ; lvm2-disc (sda3) -- '/dev/dm-0' mounted on '/' On '/dev/dm-0' is no free space available. ...
0
votes
1answer
47 views

Linux software RAID 10 on mixed drives - alignment

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
0
votes
2answers
45 views

Has anyone encountered this error? read error on /dev/sdc - cannot read sector 0?

/dev/sdc: read failed after 0 of 1024 at 0: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819012096: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819130880: ...
0
votes
2answers
66 views

Can't rename volume group in linux that had hyphens/dashes in name

I made a typo when I created an LVM group under Centos 6.4. I'm trying to rename using the syntax vgrename /dev/mapper/oldVG /dev/mapper/newVG. However, both the old and new VGs have hyphens in the ...
0
votes
0answers
181 views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
3
votes
0answers
37 views

Mount volume group(OnApp)

I am attempting to get OnApp setup in a lab using the following documents: OnApp Installation Guide I am one step away from success and to my knowledge based on the information given and my(limited) ...
0
votes
1answer
36 views

How to resize LVM /home and /usr partitions

I need to increase the space on my /usr partition, however I cannot shrink my /home partition, as the manager requires unmounting, which cannot happen while the system is running. I am running Debian ...
0
votes
1answer
39 views

LVM dual-boot windows

Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and ...
0
votes
1answer
21 views

How can I create a RAW device ON TOP of an LVM block?

I have disks which are LVM devices. Is there a way that i can create a raw writeable disk on top of them? By raw, I mean, a file which is seen as a true block device by the kernel.
0
votes
1answer
11 views

LVM default created volumes: Are they standardized?

Ive noticed that in my LVM setup i have lv_root lv_home lv_swap Are these created by LVM for me on boot? I havent found any docs on how these volumes are created.
0
votes
0answers
17 views

Corruption of LVM physical volume

Please help me with this recovery issue! I had tried putting a FreePBX install CD and went through the menus, and because I had selected "HA" mode, without warning it began overwriting the partition ...
0
votes
0answers
24 views

Using free space for LVM in Ubuntu

On my workstation I have a single disk (/dev/sda) with 4 partitions. One of the partitions has free space that I set aside while installing Ubuntu (/dev/sda6). I wanted to use this free space to ...
0
votes
0answers
28 views

Zeroing blocks on read/access on a hard drive for LVM

When a logical volume is destroyed, the data still exists on the hard disk and is still accessible (using a tool like dd) to any volumes allocated on top of those blocks which haven't been written to ...
2
votes
0answers
71 views

Migrate LVM to ZFS

I am currently thinking about moving away from my LVM setup to a ZFS setup with RAIDZ. My current setup consists of 5 x 4TB disks in a LVM and a 60GB SSD for the system. At the moment there is about ...
0
votes
0answers
27 views

LVM RAID 1 for root

I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition ...
0
votes
1answer
120 views

Best practices of keeping Firefox profile on ramdisk

Having plenty of RAM, I'd like to use it to speed up the browser. Goals: Have profile and cache completely in memory, so HDD is not used much while browsing and fsyncs don't reach actual HDD or ...
0
votes
1answer
85 views

Moving free space from from one LVM LV to another

I've got an SSD partitioned into: sdc1: 500MB /boot sdc2: volume group   10GB  lv_root 100GB  lv_home   50GB  lv_swap free: 70GB It turns out a 10GB root is a bit on the small side and I'd like ...
0
votes
0answers
38 views

Safest, most flexible storage for multiple HDD's

I am building a NAS/fileserver based around the HP Proliant N54L Microserver. It is going to be used as a central repo for all media (movies, serials, music etc), possibly a dedicated torrent seedbox ...
0
votes
1answer
86 views

For LVM on LUKS when does the partition ID for a new install get set to 8e?

Trying to decipher my notes from the last time I installed LVM on Luks, I have a note to create three "primary" partitions for a Dual-Boot installation. The trouble is, after I install Windows, but ...
1
vote
0answers
29 views

How to use LVM to separate large data?

I have an ultrabook with two discs, an HDD with 500GB and an SSD with 32GB. My SSD is partitioned for /boot, / and /efi, and my HDD is for SWAP and /media/userdata (mainly, media). I was thinking of ...
1
vote
0answers
25 views

How to find out whether a specific mounted Linux file system is located on a encrypted device?

How can I find out via the command line whether a specific mounted file system in a Linux system is ultimately located on an encrypted device? Of course, a generic solution would be nice, but ...
0
votes
0answers
28 views

Backing up and restoring LVM information

This is the original layout of the physical disk: sda1 partition (boot) sda2 partition (LVM with 2 volumes, one big volume for data (lv_root) an another for swap (lv_swap)) I backed up: ...
0
votes
0answers
37 views

Making VirtualBox save snapshots on RAW/LVM device

I'm using Virtual Box (4.3) on Debian wheezy with RAW devices based on LV. It works great but I noticed that the moment I have made a snapshot and use up disk space on the VM, it's the snapshot that ...
1
vote
2answers
58 views

How do I mount logical volumes from a VG of hard disks taken from another computer?

I have two disks with PVs of a volume group with several logical volumes that was created on another computer. They were not exported with vgexport. How do I restore the volume group now built into ...
0
votes
0answers
71 views

XEN Storage Repository (xe se-create) on Encrypted Raid 5 with LVM fails/resync

I am messing around with an ubuntu 13.04 installation. What I have: XEN Software Raid 5 LVM on top What I want: A storage repository for XEN as a logical volume The issue: "sr" does not work ...
1
vote
2answers
66 views

How to verify /boot partition on encrypted LVM setup

Isn't unencrypted /boot partition a weakness for encrypted LVM setup? Attacker may install a malware to /boot partition so that it may sniff encryption password next time system boots. It may also be ...
1
vote
1answer
20 views

Non Raid - Symbolic links

I have 3x 3TB drives and 2x 1TB drives. I want to use all drives without RAID, but to be shown as a single volume. So that if a drive fails only the information on that failed drive will be lost. ...
-1
votes
2answers
156 views

Partition that spans multiple disks

I want to have one partition that will span multiple disks. I don't care about redundancy but in case one of the disks fails i still want to be able to access the data that is not on the damaged disk. ...
1
vote
1answer
498 views

Linux SSD Performance with Luks / LVM

I've recently obtained a Samsung EVO 840 1TB SSD as a hard disk replacement for my laptop (Lenovo X220t, core-i5-2520m, 8GB RAM). So far, I'm not impressed with the resulting performance and request ...
1
vote
1answer
61 views

Is linux LVM a good choice for 2 disks ? [closed]

I am installing ubuntu server 13.04 on a machine. I have 2 devices (hard disks) on it: 2 x 500GB on RAID 1 1 x 1TB I was thinking about setup LVM, but I have no idea about how it works or if it's ...
1
vote
0answers
75 views

LVM Unable to remove physical volume

Aim: To remove the physical volume from the LVM in order to reformat it. LVM Setup: 1x 2TB HDD 1x 3TB HDD Problem: When trying to pvmove, I get an error saying "No extents available for allocation" ...
2
votes
0answers
2k views

How to resize an lvm volume (after lvresize got corrupted. is it possible to revert?)?

I did following under the root login (shrinking /home, expanding /var): umount /home lvresize -L-7G /dev/mapper/myvg-home it was warning: WARNING: Reducing active logical volume to 28.89 GiB ...
1
vote
0answers
163 views

Uefi and full disk encryption with lvm on luks

I have an asus machine on which i can use old bios and new uefi. I've always used the old bios system, running a full encrypted debian with the following configuration: an unencrypted boot partition ...
0
votes
1answer
2k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
16
votes
1answer
402 views

How to make suspend to RAM secure on Ubuntu with full disk encryption (LVM on top of LUKS)?

I'm on Ubuntu 13.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without ...