Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
12
votes
5answers
5k views
SSH to decrypt encrypted LVM during headless server boot?
When I installed Ubuntu 10.04 and, now, 10.10, I was offered the option of enabling "encrypted LVM" for my hard drive.
After choosing that option, I am prompted for my password during boot to decrypt ...
9
votes
4answers
1k views
The merits of a partitionless filesystem
I ran into something a couple of weeks ago that I'd never seen before: A filesystem (ext3 I believe) installed to a storage device without a partition. In essence /dev/sdb was the entire filesystem. I ...
8
votes
1answer
2k views
How to create a read-only snapshot in LVM, and then rollback to it after some work?
What are the commands to use in LVM in case I want to:
create a read-only snapshot of a volume;
(do some experiments in the volume);
and then rollback the volume to the snapshot?
5
votes
1answer
474 views
Can LVM snapshots be writable? (and used for temporary experiments)
It seems that usually it is talked about snapshots as read-only. (In a scenario where one creates a snapshot, then does some experiments with the main volume, and then restores the old state by ...
3
votes
1answer
1k views
LVM2 partition alignment
How to do the following with Linux tools :
LVM partition alignment and alignment of partition on LVM ?
What in case where I want to setup LVM partition (for "pv") and then partitions ?
To be more ...
6
votes
3answers
591 views
Any reason for encrypted /?
I am a big fan of linux and like trying out new distros now and then. I usually have my home folders and roots in a lvm atop an encrypted partition, but this tends to become cumbersome with every ...
1
vote
2answers
298 views
How to Extend LVM in Redhat 5.6
I need to Extend the LVM on one server. This is the df -h result.
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 58G 26G 29G 48% /
/dev/mapper/VolGroup00-LogVol00
...
1
vote
1answer
2k views
Install Backtrack 5 r2 into running LUKS setup installed with ubuntu
One Harddisk (sda)
Two Partions. With a working ubuntu running.
1) /boot
2) LVM with this virtual volumes/partions/ or whatever they are called inside:
Swap
Ubuntu
Home
Prepared for Backtrack
Of ...
22
votes
3answers
13k views
Does LVM impact performance?
I have to migrate a few servers to Linux, and one important aspect that I need to evaluate is that my new host system must have elastic storage capacity. Naturally, doing some basic research, I came ...
4
votes
4answers
2k views
Any good LVM tutorial?
I'm planning to user LVM in my next linux installation, any links to good LVM tutorials/guides/FAQs would be welcomed.
Thanks in advance.
10
votes
1answer
3k views
Using a LVM partition as a Virtualbox drive
Is it possible to use a LVM partition as a Virtualbox disk?
I can't find any option to use a device as a Virtualbox disk, only disk images.
4
votes
2answers
1k views
Mapping between logical and physical block device names
I cannot figure out the mapping between different logical and physical block device names.
The output of "cat /proc/diskstats" is :
104 0 cciss/c0d0 ...
104 1 cciss/c0d0p1 ...
104 2 ...
3
votes
4answers
3k views
Partition manager that can handle LVM?
I have been looking but neither Gparted nor KDE Partition Manager can handle LVM. Working with the command line is probably fine but it would be clearer to have a GUI tool here. Does such thing exist?
...
4
votes
1answer
1k views
Does LVM increase the risk of data loss?
Let's say I have two identical disks, and I set one LVM logical volume on them (no mirroring). Question: What will happen when one of the disks fails?
I will lose all the data from all the disks
I ...
3
votes
1answer
6k views
gparted live CD can't resize a partition?
I recently ran out of space on a VirtualBox VM (CentOS guest) managed by Vagrant. It was using a .vmdk image, so I couldn't dynamically resize it. Following these instructions, I cloned the old image ...
4
votes
4answers
895 views
Recovering overwritten LVM metadata
Yesterday I was trying using the Debian install in rescue mode in order to fix my Grub (The menu-item for Debian was suddenly gone).
Now I wasn't able to fix it and didn't have a lot of time, so I ...
3
votes
1answer
51 views
Not able to extend the size of an LVM logical volume
During RedHat installation, I created one volume group with two logical volumes in it.
Volume Group Name = VolGroup00
LVMs = LogVol00 and LogVol01
LogVol00 size = 48G
LogVol01 size = ...
2
votes
3answers
405 views
How do I combine two logical volumes that reside on a single physical volume in LVM?
I have two logical volumes, one is mounted as /, the other is mounted as /home.
I want to combine them, because the / volume is constantly running out of space. (Yes, I know what's using all that ...
2
votes
1answer
303 views
How to extend an ext3 partition over LVM inside a file (virtual machine)?
I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager) . I can afford a few minutes of downtime so a VM shutdown/reboot is fine.
The virtual hard disk is in ...
1
vote
1answer
373 views
fdisk isn't showing my hard drive as properly formatted (but it is)
I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay:
--- Physical volume ---
PV Name /dev/sda1
VG Name vgpool
PV Size ...
1
vote
2answers
423 views
Must the filesystem be unmounted while extending an LVM logical volume?
I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
0
votes
1answer
42 views
How can I use two HDD as one on Debian?
I have installed Debian on my server with a 250GB HDD. Now I have bought another HDD that is 2TB large, but I don't know how I could use that 2TB with my webhosting solution.
I heard about LVM, but ...
0
votes
2answers
93 views
Migrate an entire volume group LVM2 to RAID5
I have a Virtual Host server build with Ubuntu and Xen
SO
Ubuntu 12.04.1 LTS 64Bits
xen-hypervisor-4.1
Disk
Hitachi SAS 15K 147GB (x2) in a Volume group
sda1 1GB /boot
sda2 146GB lvm
sdb1 ...