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

0
votes
0answers
18 views

How do I migrate an virtual machine using LVM to KVM?

I have a virtual machine running CentOS on VirtualBox with a drive that uses LVM for partitioning / volume management. I need to migrate the vm to a linux-kvm host machine. Here's the steps I've ...
0
votes
0answers
37 views

mounting and accessing Encrypted LVM after reinstallation of Linux

I had Fedora installed on a LVM & had my /home & another file systems in it encrypted. ( i remember the passwords but forgot the cipher protocol used ) Now, I installed Ubuntu without ...
1
vote
0answers
16 views

Ext3-formated hard drive is corrupted

I have two hard drives put together to one logical volume. Both hard drives are ext3 formated I'm running rasbian For a few days now mounting the LV failes. I receive the following error message when ...
0
votes
1answer
25 views

How to create new partitions for a linux system that contains Logical volumes [duplicate]

I am trying to add new partitions which are not logical volumes. But I have a system with logical volumes. I tried reducing the lv_home partition size using ‘lvresize’, and reduced a LV size by 5GB ...
0
votes
0answers
19 views

LVM physical volume priority

Linux LVM can combine several physical volumes in one group and when spread space of this group among logical volumes. If some slow devices will be added to group it may slow down all logical ...
1
vote
0answers
29 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
0
votes
1answer
59 views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume ...
0
votes
2answers
37 views

How to increase disk space in linux

I searched but can’t find a simple solution and easy to implement. I have a VM with two disks, one with 50Gb and other with 20Gb, and I need to increase 10Gb in the disk of 50GB so that you have ...
0
votes
1answer
70 views

How to recover windows from an LVM encrypted ubuntu install

I was trying out ubuntu 14.04 and I chose the option of using a LVM encrytion, Now I cnat load windows or even access them from ubuntu, I have looked all over the internet for tutorials but none of ...
0
votes
0answers
37 views

LVM Disk Fault Correction Issue

I've been having some problems with my LVM disk array. First off i was suspecting a failing hard disk smartctl /dev/sde # 1 Extended offline Completed: read failure 90% 4861 280578 # 2 Short ...
1
vote
0answers
43 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
20 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
415 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
89 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
55 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
1answer
24 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
115 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
15 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
32 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
18 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
51 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
31 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
120 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
18 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
89 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
66 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
84 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
87 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
170 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
548 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
59 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
62 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
63 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
37 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
13 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
23 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
31 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
41 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
78 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
1answer
177 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
198 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
43 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
123 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
31 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
35 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
33 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
46 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
69 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
109 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
97 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 ...