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.
Questions tagged [lvm]
1504 questions
0
votes
3 answers
How to add existing /home on MDADM RAID to new LVM based OS install
Have (32-bit) Centos 5.6 file server with 2x1TB HDD/ext3 in MDADM RAID-1 as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd …

Kalimari
- 1
0
votes
1 answer
LVM tools on raw block copy
I have several raw block copies of disks that have both NTFS and Linux partitions. The parition tables generally have both a Windows NTFS partition and a Linux LVM partition. I need to work on all of these partitions to build a supertimeline…

David Souther
- 227
- 1
- 2
- 7
0
votes
1 answer
Taking an LVM snapshot of the origin whilst a merge of an old snapshot into the origin is in progress?
The --merge option says
Can I reliably take a snapshot of the origin whilst a merge of an old snapshot into the origin is in progress
The man page says :"While the merge is in progress, reads or writes to the origin appear as they were directed…

lbt
- 161
- 5
0
votes
2 answers
LVextend with live system, make the system see the extend
Is there a way when extending an LVM of a VM, while this VM is still running, to make this virtual machine see the extension of his LVM volume without rebooting it?
Lets say I have 5 GB LVM volume with system X running on it (debian squeeze). X is…

Lucas Kauffman
- 16,880
- 9
- 58
- 93
0
votes
2 answers
Xen kernel will not boot after upgrade to Ubuntu 10.04
We upgraded our Ubuntu with Xen to 10.04 after the upgrade it will boot into the regular ubuntu, however it will not boot into the Xen (3.3) kernel.
Our output :
What we tried :
increase rootdelay on the vmlinuz line in grub
rootwait
Result…

Lucas Kauffman
- 16,880
- 9
- 58
- 93
0
votes
1 answer
Hard Drive chugging noise when moutning Logical Volume to file system
I have a server (Ubuntu 11.04) with a RAID 10 array (4 disks), and the RAID 10 array is partitioned as one big LVM. I have a logical volume on that which is 40GB that holds the root file system. The other LVs are for virtual machine disks.…

Nick
- 4,503
- 29
- 69
- 97
0
votes
1 answer
Adding a disk to an encrypted LVM under Debian 6
I installed a Debian 6 with the "use LVM and encrypt" option.
Now I would like to add a second disk and also encrypt it.
This is what I did so far:
pvcreate /dev/sdb
vgextend [vgname] /dev/sdb
lvcreate -n [lvname] -l 100%FREE [vgname]
luksformat -t…

Tie-fighter
- 751
- 2
- 9
- 17
0
votes
3 answers
Paritition an LVM LV
I have an LVM logical volume (LV) and would like to create partitions within this LV to provide an ext3 partition and a swap partition. This LV would then get mounted as a disk to a virtual machine (Using Xen).
How would I go about this?
Thanks

jtnire
- 817
- 2
- 8
- 16
0
votes
1 answer
What can go wrong with dmsetup suspend / resume?
I have a backup procedure for ec2 instances with lvm spanned volumes that does the following:
1) ssh to the box as root using an ssh forced command to dmsetup suspend the spanned volume.
2) take an ebs snapshot of the volumes
3) ssh to the box as…

fields
- 690
- 1
- 10
- 21
0
votes
2 answers
Creating multiple ISCSI LUNs from one disk, under Linux
I have a 2.7 TB virtual disk (LSI MegaRAID controller with ten 600GB SAS drives configured in RAID10) under Linux. I am sharing this disk to a remote ESX host via ISCSI.
Unfortunately ESX will only make a 740GB VMFS partition if you present it LUN…

Henno
- 1,056
- 5
- 19
- 33
0
votes
1 answer
[Fedora 14][LVM2&EXT4] Overwritten partition config
Accidentally, I deleted my '/etc' & '/bin' folder (I know, my fault).
Then, I boot liveCD and tried to copy or fix this issue.
And then when I can't figure nothing to fix it, I don't know why, I want install system on my existing system, and I…
0
votes
1 answer
VMware Server - Datastore size not updating after LVM resize (Ubuntu Server 10.04)
I have VMware server installed on Ubuntu Server 10.04. I managed to get to the VMware Infrastructure Web Access interface, however I didn't allocate enough space on my LVM initially to start adding virtual machines.
I just resized using lvresize to…

user29600
- 419
- 5
- 17
- 30
0
votes
3 answers
Encrypted LVM shutdown
So I have two hard drives. The actual drives have been encrypted with TrueCrypt, and then the virtual encrypted devices have been combined into a volume group using LVM. Now TrueCrypt does not automatically mount my drives on startup (because it…

parent5446
- 265
- 3
- 9
0
votes
2 answers
Novell Xen cloud
I'm trying to set up a mini-cloud with Novell Xen (SLES 10 SP2 so it's Xen 3.2.x).
I have an iSCSI server in the back, using a Starwind 4.1 target.
The problem is that I when I write to the iSCSI server with the first host, I can't see the file on…

Hofa
- 417
- 2
- 9
0
votes
1 answer
Resize LVM after cloning disk
I have cloned a 160Gb disk onto a 1TB disk.
See here for the exact details.
Clone ubuntu linux hard disk
I want the use the entire disk.
How do i get the volume to use the whole disk.
There where some suggestions in the previous post and i have…

Anthony
- 167
- 1
- 2
- 6