[Tech] lvm

Mattia Brunetti mat.brunetti@tin.it
Mar 3 Dic 2002 03:17:01 CET


Ci volevo provare anche io

Ho creato 2 nuove partizioni ( ext2 )
Ho caricato il modulo lvm-mod
Ho dato il seguente copmando:

[root@pantin mattia]# pvcreate /dev/hda8 /dev/hda9 -v
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/hda8"
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- checking volume group name
pvcreate -- creating new physical volume
pvcreate -- setting up physical volume for /dev/hda8 with 4096512 sectors
pvcreate -- writing physical volume data to disk "/dev/hda8"
pvcreate -- physical volume "/dev/hda8" successfully created
pvcreate -- checking physical volume name "/dev/hda9"
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- checking volume group name
pvcreate -- creating new physical volume
pvcreate -- setting up physical volume for /dev/hda9 with 2474325 sectors
pvcreate -- writing physical volume data to disk "/dev/hda9"
pvcreate -- physical volume "/dev/hda9" successfully created
pvcreate -- unlocking logical volume manager

poi ho dato questo:
	
[root@pantin mattia]# vgcreate prova /dev/hda8 /dev/hda9 -v
vgcreate -- checking volume group name
vgcreate -- checking volume group directory existence
vgcreate -- locking logical volume manager
vgcreate -- checking volume group "prova" existence
vgcreate -- counting all existing volume groups
vgcreate -- reading all physical volume data from disks
vgcreate -- ERROR "pv_read(): open" reading physical volumes
                       ^^^^^^^
                           :-(

Dopo questo 'error' mi sono riletto la documentazione, 
ma sono sicuro di essermi perso qualcosa.

MDK9.0 con il suo kernel (2.4.19)

Ciao

Mattia


-- 
Pace e prosperita'   \\//

GnuPG-Key = 1024D/ACF1A8FF

ICQ # 107461752



Maggiori informazioni sulla lista flug-tech