Linux - Howto recreate/restore PV/VG

Ohhhh.. I have lost the LVM metadata information on all my discs ... I lost all VG information .... vgscan , vgdisplay, pvscan, pvs, doesn't show any VG information! All disks are aviable on server and I can see It with multipath, but when I run pvscan/pvs, there's no LVM information on It.

May still have a hope of retrieving information from the PV / VG.

Run the procedure under their responsibility, the procedure described below could remove the entire contents of your VG.

Go to /etc/lvm/archiver/

cat from last copy from your vg file:

HPUX - Cambiar el número de PVs que acepta un VG en caliente.

Para cambiar el número de PVs que acepta un VG

1. Chequear a tabla de combinaciones de PV y max PE per PV que se pueden aplicar al VG. Esto lo conseguimos con el comando:

# vgmodify –v –t [VG_NAME]

Obtendrás una salida similar a:

Volume Group configuration for /dev/vgAPP_01 has been saved in /etc/lvmconf/vgAPP_01.conf

Current Volume Group settings:
Max LV 255
Max PV 16

Distribuir contenido