<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DailyStuff &#187; OpenSolaris</title>
	<atom:link href="http://blog.dailystuff.nl/tag/opensolaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dailystuff.nl</link>
	<description>toen Internet stil stond en weer doorging</description>
	<lastBuildDate>Sat, 04 Feb 2012 07:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="search"
           href="http://blog.dailystuff.nl/opensearch"
           type="application/opensearchdescription+xml"
           title="Content Search" /><atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>The hunt for /etc/.pwd.lock</title>
		<link>http://blog.dailystuff.nl/2011/08/the-hunt-for-etc-pwd-lock/</link>
		<comments>http://blog.dailystuff.nl/2011/08/the-hunt-for-etc-pwd-lock/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 06:51:25 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[/etc]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[lckpwdf]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[manpage]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[ulckpwdf]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=925</guid>
		<description><![CDATA[After upgrade Debian to kernel 3.0.0, I saw a hidden file called .pwd.lock in /etc which I didn&#8217;t noticed before. Checking other machines gave the same result as shown below, but both without a matching Debian-package or manpage. $ ls -l /etc/.pwd.lock -rw-------. 1 root root 0 feb 27 2009 /etc/.pwd.lock $ ls -l --time=atime [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrade Debian to kernel 3.0.0, I saw a hidden file called .pwd.lock in /etc which I didn&#8217;t noticed before. Checking other machines gave the same result as shown below, but both without a matching Debian-package or manpage.</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">$ ls -l /etc/.pwd.lock
-rw-------. 1 root root 0 feb 27  2009 /etc/.pwd.lock
$ ls -l --time=atime /etc/.pwd.lock
-rw-------. 1 root root 0 apr 10  2010 /etc/.pwd.lock
$ ls -l --time=ctime /etc/.pwd.lock
-rw-------. 1 root root 0 aug 14  2010 /etc/.pwd.lock</pre></div></div>

<p>As time match at least the installation date of the machine and exists on other machines it appears to be a valid file, but with what purpose? After reading the Linux Programmer&#8217;s Manual two functions called lckpwdf and ulckpwdf where candidates for using this file. Checking the <a href="http://sourceware.org/git/?p=glibc.git;a=blob;f=shadow/lckpwdf.c;hb=284128f68f27567f9cad0078c97d7d807475e0a7">source code</a> at Sourceware confirmed that both <a href="http://manpages.debian.net/cgi-bin/man.cgi?query=lckpwdf&amp;apropos=0&amp;sektion=0&amp;manpath=Debian+unstable+%28sid%29&amp;format=html&amp;locale=en">lckpwdf</a> and ulckpwdf are using the file. And reading the manpage about these functions also confirms it&#8217;s purpose, a lock file the commands like <a href="http://manpages.debian.net/cgi-bin/man.cgi?query=passwd&amp;apropos=0&amp;sektion=0&amp;manpath=Debian+unstable+%28sid%29&amp;format=html&amp;locale=en">passwd</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">The lckpwdf() function is intended to protect against multiple simulta‐
neous accesses of the shadow password database. It tries to acquire a
lock, and returns 0 on success, or -1 on failure (lock not obtained
within 15 seconds). The ulckpwdf() function releases the lock again.
Note that there is no protection against direct access of the shadow
password file. Only programs that use lckpwdf() will notice the lock.
&nbsp;
These were the functions that formed the original shadow API. They are
widely available.</pre></div></div>

<p>This is another example why open source matters. You can get the evidence when you want and/or need instead of trusting some manual to explain things. Verification will become more important as systems get more complex. It was/is also a big advantage when OpenSolaris was created with it&#8217;s web accessible source repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2011/08/the-hunt-for-etc-pwd-lock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NLOSUG-meeting op 11 februari 2010</title>
		<link>http://blog.dailystuff.nl/2010/02/nlosug-meeting-op-11-februari-2010/</link>
		<comments>http://blog.dailystuff.nl/2010/02/nlosug-meeting-op-11-februari-2010/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 07:16:51 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[Maatschappij & leven]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Competa IT]]></category>
		<category><![CDATA[NLOSUG]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Rijswijk]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=966</guid>
		<description><![CDATA[Op 11 februari is er weer een NLOSUG meeting Bij Competa IT in Rijswijk. Ook zullen deze keer er weer mensen aanwezig zijn die CAcert-punten kunnen uitdelen.]]></description>
			<content:encoded><![CDATA[<p>Op 11 februari is er weer een <a href="http://www.nlosug.org/">NLOSUG</a> <a href="http://events.linkedin.com/NLOSUG-Dutch-Open-solaris-user-group/pub/210904">meeting</a> Bij <a href="http://www.competa.com/">Competa IT</a> in Rijswijk. Ook zullen deze keer er weer mensen aanwezig zijn die <a href="http://www.cacert.org/">CAcert</a>-punten kunnen uitdelen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2010/02/nlosug-meeting-op-11-februari-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is CDDL genoeg of niet?</title>
		<link>http://blog.dailystuff.nl/2010/01/is-cddl-genoeg-of-niet/</link>
		<comments>http://blog.dailystuff.nl/2010/01/is-cddl-genoeg-of-niet/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 07:26:04 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[2006]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[CDDL]]></category>
		<category><![CDATA[DebConf]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=969</guid>
		<description><![CDATA[Op de NLOSUG-mailinglist is een discussie ontstaan over het voortbestaan van OpenSolaris nu Oracle eigenaar is geworden van Sun Microsystems. Het meest interessante punt is dat mensen denken dat een licentie automatisch hun investering kan beschermen, maar is dat wel zo? Geeft CDDL die garantie zoals GPL bijvoorbeeld? 3.1. Availability of Source Code. Any Covered [...]]]></description>
			<content:encoded><![CDATA[<p>Op de NLOSUG-mailinglist is een discussie ontstaan over het voortbestaan van <a href="http://www.opensolaris.org/">OpenSolaris</a> nu Oracle eigenaar is geworden van Sun Microsystems. Het meest interessante punt is dat mensen denken dat een licentie automatisch hun investering kan beschermen, maar is dat wel zo? Geeft <a href="http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License">CDDL</a> die garantie zoals <a href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GPL</a> bijvoorbeeld?</p>
<blockquote><p>3.1. Availability of Source Code.<br />
Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.</p></blockquote>
<p>Dit lijkt minder strikt dan de voorzieningen in GPL, maar juristen kunnen dit mogelijk beter beantwoorden. Het meest interessante wat kan gebeuren als Oracle besluit als 100% eigenaar van de code om de licentie te veranderen en OpenSolaris laat voor wat het is. Dit kan misschien weleens de belangrijkste gebeurtenis in de FOSS-wereld zijn van de afgelopen 10 jaar. Zoals ook besproken is bij DebConf 6 bijvoorbeeld.</p>
<p><center><video src="http://meetings-archive.debian.net/pub/debian-meetings/2006/debconf6/theora-small/2006-05-14/tower/OpenSolaris_Java_and_Debian-Simon_Phipps__Alvaro_Lopez_Ortega.ogg" controls="controls"><br />
your browser does not support the video tag<br />
</video></center></p>
<p>Het laat misschien ook zien hoe open sommige bedrijven echt (kunnen) zijn en dat het altijd verstandig is om een kopie te hebben de broncode. Wat het ook laat zien hoe lastig het is om voor een groot bedrijf om te veranderen van bedrijfs- en verdienmodel waarbij je iedereen tevreden wilt houden. Zeker in een wereld die heel snel aan het veranderen is waarbij het model gaat van voornamelijk aanschafkosten naar een subscribermodel, zodat de kosten alleen daar zijn waar je ze ook verbruikt.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2010/01/is-cddl-genoeg-of-niet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://meetings-archive.debian.net/pub/debian-meetings/2006/debconf6/theora-small/2006-05-14/tower/OpenSolaris_Java_and_Debian-Simon_Phipps__Alvaro_Lopez_Ortega.ogg" length="112168333" type="audio/ogg" />
		</item>
		<item>
		<title>ZFS vs Btrfs</title>
		<link>http://blog.dailystuff.nl/2009/10/zfs-vs-btrfs/</link>
		<comments>http://blog.dailystuff.nl/2009/10/zfs-vs-btrfs/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 21:05:21 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[BtrFS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=886</guid>
		<description><![CDATA[In 2006 integreerde Sun Microsystems een nieuw filesystem onder de naam ZFS in Solaris 10 en vele waren skeptisch. Ook was er voldoende commentaar vanwege de gekozen licentie en het commentaar is er nog steeds nu ZFS ook ontbreekt in Snow Leopard van Apple. Met de overname door Oracle wordt het er mogelijk niet beter [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/Solaris-ZFS-Essentials-Scott-Watanabe/dp/0137000103/"><img class="alignright size-thumbnail wp-image-887" title="Solaris 10 ZFS Essentials" src="/wp-content/uploads//2009/10/solaris10-zfs-essentials-150x150.jpg" alt="Solaris 10 ZFS Essentials" width="150" height="150" /></a>In 2006 integreerde Sun Microsystems een nieuw filesystem onder de naam ZFS in Solaris 10 en vele waren skeptisch. Ook was er voldoende commentaar vanwege de gekozen licentie en het commentaar is er nog steeds nu ZFS ook ontbreekt in Snow Leopard van Apple. Met de overname door Oracle wordt het er mogelijk niet beter op, maar toch staat er een boek voor ZFS op de roadmap.</p>
<p>In dezelfde periode is Oracle begonnen aan <a href="https://btrfs.wiki.kernel.org/">Btrfs</a> voor Linux welke in de kernel is op genomen sinds Linux 2.6.29. Nu begint ZFS redelijk volwassen te worden en het heeft wat jaren geduurt, maar hoe staat Btrfs ervoor. Een virtuele testmachine met een paar lege disken en de laatste versie van Debian Testing zou dus voldoende moeten zijn. Helaas is dit nog geen <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542819">succesvolle combinatie</a> en geeft aan dat Btrfs misschien nog niet helemaal volwassen is.</p>
<p>Als we naar de techniek en implementatie kijken dan zijn er nog meer verschillen tussen ZFS en Btrfs. Waar ZFS beschikt over RAID 0, 1, 10 maar ook over verschillende RAIDZ generaties en combinaties hiervan waarmee RAID 5 en 6 worden geimplementeerd. Dit terwijl Btrfs voorlopig alleen beschikt over RAID0, RAID1 en RAID10 zonder enige uitbreidingen hierop. Ook blijft Btrfs vertrouwen op bv andere RAID- en LVM-oplossingen, maar ook op de hardware die altijd correct is. Een mooi punt van oa ZFS is dat het de hardware meeneemt in de beslissingen waar het snelst te lezen is bv.</p>
<p>Op bijna alle punten lijkt ZFS volwassen te zijn en behoeft Btrfs nog vele jaren ontwikkeling terwijl ZFS al in 2006 productierijp was. En hoewel ZFS strict in Solaris verweven is en een niet GPL-licentie heeft is het zeer zeker de moeite waard om te gebruiken. Het is misschien ook de vraag of met de komt van Solaris 11 en de uitkomst van de Sun-Oracle merger het nog wel interessant is naar Btrfs te kijken. Zeker als je kijkt naar hoe volwassen OpenSolaris nu is tov wat Linux niet biedt. Alleen een licentie is vaak niet voldoende of het moet de moeite waard zijn om te wachten, maar live upgrade met ZFS is tegenwoordig echt de moeite waard en een verademing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/10/zfs-vs-btrfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug ID 6843138: can not boot off of a 2.2TB and zfs root</title>
		<link>http://blog.dailystuff.nl/2009/10/bug-id-6843138-can-not-boot-off-of-a-2-2tb-and-zfs-root/</link>
		<comments>http://blog.dailystuff.nl/2009/10/bug-id-6843138-can-not-boot-off-of-a-2-2tb-and-zfs-root/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 06:06:17 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[ZFSboot]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=884</guid>
		<description><![CDATA[Bij het upgraden van OpenSolaris naar build 125 werd mijn aandacht getrokken door meldingen die ik kon negeren zo bleek later. Maar mijn aandacht werd getrokken door bug ID 6843138 en met de komst van 2.5TB disken wordt deze bug werkelijkheid als GRUB wordt gebruikt. Installed snv_144 on an about 2.2 TB disk, using zfs [...]]]></description>
			<content:encoded><![CDATA[<p>Bij het upgraden van OpenSolaris naar build 125 werd mijn aandacht getrokken door <a href="http://opensolaris.org/os/project/indiana/resources/relnotes/200906/x86/#7836">meldingen</a> die ik kon negeren zo bleek later. Maar mijn aandacht werd getrokken door bug ID <a href="http://bugs.opensolaris.org/view_bug.do?bug_id=6843138">6843138</a> en met de komst van 2.5TB disken wordt deze bug werkelijkheid als <a href="http://nl.wikipedia.org/wiki/GRUB">GRUB</a> wordt gebruikt.</p>
<blockquote><p>
Installed snv_144 on an about 2.2 TB disk, using zfs for root.<br />
First reboot after install, I can boot from the disk. However<br />
issuing a reboot while booted from the hard disk, I get the grub prompt.<br />
doing a findroot (pool_rpool,0,a) results in </p>
<p>zio_read_data failed<br />
Error 15: File not found.</p>
<p>I saw the problem originally with opensol 0906 111b.</p>
<p>One problem here is that grub has total_sectors as unsigned long instead<br />
of unsigned long long. So if a file we need for booting falls after<br />
the chopped off total sectors (ulong) we won&#8217;t even attempt to read<br />
the file in rawread().<br />
Even when I modify total_sectors to be unsigned long long and<br />
not to chop it in get_diskinfo() I can not fully boot. Problem is<br />
that bios is not reporting correct capacity. Based on int 13 fn 48<br />
data, it is reporting 0x199fb000 instead of 0x1199fb000. </p>
<p>Removing some checks, I can boot. details in a bit.
</p></blockquote>
<p>De vraag is natuurlijk of je nu een bootdisk van 2.5TB wilt hebben, maar denkende aan een opmerking over 640kB ken ik het antwoord wel.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/10/bug-id-6843138-can-not-boot-off-of-a-2-2tb-and-zfs-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TOR op OpenSolaris</title>
		<link>http://blog.dailystuff.nl/2009/09/tor-op-opensolaris/</link>
		<comments>http://blog.dailystuff.nl/2009/09/tor-op-opensolaris/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 21:35:27 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Privacy & veiligheid]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[TOR]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=871</guid>
		<description><![CDATA[Sun Solaris is een platform met een militairniveau van beveiliging en nog veel maar. Met de komst van OpenSolaris en SourceJuicer lijkt het platform opener te voor wat gebruikers daadwerkelijk op hun platform willen. Zo ook met TOR, the onion router, en privoxy. Beide kunnen samen worden gebruikt om anoniemer te surfen op Internet en [...]]]></description>
			<content:encoded><![CDATA[<p>Sun Solaris is een platform met een militairniveau van beveiliging en nog veel maar. Met de komst van <a href="http://www.opensolaris.com/">OpenSolaris</a> en SourceJuicer lijkt het platform opener te voor wat gebruikers daadwerkelijk op hun platform willen. Zo ook met <a href="https://www.torproject.org/">TOR</a>, the onion router, en privoxy. Beide kunnen samen worden gebruikt om anoniemer te surfen op Internet en zijn ook beschikbaar in OpenSolaris.<br />
<code><br />
$ pfexec pkg install SUNWtor SUNWprivoxy<br />
</code><br />
Voeg aan <em>/etc/privoxy/config</em> de volgende regel toe (inclusief de laatste punt):<br />
<code><br />
forward-socks4a / 127.0.0.1:9050 .<br />
</code><br />
Enable de juiste services:<br />
<code><br />
$ svcadm enable tor privoxy<br />
</code><br />
Vanaf dit moment kun je gebruik maken van het TOR-netwerk door bv de <a href="https://www.torproject.org/torbutton/">Torbutton</a> toe te voegen aan FireFox. Deze addon maakt het mogelijk om snel te switchen tussen het wel of niet gebruiken van het TOR-netwerk. Dit is nodig om vertrouwen te krijgen en te kijken waarvoor het te gebruiken ipv direct op te nemen in de globale proxysetttings.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/09/tor-op-opensolaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timeouts in IPS</title>
		<link>http://blog.dailystuff.nl/2009/08/timeouts-in-ips/</link>
		<comments>http://blog.dailystuff.nl/2009/08/timeouts-in-ips/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 13:24:28 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[IPS]]></category>
		<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=849</guid>
		<description><![CDATA[Nu SXCE in oktober ter ziele gaat is de tijd gekomen om dieper in OpenSolaris te duiken en te zien hoe de volgende Sun Solaris release eruit gaat zien. Een van de grootste wijzigingen is de introductie van IPS om SVR4-packaging te vervangen. Aangezien nog veel software in SourceJuicer mist werd het dus ook tijd [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.opensolaris.com/"><img src="/wp-content/uploads//2009/05/opensolaris_logo_trans.png" alt="OpenSolaris" title="OpenSolaris" width="181" height="51" class="alignright size-full wp-image-796" /></a>Nu <a href="http://blog.dailystuff.nl/2009/08/sxce-ter-ziele/">SXCE in oktober ter ziele</a> gaat is de tijd gekomen om dieper in <a href="http://www.opensolaris.com/">OpenSolaris</a> te duiken en te zien hoe de volgende Sun Solaris release eruit gaat zien. Een van de grootste wijzigingen is de introductie van <a href="http://opensolaris.org/os/project/pkg/">IPS</a> om SVR4-packaging te vervangen. Aangezien nog veel software in SourceJuicer mist werd het dus ook tijd om zelf te gaan compileren en bij het installeren van SunStudio bleeft de installer constant dezelfde file opnieuw ophalen. Het commando zelf is redelijk simpel en er lijkt weinig in te stellen.<br />
<code><br />
$ pfexec pkg install sunstudio<br />
</code><br />
Het probleem deed zich ook voor bij OpenDS en VirtualBox. Bij wat testen kon ik zelf de benodigde bestanden wel goed ophalen. Na wat zoeken en wat vragen op <a href="http://nl.wikipedia.org/wiki/Internet_Relay_Chat">IRC</a> kwam de volgende <a href="http://defect.opensolaris.org/bz/show_bug.cgi?id=3605">bug</a> naar voren, maar ook een oplossing. Na wat verder zoeken lijkt deze bug voort te komen uit het feit dat ze een timeout hebben toegevoegd voor machines die verbinding verliezen met hun repositories.<br />
<code><br />
$ PKG_CLIENT_TIMEOUT=900 pfexec pkg install sunstudio<br />
</code><br />
Dit kan natuurlijk ook worden losgetrokken en het plaatsen van deze timeout in je ~/.profile zorgt ervoor dat het voor elk pkg commando werkt die je uitvoert.<br />
<code><br />
$ export PKG_CLIENT_TIMEOUT=900<br />
$ pfexec pkg install sunstudio<br />
$ pfexec pkg install opends<br />
</code><br />
Tijd om eens wat verder in OpenSolaris te duiken de komende maanden, want de stap van Solaris 9 naar 10 was al redelijk groot, maar van 10 naar 11 zal misschien nog wel groter worden.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/08/timeouts-in-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NLOSUG meeting on July 2th 2009</title>
		<link>http://blog.dailystuff.nl/2009/06/nlosug-meeting-on-july-2th-2009/</link>
		<comments>http://blog.dailystuff.nl/2009/06/nlosug-meeting-on-july-2th-2009/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 00:05:00 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[NLOSUG]]></category>
		<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=833</guid>
		<description><![CDATA[Next Thursday there will be a next meeting of the Dutch section of the OpenSolaris User Group. Snow will host this event and with OpenSolaris on USB it may become a nice meeting for a lot of new users. Hopefully there will be another CAcert signing session, but it is not on the schedule right [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nlosug.org/"><img class="alignright size-full wp-image-832" title="OpenSolaris User Group" src="/wp-content/uploads//2009/06/user_group_blk_180.gif" alt="OpenSolaris User Group" width="180" height="60" /></a>Next Thursday there will be a <a href="http://www.sun-evenementen.nl/nlosug/index.php" class="broken_link">next meeting</a> of the Dutch section of the <a href="http://www.opensolaris.org/">OpenSolaris</a> User Group. Snow will host this event and with OpenSolaris on USB it may become a nice meeting for a lot of new users.</p>
<p>Hopefully there will be another CAcert signing session, but it is not on the schedule right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/06/nlosug-meeting-on-july-2th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris 2009.06</title>
		<link>http://blog.dailystuff.nl/2009/06/opensolaris-200906/</link>
		<comments>http://blog.dailystuff.nl/2009/06/opensolaris-200906/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 23:20:23 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[IPS]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=804</guid>
		<description><![CDATA[During CommunityOne 2009 Sun Microsystems released OpenSolaris 2009.06 and Open HA Cluster 2009.06. With this release comes an improved Time Slider, support for the Intel Nehalem processor, integration of project Crossbow, SourceJuicer and much more. First the upgrade from a previous version of OpenSolaris is very simple. The commands below should be enough to upgrade [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.opensolaris.com/"><img class="size-full wp-image-796 alignright" title="OpenSolaris logo" src="/wp-content/uploads/2009/05/opensolaris_logo_trans.png" alt="OpenSolaris" width="181" height="51" /></a>During <a href="http://www.sun.com/events/communityonewest/index.jsp">CommunityOne 2009</a> Sun Microsystems released OpenSolaris 2009.06 and Open HA Cluster 2009.06. With this release comes an improved Time Slider, support for the Intel Nehalem processor, integration of project Crossbow, SourceJuicer and much more.</p>
<p>First the upgrade from a previous version of OpenSolaris is very simple. The commands below should be enough to upgrade to version 2009.06 and would only depend on your download speed.<br />
<code><br />
$ pfexec pkg refresh --full<br />
$ pfexec pkg install SUNWipkg<br />
$ pfexec pkg image-update --be-name opensolaris-200906<br />
</code><br />
After the reboot you can see which environments there are and which one is active now or will be active after the next reboot.<br />
<code><br />
$ beadm list<br />
BE            Active Mountpoint Space  Policy Created<br />
--            ------ ---------- -----  ------ -------<br />
opensolaris   -      -          72.79M static 2009-05-30 02:00<br />
opensolaris-200906 NR     /          7.35G  static 2009-05-30 11:22<br />
$ uname -a<br />
SunOS homer 5.11 snv_111b i86pc i386 i86pc Solaris<br />
</code><br />
The machine is now up and running with the latest stable release. So the next couple of weeks I&#8217;m going to experiment with a lot of new things like SourceJuicer and Crossbow to get a feeling for them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/06/opensolaris-200906/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris 2008.11 with ZFS-mirroring</title>
		<link>http://blog.dailystuff.nl/2009/05/opensolaris-200811-with-zfs-mirroring/</link>
		<comments>http://blog.dailystuff.nl/2009/05/opensolaris-200811-with-zfs-mirroring/#comments</comments>
		<pubDate>Sat, 30 May 2009 11:38:01 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Internet, Unix en security]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFSboot]]></category>

		<guid isPermaLink="false">http://blog.dailystuff.nl/?p=792</guid>
		<description><![CDATA[Both Sun Solaris and OpenSolaris now support ZFSboot which allows you to have your operating system on a ZFS-pool. Also the text-installer for Sun Solaris lets you define if you want your ZFSboot device to be mirrored, but with the OpenSolaris installer this option isn&#8217;t given and with the default options it isn&#8217;t even possible. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.opensolaris.com/"><img class="size-full wp-image-796 alignright" title="opensolaris_logo_trans" src="/wp-content/uploads//2009/05/opensolaris_logo_trans.png" alt="OpenSolaris" width="181" height="51" /></a>Both Sun Solaris and <a href="http://www.opensolaris.com/">OpenSolaris</a> now support <a href="http://opensolaris.org/os/community/zfs/boot/">ZFSboot</a> which allows you to have your operating system on a ZFS-pool. Also the text-installer for Sun Solaris lets you define if you want your ZFSboot device to be mirrored, but with the OpenSolaris installer this option isn&#8217;t given and with the default options it isn&#8217;t even possible. This due to selection of the whole disk option for ZFS which appears to be a wise option for people who know ZFS. The truth is that you need to select Solaris partitions during installation if you want your ZFSboot environment to support mirroring.</p>
<p>After OpenSolaris has been installed you can turn on mirroring as in the good old days with SVM. The first step it get the VTOC the same on both disks.<br />
<code><br />
$ pfexec prtvtoc /dev/rdsk/c3d0s2 | pfexec fmthard -s - /dev/rdsk/c4d1s2<br />
fmthard:  New volume table of contents now in place.<br />
</code><br />
ZFS can be tolled to create a mirror and the resilvering starts.<br />
<code><br />
$ pfexec zpool attach -f c3d0s0 c4d1s0<br />
</code><br />
Now the last step is to install <a href="http://www.gnu.org/software/grub/">GRUB</a> on the second disk.<br />
<code><br />
$ pfexec installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4d1s0<br />
</code><br />
Afterwards I did a scrub to make sure the data on both disks was correct and the following output confirms I have mirrored my two disks.<br />
<code><br />
$ zpool status<br />
pool: rpool<br />
state: ONLINE<br />
scrub: scrub completed after 0h5m with 0 errors on Sat May 30 11:50:12 2009<br />
config:<br />
NAME        STATE     READ WRITE CKSUM<br />
rpool       ONLINE       0     0     0<br />
mirror    ONLINE       0     0     0<br />
c3d0s0  ONLINE       0     0     0<br />
c4d1s0  ONLINE       0     0     0<br />
errors: No known data errors<br />
</code><br />
You&#8217;re ready to go and as long as you do a scrub on a regular basis the zpool should stay a safe place to store your data.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dailystuff.nl/2009/05/opensolaris-200811-with-zfs-mirroring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

