<?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>Konopnickiej.Com Blog &#187; Debian</title>
	<atom:link href="http://blog.konopnickiej.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.konopnickiej.com</link>
	<description>...już nie tak bardzo informatycznie...</description>
	<lastBuildDate>Fri, 10 Jun 2011 17:54:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Samba mount error 12 = Cannot allocate memory</title>
		<link>http://blog.konopnickiej.com/2010/09/28/samba-mount-error-12-cannot-allocate-memory/</link>
		<comments>http://blog.konopnickiej.com/2010/09/28/samba-mount-error-12-cannot-allocate-memory/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 15:08:57 +0000</pubDate>
		<dc:creator>Paweł Wojciechowski</dc:creator>
				<category><![CDATA[Admin Zone]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://blog.konopnickiej.com/?p=210</guid>
		<description><![CDATA[1 2 3 4 Logi z Debiana: Status code returned 0xc0000205 NT_STATUS_INSUFF_SERVER_RESOURCES CIFS VFS: Send error in SessSetup = -12 CIFS VFS: cifs_mount failed w/return code = -12 http://support.microsoft.com/default.aspx?scid=kb;en-us;177078 &#8211; rozwiązanie (solution) To nie jest problem Linuxa.]]></description>
			<content:encoded><![CDATA[<p><strong> </strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="text" style="font-family:monospace;">Logi z Debiana:
Status code returned 0xc0000205 NT_STATUS_INSUFF_SERVER_RESOURCES
CIFS VFS: Send error in SessSetup = -12
CIFS VFS: cifs_mount failed w/return code = -12</pre></td></tr></table></div>

<p><a title="http://support.microsoft.com/default.aspx?scid=kb;en-us;177078 " rel="external nofollow" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;177078">http://support.microsoft.com/default.aspx?scid=kb;en-us;177078</a> &#8211; rozwiązanie (solution)</p>
<p>To nie jest problem Linuxa.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.konopnickiej.com/2010/09/28/samba-mount-error-12-cannot-allocate-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitorowanie kontrolera RAID firmy LSI Logic zainstalowanego w serwerze Dell PowerEdge 800.</title>
		<link>http://blog.konopnickiej.com/2009/06/02/monitorowanie-kontrolera-raid-firmy-lsi-logic-zainstalowanego-serwerze-dell-poweredge-800/</link>
		<comments>http://blog.konopnickiej.com/2009/06/02/monitorowanie-kontrolera-raid-firmy-lsi-logic-zainstalowanego-serwerze-dell-poweredge-800/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 12:40:43 +0000</pubDate>
		<dc:creator>Paweł Wojciechowski</dc:creator>
				<category><![CDATA[Admin Zone]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LSI]]></category>

		<guid isPermaLink="false">http://blog.konopnickiej.com/?p=127</guid>
		<description><![CDATA[Szukając w Internecie narzędzia, które monitorowało by stan działania dysków w jednym serwerów, natrafiłem na pakiet o nazwie mpt-status. Jest to proste narzędzie, składające się z programu oraz demona, monitorującego działanie kontrolerów RAID firmy LSI, wymienionych poniżej: LSI 1030 SCSI RAID LSI SAS1064 SCSI RAID LSI SAS1068 SCSI RAID LSI SAS 3442-R SCSI RAID Paczka [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-77" title="Linux" src="http://blog.konopnickiej.com/wp-content/uploads/2009/05/linux.jpg" alt="Linux" width="50" height="60" />Szukając w Internecie narzędzia, które monitorowało by stan działania dysków w jednym serwerów, natrafiłem na pakiet o nazwie <strong>mpt-status</strong>. Jest to proste narzędzie, składające się z programu oraz demona,  monitorującego działanie kontrolerów RAID firmy LSI, wymienionych poniżej:</p>
<blockquote>
<ul>
<li>LSI 1030 SCSI RAID</li>
<li>LSI SAS1064 SCSI RAID</li>
<li>LSI SAS1068 SCSI RAID</li>
<li>LSI SAS 3442-R SCSI RAID</li>
</ul>
</blockquote>
<p>Paczka zawarta jest w kilku linuksowych dystrybucjach. W Debianie instaluje się ją poleceniem:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mpt-status</pre></td></tr></table></div>

<p>Po zainstalowaniu program odpala się poleceniem:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">mpt-status</pre></td></tr></table></div>

<p>Przy pierwszym uruchomieniu może pojawić się informacja:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">open <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mptctl: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory
Try: <span style="color: #c20cb9; font-weight: bold;">mknod</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mptctl c <span style="color: #000000;">10</span> <span style="color: #000000;">220</span></pre></td></tr></table></div>

<p>Trzeba więc utworzyć plik reprezentujący urządzenie znakowe</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mknod</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mptctl c <span style="color: #000000;">10</span> <span style="color: #000000;">220</span></pre></td></tr></table></div>

<p>Zapomnieć nie można o załadowaniu modułu o nazwie <strong>mptctl</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">modprobe mptctl</pre></td></tr></table></div>

<p>Aby moduł ładował się automatycznie podczas startu systemu, dopisujemy linijkę do pliku <strong>/etc/modules</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#Plik /etc/modules/</span>
loop
mptclt</pre></td></tr></table></div>

<p>Jeżeli tego nie zrobimy, program nie będzie działał poprawnie, a demon zostawi komunikat w logach o <strong>„nieoptymalnym statusie kontrolerala RAID”.</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /var/log/messages</span>
Jun <span style="color: #000000;">2</span> 09:<span style="color: #000000;">38</span>:<span style="color: #000000;">47</span> hepa mpt-statusd: detected non-optimal RAID status
Jun <span style="color: #000000;">2</span> 09:<span style="color: #000000;">48</span>:<span style="color: #000000;">47</span> hepa mpt-statusd: detected non-optimal RAID status</pre></td></tr></table></div>

<p>Po załadowaniu <strong>mptctl</strong> i wydaniu polecenia <strong>mknod</strong> w logach powinny pojawić sie podobne informacje:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#/var/log/messages</span>
Jun <span style="color: #000000;">2</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">48</span>:<span style="color: #000000;">46</span> hepa kernel: Fusion MPT misc device <span style="color: #7a0874; font-weight: bold;">&#40;</span>ioctl<span style="color: #7a0874; font-weight: bold;">&#41;</span> driver 3.04.06
Jun <span style="color: #000000;">2</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">48</span>:<span style="color: #000000;">46</span> hepa kernel: mptctl: Registered with Fusion MPT base driver
Jun <span style="color: #000000;">2</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">48</span>:<span style="color: #000000;">46</span> hepa kernel: mptctl: <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mptctl <span style="color: #000000; font-weight: bold;">@</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>major,<span style="color: #007800;">minor</span>=<span style="color: #000000;">10</span>,<span style="color: #000000;">220</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></td></tr></table></div>

<p>Przykładowe informacje zwrócone przez polcenie <strong>mpt-status</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>hepa:~<span style="color: #666666; font-style: italic;"># mpt-status</span>
ioc0 vol_id <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">type</span> IM, <span style="color: #000000;">2</span> phy, <span style="color: #000000;">231</span> GB, state OPTIMAL, flags ENABLED
ioc0 phy <span style="color: #000000;">1</span> scsi_id <span style="color: #000000;">32</span> ATA ST3250620NS 3BKH, <span style="color: #000000;">232</span> GB, state ONLINE, flags NONE
ioc0 phy <span style="color: #000000;">0</span> scsi_id <span style="color: #000000;">1</span> ATA ST3250620NS 3BKH, <span style="color: #000000;">232</span> GB, state ONLINE, flags NONE</pre></td></tr></table></div>

<p>Kontroler w jednym z naszych serwerów to (Dell PowerEdge 800), według <strong>lspci -v</strong>, sprzęt prezentujący się następującą treścią:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">SCSI storage controller: LSI Logic <span style="color: #000000; font-weight: bold;">/</span> Symbios Logic SAS1068 PCI-X Fusion-MPT SAS <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">rev</span> 01<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Subsystem: Dell SAS <span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>iR Adapter RAID Controller</pre></td></tr></table></div>

<p>Według autora, program sprawdzony był na następujących maszynach:</p>
<blockquote><p>Reported working hardware configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Sun Fire X4100<br />
Sun Fire X4200<br />
Sun Fire V20z<br />
Sun Fire V40z<br />
Dell PE2600<br />
Intel Server with SE7520BD2S boards<br />
HP ProLiant DL320 G4<br />
IBM eServer BladeCenter LS20</p></blockquote>
<p>Strony autora programu: <a rel="nofollow external" href="http://www.drugphish.ch/~ratz/mpt-status/">http://www.drugphish.ch/~ratz/mpt-status/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.konopnickiej.com/2009/06/02/monitorowanie-kontrolera-raid-firmy-lsi-logic-zainstalowanego-serwerze-dell-poweredge-800/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

