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)

1
vote
2answers
25 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
33 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
103 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
51 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
34 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 ...
2
votes
1answer
33 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
26 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
24 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 ...
2
votes
0answers
30 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 ...
1
vote
1answer
60 views

Issue with Centos 7 + kickstart raid configuration

I've had an odd issue trying to set up kickstart with Centos 7. First of all, the relevant portion of the file itself. The following works, although it's not optimal. zerombr clearpart --all ...
0
votes
2answers
45 views

Multiple physical volumes in a block device

I have a single (unpartitioned) block device in a server which is used as the single physical volume (pv1) to a volume group (vg1). Without attaching more storage to the server, is there any way to ...
-3
votes
0answers
12 views

Manage LVM Volume through Java [migrated]

I want to Manage LVM Volume through Java Servlet. Like Creating, resizing, deleting Volume or Volume Group. Is there any API to access LVM through Java? If not then any alternative mechanism for it?
0
votes
0answers
59 views

Mysql table doesnt exist error after trying run from lvm snapshot

I'm trying to set up mysql replication by making lvm snapshot of master datadir and copying it to slave. The procedure is quite simple, on master server I execute "FLUSH TABLES WITH READ LOCK" and on ...
0
votes
1answer
55 views

VMware, LVM & Linux: Expanding a volume… temporarily, and without downtime

Our storage layers are the following in a standard setup: Outside of the OS: LUN on SAN VMware VMFS volume on LUN virtual disks (VMDKs) on the VMFS Inside the OS (Linux): the VMDK corresponds to ...
0
votes
1answer
44 views

Using lvm2 snapshot of MySQL InnoDB file-per-table, do I need to stop the server for backup?

I've read a bunch of articles on taking consistent backups of mySQL, including What's the meaning of consistent dataset? (MySQL), but I still don't think I know enough to answer this question with ...
0
votes
0answers
16 views

mounting logical volume attached to vm while vm is running

i am experimenting lvm2 and qemu-kvm. and I want to share and ask some questions. at the end of there is appendix what i am doing. a logical volume on host is attached on guest host (vm) as vda. this ...
4
votes
3answers
482 views

Optimize SSD storage on Centos 6.6 - KVM

I have a Dell R610 with hardware: H700 raid card 4xMicron MX100 512GB -> configured raid 10 I have installed Centos 6.6 on this server and configured: KVM virtualization Volume Group for raid 10 ...
2
votes
1answer
29 views

Abstract physical drives to create a resizable raid array: is it possible?

I want to set up two hard drives with a portion of them set in raid1. I want that portion to be scalable too, as logical LVM volumes are. Is it possible to abstract physical volumes or to create an ...
1
vote
0answers
26 views

lvm archive and backup files not purging

I do hourly backups doing snapshots, and every time I do it creates files in /etc/lvm/archive. But lvm doesn't appear to pay any attention to the "retain_days" parameter under "backup" in ...
0
votes
0answers
27 views

Backup MySQL with LVM, questions about the MySQL Session

I want backup my mysql database with lvm. I will do the backup with cronjob. Here the pseudocode Open mysql session Run SQL FLUSH TABLES WITH READ LOCK Do backup lvcreate -l100%FREE -s -n ...
0
votes
2answers
48 views

Using System-Config-LVM in CentOS 6 results in a corrupt filesystem

I am used to being able to use the system-config-lvm utility in RedHat Linux (I was using RHEL 5) to resize the LVM while the system was running. To be clear, I did this while running on the disk I ...
1
vote
1answer
71 views

/usr/sbin/thin_check: execvp failed: No such file or directory

Running CentOS 6.5, a brand new "minimal" server install, trying to use LVM2 thin pool feature. Packages installed are: lvm2 (2.02.111) device-mapper-persistent-data-0.3.2-1.el6.x86_64 ...
2
votes
0answers
32 views

Efficiently get file deltas for backups

With many large Xen sparse image files that have to be backed up, I'm looking for a way to do this efficiently both in terms of disk space (saving space with a differential tool like duplicity, bup, ...
0
votes
1answer
29 views

LVM on disk with no partition table. How to reallocate free space with fdisk?

I shrank an LVM in half using these commands: e2fsck -f /dev/VG/LV resize2fs /dev/VG/LV 5G lvreduce -L 5G /dev/VG/LV Inspecting the physical volume yields this: --- Physical volume --- PV Name ...
1
vote
0answers
42 views

pvs/vgs/lvs and block device size not matching

I have a LV with a filesystem on it. The LUNs behind this filesystem have been grown on SAN, as have the PV, VG, and LV. But the block device seems not to match so my resize2fs fails. I never saw ...
1
vote
0answers
41 views

LVM2 Thin pool transaction_id mismatch

I believe we trashed some LVM thinpool metadata while moving 2 volume groups to a different machine. We now trying to reactivate the volume groups on the original machine. The physical volumes, volume ...
0
votes
1answer
29 views

The partitioning of a big disk is necessary for LVM's vg space expansion

I am maintaining a LVM's vg as users' /home directory's storage space. But now I need to add a new 2T sized disk for extending the /home space. I wonder if the partitioning is necessary or not and ...
3
votes
1answer
119 views

How do you actually create LVM snapshot?

I'm trying to test LVM, but I failed on first, potentially simple task - create a snapshot. I have following situation: root@debian:~# vgs VG #PV #LV #SN Attr VSize VFree big 1 1 0 ...
1
vote
3answers
124 views

Long running VMWare snapshots are bad… but what about VMDKs on a ZFS\LVM snapshot?

The VMWare KB and multiple blogs state that long running snapshots are bad for both performance reasons and integrity. They have valid points. Granted this is not with ESXi but rather ...
0
votes
0answers
46 views

mdadm/grub2/lvm boot failure if all drives are physically connected

Weird problem here. I've got a Debian 7 server (quad core, 32GB RAM) that runs a whole bunch of VMs. The main boot drive is a RAID 1, with an LVM volume group called System, which contains a bunch of ...
1
vote
0answers
81 views

grub: Booting Ubuntu off /boot in LVM, broken after upgrade

I have servers I want to upgrade remotely and headlessly from Ubuntu 12.04 LTS to 14.04 LTS. This upgrade has to happen via script, with no interaction. The do-release-upgrade command exits cleanly, ...
-1
votes
1answer
45 views

Linux: When to create a new partition?

I am a newbie on LVM management trying to learn how to create new logical volumes. This is what I understand on how to do it: (Just want to make sure I understand it correct.) create partitions on ...
4
votes
1answer
103 views

Does AIX support Advanced Format (4k sector size) SAN LUNs?

I am working with an EMC XtremIO storage array that utilizes SSD devices that use a native 4 KB sector size instead of the traditional 512 B size. I am attaching an IBM AIX 7.1 server to the array. I ...
0
votes
0answers
42 views

LVM fault tolerance and recovery over 2 mdraid RAID5 arrays PVs

I have an Ubuntu 14.04 LTS server with an mdraid RAID5 array and LVM on top, meaning one PV and one VG using it. The LVM is configured to allocate all the space to one LV. The LV is formatted with an ...
0
votes
0answers
64 views

mkfs.gfs2 failing silently on centos7 cluster?

I'm building a test cluster using centos7 and pacemaker, with shared storage on GFS2 over clustered LVM. I've set up a 2-node cluster, dlm and clvmd, both nodes can see the clustered logical volumes. ...
0
votes
0answers
49 views

lvm disk corrupt after force power down

I have virtual machine running on kvm host. But after force shutdown (unplugged power supply of physical server), virtual disk corrupted, cannot boot to OS (OS: CentOS 32bit, include 2 partition, ...
1
vote
1answer
34 views

encrypted (luks) partition had some damage - any chance?

I was trying to run Debian installer on top of an already luks-encrypted partition (I tried to do use cryptsetup in the console). I don't remember ever saying "yes, destroy" data, but what I see now, ...
1
vote
2answers
53 views

How can I tell Linux to ignore disk partitions it's already discovered?

I'm running libvirt with QEMU/KVM and I have disk images for the VMs in LVM logical volumes. Naturally, many of the guest VMs use LVM for their disks, too. I ran partprobe on my hypervisor and it ...
2
votes
1answer
46 views

How do I specify what PVs are used for mirroring when adding a mirror in LVM to an existing LV?

I've got an existing VG containing a single LV on a RHEL server that consists of a handful of SAN disks. In an effort to migrate the server to a newer SAN, I'd like to mirror the existing storage to ...
2
votes
1answer
79 views

How to find out if lvm mirror write is asynchronous or synchronous?

I am using redhat 5.8 with an lvm mirror, created with the following command: lvcreate -m1 --mirrorlog mirrored -n mirrorvol -L 10G myvg /dev/vdb /dev/vdc I would like to know, when I write, do I ...
1
vote
0answers
81 views

task fstrim blocked for more than 120 seconds

I'm experiencing random crashes on my system. I've narrowed the problem to the fstrim program that's launched weekly by cron. In the console, I've got a set of blocked tasks among whigetch I find ...
3
votes
1answer
57 views

Installing boot manager to a raw LVM physical volume

Is it possible to install some boot manager to disk with raw physical volume inside (i.e. no partition table)? I tried LILO and LVM volumes became inaccessible (due to LVM structures corruption). Boot ...
-1
votes
1answer
843 views

Shrinking or removing home partition in CentOS 7 installation [closed]

I made the mistake of creating a home partition that fills up all my disk space, and it's formatted in XFS, which to my knowledge isn't shrinkable. Since I have no use for the home partition anyway ...
1
vote
1answer
50 views

create parition for xen with lvm on raid-1

First I don't have any experience creating xen, lvm and RAID-1 server, thus after several reading I stumbled upon this ubuntu documentation to install xen. BUT, because in the documentation it ...
0
votes
3answers
102 views

How to mount Physical Volumes separately which are bound using LVM

I have a VG (volume group) containing 3 PVs (Physical Volumes). Some physical fault has come up in one of the PVs (maybe?). At the attempt of mounting each PV separately, it gives mount: unknown ...
0
votes
1answer
62 views

Extending Linux LVM partition

I was following this link to extend a Linux LVM partition on a remote machine, but the Internet connection went out and I don't know if the partition was created. Can you help me determine if the new ...
0
votes
1answer
84 views

Increasing LVM to use all free space on virtualbox/debian

I've cloned and resized a disk image for VirtualBox but I can't find a way to use all the new space. this is how I started: fdisk: Disk /dev/sda: 80.5 GB, 80530636800 bytes 255 heads, 63 ...
0
votes
1answer
85 views

Centos disk space allocation

My internal server is running out of space. I want allocate some of the space from lv_home over to lv_root. I have checked the following link: Centos 6.3 disk space allocation. It has few commands ...
3
votes
1answer
333 views

Is there any downtime when expanding a volume on an iSCSI setup using Synology Hybrid RAID?

The subject sums up the scenario. I believe the answer is there is no downtime but the system might simply be slower during the rebuild. Which is fine. But if there is downtime, how long? A small blip ...
1
vote
1answer
52 views

lvm and hardware raid: hardware raid 5 and raid 1 in single volume group?

I have a system with pre configured hardware RAID. It has 2 disks in a RAID1 configuration. It has a further 6 disks in a RAID5 configuration. The 6 disk RAID5 is split (by the hardware) to look like ...