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
votes
0answers
32 views

Damaged LVM Volume

I am working on a server that has no backups. The previous sysadmin created an LVM with 10TB of space, and one of the drives has failed. I'd like to try to extract data from the working drive, but ...
0
votes
0answers
7 views

How to hot add a new disk with virsh attach-disk?

I'm trying to add a new LVM disk to my guest machine (Ubuntu 14.04.1) by doing the following on the host: lvcreate -L 14G -n vm_vm005_data3 vg00 virsh attach-disk vm005 /dev/vg00/vm_vm005_data3 ...
1
vote
2answers
24 views

I've just increased the disk's size but the old size is still display, what could be the cause and how can I fix it?

I need to increase the size of the root logical volume on one of my CentOS 6 virtual servers. I've extended the virtual machine disk space from 16g to 30g. Then I've connected to the machine and ...
1
vote
0answers
21 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
1
vote
1answer
20 views

df is reporting wrong information in an LVM

I had a full disk usage on /var/log (100%) and deleted a few files to increase space. this is and ext4 partition mounted with default options. However, when I df -h I get: Filesystem ...
0
votes
1answer
48 views

Extending partition on centos 6

I have a VPS which appeared to lack some space somewhere. It should've been 150GB but was only 50GB. I've been trying to extend the partition but I can't seem to find out how even with the help of ...
2
votes
1answer
31 views

creating new partition for backup

I got a new server form hosting company. It has 2x2tb hard drives. I told the provider I would be using one drive for data/OS and the other for backup.Before doing offsite backup. I moved all my ...
1
vote
3answers
34 views

Logical Volume 100% Use but 50G Appears Free

I am resizing logical volumes on a CentOS server and I have come across an issue where the volumes say that they are 100%, though the "Size" and "Used" columns seem to indicate that there should be ...
-1
votes
0answers
12 views

Can't remove lvm after creating snapshot

I have script to backup logical volume. It create *_snapchot of img, then dd, zipped and load to another server. After that script remove lvm volume by lvremove -f. But now i have problem, snapshot in ...
0
votes
1answer
9 views

Listing all logical volumes in LVM2 that are snapshots

I have a logical volume that has snapshots where the lv name has the date in it. I'm trying to locate that snapshot using lvs and i'm getting close but can't figure out how to list logical volumes ...
0
votes
0answers
13 views

mdadm and LVM high load and IOwait

I've got a new CentOS 6.6 server with 2 HDD with mdadm & LVM. As I've used the CentOS install CD I assume everything should be aligned properly. I've just written a KVM image to a LVM LV using dd ...
0
votes
1answer
38 views

Steps to move an ubuntu 14.04 server install disk (damaged) with lvm to a new disk on the same system

Need some clarification on how to move the following : I have a Ubuntu 14.04 server install with LVM and its disk was failing. I have managed to clone the disk without any errors to a new disk of same ...
0
votes
1answer
26 views

Mounting Single San Drive on Multiple Hosts

I'm not sure exactly how to ask this, but here goes. We have a san. Within the san, we have the ability to connect a single volume to multiple systems as a raw disk. The Servers themselves would see ...
0
votes
1answer
21 views

Adding new physical volume in encrypted volume group (LUKS)

I have a CentOS 6.6 desktop and chose the encrypt option upon installation. This created a LUKS volume group. Everything works fine, but I want to add an additional drive to the volume group. From ...
-1
votes
1answer
51 views

how to identify which physical drive(s) correspond to an entry in /etc/fstab [duplicate]

Using Centos. Situation: I have multiple drives off of two RAID controllers. I also have multiple entries in the fstab, such as /dev/sdb, /dev/sdc, etc. What I need to know is how I can identify ...
0
votes
1answer
52 views

Extending LVM Volume Groups with Physical Extents & pvresize

I have two somewhat related LVM questions regarding extending LVM managed volumes. Firstly, from (edit: old) documentation that I've read about LVM and the relationship between Volume Groups and ...
0
votes
2answers
69 views

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The ...
1
vote
0answers
34 views

Optimum LUN size for LVM created NFS share

I have access to roughly 80 TB of capacity via a SAN, which I want to set up as as 2 NFS shares: 1 share of 70 TB and 1 share of 10 TB. The 10 TB share will have full backup to tape, whereas the 70 TB ...
0
votes
1answer
69 views

Backup kvm Virtual Machine with lvm

I'm new to virtualization and have been searching for a while for a flexible disk format for setting up a kvm VM, after some reading i decided to go with lvm. And did set up the disk and the ...
0
votes
0answers
38 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 ...
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
31 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
300 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
36 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
54 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
56 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
62 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
109 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
36 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
83 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
29 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
vote
1answer
40 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
27 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
111 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
73 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
49 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
29 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
2answers
70 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
65 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
299 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
59 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
148 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
546 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
43 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
190 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
89 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
167 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
68 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
51 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
102 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 ...