<?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>Clemmm geek zone</title>
	<atom:link href="http://blog.clemmm.com/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.clemmm.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 04 May 2010 14:04:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Ajouter le log et le cache au pool</title>
		<link>http://blog.clemmm.com/index.php/archives/17</link>
		<comments>http://blog.clemmm.com/index.php/archives/17#comments</comments>
		<pubDate>Tue, 04 May 2010 14:04:09 +0000</pubDate>
		<dc:creator>clemmm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.clemmm.com/?p=17</guid>
		<description><![CDATA[Pour Ajouter les deux partition des ssd : # zpool add -f pool log mirror c5t4d0s3 c5t5d0s3 # zpool add -f pool cache c5t4d0s4 c5t5d0s4 # zpool status   pool: pool  state: ONLINE  scrub: none requested config:         NAME          STATE     READ WRITE CKSUM         pool   [...]]]></description>
			<content:encoded><![CDATA[<p>Pour Ajouter les deux partition des ssd :</p>
<pre>
<div id="_mcePaste"># zpool add -f pool log mirror c5t4d0s3 c5t5d0s3</div>
<div id="_mcePaste"># zpool add -f pool cache c5t4d0s4 c5t5d0s4</div>
<div id="_mcePaste"># zpool status</div>
<div id="_mcePaste">  pool: pool</div>
<div id="_mcePaste"> state: ONLINE</div>
<div id="_mcePaste"> scrub: none requested</div>
<div id="_mcePaste">config:</div>
<div id="_mcePaste">        NAME          STATE     READ WRITE CKSUM</div>
<div id="_mcePaste">        pool          ONLINE       0     0     0</div>
<div id="_mcePaste">          raidz1-0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c6t4d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c6t5d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c6t6d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c6t7d0    ONLINE       0     0     0</div>
<div id="_mcePaste">          raidz1-1    ONLINE       0     0     0</div>
<div id="_mcePaste">            c4t4d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c4t5d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c4t6d0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c4t7d0    ONLINE       0     0     0</div>
<div id="_mcePaste">        logs</div>
<div id="_mcePaste">          mirror-2    ONLINE       0     0     0</div>
<div id="_mcePaste">            c5t4d0s3  ONLINE       0     0     0</div>
<div id="_mcePaste">            c5t5d0s3  ONLINE       0     0     0</div>
<div id="_mcePaste">        cache</div>
<div id="_mcePaste">          c5t4d0s4    ONLINE       0     0     0</div>
<div id="_mcePaste">          c5t5d0s4    ONLINE       0     0     0</div>
<div id="_mcePaste">errors: No known data errors</div>
<div id="_mcePaste">  pool: rpool</div>
<div id="_mcePaste"> state: ONLINE</div>
<div id="_mcePaste"> scrub: none requested</div>
<div id="_mcePaste">config:</div>
<div id="_mcePaste">        NAME          STATE     READ WRITE CKSUM</div>
<div id="_mcePaste">        rpool         ONLINE       0     0     0</div>
<div id="_mcePaste">          mirror-0    ONLINE       0     0     0</div>
<div id="_mcePaste">            c5t4d0s0  ONLINE       0     0     0</div>
<div id="_mcePaste">            c5t5d0s0  ONLINE       0     0     0</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.clemmm.com/index.php/archives/17/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensolaris Proftpd avec Mysql</title>
		<link>http://blog.clemmm.com/index.php/archives/12</link>
		<comments>http://blog.clemmm.com/index.php/archives/12#comments</comments>
		<pubDate>Tue, 04 May 2010 12:35:13 +0000</pubDate>
		<dc:creator>clemmm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.clemmm.com/?p=12</guid>
		<description><![CDATA[cd /tmp/ wget ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/ftp/distrib/source/proftpd-1.3.3.tar.bz2 tar -xvf proftpd-1.3.3.tar.bz2 cd proftpd-1.3.3 ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/mysql/5.1/include/mysql --with-libraries=/usr/mysql/5.1/lib/mysql make make install ln -s /usr/mysql/5.1/lib/mysql/libmysqlclient.so.16 /lib/libmysqlclient.so.16 /usr/local/sbin/proftpd]]></description>
			<content:encoded><![CDATA[<pre>cd /tmp/</pre>
<pre>wget ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/ftp/distrib/source/proftpd-1.3.3.tar.bz2</pre>
<pre>tar -xvf proftpd-1.3.3.tar.bz2</pre>
<pre>cd proftpd-1.3.3</pre>
<pre>./configure --with-modules=mod_sql:mod_sql_mysql  --with-includes=/usr/mysql/5.1/include/mysql --with-libraries=/usr/mysql/5.1/lib/mysql</pre>
<pre>
<div>make</div>
<div>make install</div>
<div>ln -s /usr/mysql/5.1/lib/mysql/libmysqlclient.so.16 /lib/libmysqlclient.so.16</div>
<div>/usr/local/sbin/proftpd</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.clemmm.com/index.php/archives/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clonner le rpool d&#8217;un OpenSolaris</title>
		<link>http://blog.clemmm.com/index.php/archives/4</link>
		<comments>http://blog.clemmm.com/index.php/archives/4#comments</comments>
		<pubDate>Tue, 04 May 2010 10:34:01 +0000</pubDate>
		<dc:creator>clemmm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.clemmm.com/?p=4</guid>
		<description><![CDATA[Dans ma configuration j&#8217;ai un ssd de 40 Go : c5t4d0 &#60;DEFAULT cyl 4862 alt 2 hd 255 sec 63&#62; et deux nouveaux ssd de 80 Go : c5t3d0 &#60;ATA-INTEL SSDSA2M080-02HD-74.53GB&#62; c5t5d0 &#60;ATA-INTEL SSDSA2M080-02HD-74.53GB&#62; Le but et d&#8217;avoir les deux ssd de 80 go avec un miroir de 40 go de la partition de boot, [...]]]></description>
			<content:encoded><![CDATA[<p>Dans ma configuration j&#8217;ai un ssd de 40 Go :</p>
<p>c5t4d0 &lt;DEFAULT cyl 4862 alt 2 hd 255 sec 63&gt;</p>
<pre>et deux nouveaux ssd de 80 Go :</pre>
<pre>c5t3d0 &lt;ATA-INTEL SSDSA2M080-02HD-74.53GB&gt;</pre>
<pre>c5t5d0 &lt;ATA-INTEL SSDSA2M080-02HD-74.53GB&gt;</pre>
<p>Le but et d&#8217;avoir les deux ssd de 80 go avec un miroir de 40 go de la partition de boot, puis 6 go de miroir de pour le zlogs puis le reste en stripping pour le cache.</p>
<pre style="text-align: justify;"># format</pre>
<pre style="text-align: justify;">Searching for disks...done</pre>
<pre style="text-align: justify;">c5t3d0: configured with capacity of 74.51GB</pre>
<pre style="text-align: justify;">c5t5d0: configured with capacity of 74.51GB</pre>
<pre style="text-align: justify;">AVAILABLE DISK SELECTIONS:</pre>
<pre style="text-align: justify;">[...]</pre>
<pre style="text-align: justify;">4. c5t3d0 &lt;ATA-INTELSSDSA2M080-02HD cyl 9727 alt 2 hd 255 sec 63&gt;</pre>
<pre style="text-align: justify;">/pci@0,0/pci15d9,f580@1f,2/disk@3,0</pre>
<pre style="text-align: justify;">5. c5t4d0 &lt;DEFAULT cyl 4862 alt 2 hd 255 sec 63&gt;</pre>
<pre style="text-align: justify;">/pci@0,0/pci15d9,f580@1f,2/disk@4,0</pre>
<pre style="text-align: justify;">6. c5t5d0 &lt;ATA-INTELSSDSA2M080-02HD cyl 9727 alt 2 hd 255 sec 63&gt;</pre>
<pre style="text-align: justify;">/pci@0,0/pci15d9,f580@1f,2/disk@5,0</pre>
<pre style="text-align: justify;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace; text-align: justify;">[...]</pre>
<p></span></pre>
<pre style="text-align: justify;">Specify disk (enter its number): 4</pre>
<pre style="text-align: justify;">[disk formatted]
No Solaris fdisk partition found.</pre>
<pre style="text-align: justify;">format&gt; fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y</pre>
<pre style="text-align: justify;">format&gt; partition</pre>
<pre style="text-align: justify;">partition&gt; modify
Select partitioning base:
        0. Current partition table (original)
        1. All Free Hog
Choose base (enter number) [0]? 1

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       0               0         (0/0/0)            0
  1       swap    wu       0               0         (0/0/0)            0
  2     backup    wu       0 - 9725       74.50GB    (9726/0/0) 156248190
  3 unassigned    wm       0               0         (0/0/0)            0
  4 unassigned    wm       0               0         (0/0/0)            0
  5 unassigned    wm       0               0         (0/0/0)            0
  6        usr    wm       0               0         (0/0/0)            0
  7 unassigned    wm       0               0         (0/0/0)            0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
  9 alternates    wm       0               0         (0/0/0)            0

Do you wish to continue creating a new partition
table based on above table[yes]? yes
Free Hog partition[6]? 3
Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]: 37.24gb
Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]: 5gb
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]: 0
Enter size of partition '5' [0b, 0c, 0.00mb, 0.00gb]: 0
Enter size of partition '6' [0b, 0c, 0.00mb, 0.00gb]: 0
Enter size of partition '7' [0b, 0c, 0.00mb, 0.00gb]: 0

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       1 - 4862       37.24GB    (4862/0/0)  78108030
  1       swap    wu    4863 - 5515        5.00GB    (653/0/0)   10490445
  2     backup    wu       0 - 9725       74.50GB    (9726/0/0) 156248190
  3 unassigned    wm    5516 - 9725       32.25GB    (4210/0/0)  67633650
  4 unassigned    wm       0               0         (0/0/0)            0
  5 unassigned    wm       0               0         (0/0/0)            0
  6        usr    wm       0               0         (0/0/0)            0
  7 unassigned    wm       0               0         (0/0/0)            0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
  9 alternates    wm       0               0         (0/0/0)            0

Okay to make this the current partition table[yes]? yes
Enter table name (remember quotes): "bootclemmm"

Ready to label disk, continue? y</pre>
<div style="text-align: justify;">Onts a donc partitionné les deux disques, ont les &#8220;ataches&#8221; au zpool &#8220;rpool&#8221;</div>
<div style="text-align: justify;">
<pre>
<div id="_mcePaste"># zpool attach -f rpool c5t4d0s0 c5t3d0s0</div>
<div id="_mcePaste">Please be sure to invoke installgrub(1M) to make 'c5t3d0s0' bootable.</div>
<div id="_mcePaste">Make sure to wait until resilver is done before rebooting.</div>
<div id="_mcePaste"># zpool attach -f rpool c5t4d0s0 c5t5d0s0</div>
<div id="_mcePaste">Please be sure to invoke installgrub(1M) to make 'c5t5d0s0' bootable.</div>
<div id="_mcePaste">Make sure to wait until resilver is done before rebooting.</div>
<div id="_mcePaste"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Onts regarde la progression du miroir zpool "rpool"</span></div>
<div id="_mcePaste"># zpool status rpool
  pool: rpool
 state: ONLINE
 scrub: resilver completed after 0h2m with 0 errors on Mon May  3 11:04:22 2010
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror-0    ONLINE       0     0     0
            c5t4d0s0  ONLINE       0     0     0
            c5t3d0s0  ONLINE       0     0     0  10.6G resilvered
            c5t5d0s0  ONLINE       0     0     0  10.6G resilvered

errors: No known data errors</div>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Onts instale le boot grub sur les deux disques "rpool"</span></pre>
<p># installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t3d0s0<br />
Updating master boot sector destroys existing boot managers (if any).<br />
continue (y/n)?y<br />
stage1 written to partition 0 sector 0 (abs 16065)<br />
stage2 written to partition 0, 273 sectors starting at 50 (abs 16115)<br />
stage1 written to master boot sector</pre>
<pre># installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t5d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)?y
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 273 sectors starting at 50 (abs 16115)
stage1 written to master boot sector</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.clemmm.com/index.php/archives/4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

