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
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
133 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
109 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 ...
0
votes
0answers
187 views

EC2 instance with partitions for /boot as ext4 and root / as lvm possible?

I've been playing about with this for a few days now. I haven't managed to find an example of someone running an EC2 instance with the root volume partitioned to have /boot on ext4 (or 3 or 2) and ...
1
vote
2answers
541 views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
0
votes
1answer
1k views

sed fix for BusyBox - boot fail unable to mount LVM

BusyBox why u no vi?! Summary: Ubuntu 14.04 Server after upgrade first boot, only boots to BusyBox v1.21.1 initramfs with "gave up waiting for root device" due to missing /dev/mapper/xxx-root as ...
2
votes
2answers
257 views

Reassemble RAID 1 array from old system

I recently upgraded my OS from RHEL 5 to 6. To do so, I installed the new OS on new disks, and I want to mount the old disks. The old disks are listed as /dev/sdc and sdd in the new system, they were ...
0
votes
0answers
56 views

sar -b reports much too high statistics, are the I/O counted twice?

On a Linux server sar -b reports much too high read block statistics, sometimes 3.500.000 readb/s peak and around 2.500.000 readb/s sustain, which makes more that 1 gigabyte/s (according to the sar ...
0
votes
1answer
83 views

LVM - Moving data between Logical Volumes within the same Physical Volume

I will have two logical volumes that exist within one physical volume (RedHat Linux LVM). I will also be moving a lot of data between these LVs. My question is: Does the data get moved on the actual ...
0
votes
1answer
123 views

Error creating LVM snapshot: Module dm_snapshot not found

I've installed via apt-get lvm2: (precise)root@localhost:~# apt-get install lvm2 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW ...
0
votes
1answer
33 views

lvm mirror doesn't resync the logical volulme

I trying to restore one lvm mirror using the old metadata, for restore the config i'm using the command vgcfgrestore -f redhat vgmirror but after the restore of the old metadata, the resync ...
1
vote
2answers
454 views

ZFS RAID0 pool without redundancy

I created a ZFS pool on Ubuntu 14.04 without specifiying RAID or redundancy options, wrote some data to it, rebooted the machine and the pool is no longer available (UNAVAIL). I don't have the exact ...
0
votes
0answers
192 views

Resize a logical volume of an LVM inside another LVM (Xen Dom0)

I have a Xen guest, which its main disk is on an LV (let's call it "domu-disk", VG name "xen"). It's on one single 1T drive at the moment. Inside that domu-disk, it was partitioned into one primary ...
1
vote
1answer
155 views

Logical volume attributes

I've used lxc-clone command to clone my lvm-based container (test_lvm was copied to create u33). Container works fine, but the output of sudo lvs confuses me: LV VG ...
0
votes
1answer
207 views

KVM : VMs need several restarts to boot (on 2 different hosts)

I'm using a KVM hypervisor on a Ubuntu Server 12.04 server. My virtual machine's virtual disks are LVM volumes, formatted as ext3. The guest OSes are all Ubuntu 12.04 and 14.04 server. Everything ...
0
votes
0answers
139 views

swapoff running forever on LVM volume

I'm currently trying to resize my swapspace on a Proxmox VE server with LVM volumes, as I'm running out of space for LVM snapshots and the swapspace is fairly oversized: root@rb-srv-gus:~# free -m ...
0
votes
1answer
105 views

Online resizing of kvm guest root filesystem?

I have a Linux guest that uses an LVM volume directly as root file system (that is, there is no partition table). libvirt config looks thus: <os> <type arch='x86_64' ...
-1
votes
2answers
97 views

Impossible remove Logical Volumes or Volume Group LVM2 [closed]

After a disk crash part of a LVM group, I can't use LVM2 properly. If like delete a Logical Volume impossible (Error on SATA Volumen) lvscan Couldn't find device with uuid ...
0
votes
0answers
86 views

LXC setup with multiple LVM-backed disks

I'd like to set up an lxc container on an ubuntu host with multiple back-end disks. At least two: /boot / /opt, maybe Is there a way to, in one lxc-setup command, to accomplish this? Below is ...
2
votes
0answers
37 views

Recover lost volume group in hp ux 11 v2

The disk containing operating system (vg00) has failed. I tried to install the operating system on a new disk and I want to restore other volume group (vg01 and vg02) on two disks that contain data.
0
votes
0answers
126 views

Changing XenServer from LVM SR to EXT SR

I'm trying to setup openstack using this page: https://wiki.openstack.org/wiki/XenServer/PostInstall Unfortunately I think when I setup xenserver it setup the local SR as LVM (which the page above ...
2
votes
1answer
87 views

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and ...
0
votes
1answer
131 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
2
votes
1answer
73 views

LVM physical volume priority

Linux LVM can combine several physical volumes in one group and when spread space of this group among logical volumes. If some slow devices will be added to group it may slow down all logical ...
0
votes
1answer
250 views

How to increase KVM guest disk size using LVM VG as storage pool?

The KVM host server is running CentOS 6.5 and a LVM volume group "storage_pool" is used as the main storage pool for KVM. An Ubuntu guest is installed using an ext4 filesystem and mounts the whole ...
4
votes
1answer
78 views

Duplicate PV in VG listing

I have a server that's had a bit of trouble with it's disks (hdisk10/hdisk11/hdisk15 failed, hdisk7 failing) in the past little while but it's happy now. No data loss thankfully as the vanished/stale ...
0
votes
1answer
75 views

Which file system was I using?

This is an odd question of a somewhat forensic nature. I was running a server, which originally had openSuse 11.4 installed, and was upgraded twice (to v12.3 and v13.1). Recently, an update messed up ...
2
votes
2answers
960 views

LVM: Duplicate VG name VolGroup00

I'm on a server that shows a duplicate VG name. How can I rename one of these VolGroups to get rid of this conflict? [root@dev-server dev]# lvs WARNING: Duplicate VG name VolGroup00: ...
0
votes
2answers
47 views

Why the root partition is not reduced after attaching new partition to the /var directory?

This is my disk state before attaching new virtual disk: Filesystem Size Used Avail Use% Mounted on /dev/xvde1 4.9G 4.6G 1.3M 100% / tmpfs 828M 0 828M ...
2
votes
3answers
213 views

Repartitioning already mounted logical volumes

This is my current disk state on a physical CentOS machine: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ecomwise-lv_root 50G 47G 267M 100% / tmpfs ...
0
votes
2answers
93 views

LVM: How to re-use unwanted logical volume space on an existing volume

We have this old CentOS4 box and I am trying to increase the space. I want the full 8GB to show up in a "df -h" but it shows only the first Volume of ~4GB. How can I add the 2nd volume to the first? ...
-1
votes
1answer
1k views

how to clone a VM on LVM to another in KVM?

On a Debian wheezy i installed KVM for virtualization and install some VMs on it. I use separate LVM disks because of its performance for my VMs disk. Now i need to clone one of them in new LVM disk. ...
6
votes
1answer
1k views

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 ...
1
vote
1answer
495 views

In a distributed filesystem like MooseFS or XtreemFS, should individual nodes expose “raw-er” storage, or LVM'd storage?

When preparing an infrastructure to utilize a distributed storage system like MooseFS or XtreemFS, how should individual nodes present storage to the rest of the environment? Is it better for ...
2
votes
1answer
102 views

Increase disk space in a VM using LVM : Best practices?

When you have virtual machines, the size of disks can be changed, and specifically, increased. That makes the problem of resizing LVM a bit more complex than on a physical server. There are three ...
0
votes
1answer
105 views

dd output file larger than input file when executed with conv=noerror,sync

I am trying to backup an LVM on one of my servers with the following command: dd bs=4M conv=noerror,sync if=/dev/vg_volgroup/LvmName | ssh myuer@myip "dd of=/home/myuser/LvmName bs=4M ...
3
votes
1answer
136 views

LVM in Linux with fdisk?

This question is similar to Is the fdisk partition type important when using lvm however will ask it for clarity. On a CentOS 6.5 insall, I accidentally took a new 3TB virtual disk and performed the ...
0
votes
0answers
472 views

Optimizing disk performance on KVM VM configuration

I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
1
vote
1answer
79 views

Encrypted partition on Debian requiring multiple keys to unlock

The title pretty much sums it up, but I want to create a second data partition on a web-facing server which is encrypted and requires two people to provide passphrases before it can be unlocked. Is ...
1
vote
0answers
94 views

reusing existing raids on preseeded instalation

I'm trying to automate reinstall process of existing ubuntu installation. partition layout : md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( raid1, ...
0
votes
0answers
577 views

Any disadvantage of running a virtual machine using files for its drives hosted on freenas/zfs?

I recently got tired of the really slow I/O reads and latency (10-30 MB/s read, not sure for latency but very slow) from a provider I rent a virtual machine from. He uses freenas, the virtual machine ...
0
votes
0answers
90 views

how to fix a PV in LVM without uuid in a new linux?

I have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd used to have 2 PV on 2 partitions , and ...
2
votes
1answer
242 views

How important is PE Size for KVM virtualization?

How important is PE Size for KVM virtualization ? Some people say that is useless to follow SolusVM instructions for KVM by setting PE Size from default 4M to 32M.
3
votes
1answer
462 views

Migrate CentOS VM using LVM on IDE to run with VirtIO

I'm trying to migrate existing IDE-using, LVM-based CentOS 5.2 VMs to use virtio. The symptom is a kernel panic upon boot when the system can't find any volume groups. Does anyone know how to make ...
0
votes
1answer
71 views

size of extent on LVM2

in LVM1 there was a limit of 65k extends. So size of extent had to been chosen carefully between wasted space on partitions (to big extent) and maximal possible size of logical volume (too small ...
1
vote
0answers
154 views

reclaim space from xen server

i found xencenter stotage => general tah display 1096.6 GB used of 1107.7 GB total (708.5 GB allocated) seen some space have been eaten and not release. the SMLog show that [13816] 2014-03-28 ...
0
votes
1answer
44 views

Very high load during pvmove in domU

I had a pretty bad time this evening. I had to move LVM2 LVs from one PV to another (source PV backed by NFS stored vdisk, target PV backed by an iscsi LUN). Moving small LVs of ths VG (few gigabits) ...
1
vote
1answer
386 views

How do I remove a locked Logical Volume ([pvmove0]) left over after a disk error?

Following some disk errors while I was moving some extents, I now have a hidden locked [pvmove0] which doesn't seem to have any physical extents assigned, although it is 4Mb long! # lvs -a ...
2
votes
2answers
120 views

Should I really leave some space unused with LVM partition?

I am migrating to a new server where I'm going to use LVM partitioning on a RAID 1 array (2 hard drives). I have read some tutorials which advise to leave some space unused so that I can expand the ...
2
votes
1answer
152 views

Do I need to enable LVM at install time?

I'm setting up a CentOS dedicated server and I would like to use LVM (it's the right thing to do, isn't it?) The thing is, I'm not sure if I have an option to enable LVM at the time of installation. ...