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)

2
votes
1answer
19 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
12 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
18 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
1answer
16 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
25 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
19 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
22 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
19 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
30 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
24 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
65 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
101 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
25 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
votes
0answers
21 views

Expansion of a mountpoint shared as nfs to other servers

We have a mountpoint shared as nfs to other servers. Can this be expanded online using lvm? Do i need to unmount the nfs share in clients inorder to expand this mountpoint. Note: ALL OS is RHEL4.9
1
vote
0answers
39 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
38 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
64 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
39 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
39 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
39 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
28 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
37 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
35 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
57 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
61 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 ...
2
votes
1answer
45 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 ...
-2
votes
1answer
449 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
37 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
87 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
57 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
60 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
73 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
212 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
46 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 ...
1
vote
1answer
42 views

LVM RAID10 “Won't be synchronised” - What does it mean?

I was creating an LVM RAID 10 across 4 physical volumes (each 3TB) when I got the following error message: WARNING: New raid10 won't be synchronised. Don't read what you didn't write! My googling ...
1
vote
0answers
48 views

fdisk with lvm: Why is first sector at 3072 instead of 2048?

Using ubuntu 12.04, i have a xen-server and several vms. Considering /dev/vm-disks/testes - an lvm volume partitioned during OS install /dev/vm-disks/testes-home - another lvm volume, unpartitioned ...
0
votes
0answers
12 views

Launch EC2 instance with Logical Root Volume

I need EC2 instance on Amazon Web Services with CentOS 6.5 where the root partition will be Logical Volume. Is there some specific AMI or some available option for choosing before launching the ...
0
votes
1answer
189 views

Extend root logical volume for VM with Oracle Linux of VMWare

Please make me sure did I wrong thing, or not. I'm resizing the root partition which is under the LVM. This server is a VMWare's virtual machine with Oracle Linux. I'm using this article: ...
-1
votes
1answer
1k views

Xen lvm resize2fs: Bad magic number in super-block

First of all i have to say i've been looking through lots of posts very similar to what i have but none could solve my problem... In my xen server i use 5 lvm disks per virtual machine: /boot / ...
-1
votes
1answer
35 views

Intelligent Volume Management [closed]

I'm looking for a software solution that could present a single disk volume to me that's backed by some sort of intelligent disk manager. In my ideal use case I'd be able to create the volume from ...
1
vote
0answers
228 views

LVM mirror attempt results in “Insufficient free space”

Attempting to add a disk to mirror an LVM volume on CentOS 7 always fails with "Insufficient free space: 1 extents needed, but only 0 available". Having searched for a solution, I have tried ...
0
votes
1answer
48 views

Debian Installer Partman and reserved blocks

I did this preseed configuration but I'm unable to remove the percentage of reserved blocks directly from the partman recipe. It seems that the option "partman-basicfilesystems/specify_reserved" is ...
1
vote
2answers
128 views

Mounting disk partition inside LVM

I have a logical volume what's used for a xen disk: Disk /dev/d0_vg/backup: 10.7 GB, 10737418240 bytes 1 heads, 1 sectors/track, 20971520 cylinders, total 20971520 sectors Units = cylinders of 1 * ...
0
votes
0answers
30 views

does the number of lvm logical volumes affect ssd performance

Please let me know what your thought are on this. I've installed Ubuntu multiple times on a msata ssd mS200S3 120GB. There is a noticeable decrease of read performance on the exact same hardware for ...
1
vote
1answer
199 views

How to automatically increase the partition size of multiple Ubuntu nodes in VMware vSphere?

We have dozens of Ubuntu nodes where I have to resize the hard disk drive to different sizes. Currently I’m doing all of the following steps manually: Increase the size of each node’s virtual hard ...
2
votes
1answer
682 views

Moving LVM volume group from one physical disk onto another

I'm an out-of-my-depth PHP developer who has to deal with the following sysadmin problem, pronto. We have an Ubuntu (Ubuntu 14.04.1 LTS) server run Xen (xen-hypervisor-4.4-amd64 4.4.0-0ubuntu5.1). ...
0
votes
0answers
28 views

Failed RAID 1 drive in a logical volume - lost cause?

I have a non-critical CentOS 6.5 server with a rather quirky disk setup: The main logical volume (mounted as /) comprises two RAID 1 disk pairs, so it's made up from md1 (2TB) and md2 (1.5TB). ...
0
votes
1answer
51 views

Multi-Volume data storage without striping

I have a network storage server running Debian, containing multiple hard drives. These drives are all mounted into subdirectories of a samba-shared folder. All members of the network have full read ...
0
votes
1answer
126 views

Restore from XenServer LVM ddrescue image

the disks in my xenserver are dying. I could rescue some of the lvm volumes with ddrescue. Now I setup a new xenserer and I wonder how to restore from the rescued images. Anyone has experience with ...
0
votes
1answer
106 views

How can I grow an ext4 filesystem inside a dm-crypt/LVM volume?

I have a disk with this format: sdc 8:32 0 1,8T 0 disk └─sdc1 8:33 0 1,8T 0 part ├─vg-lv1 (dm-0) 254:0 0 900G 0 lvm ...