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.

learn more… | top users | synonyms (1)

0
votes
0answers
10 views

Ubuntu 12.04 and Hardware RAID 5 and LVM

I have an existing database server setup with RAID5 (3pcs 1 TB disk - usable is 2TB). One of its partition is /data is LVM. There is production data already in the First RAID 5 so we opted to create ...
-2
votes
0answers
12 views

While executing vgdisplay command on RHEL 6.5 gives me Input/output error for disk. But the server doesn't have that disks

Complete errors as given below: /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output ...
0
votes
1answer
26 views

Combining partition types lvm

I have an older disk setup that was made with msdos parition types and it appears that they kept growing the same disk in order to grow the lvm however it ran into an issue where it got to 2TB and ...
0
votes
0answers
10 views

Mount LVM volume as external usb drive?

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 ...
3
votes
3answers
264 views

How can I create one large partiton over two drives in CentOS?

I've got a new dedicated server that I want to use purely for backup purposes. [root@dedi ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 20G 942M 18G 6% / tmpfs ...
1
vote
1answer
19 views

How can I tell pvresize to expand a physical volume to include all available space?

We have a poorly implemented mysql server that had been built by a vendor. It has consumed 100% of available disk space, and as soon as any space is cleared out mysql grows to consume it. This is, ...
0
votes
1answer
42 views

LVM Free Disk Space

I have a MongoDB running on a virtual server (Ubuntu 14.04.2 LTS). The MongoDB logs say this: Fri May 8 13:08:02.270 [initandlisten] ERROR: Insufficient free space for journal files Fri May 8 ...
0
votes
1answer
26 views

How to migrate from ide to virtio in RHEL 6.5 KVM guest with LVMs

I want to migrate a IDE-using, LVM-based KVM guest running RHEL 6.5. I found this steps in this page: 1) Run virsh edit . From there, edit the config file and adjust all lines of <target ...
0
votes
1answer
37 views

Can you do multiple pvmove at the same time?

I have following case: Server with 4 disks - devices /dev/sdb - /dev/sde. Each of these disks is physical volume, and all of them are within single volume group. In this volume group, I have single ...
2
votes
1answer
82 views

LVM Partition being detected as wrong size

There is a server I'm responsible for that is showing a drive (full) and much smaller than the drive should be. My knowledge of LVM is not deep enough to see why. I could use some help from a good ...
0
votes
1answer
29 views

Recover overwritten RAID5 array (XOR)

as I've mentioned in a recent question (RAID5 rescue with LVM2 running on it) I'm rebuilding an RAID5 array. Now, I think that the initial wrong mdadm --create ... command has started the ...
0
votes
1answer
50 views

RAID5 rescue with LVM2 running on it

I have a RAID5-array consisting out of 6 1TB drives. Recently with hardware changes i needed to recreate the raid to rewrite the bootloader on each drive. Now the problem starts. Starting the Debian ...
0
votes
2answers
26 views

I added space to a kvm img file but the physical extents do not show up in lvm

I ran qemu-img resize kick.img +12G and thought I'd see some free physical extents when running pvdisplay but nope. When I run virt-filesystems --long --parts --blkdevs -h -a kick.img I see the space ...
-1
votes
0answers
14 views

Data rescue for lvm-raid

i've had to change mainboard and CPU of my storage server consisting out of 6x1Tb devices. As it was operated by a Software RAID (dm-raid) i've thought plug and play. But then no bootsector was ...
0
votes
0answers
13 views

Logical Volumes fails to mount with dmsetup and no table present [migrated]

I am stuck with all the volumes on a volume group unable to mount, after a yum update on a CentOS 5.11. device-mapper upgraded from 1.02.24-1 to 1.02.67-2 The machine boots correctly from ...
1
vote
1answer
31 views

Shrinking LVM Volumes

We have a Synology RS3614rpxs NAS head containing (9) 3TB hard drives in a RAID 6 + 1 hot spare. The storage became exhausted and we added an expansion chassis where 5TB hard drivers were installed ...
1
vote
1answer
20 views

Storage volume is not avaliable from second node AIX 6.1 OS

My environment comprised AIX 6.1 OS installed over six physical servers and connected via brocade switch to DS8000 SAN storage. I am aiming to build HACMP cluster on two physical machines in a way ...
1
vote
1answer
84 views

copy LVM partition to new disk

I have a question about making copy of LVM partition to new disk. I want co copy not to move data. My operating system is Debian. On LVM partition I have running Xen virtual systems. Information ...
0
votes
0answers
43 views

Booting from LVM without boot partition

I have recently rebooted a server with over a year uptime which was partitioned like this (and of course it never come back, it couldn't boot): Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes 255 ...
1
vote
1answer
30 views

How to change the PVID of a device and still be able to import the Volume Group in AIX?

I have 3 disks that are copies of other disks so they have the same PVID's. I would like to change the PVID of those disks and import the volume group but as I understand the VGDA information on the ...
-1
votes
0answers
18 views

An ext4 filesystem spanning multiple RAID arrays and calculating alignment parameters [closed]

So I have the following setup: 3x4TB RAID-5 (Hardware RAID) (two data disks) 5x2TB RAID-5 (Hardware RAID) (four data disks) = six data disks in total? These will be encrypted using LUKS and then ...
0
votes
1answer
48 views

Back up incremental snapshots to another volume

I'm looking for a way to implement something close to the following backup scheme: Initially, a full image is copied to the backup target. Periodically (e.g. nightly), only blocks that have changed ...
0
votes
2answers
64 views

Can you change raid type on an active server?

I was just dabbling with a few different raid types recently for some performance testing and I was hoping someone could answer this question for the sake of knowledge. Is it possible to change the ...
8
votes
2answers
225 views

Linux device-mapper maps LVM PV nested inside LV when taking snapshot

Which is really messing with my plan to back up this machine... I have a server which is a KVM hypervisor to several virtual machines. One of these is running Docker. It has its Docker volumes on ...
0
votes
0answers
50 views

Data recovery seems impossible after kernel upgrade. MDADM (Raid1) LVM2

I opened a question about rebuilding a bad partition My Problem that din't take me anywhere. Bad news is the company trying to rescue the data says it's finding huge inconsistencies they can see some ...
-1
votes
1answer
123 views

Disaster recovery. MDADM/LVM2 Some advance but stuck on final mount

We made a stupid upgrade on a running server using wrong repositories and the system became totally unbootable. The system, a SLES 11 we used a openSuse repository to upgrade, and everything went ...
0
votes
1answer
293 views

Easy way to transfer files between host and LXC container on LVM

This is an easy task in the case of containers that share the same filesystem but I'm not sure what would be the proper approach for containers that use LVM disks. I know I could use rsync or scp but ...
0
votes
1answer
39 views

Multiple lvms or one large lvm

Say you have a server that has two VGs (base and sys) and base is the standard partitions (root, var, etc.) and sys would be application specific partitions. I can't find any real documentation for ...
0
votes
1answer
150 views

Hetzner script, configuring SSD + RAID1 image installation

I am trying to figure out how to set this configuration on my Hetzner server. The hetzner installimage script provides a default configuration (with comments: http://pastebin.com/tBqezpFn): # ...
2
votes
0answers
86 views

How to emulate union mount behaviour with LVM in CentOS?

In short, I want to create a system restore image. My idea with AUFS is like the image below Now, as I require this mount setup at boot-time, I don't think I can do it with fuse and will require AUFS ...
1
vote
1answer
125 views

lvextend: New size (3071999 extents) matches existing size (3071999 extents)

I configured LVM on a 12TB device with 1 partition. I then tried to extend the LVM across a second 12TB device with 1 partition. vgextend worked, but lvextend doesn't see the space on the second ...
0
votes
1answer
54 views

How to fsck a partition that is part of a software Raid that again is part of a LVM volume group?

The faulty partition is /dev/sdb3. from /proc/mdstat: md2 : active raid1 sda3[2] 2896184639 blocks super 1.2 [2/1] [U_] says /etc/fstab: # /dev/md/2 belongs to LVM volume group 'vg0' ...
1
vote
1answer
46 views

How do I replace a disk with LUKS on LVM2 - no raid, no span

I have LUKS on LVM (LVM Partitions created first, then each partition is encrypted separately, following this guide on Arch Wiki). I am using two volume groups, and each is isolated to a drive. This ...
1
vote
0answers
83 views

LVM psychical volume partitions

I have 2 logical volumes in a volume group that span two hard drives. The problem that I'm currently having is that the I can no longer mount the volume group because the superblock is misreporting ...
0
votes
2answers
65 views

Extendable RAID storage system

I am currently building a storage unit for our office. It is rather low budget at the moment, but it needs to be extendable. basically we have a huge database that will grow over the next few months ...
0
votes
1answer
91 views

Mount LVM partition from Ubuntu LiveCD/ISO

I have an old Ubuntu server inside a Virtual Box. I migrated to a new laptop a while ago and now for whatever reason I can't remember the password nor ssh to the box. Ordinarily I'd fire up a Live CD ...
2
votes
1answer
188 views

Removing failing drive from LVM volume group … and recovering partial data from an incomplete LV (with a missing PV)

I've been fighting this issue for some time now. I have a Logical Volume with 3 disks, 1.5TB, 2TB and 3TB. The 1.5TB drive is failing. Lots of I/O errors and dead bad sectors. I started pvmove to ...
0
votes
1answer
33 views

lvm clone logical volumes layout to another host

I want to clone LVM logical volume layout to another host ( = Create volumes with same size ). Does anyone know solution for this ? I know I can execute something like: sudo LC_ALL=C lvs -o ...
1
vote
2answers
560 views

Can't open /dev/xxx exclusively. Mounted filesystem. How to create volume groups and lvm on mounted disk?

I've 3 partitions sdb1 sdb2 and sdb3. I wanna to create a volume group and lvms in the sdb3 which is the mounted linux partition where is located my root folder. I'm typing: pvcreate /dev/sdb3 ...
-1
votes
1answer
66 views

How to migrate RAID-6 from 5 disks to 4 disks while increasing disk sizes

I am having a quite complex problem and while I found solutions to individual steps (and already applied some of them in different contexts), I am not quite sure on how to do the whole procedure ...
0
votes
0answers
33 views

Preseeding with RAID1 Encrypted LVM

I would like to preseed a debian wheezy system with Encrypted RAID1 LVM. I've done some google searching, seen others asking the same question, but have not found any answers. I have successful ...
1
vote
2answers
52 views

LVM: Removing physical volume

I want to repartition my disk. My current partition table is as follows: Disk /dev/vda: 1 TiB, 1136018849792 bytes, 2218786816 sectors Units: sectors of 1 * 512 = 512 bytes Sector size ...
1
vote
2answers
79 views

Disk Partitioning and Layout with LVM

I am trying to determine the best disk configuration/disk layout/partitioning scheme for a large, virtualized, multi tenanted environment. Our current scheme is very similar to rhel/centos defaults, ...
0
votes
1answer
1k views

XenServer 6.5 - Creating local iso storage/library failed - SR_BACKEND_FAILURE_222

I was trying to adapt instructions for XenServer 6.2 on how to create a local ISO library to a freshly installed XenServer 6.5 host. However the command ... xe sr-create name-label=LocalIso type=iso ...
4
votes
3answers
289 views

Which scheduler to change on LVM to benefit virtual machines

When you have LVM, you have an entry for a scheduler in /sys/block for your physical volumes, but also for each individual logical volume, and the raw device. We have a Debian 6 LTS x64, kernel ...
0
votes
1answer
68 views

LVM2: pvscan with offset?

After I played with mdadm a bit too hard, I'm now tryng to recover my lvm2 volumes that were sitting in the original RAID1 array. pvscan finds nothing, but that's not a surprise: since mdadm is not ...
1
vote
1answer
84 views

After resizing an encrypted LVM device, the machine takes 4 hours to boot

I have a host, under Debian Wheezy. The virtualisation software is qemu/KVM, and uses LVM Volumes as disks for the guests. The guests all have been installed using debian wheezy, full-disk ...
1
vote
0answers
90 views

Debian KVM Host, Debian guests : where full-disk encryption should be done?

I have a host under Debian Wheezy, running qemu/KVM. I want to have all my guests fully-encrypted. I can see to possibilities : - Either I encrypt the LVM Volume using dm-crypt (cryptsetup) and use ...
0
votes
0answers
30 views

Transient errors on Linux RAID1 and RAID10

On the Arch Linux wiki you can read: Due to the fact that RAID1 and RAID10 writes in the kernel are unbuffered, an array can have non-0 mismatch counts even when the array is healthy. These non-0 ...
3
votes
1answer
130 views

cannot remove faulty device from LVM2 raid1 mirror

One of the three disks went off in my LVM raid1 logical volume. (It was a bad experiment actually). The volume is a pure LVM raid1 one (no, not an LVM mirror), without any mdadm / fakeraid. The ...