<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="wordpress/ME for XOOPS 0.33" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">

<channel>
	<title>Blog</title>
	<link>http://www.dayaro.com/modules/wordpress/index.php</link>
	<description>Aprende como hacerlo tu mismo</description>
	<language>es</language>
	<copyright>Copyright 2012</copyright>
	<pubDate>Mon, 06 Feb 2012 17:46:50 +0000</pubDate>
	<generator>http://wordpress.xwd.jp/?v=ME for XOOPS 0.33</generator>

		<item>
		<title>SSH in Solaris</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=71</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=71#comments</comments>
		<pubDate>Wed, 18 Jan 2012 19:07:37 +0100</pubDate>
		<author>dyague &lt;&#100;avid&#64;da&#121;ar&#111;&#46;com&gt;</author>
		
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=71</guid>
		<description>	This post is about service ssh in solaris 9 or 10
	Solaris 9
Disable service ssh ?
	bash&gt;  /etc/init.d/sshd stop
bash&gt; /etc/rc3.d/S89sshd stop
	Enable service ssh ?
	bash&gt; /etc/init.d/sshd start
bash&gt; /etc/rc3.d/S89sshd start
	Refresh service ssh ?
	bash&gt; kill -HUP `cat /var/run/sshd.pid`
	Solaris 10
First you can check service ssh with command
	bash&gt; svcs | grep ssh
online     ...</description>
		<content:encoded><![CDATA[	<p>This post is about service ssh in solaris 9 or 10</p>
	<p>Solaris 9<br />
Disable service ssh ?</p>
	<p>bash>  /etc/init.d/sshd stop<br />
bash> /etc/rc3.d/S89sshd stop</p>
	<p>Enable service ssh ?</p>
	<p>bash> /etc/init.d/sshd start<br />
bash> /etc/rc3.d/S89sshd start</p>
	<p>Refresh service ssh ?</p>
	<p>bash> kill -HUP `cat /var/run/sshd.pid`</p>
	<p>Solaris 10<br />
First you can check service ssh with command</p>
	<p>bash> svcs | grep ssh<br />
online         Jan_21   svc:/network/ssh:default</p>
	<p>If status ssh offline, you can make online with command:</p>
	<p>bash> svcadm enable -t network/ssh:default<br />
bash> /lib/svc/method/sshd start</p>
	<p>Disable service ssh ?</p>
	<p>bash> svcadm disable -t network/ssh:default</p>
	<p>Restart service ssh ?</p>
	<p>bash> svcadm restart network/ssh:default<br />
bash> /lib/svc/method/sshd restart</p>
	<p>Refresh service ssh ?</p>
	<p>bash> svcadm refresh network/ssh:default</p>
	<p>For a root enable connect to host via ssh service</p>
	<p>bash> vi /etc/ssh/sshd_config</p>
	<p>[&#8230;.]<br />
# Valid options are yes, without-password, no.<br />
PermitRootLogin no<br />
[&#8230;.]</p>
	<p>Replace no with yes, after that save the edited configuration.<br />
Don&#8217;t forget for the restart service ssh, after edit configuration.</p>
	<p>Fuente: http://sysinfo.bascomp.org/solaris/ssh-in-solaris/
</p>
]]></content:encoded>
	</item>
		<item>
		<title>Herramientas apt-get y dpkg de Debian GNU/Linux</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=70</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=70#comments</comments>
		<pubDate>Tue, 03 Jan 2012 17:25:03 +0100</pubDate>
		<author>dyague &lt;dav&#105;&#100;&#64;da&#121;aro.&#99;om&gt;</author>
		
	<category>General</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=70</guid>
		<description>	Listar todos los ficheros de un paquete
	$ dpkg -L nombre_paquete
	Instalar un paquete de una release concreta
	# apt-get install -t unstable nombre_paquete
	Bloquear (hold) un paquete para que no se actualice en los upgrades
	# echo nombre_paquete hold | dpkg —set-selections
	Quitar el bloqueo a un paquete
	# echo nombre_paquete install | dpkg —set-selections
	Ver la ...</description>
		<content:encoded><![CDATA[	<p><strong>Listar todos los ficheros de un paquete</strong></p>
	<blockquote><p>$ dpkg -L nombre_paquete</p></blockquote>
	<p><strong>Instalar un paquete de una release concreta</strong></p>
	<blockquote><p># apt-get install -t unstable nombre_paquete</p></blockquote>
	<p><strong>Bloquear (hold) un paquete para que no se actualice en los upgrades</strong></p>
	<blockquote><p># echo nombre_paquete hold | dpkg —set-selections</p></blockquote>
	<p><strong>Quitar el bloqueo a un paquete</strong></p>
	<blockquote><p># echo nombre_paquete install | dpkg —set-selections</p></blockquote>
	<p><strong>Ver la versión de un paquete instalado</strong></p>
	<blockquote><p>$ apt-cache policy nombre_paquete | grep Installed</p></blockquote>
	<p><strong>Listar los paquetes que contienen cierta cadena en su nombre</strong></p>
	<blockquote><p>$ COLUMNS=120 dpkg -l | grep string</p></blockquote>
	<p><strong>Obtener el estado(hold, purge) de un paquete</strong></p>
	<blockquote><p>$ dpkg —get-selections nombre_paquete</p></blockquote>
	<p><strong>Eliminar un paquete y sus ficheros de configuración</strong></p>
	<blockquote><p># dpkg —purge nombre_paquete</p></blockquote>
	<p><strong>Ver las dependencias de un paquete y su descripción</strong></p>
	<blockquote><p>$ apt-cache showpkg nombre_paquete</p></blockquote>
	<p><strong>Buscar paquetes relacionados con un término</strong></p>
	<blockquote><p>$ apt-cache search string</p></blockquote>
	<p>Fuente: http://crysol.org/es/node/59
</p>
]]></content:encoded>
	</item>
		<item>
		<title>XSCF console commands</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=69</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=69#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:53:48 +0200</pubDate>
		<author>dyague &lt;david&#64;dayar&#111;.co&#109;&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=69</guid>
		<description>	Here are some basic XSCF console commands used on Sun hardware:
To show all domains:
XSCF&gt; showdomainstatus -a
	To display logged users:
XSCF&gt; who
	To show domain 00 status:
XSCF&gt; showdomainstatus -d 00
	To login to domain 00:
XSCF&gt; console -d 00
	To send break:
XSCF&gt; sendbreak
	To displays sensors information:
XSCF&gt; showenvironment
	To lists degraded components:
XSCF&gt; showstatus
	To reset domain 00:
XSCF&gt; reset -d ...</description>
		<content:encoded><![CDATA[	<p>Here are some basic XSCF console commands used on Sun hardware:<br />
To show all domains:<br />
XSCF> showdomainstatus -a</p>
	<p>To display logged users:<br />
XSCF> who</p>
	<p>To show domain 00 status:<br />
XSCF> showdomainstatus -d 00</p>
	<p>To login to domain 00:<br />
XSCF> console -d 00</p>
	<p>To send break:<br />
XSCF> sendbreak</p>
	<p>To displays sensors information:<br />
XSCF> showenvironment</p>
	<p>To lists degraded components:<br />
XSCF> showstatus</p>
	<p>To reset domain 00:<br />
XSCF> reset -d 00 <mode></p>
	<p>Where <mode> can be:</p>
	<p>    por: system reset</p>
	<p>    xir: CPU reset</p>
	<p>    panic: panic instruction</p>
	<p>To power on/off:<br />
XSCF> poweron [-a]<br />
XSCF> poweroff [-a]</p>
	<p>To logout from the XSCF console:<br />
XSCF> exit</p>
	<p>To return from a domain terminal:<br />
#.</mode></mode></p>
	<p>XSCF crib</p>
	<p>Basic XSCF commands.<br />
Power on domain.</p>
	<p>poweron -d 0 # poweron domain 0</p>
	<p>connect to domain console</p>
	<p>console -d 0<br />
To escape press #.</p>
	<p>View operator panel switch posision.</p>
	<p>XSCF> showhardconf<br />
SPARC Enterprise M4000;<br />
    + Serial:BCF0840036; Operator_Panel_Switch:Locked;</p>
	<p>&#8212; more outout skipped &#8212;-</p>
	<p>To send a break signal</p>
	<p>XSCF>sendbreak -d 0<br />
Send break signal to DomainID 0?[y|n] :y</p>
	<p>Change secure domain setting denying domain to ignore break signal.</p>
	<p>XSCF> showdomainmode -d 0<br />
Host-ID             :85021570<br />
Diagnostic Level    :min<br />
Secure Mode         :on<br />
Autoboot            :on<br />
CPU Mode            :auto<br />
XSCF> setdomainmode -d 0 -m secure=off<br />
Diagnostic Level    :min        -> -<br />
Secure Mode         :on         -> off<br />
Autoboot            :on         -> -<br />
CPU Mode            :auto       -> -<br />
The specified modes will be changed.<br />
Continue? [y|n] :y<br />
configured.<br />
Diagnostic Level    :min<br />
Secure Mode         :off (host watchdog: unavailable  Break-signal:receive)<br />
Autoboot            :on (autoboot:on)<br />
CPU Mode            :auto
</p>
]]></content:encoded>
	</item>
		<item>
		<title>SUN Backups y Restores</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=68</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=68#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:52:53 +0200</pubDate>
		<author>dyague &lt;david&#64;da&#121;aro&#46;c&#111;&#109;&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=68</guid>
		<description>	Esto que te comento es sobre una máquina solaris 8, pero no creo que haya problemas sobre otros SO.
	Reiniciamos la máquina
# init 0
	Desde el bootpromt arrancamos en modo monousuario.
ok boot -s
	Ahora hacemos el backup
# ufsdump 0uf /dev/rmt/0 /dev/rdsk/c0t0d0s0
	Para verificar que el backup es correcto.
# ufsrestore tvf /dev/rmt/0
	Ahora arrancamos la máquina ...</description>
		<content:encoded><![CDATA[	<p>Esto que te comento es sobre una máquina solaris 8, pero no creo que haya problemas sobre otros SO.</p>
	<p>Reiniciamos la máquina<br />
# init 0</p>
	<p>Desde el bootpromt arrancamos en modo monousuario.<br />
ok boot -s</p>
	<p>Ahora hacemos el backup<br />
# ufsdump 0uf /dev/rmt/0 /dev/rdsk/c0t0d0s0</p>
	<p>Para verificar que el backup es correcto.<br />
# ufsrestore tvf /dev/rmt/0</p>
	<p>Ahora arrancamos la máquina en modo normal.</p>
	<p>Si perdemos el / hariamos lo siguiente:</p>
	<p>Desde el prompt boot Arrancamos desde cd.</p>
	<p>ok boot cdrom -s</p>
	<p>Creamos y formateamos el filesystem:</p>
	<p>#newfs /dev/rdsk/c0t0d0s0<br />
#fsck /dev/rdsk/c0t0d0s0</p>
	<p>Montamos el nuevo filesystem en el directorio /a del cd (viene preparado).</p>
	<p>#mount /dev/rdsk/c0t0d0s0 /a<br />
# cd /a</p>
	<p>Ahora restauramos de cinta el filesystem /</p>
	<p># ufsrestore rf /dev/rmt/0</p>
	<p>Borramos el fichero restoremytable.</p>
	<p># rm restoremytable</p>
	<p>Instalamos el bloque de arranque.</p>
	<p># cd /usr/platform/`uname -m`/lib/fs/ufs<br />
# installboot bootblk /dev/rdsk/c0t0d0s0</p>
	<p>Desmontamos el directorio /a</p>
	<p># cd /<br />
# umount /a</p>
	<p>Hacemos un Reboot</p>
	<p># reboot.
</p>
]]></content:encoded>
	</item>
		<item>
		<title>M-SERIES eXtended System Control Facility (XSCF) Command Line Guide</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=67</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=67#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:49:29 +0200</pubDate>
		<author>dyague &lt;d&#97;vid&#64;da&#121;aro.com&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=67</guid>
		<description>	The Sun SPARC® Enterprise M-series server line is the newest addition to Sun Microsystem’s mid-range (M4000/M5000) and high-end server (M8000/M9000) families. Designed for the enterprise- class datacenter, all members of the server line offer a great deal of configuration flexibility in addition to high performance and reliability.
	#########################################################################
#.  &gt;&gt;switch the ...</description>
		<content:encoded><![CDATA[	<p>The Sun SPARC® Enterprise M-series server line is the newest addition to Sun Microsystem’s mid-range (M4000/M5000) and high-end server (M8000/M9000) families. Designed for the enterprise- class datacenter, all members of the server line offer a great deal of configuration flexibility in addition to high performance and reliability.</p>
	<p>#########################################################################<br />
#.  >>switch the prompt from domain console to XSCF console</p>
	<p>XSCF>console -d 0    >>swith from XSCF console to domain console<br />
XSCF>console -d 0 -f    >>swith from XSCF console to domain console with force option<br />
XSCF>reset -d 0 xir    >>reset/restart domain 0 console<br />
XSCF>poweroff -d 0    >>power off domain ID 0<br />
XSCF>poweroff -f -d 0    >>forcibly power off domain ID 0</p>
	<p>XSCF>poweroff -a    >>power off all domain together<br />
XSCF>poweron -a        >>power on all domain<br />
XSCF>poweron -d 0    >>power on domain ID 0</p>
	<p>XSCF>version -c xcp    >>to determine firmware version<br />
XSCF>switchscf -t Standby</p>
	<p>XSCF>snapshot -d usb0    >>save/collect log to USB flash disk<br />
XSCF>showlogs power</p>
	<p>XSCF> setdomainmode -d 0 -m autoboot=on<br />
XSCF> showdomainmode -d 0<br />
Host-ID             : 85289956<br />
Diagnostic Level    : min<br />
Secure Mode         : on<br />
Autoboot            : on<br />
CPU Mode            : auto</p>
]]></content:encoded>
	</item>
		<item>
		<title>Como cambiar la velocidad de red en equipo Solaris T2000</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=66</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=66#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:42:43 +0200</pubDate>
		<author>dyague &lt;da&#118;id&#64;day&#97;&#114;o.c&#111;&#109;&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=66</guid>
		<description>	Debemos editar el archivo
	/kernel/drv/ e1000g.conf
	Y declarar lo siguiente, que se encuentra en negritas, es la única modificación que debemos hacer sin modificar nada, mas.
	# Driver.conf file for Intel e1000g Gigabit Ethernet Adapter
#
# Copyright &amp;#169; 2002, by Intel, Inc.
# All Rights Reserved.
#
#ident &amp;#8220;@(#)e1000g.conf 1.1 98/09/22 Intel&amp;#8221;
#
# Copyright 2006 Sun Microsystems, Inc. ...</description>
		<content:encoded><![CDATA[	<p>Debemos editar el archivo</p>
	<p>/kernel/drv/ e1000g.conf</p>
	<p>Y declarar lo siguiente, que se encuentra en negritas, es la única modificación que debemos hacer sin modificar nada, mas.</p>
	<p># Driver.conf file for Intel e1000g Gigabit Ethernet Adapter<br />
#<br />
# Copyright &#169; 2002, by Intel, Inc.<br />
# All Rights Reserved.<br />
#<br />
#ident &#8220;@(#)e1000g.conf 1.1 98/09/22 Intel&#8221;<br />
#<br />
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.<br />
# Use is subject to license terms.<br />
#<br />
# ident &#8220;@(#)e1000g.conf 1.4 06/03/06 SMI&#8221;<br />
#<br />
ForceSpeedDuplex=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4;<br />
# This will force Speed and Duplex for following settings for a typical instance.<br />
# 1 will set the 10 Mbps speed and Half Duplex mode.<br />
# 2 will set the 10 Mbps speed and Full Duplex mode.<br />
# 3 will set the 100 Mbps speed and half Duplex mode.<br />
# 4 will set the 100 Mbps speed and Full Duplex mode.<br />
# 7 will let adapter autonegotiate.</p>
	<p>y tambien por si las dudas realizamos lo siguiente.</p>
	<p># ndd -set /dev/e1000g0 adv_100hdx_cap 0<br />
# ndd -set /dev/e1000g0 adv_100fdx_cap 1<br />
# ndd -set /dev/e1000g0 adv_autoneg_cap 0</p>
	<p>Nota: e1000g0 corresponde a la interfaz de red de tu equipo, por lo cual pudiera variar.
</p>
]]></content:encoded>
	</item>
		<item>
		<title>Configuración del kernel</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=65</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=65#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:40:51 +0200</pubDate>
		<author>dyague &lt;david&#64;&#100;&#97;y&#97;ro.&#99;&#111;m&gt;</author>
		
	<category>General</category>
	<category>Linux</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=65</guid>
		<description>	El núcleo o &amp;#8220;kernel&amp;#8221;.
	En el sistema operativo UNIX se reconocen tres niveles de abstracción:
    - el hardware;
    - el núcleo del sistema operativo (kernel);
    - los programas de usuario (aplicaciones).
El kernel presenta al usuario o los programas de aplicación una interfaz ...</description>
		<content:encoded><![CDATA[	<p><strong>El núcleo o &#8220;kernel&#8221;.</strong></p>
	<p>En el sistema operativo UNIX se reconocen tres niveles de abstracción:<br />
    - el hardware;<br />
    - el núcleo del sistema operativo (kernel);<br />
    - los programas de usuario (aplicaciones).<br />
El kernel presenta al usuario o los programas de aplicación una interfaz de programación de alto nivel, implementando la mayoría de las facilidades requeridas por éstos. Reúne el manejo de una serie de siguientes conceptos ligados al hardware de nivel más bajo:<br />
    - procesos (tiempo compartido, espacios de direccionamiento protegidos);<br />
    - señales y semáforos;<br />
    - memoria virtual ("swapping&#8221;, paginado);<br />
    - sistema de archivos;<br />
    - tubos ("pipes") y conexiones de red.<br />
Una parte del kernel es independiente de los dispositivos presentes en el sistema, pero otra contiene los controladores necesarios para manejar partes específicas del hardware. El kernel intrepreta los pedidos de los programas y los traduce en secuencias de bits que, presentadas a los registros de los controladores, operan sobre los dispositivos físicos.<br />
El kernel está escrito casi todo en C, salvo una pequeña parte en lenguaje ensamblador para los procesos de bajo nivel. El tamaño puede ir desde unos 400 KB hasta más de 15 MB.</p>
	<p><strong>Tipos de kernel.</strong></p>
	<p>Todos los sistemas permiten indicar al kernel qué hardware encontrará, o cuál no debe buscar; algunos kernels pueden explorar el sistema por sí solos.<br />
Solaris usa un kernel totalmente modular, y puede cargar los controladores de dispositivos al momento que se necesitan, gracias a la coherencia de la arquitectura propietaria de Sun, mucho mayor que la de un computador personal. HP-UX también puede determinar su hardware sin intervención del administrador. FreeBSD y los UNIX BSD en general requieren indicación explícita del hardware del equipo; esto resulta a veces difícil por la poca información técnica que los fabricantes de partes PC proveen a los usuarios. Linux compila los controladores en el kernel como los BSD, pero también maneja módulos a la manera de Solaris, aunque no tan limpiamente, debido a las limitaciones de la arquitectura PC.<br />
En la siguiente tabla se muestra el nombre del directorio donde se compila el kernel (directorio de compilación), así como nombre y ubicación del kernel para algunos sistemas ejemplo:</p>
	<p><strong>Sistema         Directorio de compilación         Kernel </strong><br />
Solaris                   	(usa módulos)                     	/kernel/unix<br />
HP-UX                    	/stand                                     	/stand/vmunix<br />
Linux 	                        /usr/src/linux 	                        /vmlinux o /boot/vmlinuz<br />
FreeBSD 	                /usr/src/sys                           	/kernel</p>
]]></content:encoded>
	</item>
		<item>
		<title>Corrupcion del boot-archive</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=64</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=64#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:34:42 +0200</pubDate>
		<author>dyague &lt;&#100;avi&#100;&#64;day&#97;ro&#46;c&#111;&#109;&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=64</guid>
		<description>	En el tiempo que tengo jugando con equipos SUN poco a poco se van detectando ciertas fallas y hoy platicaremos de una de ellas que ocurre muy seguido…. “corrupción del boot-archive”
	El boot-archive es un servicio; svc:/system/boot-archive manejado por el SMF (Service Manager Facility ) Hay ocasiones que ante una caída ...</description>
		<content:encoded><![CDATA[	<p>En el tiempo que tengo jugando con equipos SUN poco a poco se van detectando ciertas fallas y hoy platicaremos de una de ellas que ocurre muy seguido…. “corrupción del boot-archive”</p>
	<p>El boot-archive es un servicio; svc:/system/boot-archive manejado por el SMF (Service Manager Facility ) Hay ocasiones que ante una caída o reinicio inesperado del equipo, en el momento del booteo se encuentra una inconsistencia en el archive y manda a modo mantenimiento…;</p>
	<blockquote><p>WARNING: The following files in / differ from the boot archive:</p>
	<p>    changed /kernel/drv/sd.conf</p>
	<p>The recommended action is to reboot to the failsafe archive to correct<br />
the above inconsistency. To accomplish this, on a GRUB-based platform,<br />
reboot and select the &#8220;Solaris failsafe&#8221; option from the boot menu.<br />
On an OBP-based platform, reboot then type &#8220;boot -F failsafe&#8221;. Then<br />
follow the prompts to update the boot archive. Alternately, to continue<br />
booting at your own risk, you may clear the service by running:<br />
&#8220;svcadm clear system/boot-archive&#8221;<br />
Root password for system maintenance (control-d to bypass):<br />
single-user privilege assigned to /dev/console.<br />
Entering System Maintenance Mode</p></blockquote>
	<p>Después de probar varios métodos, ésta es la forma más sencilla de solucionar el problame. Desde modo mantenimiento:</p>
	<blockquote><p><strong># svcadm clear system/boot-archive</strong></p></blockquote>
	<p>( este comando actua como un “boot -F failsafe” )</p>
	<blockquote><p><strong># bootadm update-archive</strong></p></blockquote>
	<p>Y para validar que el  “clear” funcionó, le damos un reboot al equipo.</p>
	<p>Fuente: http://m3m0x.wordpress.com/2010/06/01/corrupcion-del-boot-archive/
</p>
]]></content:encoded>
	</item>
		<item>
		<title>ZFS - recovering destroyed pools</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=63</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=63#comments</comments>
		<pubDate>Tue, 20 Sep 2011 17:16:21 +0200</pubDate>
		<author>dyague &lt;&#100;avid&#64;dayar&#111;.&#99;om&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=63</guid>
		<description>	If you created zfs pool with filesystems on it - it could happen that you destroyed that pool not really wanting it. Fortunatelly when you destroy a pool all that ZFS does is it marks that pool as &amp;#8216;destroyed&amp;#8217; but no data or config on disks are erased. Making some ...</description>
		<content:encoded><![CDATA[	<p>If you created zfs pool with filesystems on it - it could happen that you destroyed that pool not really wanting it. Fortunatelly when you destroy a pool all that ZFS does is it marks that pool as &#8216;destroyed&#8217; but no data or config on disks are erased. Making some really simple changes to ZFS utils (and to ZFS fs itself) you can easly recover previously destroyed pools with all filesystems and data on them.<br />
When you do &#8216;zfs import&#8217; it lists you available pools in a system skipping destroyed pools. After applying below changes you will also see destroyed pools which are marked &#8216;(DESTROYED)&#8217; in a state property. Using &#8216;zpool import -f &#8216; you can import again such pool.</p>
	<blockquote><p>bash-3.00# zpool create backup c2t0d0p0<br />
bash-3.00# zfs create backup/d1<br />
bash-3.00# zfs create backup/d2<br />
bash-3.00# zfs list<br />
NAME                   USED  AVAIL  REFER  MOUNTPOINT<br />
backup                 376K  37.0G   100K  /backup<br />
backup/d1             98.5K  37.0G  98.5K  /backup/d1<br />
backup/d2             98.5K  37.0G  98.5K  /backup/d2<br />
bash-3.00#</p>
	<p>bash-3.00# df -h -F zfs<br />
Filesystem             size   used  avail capacity  Mounted on<br />
backup                  37G    99K    37G     1%    /backup<br />
backup/d1               37G    98K    37G     1%    /backup/d1<br />
backup/d2               37G    98K    37G     1%    /backup/d2<br />
bash-3.00#</p>
	<p>bash-3.00# cp -rp /usr/kernel/ /backup/d1/<br />
bash-3.00# cp -rp /usr/platform/ /backup/d2/<br />
bash-3.00#<br />
bash-3.00# df -h -F zfs<br />
Filesystem             size   used  avail capacity  Mounted on<br />
backup                  37G    99K    37G     1%    /backup<br />
backup/d1               37G   3.4M    37G     1%    /backup/d1<br />
backup/d2               37G   849K    37G     1%    /backup/d2<br />
bash-3.00#</p>
	<p>bash-3.00# zpool destroy backup<br />
bash-3.00# zpool list<br />
no pools available<br />
bash-3.00#</p>
	<p>bash-3.00# zpool import<br />
pool: backup<br />
 id: 6753094033596765985<br />
state: ONLINE (DESTROYED)<br />
action: The pool can be imported using its name or numeric identifier.  The<br />
     pool was destroyed, but can be imported using the &#8216;-f&#8217; flag.<br />
config:</p>
	<p>     backup      ONLINE<br />
       c2t0d0p0  ONLINE<br />
bash-3.00#</p>
	<p>bash-3.00# zpool import -f backup<br />
bash-3.00#<br />
bash-3.00# zpool list<br />
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT<br />
backup                 37.2G   4.45M   37.2G     0%  ONLINE     -<br />
bash-3.00# zfs list<br />
NAME                   USED  AVAIL  REFER  MOUNTPOINT<br />
backup                4.42M  37.0G   100K  /backup<br />
backup/d1             3.38M  37.0G  3.38M  /backup/d1<br />
backup/d2              849K  37.0G   849K  /backup/d2<br />
bash-3.00# df -h -F zfs<br />
Filesystem             size   used  avail capacity  Mounted on<br />
backup                  37G    99K    37G     1%    /backup<br />
backup/d1               37G   3.4M    37G     1%    /backup/d1<br />
backup/d2               37G   849K    37G     1%    /backup/d2<br />
bash-3.00#</p></blockquote>
	<p>URL: http://milek.blogspot.com/2006/02/zfs-recovering-destroyed-pools.html
</p>
]]></content:encoded>
	</item>
		<item>
		<title>Finding WWN of HBA cards in Solaris 8, 9 and 10</title>
		<link>http://www.dayaro.com/modules/wordpress/index.php?p=62</link>
		<comments>http://www.dayaro.com/modules/wordpress/index.php?p=62#comments</comments>
		<pubDate>Tue, 13 Sep 2011 12:27:30 +0200</pubDate>
		<author>dyague &lt;david&#64;dayaro.com&gt;</author>
		
	<category>General</category>
	<category>Solaris</category>		<guid isPermaLink="true">http://www.dayaro.com/modules/wordpress/index.php?p=62</guid>
		<description>	bash-2.03# luxadm probe
No Network Array enclosures found in /dev/es
	Found Fibre Channel device(s):
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d0s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d1s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d2s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d3s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d4s2
Node WWN:50070e800475e108  Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d5s2
Node WWN:50070e800475e108  ...</description>
		<content:encoded><![CDATA[	<p><strong>bash-2.03# luxadm probe</strong></p>
	<blockquote><p>No Network Array enclosures found in /dev/es</p>
	<p>Found Fibre Channel device(s):<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d0s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d1s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d2s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d3s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d4s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d5s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d6s2<br />
Node WWN:50070e800475e108  Device Type:Disk device<br />
Logical Path:/dev/rdsk/c5t50060E800475D109d7s2</p>
	<p>HBA card WWN</p></blockquote>
	<p><strong># prtconf -vp | grep wwn</strong></p>
	<blockquote><p>port-wwn:  2100001b.3202f94b<br />
node-wwn:  2000001b.3202f94b<br />
port-wwn:  210000e0.8b90e795<br />
node-wwn:  200000e0.8b90e795</p></blockquote>
]]></content:encoded>
	</item>
	</channel>
</rss>
