<?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; Etch</title>
	<atom:link href="http://lars-schenk.com/tag/etch/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, 06 Oct 2011 02:44:51 +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>&#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>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>
	</channel>
</rss>

