r2 - 30 Mar 2006 - 23:15:40 - IuriDinizYou are here: TWiki >  Personal Web  >  DebianLinux > LVM2

LVM 2

http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

Instalar no debian

apt-get install lvm2

Preparar particoes

fdisk /dev/hda
# trocar o tipo das partições para '8e' (opcao t)
# no meu caso: /dev/hda[568]
# salvar com w

reiniciar

# preparar o lvm na particao
# no meu caso: /dev/hda[568]
pvcreate /dev/hda5
pvcreate /dev/hda6
pvcreate /dev/hda8

Verifique a configuração

pvdisplay

Criar o grupo

#!/bin/sh
# no meu caso: /dev/hda[568]
vgcreate backup /dev/hda5 /dev/hda6 /dev/hda8

para mostrar os grupos

vgdisplay

Criar volumes

# 54 GB
lvcreate -L54G -n volume0 backup

-- IuriDiniz - 29 Mar 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback