Difference between revisions of "Lvm"

From Linuxintro
imported>ThorstenStaerk
(New page: The '''l'''ogical '''v'''olume '''m'''anager enables you to span a volume that is visible to the user over several physical volumes.)
 
imported>ThorstenStaerk
Line 1: Line 1:
 
The '''l'''ogical '''v'''olume '''m'''anager enables you to span a volume that is visible to the user over several physical volumes.
 
The '''l'''ogical '''v'''olume '''m'''anager enables you to span a volume that is visible to the user over several physical volumes.
 +
 +
Let's assume you want to group ''sdi'', sdj, sdk and sdl to one big disk.
 +
 +
First prepare the physical volumes:
 +
pvcreate /dev/sdi
 +
pvcreate /dev/sdj
 +
pvcreate /dev/sdk
 +
pvcreate /dev/sdl
 +
 +
Then create a volume group
 +
vgcreate vg1 /dev/sdi /dev/sdj /dev/sdk /dev/sdl

Revision as of 17:07, 5 December 2010

The logical volume manager enables you to span a volume that is visible to the user over several physical volumes.

Let's assume you want to group sdi, sdj, sdk and sdl to one big disk.

First prepare the physical volumes:

pvcreate /dev/sdi
pvcreate /dev/sdj
pvcreate /dev/sdk
pvcreate /dev/sdl

Then create a volume group

vgcreate vg1 /dev/sdi /dev/sdj /dev/sdk /dev/sdl