Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

learn more… | top users | synonyms

1
vote
2answers
312 views

Very poor read performance compared to write performance on md(raid1) / crypt(luks) / lvm

I'm experiencing very poor read performance over raid1/crypt/lvm. In the same time, write speeds are about 2x+ faster on the same setup. On another raid1 setup on the same machine I get normal read ...
0
votes
1answer
205 views

Is it useful to setup RAID0 on laptop? [closed]

I have a Dell laptop, which I am going to replace the CD-ROM hub with a HDD. I am thinking if I setup a RAID0 on my original HDD and the new HDD, would I have some I/O performance improvement? ...
2
votes
1answer
86 views

Can I convert an existing LVM VG to a stripe (RAID0 eq)?

I have an existing LVM volume group of 3 disks (ext4), with 4 logical volumes. Not quite ready for the leap to a nextgen FS, I would like to balance the load on the disks. I have seen you can create ...
0
votes
0answers
38 views

Proxmox storage question

I am designing a proxmox installation for use as a home server, I chose it for the inherent flexibility and ease of administration, this restricts me to debian based solutions. So after some ...
0
votes
0answers
106 views

How to enter LVM GUI from CentOS live CD?

I'm trying to reduce in size one of my logical volumes in CentOS. I booted from the CentOS 5.10 installation CD into linux rescue and tried running: lvreduce --resizefs --size 450g ...
1
vote
1answer
233 views

Multipath to a logical volume in a staging VM

How do I configure multipath in testing VM (purpose is purely academical)? I made new logical volume, modified multipath.conf to be as follows: defaults { udev_dir /dev ...
4
votes
1answer
1k views

Can't resize lvm volume “lv_home is in use. e2fsck: Cannot continue, aborting”

I would like to shrink my logical volume for home directory, so that I can extend volume for root. df -h /dev/mapper/vg_mitoscomp-lv_root 50G 33G 15G 70% / /dev/mapper/vg_mitoscomp-lv_home ...
1
vote
0answers
30 views

what is the “System ID” of a LVM volume group

On my system, where I use LVM2, I have several volume groups. When I run sudo vgdisplay, I see that all of them have an empty System ID field. What is that field for? Is that correct to have it empty ...
3
votes
1answer
773 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
2
votes
2answers
2k views

device mapper on RHEL6 unable to create devs for LVM logical volume

I have XEN guest running RHEL6, and it has a LUN presented from the Dom0. This contains an LVM volume groups called vg_ALHINT (INT for Integration and ALH is an abbreviation of its Oracle database ...
2
votes
2answers
207 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
1
vote
2answers
60 views

How to find the underlying disks of a mirrored volume in LVM (linux)?

When I run command lvs -a the output shows the logical volumes from which the mirrored-volume has been made but how to find the actual disks from which the sub-logical volume were allocated. Any ...
1
vote
2answers
225 views

Restore formated Partition Table on LVM Physical

I have a machine (guest VM running CentOS 6.5) with 2 disks. Main OS on sda and then a 2TB LVM on the second sdc. I added 2 more 2TB disks to the machine and was going through the process of ...
4
votes
1answer
378 views

LVM2 pvdisplay and vgdisplay disagree

In my laptop, I have a single hard drive (/dev/sda). On this hard drive, I have an EFI partition (/dev/sda1), a boot partition (/dev/sda2), and an encrypted partition containing / (/dev/sda3). Inside ...
0
votes
0answers
30 views

Decrease crypted LVM partition

On a Linux Mint install, I used the option to use whole disk and encrypt it. Now, I want to install Windows on another partition. How I can safely decrease size of this encrypted LVM? Of course, ...
3
votes
1answer
766 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
2
votes
1answer
354 views

Replace hard drive in ubuntu

I know variants of this question have been asked before, but I couldn't find a specific answer to my situation. So here goes: Running ubuntu server 12.04 with the os on a separate drive and two 1,5 ...
0
votes
1answer
117 views

LVM Snapshot without copy-on-write

I've been experimenting with LVM and how I can use it for managing data on my NFS server. With everything that I've read about snapshots, I am still unsure about how they perform in real life. Why ...
2
votes
1answer
291 views

KVM linux guest, 2nd HDD, LVM partition or whole disk

I've got a RAID 10 arrays on a couple of KVM host machines. The RAID 10 array is one big VG. I usually create a small LV for guest disk image storage then the rest of the VG I carve out as LVs to add ...
3
votes
0answers
199 views

Unable to close a Luks partition

For backup purposes, I have "snapshotted" a LVM partition. This partition was crypted so I have opened this Luks partition (snapshot) in order to do my backup. The problem is that I have forgotten to ...
0
votes
1answer
713 views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
1
vote
1answer
377 views

Debian Squeeze RAID 5 Install?

I have a box with four Hard Drives on it. I am going to install Debian Squeeze (I know it's old... I have to) on it. I want to be able to treat the the four Hard Drives as a single Harddrive. Durringt ...
2
votes
1answer
96 views

Why is df -h size, util and dispo not corresponding to each other

When I'm using the command "df -h" I'm having the following output : Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 20G 9,4G 8,8G 52% / devtmpfs ...
4
votes
2answers
429 views

Grow LVM RAID10?

RHEL LVM has supported RAID4/5/6 as of 6.3 and RAID10 as of 6.4. It's well-known that mdadm won't let you --grow raid10, my question is whether this is a limitation of LVM RAID10 too? If it is ...
1
vote
4answers
54 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
1
vote
1answer
112 views

How can we resize the LVM in Fedora 17?

I was trying to install Backtrack along with Fedora 17. While installing the BT I found there was no free space in my system. When I checked the FS in Fedora, all my space in HDD is used as LVM.
3
votes
1answer
43 views

Verify that partition is encrypted

I just installed Debian and as far as I can remember I encrypted my home-partition using LVM. During the boot process I haven't been asked to enter the password. Is there any way to check whether ...
1
vote
0answers
74 views

Optimization for an SSD?

I am running Fedora 20 on a Laptop ( Lenovo Ideapad Yoga 2 Pro ) with an SSD. My filesystem is LVM with ext4 as the format option. I am now running Fedora as the only OS on the system with Legacy BIOS ...
2
votes
1answer
628 views

Software RAID 10 + LVM on mixed drives, sector 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 ...
2
votes
1answer
49 views

How do I see what logical volumes are on a physical volume?

I have a volume group composed of dissimilar drives - an HDD and an SSD. I'd like certain LVs to live on the SSD. I can suggest this to lvcreate when creating new LVs, and I can move things around ...
1
vote
1answer
99 views

Resize Disk on Linux

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_cloud-lv_root 51606140 9985252 38999448 21% / tmpfs 515252 0 ...
3
votes
1answer
167 views

What is the proper way to shrink a LVM partition?

I want to shrink a Linux LVM partition from 200GB to 150GB. A test is carried out with the following steps: Shrink a file system in a logical volume with reszie2fs Shrink the logical volume with ...
1
vote
1answer
2k views

Is there any way to do a CentOS minimal install without LVM / ext4?

I'm trying to benchmark the disk throughput of a base CentOS install on my lab XenServer setup, and am installing from the CentOS 6.4 minimal CD. However, the install ISO boots into a text-mode ...
2
votes
1answer
458 views

Decrypt second encrypted LVM during headless server boot?

I've followed this question https://unix.stackexchange.com/questions/5017/ssh-to-decrypt-encrypted-lvm-during-headless-server-boot and successfully remotely decrypted my root drive. However, I have a ...
4
votes
3answers
395 views

How does LVM find drives after setup

I want to move all my 14.5 TB of media drives (not OS) to a combined LVM file system due to constant problems arranging things to fit into multiple smaller file systems. My question is if after setup ...
4
votes
2answers
496 views

CentOS can't use new extented space on system disc

I have CentOS installed in my VirtualBox and there was small HDD for the system itself(about 8-9GB). After some time of using this, this virtual disc got full and I couldn't install updates so I ...
5
votes
1answer
5k views

Why my encrypted LVM volume (LUKS device) won't mount at boot time?

I'm trying to setup an encrypted volume following this guide Everything is setup but mounting the encrypted volume fails at boot-time with the error: fsck.ext4: No such file or directory while ...
3
votes
0answers
111 views

LVM RAID 1 for root [closed]

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
0answers
185 views

GPT + BIOS legacy + LVM - how to make right GRUB partition

I'm preparing to install Arch Linux on my netbook (Samsung N130). I want to use GUID Partition Table. I have BIOS (not UEFI) on my motherboard. I want also to use LVM. On Arch Linux Wiki, I've red ...
1
vote
0answers
152 views

dm snapshot - how does it work?

Fedora uses dm-snapshot for making the root filesystem read-write. At least for me, when running a livecd (even without touching it), it will become unusable relatively quickly meaning it has ...
3
votes
1answer
481 views

SSD as a read cache for FREQUENTLY read data

I'm looking for ways to make use of an SSD to speed up my system. In “Linux equivalent to ReadyBoost?” (and the research that triggered for me) I've learned about bcache, dm-cache and EnhanceIO. All ...
2
votes
2answers
191 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
5
votes
5answers
4k views

Arch GRUB asking for /run/lvm/lvmetad.socket on a non lvm disk

I am running this script based on the ArchWiki setup procedure. It fails on the GRUB configuration step I am using the archlinux-2013.12.01-dual.iso inside VMware Player with 1 GB ram, sda is 810 ...
1
vote
2answers
200 views

How do I recover an ext4 volume overwritten by an LVM logical volume?

I was running an Ubuntu desktop. The OS was installed on a SSD. I had two additional drives formatted ext4 and mounted on /storage (1TB) and /storage-bak (1.5TB). I installed Centos over Ubuntu on ...
3
votes
2answers
2k views

How can I find out the free space on an LVM PV in human readable format?

I'm looking for a way I can get the free space on an LVM physical volume without having to use a calculator. I know the pvdisplay command will show me the size of a PE size as well as the free PE, ...
2
votes
0answers
126 views

Unmount external drive with LVM2 Physical Volume on it

I've got my Ubuntu 13.04 install backed up to my external hard drive using deja-dup. I formatted the drive with lvm so I could use the rest of the drive for external storage while having the resize ...
4
votes
2answers
2k views

How do i extend a partition with a LVM and the contained physical volume and logical volume?

On my 240 GB SSD i had at first two partitions, one containing the Logical Volume with Linux Mint and the other had contained a NTFS partition to share with Windows. Now i removed the NTFS partition ...
2
votes
1answer
346 views

I/O errors on Linux LVM

I have a CentOS 6 box with LVM setup and one of the PVs is a USB disk (I know). One of them is getting the error: Oct 30 10:57:07 alpha01 kernel: lost page write due to I/O error on dm-3 Oct 30 ...
1
vote
1answer
232 views

Cannot mount filesystem under luks. Device does not exist

I made one big luks device and re-used it on my debian install, then i ran into some boot problems and i need to acess the filesystem. The problem is, i decrypt the luks device and when i try to ...
0
votes
1answer
358 views

No Space left on device - Debian

when Im new to linux and try to run this below code apt-get -f install getting below error: Checking the available space df Tho output How to increase the available space in /usr path?