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
2answers
349 views

Multiple 2 TB LUNs — ZFS or ext4-over-LVM

I am going to deploy an Ubuntu 12.04-based archiving system. Due to limitations of the SAN Storage, it can only present me with 2TB LUNs. So, I have to merge multiple 2TB LUNs to achieve the desired ...
4
votes
1answer
397 views

rsnapshot LVM fails to remove snapshot volume

I am using rsnapshot on a Debian Wheezy server. This was recently upgraded from squeeze. Since the upgrade, I am getting the following error from the hourly cron job: remote rm -rf ...
0
votes
1answer
72 views

LVM - spanning single VG across multiple PVs

while configuring a small-business server (CentOS 6.4) I came across a doubt that I have regarding LVM managing and I was hoping you can help me clarify. The machine has the following storage setup: ...
2
votes
1answer
454 views

KVM guest won't boot from hard disk image, but will from CD-ROM image

I'm using KVM to host a Debian unstable guest on a Debian unstable host. Emphasis on 'unstable' :-) Until recently (and until a recent round of Debian package updates on both host and guest) this was ...
-5
votes
1answer
106 views

best way to create lvm snapshot of / partition [closed]

I need to know the best way to implement the snapshot of root partition "/" on a kvm guest. What I have is as follows 1- /dev/vda ..... 10G free -- /dev/vda1 boot partition (ext - 83) -- ...
0
votes
1answer
652 views

LVM meta data missing from a device

Here is the situation. I have a MD device, /dev/md0, which is fully functional, but seems to have no LVM meta data. As far as everything I know how to do is concerned, it isn't part of a volume ...
0
votes
1answer
77 views

How can I make the root logical volume smaller without problems and downtime?

[root@tst-01 puppet]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert lvhome vg00 -wi-ao 2.00g lvroot vg00 -wi-ao 38.75g lvswap vg00 -wi-ao 4.00g lvtmp vg00 -wi-ao ...
2
votes
1answer
53 views

Why the I/O rate difference between an LV and PV?

I have been doing some benchmarks reading with dd from both the LVM device and the PV device and I got some unexpected results: $ sync ; echo 3 > /proc/sys/vm/drop_caches; dd bs=1M count=1024 ...
0
votes
1answer
104 views

Add new partition to Centos hard drive

My hard drive currently has (I believe) 2 partition; boot (sda1) and everything else (sda2?). Some of the hard drive is also being used as swap memory, but I don't really understand how that effects ...
3
votes
1answer
569 views

Very high memory usage, but not claimed by any process?

While stress-testing LVM on one of our Debian servers, I came across this issue where memory would fill up a lot to the point where it would run the server out of memory, but no process would claim ...
3
votes
1answer
91 views

Backup of write heavy Solr / MySQL server

I am attempting to set up an automatic backup for a server running Ubuntu. This server is used to host a couple applications which are rather write heavy and subject to a good amount of traffic. To be ...
3
votes
1answer
557 views

What is the difference between the Linux and Linux LVM partition type?

Fdisk shows multiple partition types. What is the difference between choosing 83) Linux and 8e) Linux LVM? Choosing 83) Linux also works fine for using LVM, even creating a physical volume on ...
0
votes
0answers
221 views

Raid superblock missing on single partition. Recovery needed

Ok so I have a 2 TB raid 1 setup that has three partitions: sdc1: linux sdc2: swap sdc3: LVM for data However the LVM will no longer mount. So I thought that I would take the spare drive, mount it ...
2
votes
0answers
320 views

Almost All Xenserver Logical Volumes Disappeared - Recovery?

We had a hard disc crash of one of two hard discs in a software raid with a LVM on top. The server is running Citrix xenserver. On the hard disk which is still intact, the volume group gets detected ...
0
votes
1answer
1k views

How to change Volumegroup PE size

I am trying to increase the PE size of one of my Volume groups. I mistakenly set it as 4M to start when it should have been 32M . When I try to change the size I get vgchange -s 32M the_vol New ...
0
votes
1answer
156 views

Extending ext4 partition on debian7.0 on vsphere

I have allocated thin provisioning of 15GB when i found 8GB as insufficient. Now debian guest is not able to recognize the change of size. root@debian7-x64:~# lvdisplay --- Logical volume --- LV ...
2
votes
1answer
1k views

XFS slow performance on LVM'ed RAID, faster when RAW or non-LVM

longtime user of this website, first time poster. I have a weird issue with a server I am setting up. It's for a filesharing-type website, so fast IO and plenty of capacity are the requirements. OS ...
0
votes
1answer
152 views

lvm-managed gpt partition: partition length exceeds the loop-partition-table-imposed maximum

CentOS 6.4 /dev/sdb is a hardware raid. I'm getting this error reported from 'parted -l': <snip> Model: JetStor JetStor -VOL#000 (scsi) Disk /dev/sdb: 39.0TB Sector size (logical/physical): ...
1
vote
2answers
127 views

Reallocate Storage in Red Hat 6

Is it possible to (safely) reallocate storage space in /home to the root filesystem? $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_yavin-lv_root 50G 35G ...
1
vote
1answer
184 views

is there any advantage mounting an LV by UUID instead of by path?

I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...). I see a clear ...
0
votes
1answer
125 views

How to restore a logical Volume Group with missing devices?

I have a volumegroup which consists of three harddisks and several LVs (var,tmp,root,swap). One of the harddisks crashed recently, but i urgently need some data from LV var. So, after rebooting the ...
2
votes
1answer
204 views

ext4: Online resize not detected

On a RedHat 6 server, we ran into an issue with online resizing of an ext4 filesystem. With only /dev/sda we had 13GB available in the volume group, but needed 20GB more on one logical volume which ...
0
votes
0answers
72 views

How to install a Debian on the remote Server with running Debian alreadz?

There are many tutorials (e.g. the main I think: D.3. Installing Debian GNU/Linux from a Unix/Linux System), how to install a new Debian from one another. But they all sounds for me like you need a ...
1
vote
3answers
104 views

Preventing server (Git/ssh) access during LVM snapshot

If a Git operation is ongoing at the time of an LVM snapshot, the repository can (and will) be snapshoted in a corrupt state. (This has been discussed a lot ...
2
votes
1answer
187 views

Is it possible to resize a mounted LVM partition on the fly?

Situation: We have a server that has a 40GB SAN (Fiber Channel) mounted as /opt/application. If the LUN is expanded to 60GB, what needs to be done to expand /opt/application on the RHEL-server to ...
1
vote
1answer
88 views

Linux automatically creating LVM partitions on RAID members?

I've had a software RAID1 array in production for over a year which has LVM partitions on top of /dev/md0. I rebooted over the weekend to apply some kernel patches and now the array won't come up. ...
1
vote
1answer
264 views

RAID1 LVM, XEN and flashcache

I am regarding to question: Improving IO with FlashCache I have setup a RAID1 (/dev/md0) LVM (*/dev/vg_xen*) and executed following command: flashcache_create -p thru flashcache0 /dev/sdc /dev/md0 ...
0
votes
1answer
60 views

Convert a LVM into a RAID 5

I have 3 disk (600GB) only one in use. is possible convert into a RAID5 without need a external disk my system is: Ubuntu 12.04.1 LTS 3 x SAS 600GB Hitachi (only 1 in use in a VG)
3
votes
1answer
271 views

find file by block number on ext3 fs on lvm

smartd has detected a bad block on my hard drive and I'd like to know what file does that block belong to. I have ext3 filesystem on a logical volume. Google gave me a lot of tutorials (like this one: ...
0
votes
1answer
545 views

extend unallocated disk to an existing lvm

im using vmware on my ubuntu server, initial setup was 10GB disk utilization, increased it to 15GB using lvextend and added another 5GB for a total of 20GB. below displays my fdisk -l Disk /dev/sda: ...
2
votes
3answers
875 views

LVM thin provisioning

I am looking to create a group of thin provisioned LVs using LVM. Is it possible to create a volume group in which every logical volume created is by default thin provisioned, or perhaps there is ...
0
votes
0answers
133 views

Why does Xen fail to create domUs/start the virtual network interface?

I have received two errors while trying to create a new domU on Xen. First, I received this error: Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err ...
2
votes
2answers
400 views

Hybrid RAID with LVM + mdadm

So I've been looking Synology and their idea of Hybrid RAID to make mixed drive RAID arrays both fault tolerant and efficient. So, I'm testing an idea (performance isn't a concern here), with a mixed ...
0
votes
1answer
385 views

Grub can't find Xen multiboot file

I am running Debian Wheezy on a software RAID 0 with LVM. I'm trying to get Xen to work but grub refuses to boot in it. I installed Xen by following the instructions here: http://wiki.debian.org/Xen ...
1
vote
2answers
397 views

Are ext4 RAID5 tuning options useful under LVM?

I'm setting up a system with a system with a mdadm RAID5 which is the sole PV for a VG which hosts 4 LVs. When I make the filesystem, would the mkfs.ext4 -E option be useful? Or is its effect not ...
0
votes
1answer
242 views

“LV Status NOT available” after converting root from lvm2 to lvm2+raid1 (lvconvert --type raid1)

I just converted by lvm2 root filesystem from linear lvm2 (single HDD:sda) to lvm2 raid1 (using lvconvert -m1 --type raid1 /dev/ubuntu/root /dev/sdb5 command). But after this conversion I can't boot ...
1
vote
2answers
146 views

ext3 converted to ext4 still being mounted as ext3

I have a somewhat bizzare problem at the moment with my Debian-system (mainly testing). I used to have a root-partition on lvm that was formatted as ext3. I now booted a live-system and converted ...
1
vote
1answer
96 views

Recover data after lvreduce on “/”

I accidentally ran lvreduce on / instead of "/home" on a RHEL 5.9 system that unfortunately had a lot of code that was not backed up, and the system will not boot now obviously. What is the best way ...
0
votes
1answer
47 views

Easiest way to change directory into its own logical volume in LVM2

I have a dir called /mydir on logical volume /dev/vg1/lv_root ( / ) var is on its own logical volume, so is opt and /usr.. If I have free space in the volume group, what is the easiest way to change ...
0
votes
0answers
82 views

Trouble resizing LVM volume after expanding Areca 1280 RAID 6

My problem is very similar to Trouble resizing LVM volume after expanding Areca 1220 RAID 5 array; however, my 2 LVs are created on a unpartitioned raid volume: # pvdisplay --- Physical volume --- ...
1
vote
1answer
254 views

Using LVM to extend 2TB diskd on a linux VM?

Currently have mounted on one of my web servers a linux box on VMware with two external drives in. These are both 2TB drives which is the limit to what you can add into VMware. I want to use lvm to ...
-1
votes
1answer
69 views

Storage virtual machine. LVM or loop devices? [closed]

Actual situation: I'm the administrator of a virtual machine. The virtual machine is a Debian. This machine will be mainly a storage machine with different services (svn, ftp... ), and a webserver. ...
2
votes
0answers
760 views

LVM DRBD Shared between nodes proxmox

Context : I have proxmox cluster with the volume group shared with drbd for the VM - KVM. I have a problem with drbd. Indeed, when a node disconnect, the associate link between the differents nodes ...
2
votes
2answers
2k views

Used vgextend/lvextend to add addtional 8GB space but it is not reflected in df output

I have created an instance of ubuntu VM in VirtualBox. At the beginning I have only allocated 7GB for the storage and the VM has now run out of space. First I added another 8GB (/dev/sdb) to the VM ...
1
vote
2answers
70 views

mount a partition on an lvm partition

I have a xen dom0 server (named virtserver), which contains a guest machine, let's call it "virtguest". The virtguest used to be a physical machine earlier, and the whole old disk (with several ...
0
votes
1answer
74 views

KVM copy contents of image into raw smaller LVM2 partition

I have a KVM guest, running on a KVM host...both Gentoo Linux. The guest is called webserver.img. It is 21 gigs large, but I am only using 5 gigs inside the image. I want to make a logical volume ...
0
votes
1answer
148 views

Snapshot a KVM guest with non-file storage

I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be ...
0
votes
1answer
227 views

LVM mirror with data and logs mirrored on same 2 devices

I'm trying to set LVM mirroring with only 2 devices. It works perfecly when I add third device for mirrorlog, or use corelog. But with only 2 devices and --alloc anywhere LVM nearly always creates ...
0
votes
1answer
84 views

How does data storage on Amazon EC2 work especially for databases?

I've been playing around with Amazon's Web Services for over a year now, however I don't quite understand how it works. When I for example select an AMI of my choice from the EC2 console and I ...
2
votes
2answers
201 views

VMWare ESXi: to extend a partition or create a new drive?

Is it better to extend an existing partition or to create a new drive in a VMWare ESXi virtual machine? I'll be using LVM to put the drive in an existing volume group on my VM and to extend a SAN ...