Al intentar crear un disco alternativo, nos damos cuenta de que en otra ocasión al hacerlo eliminamos el disco sin exportar el VG altinst_rootvg. Los síntomas son estos.
1.- Nos dice que el "mkvg" no puede crear el mismo device
# alt_disk_install -O -C -B hdisk3                                                   
+-----------------------------------------------------------------------------+      
ATTENTION: calling new module /usr/sbin/alt_disk_copy. Please see the alt_disk_copy man page and documentation for more details.                                                        
Executing command: {/usr/sbin/alt_disk_copy -O -B -d "hdisk3"}                             
+-----------------------------------------------------------------------------+            
Calling mkszfile to create new /image.data file.                                           
Checking disk sizes.                                                                       
Creating cloned rootvg volume group and associated logical volumes.                        
0505-102 alt_disk_install: mkvg has returned an error.                                     
0516-360 /usr/sbin/mkvg: The device name is already used; choose a                         
        different name.
2.- Nos lo encontramos definido
# lsvg                                                         
rootvg                                                         
altinst_rootvg
3.- No podemos exportarlo porque falta el disco
# exportvg altinst_rootvg                                                                                   
0516-894 exportvg: Warning, cannot remove volume group altinst_rootvg from  device configuration database.   
SOLUCION:
La opción "-X" nos limpia los subproductos pendientes de este tipo:
# alt_disk_install -X                                                                                       
+-----------------------------------------------------------------------------+                             
ATTENTION: calling new module /usr/sbin/alt_rootvg_op. Please see the alt_rootvg_op man page and documentation for more details.                                                                         
Executing command: {/usr/sbin/alt_rootvg_op -X }                                                            
+-----------------------------------------------------------------------------+                             
Bootlist is set to the boot disk: hdisk0 blv=hd5                                                            
LISTO!!!
# lsvg                                                                                                      
rootvg
 
 
No hay comentarios:
Publicar un comentario