[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Domanda su LVM



Walter Valenti writes:
 > Per chi è esperto di LVM.
 > E' corretta questa sequenza di comandi,
 > per allargare un volume LVM aggiungendo un altro disco?
 > 
 > 1) Formattare il nuovo disco. es con cfdisk /dev/sdb
 > mkfs.ext4 /dev/sdb1
 > 
 > 2) Aggiungere il device al VG:
 > vgextend lvm-test /dev/sdb1  (dove lvm-test è il nome del VG)

Non hai creato il physical volume ?

 > 3) Estendere il LV:
 > lvextend -L +40G /dev/lvm-test/root
 > 
 > (dove /dev/lvm-test/root è il path di un LV del VG)
 >  
 > 4) Estendere il filesystem:
 > resize2fs /dev/lvm-test/root

Questa parte mi sembra a posto.

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


Reply to: