<?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>Lars Schenk &#187; Debian</title>
	<atom:link href="http://lars-schenk.com/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://lars-schenk.com</link>
	<description>IT-Services :: Software-Development since 1980 :: Freelancer since 1988</description>
	<lastBuildDate>Thu, 18 Feb 2010 23:42:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Waiting for root file system&#8221; caused by out dated VMware Server</title>
		<link>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445</link>
		<comments>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445#comments</comments>
		<pubDate>Wed, 25 Feb 2009 20:48:35 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Fusion]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=445</guid>
		<description><![CDATA[I run into a strange problem when I upgraded some VMs from Debian Etch to Lenny. I&#8217;m using VMware Fusion on my MacBook Pro and VMware Server on my local Debian Server. Upgrading VMs hosted by the VMware Server ended in System boot hangs &#8220;Waiting for root file system&#8221;. Upgrading nearly the same Etch VMs [...]]]></description>
			<content:encoded><![CDATA[<p>I run into a strange problem when I upgraded some VMs from Debian Etch to Lenny. I&#8217;m using VMware Fusion on my MacBook Pro and VMware Server on my local Debian Server. Upgrading VMs hosted by the VMware Server ended in System boot hangs &#8220;Waiting for root file system&#8221;. Upgrading nearly the same Etch VMs hosted by VMware Fusion did not fail.</p>
<p>According to Debians Upgrade instruction and it&#8217;s &#8220;<a href="http://debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#how-to-recover">How to recover</a>&#8221; section, the problem can be caused by new naming conventions for IDE disks.</p>
<blockquote><p>This problem can occur when the upgrade of the kernel introduces the use of the new generation of IDE drivers. The IDE disk naming convention for the old drivers was hda, hdb, hdc, hdd. The new drivers will name the same disks respectively sda, sdb, sdc, sdd. The problem appears when the upgrade does not generate a new /boot/grub/menu.lst file to take the new naming convention into account. During the boot, Grub will pass a system root partition to the kernel that the kernel doesn&#8217;t find.
</p></blockquote>
<p>This seems like to be very common reason for these &#8220;Waiting for root file system&#8221; troubles that many faces now when upgrading to Lenny. But in my case I allready had the new sda* names in the grub/menu.lst and /etc/fstab. The &#8220;solution to recover&#8221; did not work. </p>
<p>The virtual lenny server with the new kernel images that fails to boot was hosted by VMWare Server 1.0.3. For a nearly the same upgrade process (etch to lenny) hosted on FMWare fusion 2.0.2, I did not have these problems. </p>
<p><strong>Solution:</strong> My VMWare Server 1.0.3 was out of date and had a known vmware bug that caused this error. Upgrading to the latest version (now 1.0.8) solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios commands via web-interface on Debian</title>
		<link>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446</link>
		<comments>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446#comments</comments>
		<pubDate>Tue, 24 Feb 2009 21:58:15 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=446</guid>
		<description><![CDATA[Ups, I did it again &#8211; when I upgraded to Debian GNU/Linux 5 (lenny) and Nagios3 I stumbled about this nagios error when I try to send directs commands via the web-interface:
Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!
In &#8220;/etc/nagios3/nagios.cfg&#8221; the &#8220;check_external_commands=1&#8243; was already set. So there was something more required to make it run on [...]]]></description>
			<content:encoded><![CDATA[<p>Ups, I did it again &#8211; when I upgraded to Debian GNU/Linux 5 (lenny) and Nagios3 I stumbled about this nagios error when I try to send directs commands via the web-interface:</p>
<blockquote><p>Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!</p></blockquote>
<p>In &#8220;/etc/nagios3/nagios.cfg&#8221; the &#8220;check_external_commands=1&#8243; was already set. So there was something more required to make it run on Debian&#8230; </p>
<p>Deep in my memory I know that there was a debian way to solve this user right related problem. This time I&#8217;ll write it down here &#8211; perhaps I&#8217;ll find it more easily when I upgrade to Debian GNU/Linux 6.0 (codenamed squeeze) and/or Nagios4.</p>
<blockquote><p>/etc/init.d/nagios3 stop<br />
dpkg-statoverride &#8211;update &#8211;add nagios www-data 2710 /var/lib/nagios3/rw<br />
dpkg-statoverride &#8211;update &#8211;add nagios nagios 751 /var/lib/nagios3<br />
/etc/init.d/nagios3 start
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Debians Supergau: Das Internet ist nicht mehr sicher &#8211; und Kurt ist schuld</title>
		<link>http://lars-schenk.com/debians-supergau-das-internet-ist-nicht-mehr-sicher-und-kurt-ist-schuld/212</link>
		<comments>http://lars-schenk.com/debians-supergau-das-internet-ist-nicht-mehr-sicher-und-kurt-ist-schuld/212#comments</comments>
		<pubDate>Sat, 17 May 2008 00:57:30 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/debians-superau-das-internet-ist-nicht-mehr-sicher-und-kurt-ist-schuld/212</guid>
		<description><![CDATA[&#8216;Ach Du Schreck&#8217; denke ich, als ich beim obligatorischen upgraden der Debian-Pakete den folgenden Hinweis bekam:
Vulnerable host keys will be regenerated
Some of the OpenSSH server host keys on this system were generated with a version of OpenSSL that had a broken random number generator. As a result, these host keys are from a well-known set, [...]]]></description>
			<content:encoded><![CDATA[<p>&#8216;Ach Du Schreck&#8217; denke ich, als ich beim obligatorischen upgraden der Debian-Pakete den folgenden Hinweis bekam:</p>
<blockquote><p>Vulnerable host keys will be regenerated</p>
<p>Some of the OpenSSH server host keys on this system were generated with a version of OpenSSL that had a broken random number generator. As a result, these host keys are from a well-known set, are subject to brute-force attacks, and must be regenerated.<br />
&#8230;
</p></blockquote>
<p>Mehr Details dazu unter: <a href="http://lists.debian.org/debian-security-announce/2008/msg00152.html">http://lists.debian.org/debian-security-announce/2008/msg00152.html</a></p>
<p>Das ist wirklich schlimm, denn anders als bei den meisten üblichen Sicherheitslücken, die durch einen Patch sofort mehr oder weniger zuverlässig geschlossen werden (hoffentlich ohne neue Sicherheitslücken aufzureissen), ist dieser Fehler eher wie eine Art Bandwurm. Das fehlerhafte Debian Paket OpenSSL hat Schlüssel erzeugt, die nicht so zufällig waren wie sie hätten sein sollen. Daher sind diese Schlüssel vorhersagbar und nicht sicher. </p>
<p>Etliche sicher geglaubte Keys sind längst im Umlauf (das Problem besteht seit dem 17.09.2006) und müssen nun rasch durch neue, sichere Schlüssel ersetzt werden, bevor die schwachen Schlüssel, die ja auch zur Authentifizierung genutzt werden, geknackt werden. <span id="more-212"></span></p>
<p>Wenn solche schwachen Schlüssel für vermeintlich sichere Verbindungen genutzt wurden, könnten die übertragenen Daten sogar im Nachhinein entschlüsselt werden, wenn der Traffic mitgeschnitten wurde. Womöglich lassen sich daraus sicherheitsrelevante Daten gewinnen.</p>
<p>Das Patchen verhindert zunächst nur, dass nicht weitere schwache Schlüssel erzeugt werden &#8211; aber die bereits in Verwendung befindlichen schwachen Schlüssel sind zunächst ja weiterhin im Umlauf. Das macht diesen Fehler so dramatisch. Der Aufwand für die Admins ist jetzt irre gross: Alles betroffenen Schlüssel müssen ermittelt und ausgetauscht werden &#8211; in allen Anwendungen und auf allen Servern wo sie eingesetzt werden. Viel Angriffsfläche wie man auch dem <a href="http://www.debian.org/security/key-rollover/">Debian Key-Rollover Dokument</a> entnehmen kann. </p>
<p>Der Fehler zieht also weite Kreise über Debian Grenzen hinaus und stiftet grosses Chaos &#8211; auch <a href="http://www.heise.de/security/OpenSSL-Wirrwarr-verunsichert-Anwender-und-Admins--/news/meldung/108005">Heise berichtete schon darüber</a> und bietet einen einfachen <a href="http://www.heise.de/security/Der-kleine-OpenSSL-Wegweiser--/artikel/108001">deutsprachigen Leitfaden an</a>. </p>
<p>Das installieren des Patches aktiviert eine Blacklist für &#8220;schwache&#8221; Schlüssel, so dass Debian Admins Gefahr laufen, sich auszuschliessen, wenn sie bisher nur mit schwachen Schlüssen einloggen konnten und versäumen neue &#8220;harte&#8221; Schlüssel anzulegen und einzutragen. </p>
<p>Der Schaden für das Ansehen von Debian ist gross &#8211; auch wenn <a href="http://www.heise.de/open/Die-Woche-OpenSSL-und-die-Folgen--/artikel/107951/">heise mit einem guten Kommentar versucht die Wogen etwas zu glätten</a>. Wie konnte ein einzelner Paket-Maintainer (Kurt R.) einen solchen dummen und unnötigen Bug einbauen ohne dass eine Qualitätssicherung greift oder jemand von der Mailingliste darüber stolpert. Wieso gab es keine Kommunikation mit den Autoren des OpenSSL Quellcodes. Konnte sich der Fehler einschleichen und so lange unentdeckt bleiben, weil Debian ja neuerdings versucht aktueller zu sein und somit den Zeitdruck auf die Maintainer erhöht? <a href="http://www.gergely.risko.hu/debian-dsa1571.en.html">Gergely Riskó stellt in seinem Artikel die Hintergründe des Supergau zusammen</a>.</p>
<p>Auch für Open Source könnte damit Schaden entstanden sein. Was üblicherweise eine Stärke von Open Source ist, könnte sich nun als Nachteil erweisen, denn bei einem Closed-Source System würden wohl nicht so rasch die Details über die Schwachstelle zu ermitteln sein, die es &#8220;den Bösen&#8221; erleichtern das Sicherheitsloch rasch auszunutzen. Derzeit kann wohl noch keiner einschätzen, wie groß der Schaden sein wird, der durch die Entschlüsselung von mitgeschnittenen Daten über vermeintlich sichere Verbindungen entsteht. </p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/debians-supergau-das-internet-ist-nicht-mehr-sicher-und-kurt-ist-schuld/212/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sun Java auf Debian 4.0 Etch installieren</title>
		<link>http://lars-schenk.com/sun-java-auf-debian-40-etch-installieren/180</link>
		<comments>http://lars-schenk.com/sun-java-auf-debian-40-etch-installieren/180#comments</comments>
		<pubDate>Wed, 10 Oct 2007 23:28:27 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/sun-java-auf-debian-40-etch-installieren/180</guid>
		<description><![CDATA[Diese Kurzanleitung beschreibt die Installation der Sun Java 2 Platform Standard Edition 5.0 JRE (Java Runtime Environment) und des JDK (Java Developer Kit) auf Debian 4.0 Etch.
Sun Java 2 ist in der &#8220;non-free&#8221; Sektion der Debian Repositories verfügbar. Damit auf diese Sektion zugegriffen werden kann, muss das non-free repository in der apt sources Datei verfügbar [...]]]></description>
			<content:encoded><![CDATA[<p>Diese Kurzanleitung beschreibt die Installation der Sun Java 2 Platform Standard Edition 5.0 JRE (Java Runtime Environment) und des JDK (Java Developer Kit) auf Debian 4.0 Etch.</p>
<p>Sun Java 2 ist in der &#8220;non-free&#8221; Sektion der Debian Repositories verfügbar. Damit auf diese Sektion zugegriffen werden kann, muss das non-free repository in der apt sources Datei verfügbar gemacht werden. Die Datei /etc/apt/sources.list sollte wie folgt ausschauen &#8211; wichtige Passage ist hervorgehoben:</p>
<blockquote><p>deb http://ftp.de.debian.org/debian/ etch main <b>non-free contrib</b></p></blockquote>
<p>Nun apt updaten mit:</p>
<blockquote><p>sudo apt-get update</p></blockquote>
<p>Nun die Java Debian Pakete installieren:</p>
<blockquote><p>sudo apt-get install sun-java5-jre</p></blockquote>
<p>Oder wenn das JDK ( das Java SDK ) installiert werden soll:</p>
<blockquote><p>sudo apt-get install sun-java5-jdk</p></blockquote>
<p>Alternativen: <a href="http://en.wikipedia.org/wiki/GNU_Compiler_for_Java">GNU Compiler für Java</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/sun-java-auf-debian-40-etch-installieren/180/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>VMWare rtc: lost some interrupts</title>
		<link>http://lars-schenk.com/vmware-rtc-lost-some-interrupts/140</link>
		<comments>http://lars-schenk.com/vmware-rtc-lost-some-interrupts/140#comments</comments>
		<pubDate>Tue, 04 Sep 2007 00:01:55 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/vmware-rtc-lost-some-interrupts/140</guid>
		<description><![CDATA[Nachdem ich VMWare Server unter Debian Etch Linux laufen lasse, bekomme ich bei einigen Gast OS die Meldung &#8220;rtc: lost some interrupts&#8221; im Syslog des Hosts eingetragen &#8211; und war sehr häufig, so dass das Syslog regelrecht zugemüllt wird. Eine Lösung für Gast OSe, die keine absolut exakte Zeiterfassung benötigen kann man dem VMWare Timekeeping [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich VMWare Server unter Debian Etch Linux laufen lasse, bekomme ich bei einigen Gast OS die Meldung &#8220;rtc: lost some interrupts&#8221; im Syslog des Hosts eingetragen &#8211; und war sehr häufig, so dass das Syslog regelrecht zugemüllt wird. Eine Lösung für Gast OSe, die keine absolut exakte Zeiterfassung benötigen kann man dem <a href="http://www.vmware.com/pdf/vmware_timekeeping.pdf">VMWare Timekeeping Manual</a> entnehmen:</p>
<blockquote><p>
You can prevent /dev/rtc from being used. This will generally cause clocks to run slow<br />
in any virtual machines you have that need the additional interrupts, but that may be<br />
acceptable to you, depending on your application. To do so, add the following setting to<br />
each virtual machine&#8217;s .vmx configuration file, or add the setting globally to the host&#8217;s<br />
configuration file (/etc/vmware/config):</p>
<p>host.useFastClock = FALSE</p></blockquote>
<p>Wenn man diese Zeile im /etc/vmware/config einträgt und vmware neu startet (/etc/init.d/vmware restart), ist man die Einträge im Syslog los.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/vmware-rtc-lost-some-interrupts/140/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NVidia-Treiber unter Debian Etch</title>
		<link>http://lars-schenk.com/nvidia-treiber-unter-debian-etch/97</link>
		<comments>http://lars-schenk.com/nvidia-treiber-unter-debian-etch/97#comments</comments>
		<pubDate>Thu, 25 Jan 2007 19:24:56 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>

		<guid isPermaLink="false">http://www.lars-schenk.com/nvidia-treiber-unter-debian-etch/97</guid>
		<description><![CDATA[Den Nvidia Treiber habe ich nicht über den &#8220;Debian way&#8221; per apt-get installiert bekommen. X bricht beim Start mit einer nichtssagenden Fehlermeldung ab und auch die Logs ergaben aber keinen konkreten Hinweis, wo das Problem liegt. X lief nur über &#8220;vesa&#8221; oder den generischen NV Treiber &#8211; nicht aber mit &#8220;nvidia&#8221;. OpenGL lief gar nicht. [...]]]></description>
			<content:encoded><![CDATA[<p>Den Nvidia Treiber habe ich nicht über den &#8220;Debian way&#8221; per apt-get installiert bekommen. X bricht beim Start mit einer nichtssagenden Fehlermeldung ab und auch die Logs ergaben aber keinen konkreten Hinweis, wo das Problem liegt. X lief nur über &#8220;vesa&#8221; oder den generischen NV Treiber &#8211; nicht aber mit &#8220;nvidia&#8221;. OpenGL lief gar nicht. </p>
<p>Nachdem ich dann also über den Apt-Get-Wet für die Installation der nvidia-Treiber nicht weitergekommen bin, habe ich den nvidia Treiber vom der Homepage downgeloaded und in etwa wie folgt installiert: <span id="more-97"></span></p>
<p>Download des aktuellen Treiber</p>
<p>apt-get install linux-headers-2.6.18-3-686<br />
apt-get install pkg-config<br />
apt-get install xserver-xorg-dev &#8211;purge</p>
<p>apt-get &#8211;purge install nvidia-glx<br />
(rm /etc/init.d/nvidia-glx)</p>
<p>frei nach:</p>
<p>http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/HOWTO_Installing_nVidia_Grapics_Drivers_on_Debian_Etch</p>
<p>apt-get install linux-source-2.6.18<br />
cd /usr/src<br />
tar -jxvf linux-source-2.6.18<br />
ln -s linux-source-2.6.18 linux</p>
<p>sh NVIDIA-Linux-x86-1.0-9746-pkg1.run</p>
<p>Damit liefen dann auch OpenGL super flott. Ich hoffe, mein Vorgehen korrekt rekonstruiert zu haben. Nachteil dieser Methode ist natürlich, dass ich die Nvidia Treiber nicht über das Debian-Paket-System installiert habe sondern über den Nvidia Installer, der generisch gehalten ist und für alle Distros funktionieren soll; aber nicht in das Debian-Universum eingebunden ist.<br />
Der Installer muss auch die Kernel-Module compilieren, so dass ich bei einem Kernel-Image Update neu kompilieren muss und ich den Apt-Get Vorteil verloren habe.</p>
<p>Sollte der Nvidia Treiber wieder über Apt-Get Installierbar bzw. vielmehr nutzbar sein, so wäre ich dankbar für einen Hinweis <img src='http://lars-schenk.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/nvidia-treiber-unter-debian-etch/97/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Installation Debian Etch auf einem Software-RAID 1 mit SATA Disks</title>
		<link>http://lars-schenk.com/installation_debian_etch_auf_einem_software-raid_1_mit_sata_disks/92</link>
		<comments>http://lars-schenk.com/installation_debian_etch_auf_einem_software-raid_1_mit_sata_disks/92#comments</comments>
		<pubDate>Thu, 04 Jan 2007 11:20:15 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.lars-schenk.com/installation_debian_etch_auf_einem_software-raid_1_mit_sata_disks/92</guid>
		<description><![CDATA[Folgende Situation: Ein neuer Server mit SATA II Disks soll unter Linux im RAID1 Verbund laufen aber der sogenannte RAID-Controller vom Motherboard wird nicht unterstützt. Da nur RAID1 benötigt wird und Linux das einzige System werden soll, tut es auch die Linux-Software-Raid Unterstützung. Das MoBo hat den Intel ICH7 Chipset onboard, welcher AHCI mit HotPlug [...]]]></description>
			<content:encoded><![CDATA[<p>Folgende Situation: Ein neuer Server mit SATA II Disks soll unter Linux im RAID1 Verbund laufen aber der sogenannte RAID-Controller vom Motherboard wird nicht unterstützt. Da nur RAID1 benötigt wird und Linux das einzige System werden soll, tut es auch die Linux-Software-Raid Unterstützung. Das MoBo hat den Intel ICH7 Chipset onboard, welcher <a href="http://de.wikipedia.org/wiki/Advanced_Host_Controller_Interface">AHCI</a> mit HotPlug und <a href="http://de.wikipedia.org/wiki/NCQ">NCQ (Native Command Queuing)</a> unterstützt - also soll dieses idealerweise aktiviert werden. Soweit die Zielsetzung - doch bevor ich das umsetzen konnte musste ich erstmal etwas Hintergrundwissen aufsaugen und einige Hürden nehmen:<span id="more-92"></span></p>
<p>Die erste Hürde: Das Asus P5WDB2 WS PRO MoBo bootet die Debian Etch PreRelease mit Stand vom 02.01.2007 nicht sondern bleibt sehr früh hängen. Erst nachdem ich im BIOS bei den Advanced-Einstellungen den Marvell SATA Controller für den zweiten sog. zweiten onboard Raid-Controller deaktiviert habe, kommt der Debian Etch-Installer überhaupt weiter.</p>
<p>Allgemeine Hintergrund-Info zu RAID im allgemeinen und auch Hardware-RAID vs. Software-RAID gibt es <a href="http://de.wikipedia.org/wiki/RAID">hier</a>.<br />
SATA RAID (oft auch als FakeRAID bezeichnet) unter Linux ist offenbar ein Thema was in letzter Zeit immer mehr nachgefragt wird, weil nahezu alle aktuellen MoBos RAID für SATA versprechen, die aber bei <a href="http://linux-ata.org/driver-status.html">genauerem Hinschauen dann oft doch nur Software-RAID-Lösungen im Bios sind, die dazu noch einen Treiber benötigen, den es oft für Linux noch nicht gibt.</a>.<br />
Diese Lösungen sind also für Windows entwickelt und greifen auf Treiber zurück, die es für Linux i.d.R. noch nicht gibt.<br />
Ich denke, man sollte generell diese FakeRAID Lösungen für Linux meiden und die RAID-Unterstützung im BIOS deaktivieren und statt dessen auf das gut erprobte Linux Software-Raid dmraid zurückgreifen. Da FakeRaid kein echtes Hardware-RAID ist, bringt es auch keine Vorteile gegenüber dem Linux-Softwareware-RAID. Im Gegenteil: Man greift auf herstellerspezifische Lösungen zurück, die an diese Produktversionen binden (vergleich auch den berits oben verlinkten Wikipedia Artikel über <a href="http://de.wikipedia.org/wiki/RAID#Hardware-RAID">Hardware-RAID</a>).</p>
<p>AHCI im Bios aktivieren:<br />
Also habe ich im BIOS des Asus P5WDG2 WS PR MoBos die IDE Configuration aus diesen Gründen nicht auf RAID eingestellt. Auch die Einstellung beim Intel ICH7 basierten SATA Controller auf "Standard IDE" wäre nur eine Notlösung, wenn der Kernel nicht das AHCI unterstüzten würde. Mit "Standard IDE" bekommt man zwar auch das gewünschte RAID1 Software-Array unter Linux aufgesetzt, hat dann aber keine Hotplug/Hotswap Funktionalität, weil der ICH7 Chipset im Standard-IDE Modus dieses nicht leistet. Weiterhin wird im Standard-IDE Modus kein NCQ unterstützt. Standard-IDE kommt also ohne die zusätzlichen Features von SATA oder SATA II daher.<br />
NCQ wird aber vom ICH7 Chipset und den WD5000YS Laufwerken unterstützt und sollte daher auch zur Leistungssteigerung aktiviert werden, zumale im aktuellen Kernel von Etch der Version 2.6.18-3 AHCI auch unterstützt wird (laut <a href="http://linux-ata.org/driver-status.html#ahci">http://linux-ata.org/driver-status.html#ahci</a> wird AHCI ab Kernel >= 2.6.18-git5 unterstützt). Ich habe also im BIOS auf AHCI gestellt (Full NCQ support, full SATA control including hotplug and PM., AHCI is a nice, open design.) und auch ALPE (Agressive Link Power Management) und ASP (Agressive Slumber/Partial) enabled. Damit wird der SATA Controller in den nativen Modus geschaltet und unterstützt auch Hotplug sowie das Permance-Steigernde NCQ. Wenn später alles installiert ist, kann man nach dem Reboot das dmesg angeschauen um, zu prüfen, dass AHCI und NCQ aktiviert sind:</p>
<div class="igBar"><span id="lcode-3"><a href="#" onclick="javascript:showPlainTxt('code-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-3">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ahci <span style="color:#800000;color:#800000;">0000</span>:<span style="color:#800000;color:#800000;">00</span>:1f.<span style="color:#800000;color:#800000;">2</span>: AHCI <span style="color:#800000;color:#800000;">0001</span>.<span style="color:#800000;color:#800000;">0100</span> <span style="color:#800000;color:#800000;">32</span> slots <span style="color:#800000;color:#800000;">4</span> ports <span style="color:#800000;color:#800000;">3</span> Gbps 0xf impl SATA mode</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ahci <span style="color:#800000;color:#800000;">0000</span>:<span style="color:#800000;color:#800000;">00</span>:1f.<span style="color:#800000;color:#800000;">2</span>: flags: 64bit ncq pm led clo pio slum part</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata1: SATA max UDMA/<span style="color:#800000;color:#800000;">133</span> cmd 0xF88AE900 ctl 0x0 bmdma 0x0 irq <span style="color:#800000;color:#800000;">58</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata2: SATA max UDMA/<span style="color:#800000;color:#800000;">133</span> cmd 0xF88AE980 ctl 0x0 bmdma 0x0 irq <span style="color:#800000;color:#800000;">58</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata3: SATA max UDMA/<span style="color:#800000;color:#800000;">133</span> cmd 0xF88AEA00 ctl 0x0 bmdma 0x0 irq <span style="color:#800000;color:#800000;">58</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata4: SATA max UDMA/<span style="color:#800000;color:#800000;">133</span> cmd 0xF88AEA80 ctl 0x0 bmdma 0x0 irq <span style="color:#800000;color:#800000;">58</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">scsi0 : ahci</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata1: SATA link up <span style="color:#800000;color:#800000;">3</span>.<span style="color:#800000;color:#800000;">0</span> Gbps <span style="color:#006600; font-weight:bold;">&#40;</span>SStatus <span style="color:#800000;color:#800000;">123</span> SControl <span style="color:#800000;color:#800000;">300</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata1.<span style="color:#800000;color:#800000;">00</span>: ATA-<span style="color:#800000;color:#800000;">7</span>, max UDMA/<span style="color:#800000;color:#800000;">133</span>, <span style="color:#800000;color:#800000;">976773168</span> sectors: LBA48 NCQ <span style="color:#006600; font-weight:bold;">&#40;</span>depth <span style="color:#800000;color:#800000;">31</span>/<span style="color:#800000;color:#800000;">32</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata1.<span style="color:#800000;color:#800000;">00</span>: ata1: dev <span style="color:#800000;color:#800000;">0</span> multi count <span style="color:#800000;color:#800000;">16</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata1.<span style="color:#800000;color:#800000;">00</span>: configured for UDMA/<span style="color:#800000;color:#800000;">133</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">scsi1 : ahci</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata2: SATA link up <span style="color:#800000;color:#800000;">3</span>.<span style="color:#800000;color:#800000;">0</span> Gbps <span style="color:#006600; font-weight:bold;">&#40;</span>SStatus <span style="color:#800000;color:#800000;">123</span> SControl <span style="color:#800000;color:#800000;">300</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata2.<span style="color:#800000;color:#800000;">00</span>: ATA-<span style="color:#800000;color:#800000;">7</span>, max UDMA/<span style="color:#800000;color:#800000;">133</span>, <span style="color:#800000;color:#800000;">976773168</span> sectors: LBA48 NCQ <span style="color:#006600; font-weight:bold;">&#40;</span>depth <span style="color:#800000;color:#800000;">31</span>/<span style="color:#800000;color:#800000;">32</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata2.<span style="color:#800000;color:#800000;">00</span>: ata2: dev <span style="color:#800000;color:#800000;">0</span> multi count <span style="color:#800000;color:#800000;">16</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata2.<span style="color:#800000;color:#800000;">00</span>: configured for UDMA/<span style="color:#800000;color:#800000;">133</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">scsi2 : ahci</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata3: SATA link down <span style="color:#006600; font-weight:bold;">&#40;</span>SStatus <span style="color:#800000;color:#800000;">0</span> SControl <span style="color:#800000;color:#800000;">300</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">scsi3 : ahci</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ata4: SATA link down <span style="color:#006600; font-weight:bold;">&#40;</span>SStatus <span style="color:#800000;color:#800000;">0</span> SControl <span style="color:#800000;color:#800000;">300</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Vendor: ATA&nbsp; &nbsp; &nbsp; &nbsp;Model: WDC WD5000YS-01M&nbsp; Rev: <span style="color:#800000;color:#800000;">07</span>.<span style="color:#800000;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Type:&nbsp; &nbsp;Direct-Access&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ANSI SCSI revision: <span style="color:#800000;color:#800000;">05</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Vendor: ATA&nbsp; &nbsp; &nbsp; &nbsp;Model: WDC WD5000YS-01M&nbsp; Rev: <span style="color:#800000;color:#800000;">07</span>.<span style="color:#800000;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Type:&nbsp; &nbsp;Direct-Access&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ANSI SCSI revision: <span style="color:#800000;color:#800000;">05</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Es ist nun also alles vorbereitet für das eigentlich Einrichten das RAID1 und die Installation von Linux. </p>
<p>Leider ist die Installation des Software-Raids nicht so leicht. Für Ubuntu ist es offenbar überhaupt nicht vorgesehen, so dass man über einen Trick mit der Live-CD ein Raid einrichten muss und dann in das "on the fly" eingerichtete RAID hineininstalliert. Wer diesen Weg gehen möchte finde hier eine Anleitung: http://www.ubuntu-in.org/wiki/SATA_RAID_Howto.</p>
<p>Fedora soll da mit dem Installer schon weiter sein, aber ich würde gerne Debian oder zumindest Ubuntu einsetzen. </p>
<p>Debian Etch ist zwar immer noch nicht offiziell released worden, aber die Debian Testing gilt immer schon als sehr stabil, so dass ich mich für den aktuellen Build von Etch entscheide. Hierbei orientiere ich mich an "<a href="http://ads.wars-nicht.de/blog/archives/54-Install-Debian-Etch-on-a-Software-Raid-1-with-S-ATA-disks.html">Install Debian Etch on a Software Raid 1 with S-ATA disks</a>":</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showPlainTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Boot the Debian Etch installer.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># If the installation comes to <span style="color:#CC0000;">"Partition method"</span>, use <span style="color:#CC0000;">"Manual"</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># In the following menu, scroll to your first disk and hit enter: the partitionier asks you, if you want to create an empty partition table. <span style="">Say</span> <span style="color:#CC0000;">"yes"</span>. <span style="color:#006600; font-weight:bold;">&#40;</span>Hint: this will erase your existing data, if any.<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># The partitioner is back in the disk overview, scroll one line downwards over the line with <span style="color:#CC0000;">"FREE SPACE"</span> and hit enter.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Create a partition with the size you need, but remember the size and the logical type.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># In the <span style="color:#CC0000;">"Partition settings"</span> menu, go to <span style="color:#CC0000;">"Use as"</span> and hit enter.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Change the type to <span style="color:#CC0000;">"physical volume for RAID"</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Finish this partition with <span style="color:#CC0000;">"Done setting up the partition"</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Create other partitions on the same disk, if you like.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Now repeat all the steps from the first disk for the second disk.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># After this, you should have at least two disks with the same partition schema and all partitions <span style="color:#006600; font-weight:bold;">&#40;</span>beside swap<span style="color:#006600; font-weight:bold;">&#41;</span> should be marked for RAID use.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Now look at the first menu entry in the partitioner menu, there is a new line: <span style="color:#CC0000;">"Configure software RAID"</span>. <span style="">Go</span> into this menu.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Answer the question, if you like to write the changes, with <span style="color:#CC0000;">"Yes"</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Now pick <span style="color:#CC0000;">"Create MD device"</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Use RAID1 and give the number of active and spare devices <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">2</span> and <span style="color:#800000;color:#800000;">0</span> in our case<span style="color:#006600; font-weight:bold;">&#41;</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># In the following menu, select the same device number on the first and second disk and Continue.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Repeat this step for every two devices until you are done. <span style="">Then</span> use <span style="color:#CC0000;">"Finish"</span> from the Multidisk configuration options.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># You are back in the partitioner menu and now you see one ore more new partitions named as <span style="color:#CC0000;">"Software RAID Device"</span>. <span style="">You</span> can use this partitions like any normal partition and continue installing your system. </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Eine weiterführende Variante berücksichtigt auch noch die Einrichtung von LVM "Installing root on LVM + RAID with debian-installer": <a href="http://dev.jerryweb.org/raid/">http://dev.jerryweb.org/raid/</a></p>
<p>Nachdem das RAID1 eingerichtet ist und in das frisch installierte System gebootet wurde, kann via mdadm das Raid geprüft (mdadm --detail /dev/md0) , überwacht und administriert werden. Siehe dazu "man mdadm" oder auch im <a href="http://tldp.org/HOWTO/Software-RAID-HOWTO-6.html">Software-RAID-HowTO</a>. Dort werden wichtige Kommando zum Entfernen (z.B. mdadm /dev/md0 -r /dev/sdc2) und hinzufügen (z.B. mdadm /dev/md0 -a /dev/sdc2) zum Array erläutert.</p>
<p>Es empfiehlt sich, die SATA Kabel zu beschriften, damit man bei einem Ausfall einer Platte diese später leicht identifizieren kann. Ich habe den Ausfall jeweils eines Laufwerks erfolgeich simmuliert. Der Ausfall im laufenden betrieb wird erkannt und via "mdadm --detail /dev/md0" korrekt ausgewiesen.  Die Platte kann dann wieder mit "mdadm /dev/md0 -a /dev/sdxxx" eingehängt werden worauf der rebuild started.<br />
Weiterführende Hilfreiche Infos habe ich hier gefunden: <a href="http://linuxmafia.com/faq/Hardware/sata.html">Serial ATA (SATA) chipsets — Linux support status</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/installation_debian_etch_auf_einem_software-raid_1_mit_sata_disks/92/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Spannungen zwischen Debian und Ubuntu</title>
		<link>http://lars-schenk.com/spannungen-zwischen-debian-und-ubuntu/67</link>
		<comments>http://lars-schenk.com/spannungen-zwischen-debian-und-ubuntu/67#comments</comments>
		<pubDate>Thu, 26 Oct 2006 21:22:00 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.lars-schenk.com/spannungen-zwischen-debian-und-ubuntu/67</guid>
		<description><![CDATA[Heute wurde Ubuntu 6.10 "Edgy Eft" veröffentlicht. Keine Frage: Ubuntu ist sexy, agil und sehr erfolgreich. Und seit der 6.06 LTS Version (Dapper Drake) rockt Ubuntu nicht nur auf dem Desktop. Aber tut es uns auch gut? Oder ist Ubuntu Teufelszeug - der Apfel, in den wir beissen bevor wir aus dem "Open Source &#038; [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: left; margin-right: 20px; margin-bottom: 10px;" src="/images/ubuntu.png" />Heute wurde <a href="http://www.ubuntu.com/news/610released">Ubuntu 6.10 "Edgy Eft" veröffentlicht</a>. Keine Frage: Ubuntu ist sexy, agil und sehr erfolgreich. Und seit der 6.06 LTS Version (Dapper Drake) rockt Ubuntu nicht nur auf dem Desktop. Aber tut es uns auch gut? Oder ist Ubuntu Teufelszeug - der Apfel, in den wir beissen bevor wir aus dem "Open Source &#038; Free Software" Paradies vertrieben werden?</p>
<p><img style="float: right; margin-left: 20px; margin-bottom: 10px;" src="/images/debian.gif" />Bereits im Frühjahr 2005 hat Debian's geistiger Vater Ian Murdock in seinem <a href="http://ianmurdock.com/?p=153">Blog angemahnt</a> das Paketsystem von Debian und seinen Töchtern kompatibel zu halten, damit es nicht zu einem Fork kommt und man die gleichen Probleme wie bei RPM basierten Distributionen bekommt. <span id="more-67"></span></p>
<p>Ian's <a href="http://ianmurdock.com/?p=167">Ubuntu vs. Debian</a> Betrachtungen gewinnen heute unter dem zunehmenden Erfolg von Ubuntu mMn. immer mehr Bedeutung. Seine Mahnung "we all win if and only if Ubuntu remains a good son" scheint aber von <a href="http://www.markshuttleworth.com/">Mark Shuttleworth</a> ungehört zu bleiben. Heute.de berichtete jüngst über "<a href="http://www.heute.de/ZDFheute/inhalt/11/0,3672,3991339,00.html">das beste Linux, das es je gab</a>" und meint damit das für den Dezember angekündigte Debian GNU/Linux 4 mit dem Codenamen "Etch". Martin "Joey" Schulze gibt im Inverview die Bedenken vieler Debian-Entwickler wieder: </p>
<blockquote><p>
"Normalerweise freuen wir uns, wenn sich andere Projekte Debian als Basis aussuchen", erläutert Schulze. "Ein bisschen anders" sei das bei Ubuntu, der Linux-Distribution, die Mark Shuttleworth gegründet hat, südafrikanischer Millionär und erster Weltraumtourist. Ubuntus Popularität gehe mehr und mehr auf Debians Kosten: "Seine Firma hat Debian-Entwickler eingestellt und zieht einiges an Entwicklungszeit und Anwenderschaft von Debian ab."</p>
<p>Schulze befürchtet darum eine Spaltung, einen "Fork", wie das in Linux-Kreisen heißt: "Es sieht derzeit so aus, dass Ubuntu mehr oder weniger ein 'Fork' von Debian ist. Viele Entwickler haben damit ein Problem." Sollte Ubuntu dauerhaft an Debians Stelle treten, beende das auch die basisdemokratische Organisation: "Ubuntu hat ein anderes Leitungsmodell, hierarchische Strukturen - und der Projektleiter ist erheblich autoritärer."</p></blockquote>
<p>Debian auf dem Desktop war bisher aufgrund dieser "basisdemokratische Organisation" alles andere als "Cutting Edge", so dass dieses Segment von Ubuntu im Sturm eingenommen werden konnte. Aber auch für den Einsatz auf dem Server ist der Entwicklungszyklus der community driven Distribution Debian oftmals ein Problem, so dass die Server-Version von Ubuntu zunehmend mehr Anhänger findet. </p>
<p>Natürlich ist es nicht fair den Output der Debian Community und seinen "pro bono maintainern" mit dem einer Distribution zu vergleichen, die sich zum einen die Errungenschaften eben dieser Community zunutze macht und zum anderen auf bezahlte Entwickler zurückgreifen kann - aber danach fragt in dem Moment kaum keiner, wenn ein Problem gelöst werden muss. Also bleibt die Ubuntu-Versuchung groß. Aber wenn die Beziehung zwischen Debian und Ubuntu entgegen Ubuntus "<a href="http://www.ubuntu.com/ubuntu/relationship">relationship declaration</a>" zur Einbahnstrasse wird, so wird Ubuntus Erfolg Debian mehr schaden als nutzen.  Und Martin "Joey" Schulzes Aussagen im Interview wollen dabei so gar nicht mit Ubuntus "wir haben uns alle lieb" Erklärung zusammenpassen... Also behält am Ende Ian Murdock Recht: <a href="http://ianmurdock.com/?p=153">"Mark, this doesn’t end well."</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/spannungen-zwischen-debian-und-ubuntu/67/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
