Questions tagged [lvm]

In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.

1504 questions
13
votes
5 answers

How to change a physical partition system to LVM?

I have a server with Debian that have 3 physical partitions covering all the disk: boot, root y swap. Now I want to replace that partitions with LVM partitions. I know how install Debian with LVM at beginning, but in this case I can't install the…
Daniel Hernández
  • 263
  • 1
  • 2
  • 4
13
votes
5 answers

LVM and disaster recovery

I understand what LVM is and what it accomplishes, but I feel like I am missing some things. Lets say we have two physical drives, sda and sdb. Both are 100 Megs. I put them into VolumeGroup1 and create one 200 meg LogicalVolume1. What would…
Bob
  • 2,937
  • 5
  • 29
  • 32
13
votes
4 answers

How to mount virtual machine's LVM partition on KVM host?

If I trying to do following on KVM host: # kpartx -av /dev/VolGroup00/kvm101_img add map kvm101_img1 : 0 208782 linear /dev/VolGroup00/kvm101_img 63 add map kvm101_img2 : 0 125612235 linear /dev/VolGroup00/kvm101_img 208845 # mount…
Evolver
  • 626
  • 2
  • 6
  • 14
13
votes
5 answers

What are the benefits of the Logical Volume Manager

What are the features and potential benefits of Logical Volume Manager beyond what is detailed on its Wikipedia page?
LanceBaynes
  • 3,087
  • 9
  • 29
  • 31
13
votes
2 answers

How to do the equivalent of Synology Hybrid Raid on Linux myself?

http://forum.synology.com/wiki/index.php/What_is_Synology_Hybrid_RAID%3F Synology is just Linux and uses LVM. How do their tools automate LVM to achieve what they call their Hybrid Raid?
jrwren
  • 370
  • 2
  • 5
  • 16
13
votes
5 answers

How to recover logical volume deleted with lvremove

I am on CentOS 5.5 and am running Xen. I have a large volume group that I create logical volumes on using lvcreate. Today I had a customer cancel her account, then change her mind about an hour later. Unfortunately I had already removed the LVM…
John P
  • 1,679
  • 6
  • 38
  • 59
13
votes
9 answers

Logical volumes are inactive at boot time

I resized my logical volume and filesystem and all went smoothly. I installed new kernel and after reboot I can't boot neither current nor former one. I get volume group not found error after selecting grub(2) option. Inspection from busy box…
zeratul021
  • 379
  • 1
  • 5
  • 18
12
votes
6 answers

How to access LVM partitions on OS X?

I need to access ext3 partitions over an LVM logical volume in a SATA HD connected through USB2 to my iMac with OS X 10.6 . Is it possible to see LVM volumes from OS X? How? Disk Utility says that the attached device is unknown and propose to…
drAlberT
  • 10,949
  • 7
  • 39
  • 52
12
votes
3 answers

LVM volume group shared between KVM/libvirt host and guests: is this a bad idea?

I have just built a shiny new KVM/libvirt-based virtual machine host, containing 4 SATA II hard drives, and running CentOS 5.5 x86_64. I have decided to create virtual machine disks as logical volumes in an LVM volume group managed as a libvirt…
mrwmc
  • 143
  • 1
  • 6
12
votes
4 answers

What is the difference between LVM and LUN

Both seem to be a virtualization layer on top of physical disks. I'm having a hard-time understanding each of them and the difference between them.
BlueGene
  • 2,241
  • 9
  • 30
  • 33
12
votes
5 answers

linux LVM mirror vs. MD mirror

I think I remember making some mirrors years ago with LVM, and I don't remember this "log" thing. Or maybe I made the mirror with mdadm and put LVM on top. That must be it. What is the LVM log for if it is just a mirror? What is stored there? What…
d-_-b
  • 1,124
  • 3
  • 11
  • 23
11
votes
5 answers

LVM mirroring VS RAID1

Having learned a bit about LVM mirroring, I thought about replacing the current RAID-1 scheme I'm using to gain some flexibility. Problem is that according to what I found on the Internet, LVM is: Slower than RAID-1, at least in reading (only…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
11
votes
4 answers

Insufficient free space: X extents needed, but only Y available

I'm trying to extend a LVM in a Vmware Workstation 12 Pro CentOS VM. Below are the steps I am following and where I stopped because don't know how to folow from there: Create the primary partition using fdisk command Get partition table info using…
ReynierPM
  • 710
  • 5
  • 14
  • 30
11
votes
2 answers

How to mount new logical volume (adding to fstab and mtab)?

I created a new LV for the first time using this command: lvcreate -L 20G -n iew-vm-lv /dev/ubuntu-vg #create the new LV When I try running mount /dev/ubuntu-vg/iew-vm-lv, I get the following error: mount: can't find /dev/ubuntu-vg/iew-vm-lv in…
Nate
  • 449
  • 6
  • 11
  • 24
11
votes
1 answer

Are ZFS pools or LVM volume groups more reliable for utilizing many partitions?

When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike this previous question, I don't want to layer the…
warren
  • 18,369
  • 23
  • 84
  • 135