<?xml version="1.0"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:bgn="http://blogreen.org" xmlns:res="http://blogreen.org/TR/Resources" bgn:template-name="rss" version="2.0"><channel><title>Sysadmin</title><link>http://romain.blogreen.org/categories/sysadmin/</link><description>Enjoying being the Bastard Operator From Hell.</description><link xmlns="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://romain.blogreen.org/categories/sysadmin/rss-short.xml"/><item><title>Updating a ZFS Mirror</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">A few days ago, while I was on the phone, my machine experienced a kernel panic.  The backtrace pointed a problem somewhere in the swap management code.  I was on a hurry at that time and rebooted the machine without taking the time dig in the problem deeper.</p><p xmlns="http://www.w3.org/1999/xhtml">On the next day, I eventually realised that an hard disk was logically missing on the system and the ZFS mirror it was belonging to was working in a degraded mode.  This disk holding a swap partition, the panic quite makes sense: some data was stored there and could not be paged-out anymore.</p><pre xmlns="http://www.w3.org/1999/xhtml" class="highlight-keyword"># zpool list
NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
data   294G  68,2G   226G    23%  1.25x  <strong>DEGRADED</strong>  -
tank  1,81T   300G  1,52T    16%  1.06x  ONLINE  -</pre><pre xmlns="http://www.w3.org/1999/xhtml" class="highlight-keyword"># zpool status data
  pool: data
 state: <strong>DEGRADED</strong>
<strong>status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q</strong>
  scan: none requested
config:

NAME                                            STATE     READ WRITE CKSUM
data                                            DEGRADED     0     0     0
  mirror-0                                      DEGRADED     0     0     0
    gptid/36711e52-a69e-11de-8adf-0018f38af467  ONLINE       0     0     0
    15152536002702365387                        <strong>UNAVAIL</strong>      0     0     0  <strong>was /dev/gptid/602da1ae-c474-11de-960d-0008a14dbca1</strong>

errors: No known data errors</pre>]]></description><link>http://romain.blogreen.org/blog/2012/01/updating-a-zfs-mirror/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2012/01/updating-a-zfs-mirror/</guid><pubDate>Wed, 04 Jan 2012 11:27:08 GMT</pubDate></item><item><title>Thomson ST2030 Feature Key Sheet Template</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml"><a href="http://www.technicolor.com/">Technicolor</a>'s (ex. Thomson's) <a href="http://www.technicolorbroadbandpartner.com/telephony-solutions/products/product-detail.php?id=87">ST2030</a> <acronym title="Session Initiation Protocol">SIP</acronym> phone features 10 <em>feature keys</em> that can be used as <em>fast call keys</em> to reach a configured number by a single key-press.</p><p xmlns="http://www.w3.org/1999/xhtml" class="figure"><img src="http://romain.blogreen.org/images/st2030-feature-key.png" alt="[ST2030 Feature Keys location]" height="278" width="254"/><br/>Location of <em>Feature Keys</em> on the ST2030.</p><p xmlns="http://www.w3.org/1999/xhtml">I finally decided to configure these keys with proper numbers instead of browsing my directory each time I want to make a call.  But the phone only ships with a single paper sheet to hand-write the names corresponding to the configured numbers and my hand-writing is somewhat like what would produce a drunk cow with Creutzfeldt–Jakob disease.  I browsed the Internet for a sheet template to fill-in, print and cut, but was unable to find some.</p>]]></description><link>http://romain.blogreen.org/blog/2011/12/thomson-st2030-feature-key-sheet-template/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/12/thomson-st2030-feature-key-sheet-template/</guid><pubDate>Thu, 29 Dec 2011 15:44:32 GMT</pubDate></item><item><title>Additional note for a proper shebang</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">I recently encountered a shell script lacking some functionality I wanted to rely on, and started editing it to provide a patch for the author.</p><p xmlns="http://www.w3.org/1999/xhtml">The first line of the script was:</p><pre xmlns="http://www.w3.org/1999/xhtml" class="sh_sh">#!/bin/bash -x</pre><p xmlns="http://www.w3.org/1999/xhtml">Those who know me might imagine how my eyes were bleeding (the other may want to read my previous entry about <a href="http://romain.blogreen.org/blog/2008/04/you-bash-users-are-driving-me-crazy/">writing portable shebang for shell scripts</a>), but this shows another problem one may encounter when porting a shell script with an invalid shebang.</p>]]></description><link>http://romain.blogreen.org/blog/2011/04/additional-note-for-a-proper-shebang/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/04/additional-note-for-a-proper-shebang/</guid><pubDate>Sat, 02 Apr 2011 13:43:00 GMT</pubDate></item><item><title>gpg: OpenPGP card not available: IPC write error</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">If you reach this page searching the internet for this error and did not find anything usefull, it might be because the error you want to search is actually <q><em>Unknown</em> IPC command</q>.</p>]]></description><link>http://romain.blogreen.org/blog/2010/04/gpg-openpgp-card-not-available-ipc-write-error/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/04/gpg-openpgp-card-not-available-ipc-write-error/</guid><pubDate>Fri, 09 Apr 2010 08:35:00 GMT</pubDate></item><item><title>ZFS: unsupported ZFS version 14 (should be 13)</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">After updating to the latest development version of GNOME thanks' to <a href="http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi">MarcusCom ports</a> I wanted to log out and back in but X refused to restart because of the in-heavy-development <a href="http://nouveau.freedesktop.org/wiki/">Nouveau video driver</a>.  I run in this problem every once a while and a full reboot solve this problem.  However, the system did not boot.</p>]]></description><link>http://romain.blogreen.org/blog/2010/02/zfs-unsupported-zfs-version-14-should-be-13/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/02/zfs-unsupported-zfs-version-14-should-be-13/</guid><pubDate>Sat, 27 Feb 2010 16:27:00 GMT</pubDate></item><item><title>OpenRD console access on FreeBSD.</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">This morning, I received the <a href="http://www.open-rd.org">Open-RD</a> I bought a few days ago and started playing with my new device. One  of the first thing I wanted to access was (of course) the system console.  While the default setup provides a <acronym title="Secure Shell">SSH</acronym> daemon and even GDM and a full desktop, my goal is to have FreeBSD on this device and move the services I run at home from my personal computer to this low-consumption computer (and I don't intend to switch to GNU/Linux).</p>]]></description><link>http://romain.blogreen.org/blog/2009/11/openrd-console-access-on-freebsd/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2009/11/openrd-console-access-on-freebsd/</guid><pubDate>Fri, 27 Nov 2009 22:49:00 GMT</pubDate></item><item><title>Introducing ZFS support in portshaker(8)</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml"><a href="http://www.ohloh.net/p/portshaker"><tt>portshaker(8)</tt></a> is a tool designed for merging partial ports trees into the FreeBSD ports tree. In other words, it implements some kind of overlay for the FreeBSD ports.</p>]]></description><link>http://romain.blogreen.org/blog/2009/11/introducing-zfs-support-in-portshaker/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2009/11/introducing-zfs-support-in-portshaker/</guid><pubDate>Fri, 13 Nov 2009 23:09:00 GMT</pubDate></item><item><title>Updating FreeBSD 7 (i386) to 8 (amd64)</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">How to update to the latest FreeBSD version, switch to 64 bit, and switch to full ZFS. In short, use the best I can have (or what is supposed to be the best I can have) on my computer.</p>]]></description><link>http://romain.blogreen.org/blog/2009/10/updating-freebsd-7-i386-to-8-amd64/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2009/10/updating-freebsd-7-i386-to-8-amd64/</guid><pubDate>Thu, 29 Oct 2009 09:32:00 GMT</pubDate></item><item><title>You! Yes you! Help saving BSD Magazine!</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">I have been a subscriber for <a href="http://www.bsdmag.org/">BSD Magazine</a> since the first issue.</p><p xmlns="http://www.w3.org/1999/xhtml">While the targeted audience is definitively not the *BSD kernel hacker, and despite the fact that each issue (so far) is spotted on a BSD flavor; the diversity of the articles featured in the magazine will make any Free Software enthusiast find useful information.</p>]]></description><link>http://romain.blogreen.org/blog/2009/07/you-yes-you-help-saving-bsd-magazine/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2009/07/you-yes-you-help-saving-bsd-magazine/</guid><pubDate>Fri, 03 Jul 2009 10:49:00 GMT</pubDate></item><item><title>Enlève tes doigts d'ici gamin!</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml"><a href="http://www.gnome.org/~veillard/gamin/index.html">Gamin</a> has been recently <a href="http://www.freebsd.org/cgi/getmsg.cgi?fetch=680353+0+current/cvs-ports">patched</a> on FreeBSD. This may change dramaticaly the way you use USB sticks, so here is a quick tutorial (for those who don't speak french, the title says <q>put your fingers away kid</q>).</p>]]></description><link>http://romain.blogreen.org/blog/2009/04/enleve-tes-doigts-dici-gamin/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2009/04/enleve-tes-doigts-dici-gamin/</guid><pubDate>Sat, 18 Apr 2009 09:53:00 GMT</pubDate></item></channel></rss>

