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

learn more… | top users | synonyms

4
votes
2answers
629 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
6k 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
124 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
197 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
163 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
519 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
213 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
5k 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
231 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
3k 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
136 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
3k 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
462 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
258 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
394 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?
1
vote
1answer
675 views

bootloader configuration with GPT, RAID1, and LVM

Using the GUID Partition Table and RAID 1, the bootloader (syslinux or GRUB) is not able to boot into the machine, which was installed with Arch Linux. First off, there are two drives identical ...
1
vote
1answer
55 views

Restored VG has shifted volumes

I'm recovering a PV on a mdadm RAID 1 with a single VG containing several LVs. The underlying devices have several bad sectors (one just a few, the other really much) and a silly typo made it ...
0
votes
1answer
176 views

when is it safe to remove `/dev/.tmp-block-*` files

i'm currently experimenting with temporary lvm-snapshots (that is: create a snapshot of an LV, do something with the snapshot (e.g. run a backup), then destroy the snapshot. something along the lines: ...
1
vote
1answer
516 views

LVM hangs while trying to create my root device node

Followup to How can I check for bad blocks on an LVM physical volume? The title mostly sums it up. Basically, I have a box partitioned with a regular /boot partition and then an LVM physical volume ...
2
votes
0answers
790 views

What steps can I use to recover a RAID 1 array with LVM and EXT3 on it?

Someone handed me a drive that used to be part of a RAID 1 (mirror) array. The drive apparently has LVM (1?) on it and EXT3 (I believe). What steps can I take to regain access to this drive? ...
0
votes
1answer
295 views

Have to run partprobe at every boot

I created an LVM logical volume. I partitioned it manually. I ran partprobe. I found the new device in /dev/mapper, then I mounted it where I needed it. Everything works. ...except on reboot, ...
2
votes
2answers
133 views

Why is LVM metadata backed up to /etc/lvm and not /boot?

Recent question I saw got me thinking on this particular point: If bootloader restrictions usually cause /boot to be outside LVM, why isn't this the target of LVM metadata backups? Putting it ...
1
vote
1answer
159 views

LVM issue with VM - Physical disk not present

Am trying to troubleshoot an issue that has arisen during a DR test and admit from the outset that LVMs are not my forte. We have a RHEL6 VM running on ESXi 5.1. We are using a LUN to LUN ...
6
votes
3answers
3k views

How can I check for bad blocks on an LVM physical volume?

When you're using ext4, you can check for badblocks with the command e2fsck -c /dev/sda1 # or whatever. This will "blacklist" the blocks by adding them to the bad block inode. What is the equivalent ...
5
votes
3answers
925 views

mdadm with overlaying lvm - remove a hard drive

This is a hypothetical question, I'm just evaluating in which way I should configure my hard drives for my home-server and for that I need to know this: Let's say I have a Raid5 configured with mdadm ...
0
votes
2answers
96 views

Resizing root partition in LVM broke Grub

I'm using Debian Wheezy hosted on W7 in Virtualbox. I needed to enlarge root partition then added a new virtual disk to virtual machine. Doing the steps mentioned below brings me to grub prompt. I: ...
1
vote
1answer
149 views

How to create LV

I want to create some LV in my VG I have this: LV Name /dev/vg_appli/lv_grt LV Size 10,00 GB LV Name /dev/vg_appli/lv_sap LV Size ...
-4
votes
1answer
197 views

What does this lvcreate call do?

Could someone explain this line: lvcreate -l 128 vg_appli -n lv_cmp I think 128 is the size, but what is it doing as a whole?
0
votes
1answer
98 views

Errors when booting with encrypted LVM

When I boot my computer and I have to enter the password of the encrypted lvm, there are always a bunch of annyoing messages like: "usb string descriptor 0 read error: -22". How can I fix that? my ...
7
votes
0answers
312 views

Couldn't fill logical volume maps [closed]

So I have a big problem here. On our server, there is an LVM raid with one volume group called raid. It contained two volumes, secured and unsecured and some unallocated space. Today I tried to remove ...
0
votes
1answer
118 views

rsnapshot LVM without root

I'd like to cron a local backup to a locally mounted USB drive. I'm using rsnapshot and want it to back up an LVM snapshot onto the USB drive. But, unless I run the cron as root it complains that I ...
9
votes
3answers
2k views

Trim with LVM and dm-crypt

I tried to setup TRIM with LVM and dm-crypt on ubuntu 13.04 following this tutorial: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/ See the ...
0
votes
1answer
525 views

How can I merge root and home in Fedora?

I've installed fedora with default configuration few months back and now I want to arrange the mount points. /etc/fstab look like that: /dev/mapper/fedora_dhcppc4-root / ext4 ...
2
votes
2answers
277 views

Resizing LVM within a in KVM-based VPS

I have a VPS (based on KVM, not sure which storage technology) for about two years now. It's mainly a learning machine, a utility proxy, or a seldom-used VPN gate, or whatever--no real work, no ...
1
vote
0answers
114 views

benchmarking ftp in 3 methods of virtualization

My Bachelor Final Project is about benchmarking visualization methods with ftp, web and mysql services: installing Debian on xen (para-visualization) kvm and lxc with equal resources config (equal ...
0
votes
0answers
23 views

Reasons to partition an encrypted ssd [duplicate]

I am just setting up a new system with Lubuntu 13.04. I have an SSD and the whole system will be encrypted with the standard LVM + dm-crypt method (as offered by the lubuntu installer). In the past I ...
0
votes
1answer
175 views

Can we create lvm volume group with mapped device?

I can create a lvm volume group with a loop device. But if I use dmsetup to map the loop device into several devices, then I can't create a lvm group with /dev/dm-. Why is it not possible to create ...
1
vote
1answer
80 views

Is it safe to reformat an lvm root partition?

My system currently has a volume group containing root, swap, and home logical volumes. I would like to reinstall the operating system in the root volume and format the partition in the process. I ...
0
votes
2answers
163 views

What's the difference between Linux and Linux LVM?

If I want to install new hard drive should I make the file system Linux or Linux LVM? Also after that I've got to format again with mkfs.ext4. Actually what are we doing? The first one is formatting ...
0
votes
2answers
802 views

list the devices associated with logical volumes without using lvm2 package commands

I want to list all the physical volume associated with logical volume. I know lvdisplay, pvscan, pvdisplay -m could do the job. but I don't want to use these commands. Is there any other way to do it ...
2
votes
2answers
73 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
3
votes
1answer
258 views

Open luks-encrypted partition from virtual DomU LVM disk containing another LVM

I've gotten myself in a bit of a bind, here. A while ago I set up an encrypted Unbuntu 13.04 under Xen. It's virtual disk is an LVM LV. This LV was presented to the DomU as a (whole) physical disk ...
0
votes
1answer
57 views

Is my volume group dead?

I have a notebook with Scientific Linux 6.4, also a Desktop PC with SL 6.4. The PC didn't booted in a day, saying KERNEL PANIC :) So I tried to get the disk from the PC to the notebook (VolGroup is ...
-2
votes
1answer
521 views

LVM to extend a partition? [duplicate]

I tried to extend my partition with LVM, but not having much success. These are my HDD's in my server. The 2000GB is the new HDD. I would like to add it for my first HDD. root@webstar:~# fdisk -l ...
0
votes
1answer
108 views

How can I use two HDD as one on Debian?

I have installed Debian on my server with a 250GB HDD. Now I have bought another HDD that is 2TB large, but I don't know how I could use that 2TB with my webhosting solution. I heard about LVM, but ...
2
votes
1answer
139 views

Having trouble with LVM snapshot

I have a funtoo linux machine which I am trying to add ubuntu to (thats a whole other issue). It is encrypted with luks and has lvm on top of that. I have a 2 TB harddrive (sdb) which I would like ...
1
vote
0answers
235 views

Can't see my ssd drive when booting using grub on a usb pen

I installed debian on my laptop and everything was fine (I may need to mention that I'm using LVM) until I reached the grub point. Since I have a GPT partition he refuses to install properly. I ...
1
vote
1answer
528 views

HPUX: changing LVM paths or disk device names

Our installed HPUX system has a VG called "vg00" whose data was stored in partition "/dev/dsk/c3t5d0s2" Now that disk failed and we have an exact copy of that disk. However when we use the new disk, ...
0
votes
1answer
50 views

Taking a sparse snapshot

I would like to take a dm snapshot of a drive. I do not want to take the snapshot of the unused and deallocated blocks. Is there any way of determining the used blocks and sectors of a hard drive ...
3
votes
1answer
503 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...