<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C04FR30zeCp7ImA9WhRaFEw.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386</id><updated>2012-02-16T09:05:16.380-08:00</updated><title>The Blog of Andrzej Szeszo</title><subtitle type="html">Solaris, VMware, Open Source</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://aszeszo.blogspot.com/" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/aszeszo" /><feedburner:info uri="aszeszo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkMDQn09cCp7ImA9WhdaFUk.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-5411953392486019044</id><published>2011-10-25T03:43:00.000-07:00</published><updated>2011-10-25T04:01:13.368-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-25T04:01:13.368-07:00</app:edited><title>Sun ILOM fix for modern Firefox browsers</title><content type="html">Sun ILOMs are unusable in modern Firefox browsers. iframes with buttons and drop-down menus are not visible possibly because of some JavaScript bug. As a workaround, you can install &lt;a href="https://addons.mozilla.org/firefox/addon/stylish/"&gt;Stylish&lt;/a&gt; extension and create new style using the code below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@namespace url(http://www.w3.org/1999/xhtml);&lt;br /&gt;&lt;br /&gt;#mainpage {&lt;br /&gt;    visibility: visible !important;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can also use @-moz-document rule to specify which pages the style is going to be used on. More info &lt;a href="https://developer.mozilla.org/en/CSS/@-moz-document"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@namespace url(http://www.w3.org/1999/xhtml);&lt;br /&gt;&lt;br /&gt;@-moz-document regexp("^https://10\.8\..*") {&lt;br /&gt;    #mainpage {&lt;br /&gt;        visibility: visible !important;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-5411953392486019044?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/y_LKjfzbwVI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/5411953392486019044/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2011/10/sun-ilom-fix-for-modern-firefox.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/5411953392486019044?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/5411953392486019044?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/y_LKjfzbwVI/sun-ilom-fix-for-modern-firefox.html" title="Sun ILOM fix for modern Firefox browsers" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2011/10/sun-ilom-fix-for-modern-firefox.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AFSHg4fip7ImA9WxBQEkU.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-2318044689342928805</id><published>2010-01-12T01:36:00.000-08:00</published><updated>2010-01-12T01:48:39.636-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-12T01:48:39.636-08:00</app:edited><title>SXCE 130 is available for download</title><content type="html">According to &lt;a href="http://opensolaris.org/jive/thread.jspa?threadID=121181"&gt;this post&lt;/a&gt; build 130 is going to be the final build of Solaris Express: Community Edition. Get it while you can as the downloads will be removed after two weeks (including previous builds).&lt;br /&gt;&lt;br /&gt;SXCE Build 130: &lt;a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sol-Express_b130-SEG-x86-SP-G-B@CDS-CDS_SMI"&gt;DVD&lt;/a&gt;, &lt;a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sol-Express_b130-FULL-x86-SP-G-B@CDS-CDS_SMI"&gt;DVD (Single Image)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-2318044689342928805?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/lIClEHkPcbQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/2318044689342928805/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2010/01/sxce-130-is-available-for-download.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/2318044689342928805?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/2318044689342928805?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/lIClEHkPcbQ/sxce-130-is-available-for-download.html" title="SXCE 130 is available for download" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2010/01/sxce-130-is-available-for-download.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMMQng-cCp7ImA9WxNaEUk.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-7595198724535398835</id><published>2009-11-25T01:34:00.000-08:00</published><updated>2009-11-25T03:28:03.658-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-25T03:28:03.658-08:00</app:edited><title>ZFS Deduplication</title><content type="html">&lt;div style="text-align: justify;"&gt;People who don't want to wait for &lt;a href="http://hub.opensolaris.org/bin/view/Main/downloads"&gt;Solaris Express Community Edition&lt;/a&gt; b129 or &lt;a href="http://pkg.opensolaris.org/dev/"&gt;OpenSolaris dev repository&lt;/a&gt; to be updated to b129 (&lt;a href="http://mail.opensolaris.org/pipermail/opensolaris-announce/2009-November/001338.html"&gt;b128 is not going to be released&lt;/a&gt;) can easily try ZFS deduplication now.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Blindingly Fast Upgrade (BFU) archives for build 128 are available &lt;a href="http://dlc.sun.com/osol/on/downloads/b128/"&gt;here&lt;/a&gt; now. These archives are used mainly by the developers but we can use them easily for testing as well. Please note that your OpenSolaris installation is not going to be consistent after BFU'ing from the pkg(1)'s point of view. It is likely that &lt;code&gt;pkg image-update&lt;/code&gt; will not be able to upgrade such system in the future. Be prepared to re-install your system. I usually try new archives in unimportant VirtualBox/VMware VMs. Here are the commands I have used to upgrade my test VM running OpenSolaris b127 to b128 (as root):&lt;br /&gt;&lt;/div&gt;&lt;code&gt;&lt;br /&gt;wget http://dlc.sun.com/osol/on/downloads/b128/SUNWonbld.i386.tar.bz2&lt;br /&gt;wget http://dlc.sun.com/osol/on/downloads/b128/on-bfu-nightly-osol-nd.i386.tar.bz2&lt;br /&gt;&lt;br /&gt;gtar jxf SUNWonbld.i386.tar.bz2&lt;br /&gt;pkgadd -d onbld SUNWonbld&lt;br /&gt;gtar jxf on-bfu-nightly-osol-nd.i386.tar.bz2&lt;br /&gt;&lt;br /&gt;export FASTFS=/opt/onbld/bin/i386/fastfs&lt;br /&gt;export BFULD=/opt/onbld/bin/i386/bfuld&lt;br /&gt;export GZIPBIN=/usr/bin/gzip&lt;br /&gt;export PATH=/opt/onbld/bin:/opt/onbld/bin/i386:$PATH&lt;br /&gt;&lt;br /&gt;bfu `pwd`/archives-nightly-osol-nd/i386&lt;br /&gt;&lt;br /&gt;/opt/onbld/bin/acr&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Reboot the machine. Newly booted system will have deduplication support. To try ZFS deduplication you can either create new pool (that's what I did) or upgrade 'rpool' zpool's format:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;code&gt;zpool upgrade rpool&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let's enable deduplication:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;code&gt;zfs set dedup=on tank&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And run some tests:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# for i in 0 1 2 3 4 5 6 7 8 9; do zfs create tank/fs$i; done&lt;br /&gt;# for i in 0 1 2 3 4 5 6 7 8 9; do gtar jxf /root/on-bfu-nightly-osol-nd.i386.tar.bz2 -C /tank/fs$i; done&lt;br /&gt;&lt;br /&gt;# zfs list -r tank&lt;br /&gt;NAME       USED  AVAIL  REFER  MOUNTPOINT&lt;br /&gt;tank      3.90G  77.8G    33K  /tank&lt;br /&gt;tank/fs0   399M  77.8G   399M  /tank/fs0&lt;br /&gt;tank/fs1   399M  77.8G   399M  /tank/fs1&lt;br /&gt;tank/fs2   399M  77.8G   399M  /tank/fs2&lt;br /&gt;tank/fs3   399M  77.8G   399M  /tank/fs3&lt;br /&gt;tank/fs4   399M  77.8G   399M  /tank/fs4&lt;br /&gt;tank/fs5   399M  77.8G   399M  /tank/fs5&lt;br /&gt;tank/fs6   399M  77.8G   399M  /tank/fs6&lt;br /&gt;tank/fs7   399M  77.8G   399M  /tank/fs7&lt;br /&gt;tank/fs8   399M  77.8G   399M  /tank/fs8&lt;br /&gt;tank/fs9   399M  77.8G   399M  /tank/fs9&lt;br /&gt;&lt;br /&gt;# zpool list tank&lt;br /&gt;NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT&lt;br /&gt;tank  79.5G   404M  79.1G     0%  10.00x  ONLINE  -&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Tarball extracted ten times and only 404MB of disk space allocated. 10x deduplication ratio. Nice. This gets even more interesting after enabling compression:&lt;br /&gt;&lt;/div&gt;&lt;code&gt;&lt;br /&gt;# zfs get dedup,compression tank&lt;br /&gt;NAME  PROPERTY     VALUE             SOURCE&lt;br /&gt;tank  dedup        on                local&lt;br /&gt;tank  compression  on                local&lt;br /&gt;&lt;br /&gt;# zfs list -r tank&lt;br /&gt;NAME       USED  AVAIL  REFER  MOUNTPOINT&lt;br /&gt;tank      2.28G  78.0G    33K  /tank&lt;br /&gt;tank/fs0   234M  78.0G   234M  /tank/fs0&lt;br /&gt;tank/fs1   234M  78.0G   234M  /tank/fs1&lt;br /&gt;tank/fs2   234M  78.0G   234M  /tank/fs2&lt;br /&gt;tank/fs3   234M  78.0G   234M  /tank/fs3&lt;br /&gt;tank/fs4   234M  78.0G   234M  /tank/fs4&lt;br /&gt;tank/fs5   234M  78.0G   234M  /tank/fs5&lt;br /&gt;tank/fs6   234M  78.0G   234M  /tank/fs6&lt;br /&gt;tank/fs7   234M  78.0G   234M  /tank/fs7&lt;br /&gt;tank/fs8   234M  78.0G   234M  /tank/fs8&lt;br /&gt;tank/fs9   234M  78.0G   234M  /tank/fs9&lt;br /&gt;&lt;br /&gt;# zpool list tank&lt;br /&gt;NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT&lt;br /&gt;tank  79.5G   239M  79.3G     0%  10.00x  ONLINE  -&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;239MB allocated. Excellent!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-7595198724535398835?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/kmVfoyRhQN8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/7595198724535398835/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2009/11/zfs-deduplication.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/7595198724535398835?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/7595198724535398835?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/kmVfoyRhQN8/zfs-deduplication.html" title="ZFS Deduplication" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2009/11/zfs-deduplication.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYMQ3s9cSp7ImA9WxNaEEw.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-8263078768567736635</id><published>2009-08-20T12:50:00.000-07:00</published><updated>2009-11-23T13:53:02.569-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-23T13:53:02.569-08:00</app:edited><title>pxegrub 'No Ethernet Card Found' error</title><content type="html">Some BIOSes are able to load pxegrub but then report 'No Ethernet Card Found' error. I was getting this error on my test machine (ASUS M3N78-VM motherboard with AMIBIOS). I have found a great explanation and solution here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://opensolaris.org/jive/thread.jspa?messageID=377026"&gt;http://opensolaris.org/jive/thread.jspa?messageID=377026&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can find pxegrub I have compiled from OpenSolaris sources some time ago &lt;a href="http://aszeszo.googlepages.com/pxegrub"&gt;here&lt;/a&gt;. I have commented out gateA20_set() call in netboot/undi.c file before compiling.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-8263078768567736635?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/NgTiicQWXoM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/8263078768567736635/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2009/08/pxegrub-no-ethernet-card-found-error.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/8263078768567736635?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/8263078768567736635?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/NgTiicQWXoM/pxegrub-no-ethernet-card-found-error.html" title="pxegrub 'No Ethernet Card Found' error" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2009/08/pxegrub-no-ethernet-card-found-error.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QER3g6fSp7ImA9WxNTE0g.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-8615513981928725888</id><published>2009-08-15T08:37:00.000-07:00</published><updated>2009-08-15T09:55:06.615-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-15T09:55:06.615-07:00</app:edited><title>My take on Google server tray</title><content type="html">For some time I wanted to have a dedicated test machine at home. I had only few requirements - I wanted a 64-bit CPU, 8GB RAM and network adapter that is using drivers that are present in OpenSolaris and VMware ESXi.&lt;br /&gt;&lt;br /&gt;After looking at various dmesg outputs online I have selected ASUS M3N78-VM motherboard. The motherboard is using forcedeth driver on Linux for the network adapter. I knew that OpenSolaris had nge driver and VMware ESXi 3.5 had forcedeth driver for nForce Ethernet adapters so I thought that it was a safe choice. If not supported out of the box the drivers would require very little modification to get them working. The motherboard has an integrated video adapter which is a bonus.&lt;br /&gt;&lt;br /&gt;For the CPU I have selected AMD Athlon X2 7850 Black Edition processor. It is obviously a 64-bit CPU and has virtualization extensions. It also comes with a heatsink in&lt;br /&gt;the retail box.&lt;br /&gt;&lt;br /&gt;I used Crucial to get 8GB of RAM and Amazon to get a power supply.&lt;br /&gt;&lt;br /&gt;I really liked &lt;a href="http://www.youtube.com/watch?v=J139Aelaf0g"&gt;Google's approach to their servers&lt;/a&gt; and thought that I could do something similar. I went to a local Ryman stationery store and purchased two transparent document trays. Motherboard fits nicely into one of them. I am using the second one for the HDDs.&lt;br /&gt;&lt;br /&gt;Here is the final result:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/__XpxD9z_hzY/Sobj2mqhIhI/AAAAAAAADAc/UQ0PDo2ZiWQ/s1600-h/DSC_0013.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 213px;" src="http://4.bp.blogspot.com/__XpxD9z_hzY/Sobj2mqhIhI/AAAAAAAADAc/UQ0PDo2ZiWQ/s320/DSC_0013.JPG" alt="" id="BLOGGER_PHOTO_ID_5370230132917215762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had an old drive I was going to use with this machine and I was looking to use PXE boot/USB sticks for OS installations so optical drive was not required. All the parts came down to roughly to £230 with shipping:&lt;br /&gt;&lt;br /&gt;AMD Athlon X2 7850 Black Edition: £55&lt;br /&gt;ASUS M3N78-VM: £55&lt;br /&gt;WinPower 600W Power Supply: £19&lt;br /&gt;8GB RAM from Crucial: £80&lt;br /&gt;Transparent document trays from Ryman: £6&lt;br /&gt;&lt;br /&gt;Not a lot as for 8GB machine in my opinion :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-8615513981928725888?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/CZgJ4iwnu7c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/8615513981928725888/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2009/08/my-take-on-google-server-tray.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/8615513981928725888?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/8615513981928725888?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/CZgJ4iwnu7c/my-take-on-google-server-tray.html" title="My take on Google server tray" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/__XpxD9z_hzY/Sobj2mqhIhI/AAAAAAAADAc/UQ0PDo2ZiWQ/s72-c/DSC_0013.JPG" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2009/08/my-take-on-google-server-tray.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IFSHo7eyp7ImA9WxJbF04.&quot;"><id>tag:blogger.com,1999:blog-4482814471502265386.post-7542219025995663086</id><published>2009-07-27T14:27:00.000-07:00</published><updated>2009-07-27T15:58:39.403-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-27T15:58:39.403-07:00</app:edited><title>IPS repository mirror script</title><content type="html">&lt;a href="http://aszeszo.googlepages.com/ips-mirror.py"&gt;ips-mirror.py&lt;/a&gt; is a  succesor to my IPS repository mirror script I have put together last year (&lt;a href="http://opensolaris.org/jive/thread.jspa?threadID=69493"&gt;indiana-discuss thread&lt;/a&gt;). I wrote the script in Python this time. It can mirror whole repositories or just parts of them now. It is possible to limit the architecture of the mirrored files now as well. Few interesting use cases:&lt;br /&gt;&lt;br /&gt;You can mirror the whole OpenSolaris dev repository if you like. I don't recommend it as there are over 30GB of files to download :). It is doable though:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;mkdir $HOME/dev; cd $HOME/dev&lt;br /&gt;ips-mirror.py http://pkg.opensolaris.org/dev/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After the script has done its job, which can take few days in this case, you want to run pkg.depotd with the --rebuild parameter.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;/usr/lib/pkg.depotd -d `pwd` -p 10000 --rebuild&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;pkg.depotd will generate a catalog from the manifests in the pkg directory and start serving the packages. It will also generate search indexes which can take a while.&lt;br /&gt;&lt;br /&gt;Mirroring the OpenSolaris 2009.06 release packages for i386:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;ips-mirror.py -r 5.11-0.111 -s -a i386 http://pkg.opensolaris.org/release/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mirroring the latest OpenSolaris packages for i386 from the dev repository:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;ips-mirror.py -l -a i386 http://pkg.opensolaris.org/dev/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is also possible to mirror repositories over https with connection specific certificate and the key:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;ips-mirror.py -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem -k /var/pkg/ssl/OpenSolaris_extras.key.pem https://pkg.sun.com/opensolaris/extra/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4482814471502265386-7542219025995663086?l=aszeszo.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/aszeszo/~4/idZyKPkcS9A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://aszeszo.blogspot.com/feeds/7542219025995663086/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://aszeszo.blogspot.com/2009/07/ips-repository-mirror-script_27.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/7542219025995663086?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4482814471502265386/posts/default/7542219025995663086?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/aszeszo/~3/idZyKPkcS9A/ips-repository-mirror-script_27.html" title="IPS repository mirror script" /><author><name>aszeszo</name><uri>http://www.blogger.com/profile/03456881853711879530</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>4</thr:total><feedburner:origLink>http://aszeszo.blogspot.com/2009/07/ips-repository-mirror-script_27.html</feedburner:origLink></entry></feed>

