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
180 views

Mounting an LVM snapshot and converting file: is it safe?

I have KVM running and need to convert some qcow2 disk images from running guests into vmdk format. Is it safe to take an LVM snapshot of the logical volume that the qcow2 file resides on, mount it, ...
1
vote
0answers
309 views

Why won't my Ubuntu 12.04 Preseed file work with LVM

Here is my preseed file: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true ...
2
votes
1answer
91 views

Creating “Odd” Size Disks in VmWare/Linux

I believe I suffer from "everything must be in powers of 2" syndrome. When asked to create a 30G disk in VmWare for a VM I want to create a 32G disk. If someone needs 256G of storage using LVM I ...
0
votes
3answers
3k views

/dev/sda1 not in a volume group, and vgextend doesn't work

I've got several virtual machines which I access through a VMWare vSphere client (v 5.1.0). One ran out of space and I'm trying to give it some more space. What I've done so far: - Increased ...
0
votes
2answers
2k views

volume group not showing in /dev , /dev/mapper

We configure cluster with rhcs with storage partition.we created pv and vg. we can see pvdisplay and vgdisplay with all information about pv and vg which we created. But we can not see vg file on ...
3
votes
2answers
474 views

LVM with SSD + non SSD in volume group (for snapshot storage)

I have a KVM box running some critical VMs which perform software builds. The server runs SSD drives. I have an older version of KVM which has limited snapshot capability, and I have decided to use ...
2
votes
0answers
233 views

Convert single O/S disk to RAID 1 - Ubuntu 12.04 LTS

I have a server running Ubuntu 12.04 LTS with only a single drive. There are 2 more empty hot swap bays in the chassis. I want to add a little redundancy by adding a RAID 1 to the system. The ...
0
votes
1answer
116 views

LVM volume falsely reporting itself as full

I am standing up a new CentOS 6 system to do some data processing. As I load the data into a brand new 100gb LVM volume, I reach about 35% full, and it starts to report that there is no space left on ...
0
votes
1answer
140 views

Cannot see available disk space in LVM

I have iSCSI disks connected to my server. i want to resize their capacity. It has LVM on the disk. when i resize the disk in equallogic SAN, i gave it 700GB. and when it check its disk space by fdisk ...
0
votes
1answer
1k views

LVM drive is not mounted after boot

I have created an LVM with three physical disks named "orcafiler1". Problem is, every time after boot, the LVM drive is not mounted and I have to manually run vgchange -ay orcafiler1 The fstab ...
0
votes
3answers
104 views

Is it possible extend filesystem on a non-LVM?

I have an Amazon Line AMI with two drives, one for root and one for data, 8G / 1024G /data the data partition almost full 93% /data, and I want to extend the data partition without wiping the ...
-5
votes
2answers
1k views

How to convert lvm to ext3/4? [closed]

I have an old box(CentOS 5) that was formatted as lvm but now I want to convert it to ext3/4 file system without losing data. I have some empty disks that can be used, so is there an easy way to do ...
1
vote
1answer
2k views

Multipath device unpresented to host. How to delete it from LVM and the system?

OS: Red Hat Enterprise Linux AS release 4 Storage people had unpresented a couple of disks previously exported to the system (things that... sometimes happens). Well, there is no problem with this ...
1
vote
0answers
236 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
5
votes
3answers
9k views

Device /dev/sdb1 not found (or ignored by filtering)

I am trying to add a physical volume for use to add volume groups and thus LV inside them. Sadly I am getting the following error. [root@server ~]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ...
7
votes
1answer
8k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
0
votes
1answer
22 views

Taking storage from swap and adding to LVM

My current output of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 20G 2.1G 17G 11% / tmpfs 64G 0 64G 0% /dev/shm /dev/sda1 ...
0
votes
0answers
127 views

Speed up lvm2 mirroring process

(As a LVM2 noob) I have converted a linear volume to a mirror, now it is slowly (iostat says around 7/sec) mirroring everything over. Can I speed up the mirroring process by adapting some tunable? ...
0
votes
2answers
69 views

LVM system space is not consistent

I have found some problem in my server, here it is: df -H | columt -t Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_test-lv_home 212G 177G 25G 88% ...
1
vote
1answer
153 views

Re-mount EBS vol on EC2 instance

I am new to sysadmin. I am trying to launch a EBS-backed EC2 instance. I did the following based on mongodb docs: sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=1 ...
1
vote
1answer
227 views

Is it possible to either abort or interrupt and later continue a lvconvert -m1 operation?

I have run the command lvconvert -m1 rootvg/newroot /dev/sdb to convert a linear logical volume to a mirrored one. The operation has not yet finished; I interrupted the command with ctrl-c at ...
-1
votes
3answers
101 views

Two drives, how can i max reliability and uptime? [closed]

I have an asterisk pbx. It has 2 drives in a raid 1 setup. However if my main drive fails my 2nd won't boot, as it has no boot partition. The most important thing for me is up time. If there is a ...
0
votes
1answer
218 views

How do I make a volume within a LVM survive a reboot?

I have a xenserver that has a local ISO repository created following Inside the LVM found at this link: ...
0
votes
1answer
541 views

Creating raid1 array with mdadm cuts space

I'm trying to create RAID1 mirrored disks on already deployed system (CentOS 6.4). I have two disks: source /dev/sda with the OS and /dev/sdb which will be the mirror. The disks are connected from ...
0
votes
2answers
447 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
805 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
119 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
961 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
136 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) -- ...
1
vote
1answer
1k 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
92 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
56 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
127 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 ...
4
votes
1answer
979 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
133 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 ...
4
votes
1answer
1k 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 ...
2
votes
0answers
468 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
2answers
4k 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
183 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
2k views

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

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 is CentOS 6.4 64-bit The server in question is a HP ...
0
votes
1answer
276 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): ...
2
votes
2answers
309 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
2answers
707 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
226 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
327 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
84 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
116 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
472 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
136 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
407 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 ...