<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.euserv.com/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>EUserv Wiki - Benutzerbeiträge [de]</title>
		<link>https://www.euserv.com/wiki/index.php/Spezial:Beitr%C3%A4ge/Almi1</link>
		<description>Aus EUserv Wiki</description>
		<language>de</language>
		<generator>MediaWiki 1.15.5-2squeeze4</generator>
		<lastBuildDate>Tue, 09 Jun 2026 19:54:33 GMT</lastBuildDate>
		<item>
			<title>Kundencenter Passwort-Verlegung/en</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Customer center]]&lt;br /&gt;
'''''Accessing the Customer center when you have lost your password'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Accessing the Customer center when you have lost your password'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two ways to receive a new password for your account.&lt;br /&gt;
&lt;br /&gt;
If you still can reach the eMail address the domain is registered on, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Click the &amp;quot;Kundencenter&amp;quot; link on our website.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_EN_01.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; After that the customer center will open, here you can click the link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_EN_02.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Now click the &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_EN_03.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Finally the customer center confirms you the delivery of a new password. With this password from the mail you have just been sent and your eMail address you will be able to log in as usual.&lt;br /&gt;
&lt;br /&gt;
In case you can't reach the eMail address the account is registered on, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Download the customer update form from our website. The form [German only] can be found under the following link: click here&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Fill it out and send it to the fax number stated in the form or via snail mail to the following address: click here&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hint:&amp;lt;/div&amp;gt;You should of course choose an eMail address accessible by you. Also the form has to be signed by the contracting partner. Please use the company's stamp also for companies, clubs or other institutions.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; After processing you will receive a confirmation from EUserv Internet. Now you are able to have a new password generated as mentioned above and to log in as usual.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:38:03 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung/en</comments>		</item>
		<item>
			<title>Kundencenter Passwort-Verlegung</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Kundencenter]]&lt;br /&gt;
'''''Kundencenter Passwort-Verlegung'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Kundencenter Passwort-Verlegung'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um ein neues Passwort für Ihren Account zu erhalten, gibt es 2 Möglichkeiten.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, noch erreichen können gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Klicken Sie auf den Link &amp;quot;Kundencenter&amp;quot; unserer Webseite.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_01.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Daraufhin öffnet sich das Kundencenter, hier klicken Sie dann auf den Link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_02.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nun klicken Sie auf den Button &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_03.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Abschließend bestätigt Ihnen das Kundencenter die Sendung eines neuen Passwortes. Mit diesem Passwort, das Sie im Anschluss von Ihrem E-Mail-Postfach abrufen können und Ihrer E-Mail-Adresse können Sie sich nun wieder, wie gewohnt, anmelden.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, nicht mehr erreichen können, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Laden Sie sich das Kundendaten-Aktualisierungs-Formular herunter. Das Formular finden Sie unter folgendem Link: [http://www.euserv.com/global/forms/EUserv_Aenderung_Kundendaten.pdf ‎Hier klicken]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Füllen Sie es, soweit es Ihnen möglich ist, aus und schicken Sie es an die im Formular angegebene Faxnummer oder per Post an die unter folgendem Link angegebene Adresse: Hier Klicken.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hinweis:&amp;lt;/div&amp;gt;Bei der E-Mail-Adresse sollte natürlich eine für Sie zugängliche Adresse gewählt werden. Zudem muss das Formular zwingend vom Vertragspartner unterschrieben werden. Bei Firmen / Vereinen oder anderen Institutionen nutzen Sie bitte auch den Firmenstempel.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nach der Bearbeitung bekommen Sie von EUserv Internet eine Bestätigung. Jetzt können Sie sich, wie oben beschrieben, ein neues Passwort generieren lassen, mit dem Sie sich anmelden können.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:36:54 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung</comments>		</item>
		<item>
			<title>Kundencenter Passwort-Verlegung</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Kundencenter]]&lt;br /&gt;
'''''Kundencenter Passwort-Verlegung'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Kundencenter Passwort-Verlegung'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um ein neues Passwort für Ihren Account zu erhalten, gibt es 2 Möglichkeiten.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, noch erreichen können gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Klicken Sie auf den Link &amp;quot;Kundencenter&amp;quot; unserer Webseite.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_01.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Daraufhin öffnet sich das Kundencenter, hier klicken Sie dann auf den Link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_02.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nun klicken Sie auf den Button &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 3.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Abschließend bestätigt Ihnen das Kundencenter die Sendung eines neuen Passwortes. Mit diesem Passwort, das Sie im Anschluss von Ihrem E-Mail-Postfach abrufen können und Ihrer E-Mail-Adresse können Sie sich nun wieder, wie gewohnt, anmelden.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, nicht mehr erreichen können, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Laden Sie sich das Kundendaten-Aktualisierungs-Formular herunter. Das Formular finden Sie unter folgendem Link: [http://www.euserv.com/global/forms/EUserv_Aenderung_Kundendaten.pdf ‎Hier klicken]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Füllen Sie es, soweit es Ihnen möglich ist, aus und schicken Sie es an die im Formular angegebene Faxnummer oder per Post an die unter folgendem Link angegebene Adresse: Hier Klicken.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hinweis:&amp;lt;/div&amp;gt;Bei der E-Mail-Adresse sollte natürlich eine für Sie zugängliche Adresse gewählt werden. Zudem muss das Formular zwingend vom Vertragspartner unterschrieben werden. Bei Firmen / Vereinen oder anderen Institutionen nutzen Sie bitte auch den Firmenstempel.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nach der Bearbeitung bekommen Sie von EUserv Internet eine Bestätigung. Jetzt können Sie sich, wie oben beschrieben, ein neues Passwort generieren lassen, mit dem Sie sich anmelden können.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:36:26 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung</comments>		</item>
		<item>
			<title>Kundencenter Passwort-Verlegung</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Kundencenter]]&lt;br /&gt;
'''''Kundencenter Passwort-Verlegung'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Kundencenter Passwort-Verlegung'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um ein neues Passwort für Ihren Account zu erhalten, gibt es 2 Möglichkeiten.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, noch erreichen können gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Klicken Sie auf den Link &amp;quot;Kundencenter&amp;quot; unserer Webseite.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_01.png|700px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Daraufhin öffnet sich das Kundencenter, hier klicken Sie dann auf den Link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 2.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nun klicken Sie auf den Button &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 3.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Abschließend bestätigt Ihnen das Kundencenter die Sendung eines neuen Passwortes. Mit diesem Passwort, das Sie im Anschluss von Ihrem E-Mail-Postfach abrufen können und Ihrer E-Mail-Adresse können Sie sich nun wieder, wie gewohnt, anmelden.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, nicht mehr erreichen können, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Laden Sie sich das Kundendaten-Aktualisierungs-Formular herunter. Das Formular finden Sie unter folgendem Link: [http://www.euserv.com/global/forms/EUserv_Aenderung_Kundendaten.pdf ‎Hier klicken]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Füllen Sie es, soweit es Ihnen möglich ist, aus und schicken Sie es an die im Formular angegebene Faxnummer oder per Post an die unter folgendem Link angegebene Adresse: Hier Klicken.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hinweis:&amp;lt;/div&amp;gt;Bei der E-Mail-Adresse sollte natürlich eine für Sie zugängliche Adresse gewählt werden. Zudem muss das Formular zwingend vom Vertragspartner unterschrieben werden. Bei Firmen / Vereinen oder anderen Institutionen nutzen Sie bitte auch den Firmenstempel.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nach der Bearbeitung bekommen Sie von EUserv Internet eine Bestätigung. Jetzt können Sie sich, wie oben beschrieben, ein neues Passwort generieren lassen, mit dem Sie sich anmelden können.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:36:00 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung</comments>		</item>
		<item>
			<title>Kundencenter Passwort-Verlegung</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Kundencenter]]&lt;br /&gt;
'''''Kundencenter Passwort-Verlegung'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Kundencenter Passwort-Verlegung'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um ein neues Passwort für Ihren Account zu erhalten, gibt es 2 Möglichkeiten.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, noch erreichen können gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Klicken Sie auf den Link &amp;quot;Kundencenter&amp;quot; unserer Webseite.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_01.png|500px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Daraufhin öffnet sich das Kundencenter, hier klicken Sie dann auf den Link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 2.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nun klicken Sie auf den Button &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 3.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Abschließend bestätigt Ihnen das Kundencenter die Sendung eines neuen Passwortes. Mit diesem Passwort, das Sie im Anschluss von Ihrem E-Mail-Postfach abrufen können und Ihrer E-Mail-Adresse können Sie sich nun wieder, wie gewohnt, anmelden.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, nicht mehr erreichen können, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Laden Sie sich das Kundendaten-Aktualisierungs-Formular herunter. Das Formular finden Sie unter folgendem Link: [http://www.euserv.com/global/forms/EUserv_Aenderung_Kundendaten.pdf ‎Hier klicken]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Füllen Sie es, soweit es Ihnen möglich ist, aus und schicken Sie es an die im Formular angegebene Faxnummer oder per Post an die unter folgendem Link angegebene Adresse: Hier Klicken.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hinweis:&amp;lt;/div&amp;gt;Bei der E-Mail-Adresse sollte natürlich eine für Sie zugängliche Adresse gewählt werden. Zudem muss das Formular zwingend vom Vertragspartner unterschrieben werden. Bei Firmen / Vereinen oder anderen Institutionen nutzen Sie bitte auch den Firmenstempel.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nach der Bearbeitung bekommen Sie von EUserv Internet eine Bestätigung. Jetzt können Sie sich, wie oben beschrieben, ein neues Passwort generieren lassen, mit dem Sie sich anmelden können.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:35:50 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung</comments>		</item>
		<item>
			<title>Kundencenter Passwort-Verlegung</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Passwort-Verlegung</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Passwort-Verlegung}}&lt;br /&gt;
[[Kategorie:Kundencenter]]&lt;br /&gt;
'''''Kundencenter Passwort-Verlegung'''''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Kundencenter Passwort-Verlegung'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um ein neues Passwort für Ihren Account zu erhalten, gibt es 2 Möglichkeiten.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, noch erreichen können gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Klicken Sie auf den Link &amp;quot;Kundencenter&amp;quot; unserer Webseite.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: Kundencenter_Passwort-Verlegung_DE_01.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Daraufhin öffnet sich das Kundencenter, hier klicken Sie dann auf den Link &amp;quot;Haben Sie Ihr Passwort vergessen?&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 2.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nun klicken Sie auf den Button &amp;quot;Passwort zusenden&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei: 3.jpg]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;4.&amp;lt;/nowiki&amp;gt; Abschließend bestätigt Ihnen das Kundencenter die Sendung eines neuen Passwortes. Mit diesem Passwort, das Sie im Anschluss von Ihrem E-Mail-Postfach abrufen können und Ihrer E-Mail-Adresse können Sie sich nun wieder, wie gewohnt, anmelden.&lt;br /&gt;
&lt;br /&gt;
Wenn Sie die E-Mail-Adresse, auf die der Account registriert ist, nicht mehr erreichen können, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1.&amp;lt;/nowiki&amp;gt; Laden Sie sich das Kundendaten-Aktualisierungs-Formular herunter. Das Formular finden Sie unter folgendem Link: [http://www.euserv.com/global/forms/EUserv_Aenderung_Kundendaten.pdf ‎Hier klicken]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;2.&amp;lt;/nowiki&amp;gt; Füllen Sie es, soweit es Ihnen möglich ist, aus und schicken Sie es an die im Formular angegebene Faxnummer oder per Post an die unter folgendem Link angegebene Adresse: Hier Klicken.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Hinweis:&amp;lt;/div&amp;gt;Bei der E-Mail-Adresse sollte natürlich eine für Sie zugängliche Adresse gewählt werden. Zudem muss das Formular zwingend vom Vertragspartner unterschrieben werden. Bei Firmen / Vereinen oder anderen Institutionen nutzen Sie bitte auch den Firmenstempel.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;3.&amp;lt;/nowiki&amp;gt; Nach der Bearbeitung bekommen Sie von EUserv Internet eine Bestätigung. Jetzt können Sie sich, wie oben beschrieben, ein neues Passwort generieren lassen, mit dem Sie sich anmelden können.&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:33:47 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Passwort-Verlegung</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung EN 03.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_03.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_03.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:33:09 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_EN_03.png</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung EN 02.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_02.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_02.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:33:00 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_EN_02.png</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung EN 01.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_01.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_EN_01.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:32:46 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_EN_01.png</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung DE 03.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_03.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_03.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:32:31 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_DE_03.png</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung DE 02.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_02.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_02.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:32:20 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_DE_02.png</comments>		</item>
		<item>
			<title>Datei:Kundencenter Passwort-Verlegung DE 01.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_01.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Kundencenter_Passwort-Verlegung_DE_01.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Tue, 10 Nov 2015 08:32:03 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Kundencenter_Passwort-Verlegung_DE_01.png</comments>		</item>
		<item>
			<title>Manual Einrichtung Proxmox/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Einrichtung_Proxmox/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Einrichtung_Proxmox/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Configuration of IPv6 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual_Einrichtung_Proxmox}}&lt;br /&gt;
[[Kategorie:Virtualization]]&lt;br /&gt;
[[Kategorie:Service_%2B_Support/en]]&lt;br /&gt;
'''''Manual Setting up Proxmox'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''  Manual Setting up Proxmox '''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Webinterface =&lt;br /&gt;
Enter the IP address of your server followed by ''':8006''' to reach the web interface. Here you can login with your 'username' and 'password'. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_webinterface_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Creating a VM =&lt;br /&gt;
&lt;br /&gt;
With Proxmox you have the possibility to create virtual machines. Click &amp;quot;Create VM&amp;quot; in the upper right corner. Here you can do a pre-configuration of your virtual machine. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_1_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Assign a name to your VM. Additionally you can specify a ressource pool here. Click '''Next''' when you are done.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_2_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select an operating system for your virtual machine.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_3_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can select an uploaded image. Uploading an image is explained under the section [[Manual Einrichtung Proxmox/en#Uploading an image|Uploading an image]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_4_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Set a drive for your virtual machine.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_5_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can specify which CPU is supposed to be used for your VM.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_6_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Next, you can set your VM's memory.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_7_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Finally, you can specify the network settings for your virtual machine.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_8_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
In the confirmation window click '''Finish''' to create your virtual machine. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_9_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
== Starting the virtual machine ==&lt;br /&gt;
Click '''Start''' in the upper right corner to start the VM. Additionally you have the possibility to shutdown, stop or restart your VM. This can be done with a click on '''Shutdown''', '''Stop''' or '''Reset'''. If you want to delete your VM click '''Delete'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_10_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Proxmox also provides the option to connect to your VM via a VNC console. Click '''Console''' in the upper right corner.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_11_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click '''Start''' in the next window to connect to your VM via console.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_13_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Uploading an image ==&lt;br /&gt;
To use an ISO image for the virtual machine, you have to upload it. Please  proceed as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select '''storage''' from the server view.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_1_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the tab '''Content''', click the '''Upload''' button.  &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_2_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select a locally stored ISO image and click '''Upload'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_3_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
After having successfully uploaded the image, it is displayed in the main window.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_4_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Assigning IPs with KVM ==&lt;br /&gt;
&lt;br /&gt;
After you have created your VMs you will now need to assign IP addresses to the guests. For this, please only use the additional IPs of your server, which can be displayed under &amp;quot;IP addresses&amp;quot; in the customer panel. We assume a bridged networking setup. The procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
Log in to your server with SSH and enter the following command:&lt;br /&gt;
&lt;br /&gt;
  ifconfig vmbr0 | grep -m 1 inet&lt;br /&gt;
&lt;br /&gt;
Note down the addresses under &amp;quot;Bcast&amp;quot; and &amp;quot;Mask&amp;quot;. Finally we need the gateway address. Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  route -n&lt;br /&gt;
&lt;br /&gt;
The gateway address can be found in the line that begins with &amp;quot;0.0.0.0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can now begin with the configuration of the guests. Open a browser and enter &amp;quot;https://&amp;lt;Your-Server-IP&amp;gt;:8006&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Log in with your server's access data and click &amp;quot;Virtual Machines&amp;quot; in the left menu. Select the VM you want to assign an IP to. Righ-click on the VM and select '''Console'''&lt;br /&gt;
&lt;br /&gt;
In the guest system enter the command:&lt;br /&gt;
&lt;br /&gt;
  ifconfig eth0 &lt;br /&gt;
&lt;br /&gt;
The output should look like this:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip1.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The network interface is unconfigured yet. For testing purposes we will add the address manually. Enter the command:&lt;br /&gt;
&lt;br /&gt;
  ifconfig eth0 &amp;lt;IP&amp;gt; bcast &amp;lt;Bcast-Adress&amp;gt; mask &amp;lt;Netmask&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substitue &amp;lt;Bcast-Address&amp;gt; and &amp;lt;Netmask&amp;gt; with the values we got earlier:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip2.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;ifconfig eth0&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
should give the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip3.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally we set the default GW with:&lt;br /&gt;
&lt;br /&gt;
  route add default gw &amp;lt;GATEWAY&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;lt;GATEWAY&amp;gt; respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you issue a&lt;br /&gt;
&lt;br /&gt;
  ping google.de&lt;br /&gt;
&lt;br /&gt;
now, you should get a positive feedback:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip4.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the configuration was successful we will now make the setup persistent by writing it to the configuration files of the guest. For Debian, open the file '''/etc/network/interfaces''' in an editor and add the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
    address &amp;lt;IP&amp;gt;&lt;br /&gt;
    netmask &amp;lt;Netmask&amp;gt;&lt;br /&gt;
    gateway &amp;lt;Gateway&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CentOS/RHEL we will have to adjust the file '''/etc/sysconfig/network-scripts/ifcfg-eth0''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;DEVICE=eth0&lt;br /&gt;
IPADDR=&amp;lt;IP&amp;gt;&lt;br /&gt;
NETMASK=&amp;lt;Netmask&amp;gt;&lt;br /&gt;
BROADCAST=&amp;lt;Bcast&amp;gt;&lt;br /&gt;
GATEWAY=&amp;lt;Gateway&amp;gt;&lt;br /&gt;
ONBOOT=yes&lt;br /&gt;
BOOTPROTO=none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adjust the values in brackets accordingly. After a reboot of the virtual machine it should have network connectivity.&lt;br /&gt;
&lt;br /&gt;
== Example: Creating a Windows VM ==&lt;br /&gt;
&lt;br /&gt;
The steps mentioned above can also be applied to the creation of a Windows VM. Please ensure that you have uploaded a Windows ISO first: [[Manual Einrichtung Proxmox/en#Uploading_an_image|Uploading an Image]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At first, Select '''Create VM''' and enter a name for the VM:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_1.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select your correct Windows version in the operating system overview:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_2.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under '''ISO-Image''' select your uploaded Windows image:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_3.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
Modify the settings for the virtual hard disk. Under '''BUS/Device''' select '''SATA''' and enter the size of the virtual hard disk under '''Disk size (GB)''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_4.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under '''CPU''' enter the amount of virtual CPUs and cores:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_5.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under '''Memory''' enter the amount of RAM you wish to assign to the VM:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_6.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keep the default settings under '''Network''' ('''Bridged mode'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_7.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Confirm the settings by clicking on '''Finish''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_8.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the overview panel right-click on the VM and select '''Start''' to start the VM:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_9.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Right-click on the VM again and select '''Console''' to redirect the graphical output of the VM:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_10.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will now see the installation screen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_11.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, perform the steps of the Windows installation as usual. Please note that after the installation has been finished, you need to configure the IP settings within the VM..&lt;br /&gt;
&lt;br /&gt;
= Creating an OpenVZ container =&lt;br /&gt;
&lt;br /&gt;
With Proxmox you have the possibility to create an OpenVZ container. To do this click on '''storage''' in the 'Server View'.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz1_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click the '''Content''' tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz2_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select the tab '''Templates''' to download a template.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz3_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select a template (in this case centos-6-standard) and click '''Download'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz4_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
After the download has finished, the following output appears:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz5_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click the '''Create CT''' button to create an OpenVZ container.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz6_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the following window individual settings for the OpenVZ container can be set up. Enter a name for the CT and assign a password.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz7_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select the downloaded template that you want to use for the new CT.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz8_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Set the ressources of your container. These include memory, disk size, swap and number of the CPUs. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz9_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
On the tab '''Network''' choose between '''Routed mode''' or '''Bridged mode'''. Confirm your choice with '''Next'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz10_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Here your DNS settings can be configured.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz11_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally you will be presented with a confirmation window that gives you a summary of all the settings you have made.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz12_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finished! You have created an OpenVZ container, displayed in the 'Server View'.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz13_en.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To start the OpenVZ container click on '''Start'''. If you want to shutdown your CT click on '''Shutdown'''. To stop your container click on '''Stop'''.&lt;br /&gt;
&lt;br /&gt;
== Configuration OpenVZ routed ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Proxmox OpenVZ VMs with routed networking, some additional configuration is needed.&lt;br /&gt;
&lt;br /&gt;
Activate IP-forwarding :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
echo 'net.ipv4.ip_forward=1' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
echo 'net.ipv6.conf.all.proxy_ndp=1' &amp;gt;&amp;gt; /etc/sysctl.conf &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure OpenVZ for the use of multiple subnets on the same network interface:&lt;br /&gt;
&lt;br /&gt;
/etc/vz/vz.conf&lt;br /&gt;
&lt;br /&gt;
 # Controls which interfaces to send ARP requests and modify APR tables on.&lt;br /&gt;
 NEIGHBOUR_DEVS=all&lt;br /&gt;
&lt;br /&gt;
= Configuration of IPv6 =&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
Native support for IPv6 under Proxmox VE first appeared in version 4.0. This includes the possibility of configuring IPv6 for KVM and OpenVZ / LXC containers via the web frontend.&lt;br /&gt;
&lt;br /&gt;
Manual assignment of IPv6 addresses in versions of Proxmox VE less than 4.0 might lead to unexpected (faulty) behaviour (i.e. the Proxmox daemon is not able to start).  &lt;br /&gt;
&lt;br /&gt;
== Preparations ==&lt;br /&gt;
&lt;br /&gt;
To use IPv6 for your virtual machines or OpenVZ containers you must set up the free contained IPv6 /64 net via the support. Send an accordingly request to [mailto:support@euserv.de EUserv Support].&lt;br /&gt;
&lt;br /&gt;
The IPv6 net will be routed via the main IPv6 address of your server. If you don't have created the main IPv6 address, please follow these steps:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_IPv6_Adressen/en#Creating the IPv6 addresses| Creating the IPv6 addresses]]&lt;br /&gt;
&lt;br /&gt;
== Configuration of the host system ==&lt;br /&gt;
&lt;br /&gt;
You need the main IPv6 address and the associated IPv6 gateway for configuration of the host system. In the customer service center both data can be found by clicking on '''IPv6 addresses'''.&lt;br /&gt;
&lt;br /&gt;
Assign the main IPv6 address of your server to the active network interface ('vmbr0' in the default installation) and create the default gateway:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 addr add &amp;lt;IPv6 main address&amp;gt; dev vmbr0&lt;br /&gt;
route -A inet6 add default gw &amp;lt;IPv6 gateway&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, test the IPv6 connectivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ping6 ipv6.google.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get a positive result, make the changes in '''/etc/network/interfaces''' persistent (add the following lines):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;iface vmbr0 inet6 static&lt;br /&gt;
       address   &amp;lt;IPv6 main address&amp;gt; &lt;br /&gt;
       netmask   64&lt;br /&gt;
       gateway   &amp;lt;IPv6 gateway&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, IPv6 forwarding must be activated and the changes applied to the kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;echo 'net.ipv6.conf.all.proxy_ndp=1' &amp;gt;&amp;gt; /etc/sysctl.conf &lt;br /&gt;
echo 'net.ipv6.conf.all.forwarding=1' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
sysctl -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that in '''/etc/bz/vz.conf''' the following is included (i.e. not commented):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;IPV6=&amp;quot;yes&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of the guest system (OpenVZ) ==&lt;br /&gt;
&lt;br /&gt;
Now you can assign the IPv6 addresses from the /64 subnet to your virtual machines. The webinterface of Proxmox can only handle IPv4 addresses, so the configuration must be made via the terminal in the host system. The first three addresses are (supposing the /64 net is '''2001:db8:beef:1001::/64'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; 2001:db8:beef:1001::1&lt;br /&gt;
 2001:db8:beef:1001::2&lt;br /&gt;
 2001:db8:beef:1001::3&lt;br /&gt;
           .&lt;br /&gt;
           .&lt;br /&gt;
           .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Repeat the following step vor all VMs that you want to assign an IP:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set &amp;lt;container_id&amp;gt; --ipadd &amp;lt;IPv6-Adresse&amp;gt; --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Subsequently start the VM. The connectivity should now be established:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start &amp;lt;container_id&amp;gt;&lt;br /&gt;
(this step can also be done via the webinterface)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of the guest system (KVM/routed) ==&lt;br /&gt;
&lt;br /&gt;
Hint: The '''bridged''' network configuration is needed for the assignment of IPv6 addresses from the /64 subnet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip5.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First assign an IPv6 address from the /64 subnet to the network interface in the VM (replace the example address with the actual address you are planning to assign):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 addr add 2001:db8:beef:1001::1/64 dev eth0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default gateway (the IPv6 main address of your server):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;route -A inet6 add default gw &amp;lt;IPv6 main address&amp;gt;/64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you have to create the corresponding route on the host to the virtual machines:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 route add 2001:db8:beef:1001::1 dev vmbr0&lt;br /&gt;
ip -6 route add 2001:db8:beef:1001::2 dev vmbr0&lt;br /&gt;
ip -6 route add 2001:db8:beef:1001::3 dev vmbr0&lt;br /&gt;
           .&lt;br /&gt;
           .&lt;br /&gt;
           .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test the connectivity with a ping6 or SSH access to your VM.&lt;/div&gt;</description>
			<pubDate>Mon, 09 Nov 2015 15:23:50 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Einrichtung_Proxmox/en</comments>		</item>
		<item>
			<title>Manual Einrichtung Proxmox</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Einrichtung_Proxmox</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Einrichtung_Proxmox</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Konfiguration von IPv6 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Einrichtung Proxmox}}&lt;br /&gt;
[[Kategorie:Virtualisierung]]&lt;br /&gt;
[[Kategorie:Service_%2B_Support]]&lt;br /&gt;
'''''Manual Einrichtung Proxmox'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''  Manual Einrichtung Proxmox '''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Webinterface =&lt;br /&gt;
Um das Webinterface von Proxmox zu erreichen, geben Sie in Ihrem Browser die IP-Adresse Ihres Servers ein. Falls dies nicht funktioniert, kann es erforderlich sein, ein &amp;lt;b&amp;gt; :8006 &amp;lt;/b&amp;gt; an die Adresse anzuhängen. Hier melden Sie sich mit Ihrem 'Username' und 'Password' an.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_webinterface.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Erstellung einer Virtuellen Maschine =&lt;br /&gt;
&lt;br /&gt;
Mit Proxmox haben Sie die Möglichkeit virtuelle Maschinen anzulegen. Dazu klicken Sie oben rechts auf '''Erstelle VM'''. Hier können Sie eine Vorabkonfiguration Ihrer Virtuellen Maschine vornehmen:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Weisen Sie Ihrer VE einen Namen zu. Zusätzlich können Sie hier einen Ressourcen-Pool festlegen. Klicken Sie danach auf '''Vorwärts'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wählen Sie ein Betriebssystem für die Virtuelle Maschine aus.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Hier können Sie ein zuvor hochgeladenes Image auswählen. Wie sie ein Image hochladen finden Sie unter dem Punkt [[Manual Einrichtung Proxmox#Upload eines Images|Upload eines Images]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Legen Sie ein Laufwerk für Ihre Virtuelle Maschine fest. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_5.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Welche CPU für Ihre VE verwendet werden soll, können Sie hier einstellen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_6.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Legen Sie als nächstes den Speicher fest, welcher von Ihrer VM genutzt werden soll.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_7.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Zuletzt können Sie die Netzwerk-Einstellungen für Ihre VE vornehmen. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_8.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Klicken Sie im Bestätigungsfenster auf Abschließen, damit Ihre Virtuelle Maschine erstellt wird.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_9.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
== Start der Virtuellen Maschine ==&lt;br /&gt;
Zum Starten der VM klicken Sie rechts oben auf '''Start'''. Zusätzlich haben Sie die Möglichkeit mit einem Klick auf '''Herunterfahren''', '''Stopp''', '''Reset''' Ihre VM herunterzufahren, zu stoppen oder zu neuzustarten. Wenn Sie Ihre VM löschen möchten so klicken Sie auf '''Entfernen'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_10.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Proxmox bietet außerdem die Option auf Ihre VM mit der Konsole zuzugreifen. Klicken Sie dazu rechts oben auf '''Konsole'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_11.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wenn Sie nun im darauf erscheinenden Fenster auf '''Start''' klicken, verbinden Sie sich zu Ihrer VM.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_12.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_vm_13.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upload eines Images ==&lt;br /&gt;
Um ein ISO-Image für die Virtuelle Maschine verwenden zu können, müssen sie dieses zuvor hochladen. Dazu gehen Sie wie folgt vor:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wählen Sie in der Server-Ansicht '''storage''' aus.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Klicken Sie unter dem Reiter '''Inhalt''' auf '''Hochladen'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Wählen Sie ein lokal gespeichertes ISO-Images aus und klicken auf '''Hochladen'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Sie haben Ihr Image erfolgreich hochgeladen. Dieses wir Ihnen in der Übersicht angezeigt. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_image_upload_4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IP's zuweisen mit KVM ==&lt;br /&gt;
&lt;br /&gt;
Wenn Sie Ihre VM's angelegt und mittels eines ISO-Images die Betriebssysteme installiert haben, müssen wir nun im nächsten Schritt die IP-Adressen den Gästen zuweisen. Dafür gehen wir von einem Bridged-Networking Setup aus (s.o.) Wir gehen wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
Loggen Sie sich mittels SSH in Ihren Server ein und geben Sie dort folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
  ifconfig vmbr0 | grep -m 1 inet&lt;br /&gt;
&lt;br /&gt;
Notieren Sie sich dann die unter &amp;quot;Bcast&amp;quot; und &amp;quot;Mask&amp;quot; angezeigten IP-Adressen.&lt;br /&gt;
Abschließend benötigen wir noch die Adresse des Gateways. Geben Sie dazu folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
  route -n&lt;br /&gt;
&lt;br /&gt;
Entscheidend ist hierbei die Zeile, die mit der Adresse &amp;quot;0.0.0.0&amp;quot; beginnt. Notieren Sie sich aus dieser Zeile die Adresse, die unter &amp;quot;Gateway&amp;quot;&lt;br /&gt;
steht.&lt;br /&gt;
&lt;br /&gt;
Jetzt können wir mit der eigentlichen Gastkonfiguration beginnen.&lt;br /&gt;
Rufen Sie in Ihrem Browser das Proxmox Web-Interface auf. Geben Sie dazu in der Adresszeile des Browsers Ihre Server-IP ein bzw. wenn dies nicht funktionieren sollte &amp;quot;&amp;lt;Server-IP&amp;gt;:8006&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Melden Sie sich nun mit Ihren Zugangsdaten an und klicken Sie im linken Menü auf &amp;quot;Virtual Machines&amp;quot;. Wählen Sie nun die VM aus, welcher Sie eine IP zuweisen möchten, gehen Sie danach unten links auf &amp;lt;div style=&amp;quot;color:red;font-weight:bold;&amp;quot;&amp;gt;Open VNC console&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Geben Sie nun im Gastsystem den Befehl&lt;br /&gt;
&lt;br /&gt;
  ifconfig eth0 &lt;br /&gt;
&lt;br /&gt;
ein. Die Ausgabe sollte in etwa so aussehen:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip1.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Dem Netzwerkinterface ist also noch keine IP zugewiesen. Zu Testzwecken werden wir jetzt die Einstellungen manuell vornehmen. Geben Sie den Befehl&lt;br /&gt;
&lt;br /&gt;
  ifconfig eth0 &amp;lt;IP&amp;gt; bcast &amp;lt;Bcast-Adresse&amp;gt; mask &amp;lt;Netzmaske&amp;gt;&lt;br /&gt;
&lt;br /&gt;
mit den Daten, die wir vorhin im Hostsystem ermittelt haben, an. Für &amp;lt;IP&amp;gt; setzen Sie natürlich die IP-Adresse ein, die Sie dem Gast zuweisen möchten:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip2.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;ifconfig eth0&amp;lt;/pre&amp;gt; sollte jetzt in etwa folgendes ausgeben:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip3.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Abschließend setzen wir noch den Default-Gateway mit&lt;br /&gt;
&lt;br /&gt;
  route add default gw &amp;lt;GATEWAY&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wobei &amp;lt;GATEWAY&amp;gt; mit der oben ermittelten Adresse ersetzt wird.&lt;br /&gt;
&lt;br /&gt;
Wenn wir jetzt beispielsweise ein&lt;br /&gt;
&lt;br /&gt;
  ping google.de&lt;br /&gt;
&lt;br /&gt;
ausführen, sollten wir ein positives Ergebnis erhalten:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip4.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
War die Konfiguration erfolgreich, können Sie jetzt noch festlegen, dass die Einstellungen fest bei jedem (Neu)Start der virtuellen Maschine übernommen werden. Dazu öffnen Sie für Debian in einem Editor die Datei /etc/network/interfaces und schreiben folgenden Inhalt hinein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
    address &amp;lt;zu_vergebene_IP&amp;gt;&lt;br /&gt;
    netmask &amp;lt;Netzmaske&amp;gt;&lt;br /&gt;
    gateway &amp;lt;Gateway&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für CentOS müssen wir die Datei /etc/sysconfig/network-scripts/ifcfg-eth0 anpassen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;DEVICE=eth0&lt;br /&gt;
IPADDR=&amp;lt;zu_vergebene_IP&amp;gt;&lt;br /&gt;
NETMASK=&amp;lt;Netzmaske&amp;gt;&lt;br /&gt;
BROADCAST=&amp;lt;Bcast&amp;gt;&lt;br /&gt;
GATEWAY=&amp;lt;Gateway_HostSystem&amp;gt;&lt;br /&gt;
ONBOOT=yes&lt;br /&gt;
BOOTPROTO=none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Passen Sie die Werte Ihren Einstellungen entsprechend an. Nach einem Neustart der VM sollten diese nun mit der entsprechenden IP-Adresse versehen sein und volle Konnektivität haben.&lt;br /&gt;
&lt;br /&gt;
== Beispiel: Erstellung einer Windows VM ==&lt;br /&gt;
&lt;br /&gt;
Die oben aufgeführten Schritte lassen sich auch auf die Erstellung einer Windows VM übertragen. Stellen Sie bitte zunächst sicher, dass Sie eine entsprechende ISO-Datei für Windows hochgeladen haben: [[Manual Einrichtung Proxmox#Upload eines Images|Upload eines Images]]&lt;br /&gt;
&lt;br /&gt;
Wählen Sie zunächst '''Create VM''' und legen Sie einen Namen für die VM fest:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_1.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wählen Sie als Betriebssystem-Art die entsprechende Windows-Version aus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_2.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wählen Sie unter '''ISO-Image''' das entspechende Windows-Image aus, welches Sie vorher hochgeladen haben:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_3.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
Legen Sie nun die Einstellungen für die virtuelle Festplatte fest. Wählen Sie bei '''BUS/Device''' '''SATA''' und legen Sie bei '''Disk size (GB)''' die Größe der virtuellen Festplatte fest:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_4.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unter '''CPU''' wählen Sie die Anzahl der virtuellen CPUs sowie der Kerne aus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_5.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unter '''Memory''' setzen Sie den verfügbaren Arbeitsspeicher:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_6.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unter '''Network''' belassen Sie die Standard-Einstellungen ('''Bridged mode'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_7.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bestätigen Sie die Einstellungen mit einem Klick auf '''Finish''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_8.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rechtsklicken Sie in der Übersicht auf die VM und wählen Sie '''Start''', um die VM zu starten:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_9.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rechtsklicken Sie erneut auf die VM und wählen Sie '''Console''', um die graphische Ausgabe der VM umzuleiten:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_10.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sie sehen nun den Installationsbildschirm:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: proxmox_windows_11.png | thumb | 520px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Führen Sie abschließend wie gewohnt die Windows-Installation durch. Bitte beachten Sie, das Sie nach der Installation noch die individuelle Netzwerk-Konfiguration (Zuweisen der IP-Adresse etc.) innerhalb der VM vornehmen müssen.&lt;br /&gt;
&lt;br /&gt;
= Erstellung eines OpenVZ-Containers =&lt;br /&gt;
&lt;br /&gt;
Mit Proxmox haben Sie die Möglichkeit OpenVZ-Container anzulegen. Dazu gehen Sie unter ihrer 'Serveransicht' rechts auf '''storage'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Nun klicken Sie im darauf erscheinenden Fenster auf den Reiter '''Inhalt'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Gehen Sie nun auf den Reiter '''Templates''' um ein Template herunterzuladen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wählen Sie nun hier ein Template aus (in unserem Fall centos-6-standard) und klicken auf '''Herunterladen'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Nachdem der Download erfolgreich war, erscheint folgende Ausgabe im darauf folgenden Fenster:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz5.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Klicken Sie auf den Button '''Erstelle CT''' um einen OpenVZ-Container zu erstellen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz6.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Im darauf folgenden Fenster können Sie Ihre Einstellungen für den OpenVZ-Container vornehmen. Geben Sie hier einen Namen für den CT an und weisen Sie diesem ein Kennwort zu.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz7.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wählen Sie danach das heruntergeladene Template aus, welches sie zur Erstellung Ihres CT verwenden möchten.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz8.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Legen Sie die Ressourcen Ihres Containers fest. Dazu gehören Speicher, Disk-Größe, Swap-Größe und die Anzahl der CPU's.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz9.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wählen Sie bei Netzwerk zwischen '''Routed mode''' und '''Bridged mode'''. Bestätigen Sie Ihre Auswahl mit '''Vorwärts'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz10.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Hier können Sie Ihre DNS-Einstellungen vornehmen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz11.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Schließlich wird Ihnen ein Bestätigungsfenster angezeigt, welches alle festgelegten Einstellungen für Ihren Container enthält.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz12.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Fertig! Sie haben nun einen OpenVZ-Container erstellt, welcher Ihnen gleich in der 'Server-Ansicht' angezeigt wird.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:proxmox_openvz13.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Um nun den OpenVZ-CT zu starten klicken Sie oben rechts '''Start'''. Zum Herunterfahren des CT klicken Sie auf '''Herunterfahren'''. Um Ihren CT anzuhalten, klicken Sie auf '''Stopp'''.&lt;br /&gt;
&lt;br /&gt;
== Konfiguration OpenVZ routed ==&lt;br /&gt;
&lt;br /&gt;
Um OpenVZ Container mit Proxmox in der Netzwerkeinstellung routed nutzen zu können, müssen einige Änderungen am System durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
IP-Forwarding aktiviert:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
echo 'net.ipv4.ip_forward=1' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
echo 'net.ipv6.conf.all.proxy_ndp=1' &amp;gt;&amp;gt; /etc/sysctl.conf &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damit OpenVZ mit IP-Adressen aus anderen Subnetzen umgehen kann, muss folgende Einstellung getätigt werden:&lt;br /&gt;
&lt;br /&gt;
/etc/vz/vz.conf&lt;br /&gt;
&lt;br /&gt;
 # Controls which interfaces to send ARP requests and modify APR tables on.&lt;br /&gt;
 NEIGHBOUR_DEVS=all&lt;br /&gt;
&lt;br /&gt;
= Konfiguration von IPv6  =&lt;br /&gt;
&lt;br /&gt;
== Limitierungen ==&lt;br /&gt;
&lt;br /&gt;
Native Unterstützung von IPv6 bringt Proxmox VE erst in der Version 4.0 mit. Dies umfasst die Möglichkeit der Konfiguration von IPv6 für KVM und OpenVZ- bzw. LXC-Containern über das Frontend.&lt;br /&gt;
&lt;br /&gt;
Das (manuelle) Zuweisen von IPv6-Adressen in Versionen von Proxmox VE &amp;lt; 4.0 kann zu fehlerhaftem Verhalten führen (der Proxmox-Daemon kann nicht gestartet werden o.ä.).&lt;br /&gt;
&lt;br /&gt;
== Vorbereitungen ==&lt;br /&gt;
&lt;br /&gt;
Um IPv6 für Ihre virtuellen Maschinen oder OpenVZ-Container nutzen zu können, müssen Sie für Ihren Server zunächst das kostenfrei im Tarif enthaltene IPv6 /64 Netz über den Support einrichten lassen. Schicken Sie dazu eine entsprechende Anfrage an den [mailto:support@euserv.de EUserv Support] &lt;br /&gt;
&lt;br /&gt;
Das IPv6-Netz wird über die Haupt-IPv6-Adresse Ihres Servers geroutet. Falls Sie die Haupt-IPv6-Adresse noch nicht angelegt haben, folgen Sie bitte diesen Schritten: &lt;br /&gt;
&lt;br /&gt;
[https://www.euserv.com/wiki/index.php/Kundencenter_Server_IPv6_Adressen#IPv6-Adressen_anlegen Kundencenter: IPv6-Adressen anlegen]&lt;br /&gt;
&lt;br /&gt;
== Konfiguration des Host-Systems ==&lt;br /&gt;
&lt;br /&gt;
Für die Konfiguration des Host-Systems benötigen Sie die Haupt-IPv6-Adresse sowie den dazugehörigen IPv6-Gateway. Beide Daten finden Sie im Kundencenter unter '''IPv6-Adressen'''&lt;br /&gt;
&lt;br /&gt;
Weisen Sie nun dem aktiven Netzwerkinterface (in der Standardinstallation ist dies 'vmbr0') die Haupt-IPv6-Adresse des Servers zu und legen Sie den Default-Gateway an:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 addr add &amp;lt;IPv6-Haupt-Adresse&amp;gt; dev vmbr0&lt;br /&gt;
route -A inet6 add default gw &amp;lt;IPv6-Gateway&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Testen Sie als Nächstes die IPv6-Konnektivität:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ping6 ipv6.google.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wenn Sie ein positives Ergebnis erhalten, machen Sie die Änderungen in der Datei '''/etc/network/interfaces''' persistent (Fügen Sie folgende Zeilen hinzu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;iface vmbr0 inet6 static&lt;br /&gt;
       address   &amp;lt;IPv6-Haupt-Adresse&amp;gt; &lt;br /&gt;
       netmask   64&lt;br /&gt;
       gateway   &amp;lt;IPv6-Gateway&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Als nächstes muss IPv6-Forwarding aktiviert und die Änderungen im Kernel übernommen werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;echo 'net.ipv6.conf.all.proxy_ndp=1' &amp;gt;&amp;gt; /etc/sysctl.conf &lt;br /&gt;
echo 'net.ipv6.conf.all.forwarding=1' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
sysctl -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stellen Sie zudem sicher, dass in der Datei '''/etc/vz/vz.conf''' folgende Zeile (nicht kommentiert) enthalten ist:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;IPV6=&amp;quot;yes&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration des Gast-Systems (OpenVZ) ==&lt;br /&gt;
&lt;br /&gt;
Nun können Sie die IPv6-Adressen aus dem /64-Subnetz an Ihre virtuellen Maschinen vergeben. Da das Webinterface von Proxmox nur mit IPv4-Adressen umgehen kann, muss die Konfiguration über Terminal im Host-System vorgenommen werden. Die ersten drei Adressen ergeben sich beispielsweise folgendermaßen (angenommen, dass /64 - Netz lautet '''2001:db8:beef:1001::/64'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; 2001:db8:beef:1001::1&lt;br /&gt;
 2001:db8:beef:1001::2&lt;br /&gt;
 2001:db8:beef:1001::3&lt;br /&gt;
           .&lt;br /&gt;
           .&lt;br /&gt;
           .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wiederholen Sie den folgenden Schritt für alle VE's, die eine IPv6-Adresse erhalten sollen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set &amp;lt;container_id&amp;gt; --ipadd &amp;lt;IPv6-Adresse&amp;gt; --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Anschließend starten Sie die VE und sollten nun über Konnektivität verfügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start &amp;lt;container_id&amp;gt;&lt;br /&gt;
(Diesen Schritt können Sie auch über das Webinterface durchführen)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration des Gast-Systems (KVM/routed) ==&lt;br /&gt;
&lt;br /&gt;
Hinweis: Für die Zuweisung der IPv6-Adressen aus dem /64 Subnetz wird die '''Bridged''' Netwerkkonfiguration benötigt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File: proxmox_ip5.png | thumb | 520px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Weisen Sie in der VM zunächst eine IPv6-Adresse aus dem /64 Subnetz dem Netzwerkinterface zu (Ersetzen Sie die Beispieladresse durch die zu vergebende IPv6-Adresse):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 addr add 2001:db8:beef:1001::1/64 dev eth0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setzen Sie den Standard-Gateway (die IPv6-Hauptadresse Ihres Servers):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;route -A inet6 add default gw &amp;lt;IPv6-Hauptadresse&amp;gt;/64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Abschließend müssen Sie auf dem Host noch für jede IP, die Sie einer VM zugewiesen haben, die entsprechende Route anlegen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ip -6 route add 2001:db8:beef:1001::1 dev vmbr0&lt;br /&gt;
ip -6 route add 2001:db8:beef:1001::2 dev vmbr0&lt;br /&gt;
ip -6 route add 2001:db8:beef:1001::3 dev vmbr0&lt;br /&gt;
           .&lt;br /&gt;
           .&lt;br /&gt;
           .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Testen Sie abschließend die Konnektivität mit einem ping6 bzw. SSH-Zugriff auf die VM.&lt;/div&gt;</description>
			<pubDate>Mon, 09 Nov 2015 15:20:19 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Einrichtung_Proxmox</comments>		</item>
		<item>
			<title>Manual FreeBSD Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_FreeBSD_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_FreeBSD_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual FreeBSD Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the FreeBSD Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the FreeBSD Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the FreeBSD Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the FreeBSD Rescue system via the customer control panel. The following wiki guide shows you how to activate the FreeBSD Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the FreeBSD Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the FreeBSD Rescue system. Please proceed as follows: &lt;br /&gt;
&lt;br /&gt;
* Open an SSH program (e.g. Putty)&lt;br /&gt;
* Enter the IP address of your server and port 22.&lt;br /&gt;
* Enter your username and password. Please enter '''root''' and the '''default password''' of your server. Information on where you can find these data can be obtained here: [[Kundencenter_Server_Serverdaten/en#Configuration_data_of_the_server | here]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/ada0pX /mnt&lt;br /&gt;
cd /mnt&lt;br /&gt;
chroot .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
cd ..&lt;br /&gt;
umount mnt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer control panel.&lt;br /&gt;
* Perform a web reset via the customer control panel.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the newly assigned password.&lt;br /&gt;
&lt;br /&gt;
= Mounting of OpenBSD partitions =&lt;br /&gt;
&lt;br /&gt;
OpenBSD filesystems (FFS) can also be mounted under FreeBSD.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the FreeBSD Rescue system in order to mount OpenBSD partitions. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Mounting OpenBSD partitions can be done after an fsck is performed. Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  fsck -t ffs /dev/adaXsY &lt;br /&gt;
&lt;br /&gt;
Replace X with the hard disk drive and Y with the partition you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to disable the firewall:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/ada0pX /mnt&lt;br /&gt;
cd /mnt&lt;br /&gt;
chroot .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Open the file '''/etc/rc.conf''' with the following command:&lt;br /&gt;
&lt;br /&gt;
  nano /etc/rc.conf&lt;br /&gt;
&lt;br /&gt;
If you use the &amp;quot;pf&amp;quot; firewall, add the following line:&lt;br /&gt;
&lt;br /&gt;
  pf_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the FreeBSD Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/ada0pX&lt;br /&gt;
&lt;br /&gt;
fsck performs checks and repairs of a FreeBSD file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the FreeBSD Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/gmX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a FreeBSD file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
== Hard disk check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the FreeBSD Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/ada0pX /mnt&lt;br /&gt;
cd /mnt&lt;br /&gt;
chroot .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk check with smartctl / smartmontools for normal hard disks ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/adaX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/adaX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk check with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/adaX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/adaX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID controllers, you have to be connected with the FreeBSD Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/ada0pX /mnt&lt;br /&gt;
cd /mnt&lt;br /&gt;
chroot .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number after '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following example output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer control panel:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/ada0pX /mnt&lt;br /&gt;
cd /mnt&lt;br /&gt;
chroot .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;fetch http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''grep memory /var/run/dmesg.boot'''. Alternatively you may use the '''vmstat''' command. The respective value can be found under the '''real memory''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
real memory  = 34359738368 (32768 MB)&lt;br /&gt;
avail memory = 33112584192 (31578 MB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 32768 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Fri, 30 Oct 2015 16:32:39 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_FreeBSD_Rescue_System/en</comments>		</item>
		<item>
			<title>VKVM/en</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM/en</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Triggering a reset */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualization]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
The vKVM Rescue System (virtual Keyboard/Video/Mouse) is an extended version of our standard Rescue System which loads a Linux system into your servers RAM via PXE. The vKVM Rescue System starts a virtual machine which is capable of booting from your servers hard disk. The graphical output of the VM is being transmitted over an SSL-secured VNC connection, making it possible for you to interact with your operating system &amp;quot;as if&amp;quot; you were sitting in front of your server.&lt;br /&gt;
&lt;br /&gt;
The Rescue System automatically detects your hard disks and connected USB-disks, enabling you to boot from them within the VM's BIOS. The CPU will be virtualized as well. Additionally a network card is emulated which provides you access to the Internet from within the virtual machine.&lt;br /&gt;
&lt;br /&gt;
vKVM Rescue is a good choice when your server isn't reachable via SSH due to a misconfiguration of your network settings (e.g. iptables) for instance.&lt;br /&gt;
&lt;br /&gt;
= Activating vKVM =&lt;br /&gt;
&lt;br /&gt;
To start the vKVM Rescue System you just have to log in to the customer center, select your server contract and choose &amp;quot;Rescue System&amp;quot; from the left menu. Now select the &amp;quot;vKVM&amp;quot; entry and activate the system. The vKVM Rescue will be available after approx. 30 - 40 minutes (you will receive an E-Mail notification) and you can finally connect via VNC.&lt;br /&gt;
&lt;br /&gt;
'''Please keep in mind''': vKVM can only be started if there's no other rescue system active at the moment. Whether a rescue system is enabled for your server or not can be discerned by the green tick in the row '''Rescue-System''' under '''Serverdata''' in the customer center.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Establishing a VNC connection with vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
To establish a secured VNC connection with the vKVM the program SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download] is recommended.&lt;br /&gt;
&lt;br /&gt;
When you have started the program you should see the following window:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Under '''VNC Host:Display''' enter the IP address of your server, followed by ''':5959'''. Make sure the tick under '''Use SSL''' is set. After clicking '''Connect''' SSVNC will try to establish a connection with the server.&lt;br /&gt;
&lt;br /&gt;
In the next step a new window will pop up, asking for your password. Just enter the '''Default-Passwort''' from the customer center and finally click '''OK''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows2.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After clicking '''OK''' the authentication process will begin. You should now see the graphical output of vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows3.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By entering the respective number the vKVM will boot the selected hard drive. If you want to quit your current session make sure you have saved all your data and shut down the system properly. This turns off the vKVM and ends your session. In order to boot your server as usual trigger a webreset in the customer center.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Establishing a VNC connection with vKVM (Linux) =&lt;br /&gt;
To establish a secured VNC connection with the vKVM the program SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download] is recommended.&lt;br /&gt;
&lt;br /&gt;
When you have started the program you should see the following window:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Under '''VNC Host:Display''' enter the IP address of your server, followed by ''':5959'''. Under '''VNC Password''' enter the password which you can find in the customer center unter &amp;quot;server data&amp;quot;. Make sure the tick under '''Use SSL''' is set.&lt;br /&gt;
&lt;br /&gt;
Now go to '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Make sure the tick under '''Server uses VeNCrypt SSL encryption''' is not set:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Still in the same window click '''Done''' in the lower right corner. Now you are back in the main window. Finally make sure the tick under '''Verify All Certs''' is not set and click the '''Connect''' button:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
By now you should be connected with the vKVM and see a BIOS screen, prompting you to select a hard drive from which you want to boot:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
By entering the respective number the vKVM will boot the selected hard drive. If you want to quit your current session make sure you have saved all your data and shut down the system properly. This turns off the vKVM and ends your session. In order to boot your server as usual trigger a webreset in the customer center.&lt;br /&gt;
&lt;br /&gt;
= Using the web interface =&lt;br /&gt;
&lt;br /&gt;
== Establishing a connection ==&lt;br /&gt;
&lt;br /&gt;
The vKVM can also be accessed via a browser. The only requirement is that you have Java installed. The connection (SSL secured) can be established as follows:&lt;br /&gt;
&lt;br /&gt;
* Open a browser of your choice&lt;br /&gt;
* Enter the following into the address bar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Your-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Replace '''&amp;lt;Your-Server-IP&amp;gt;''' with the actual value)&lt;br /&gt;
&lt;br /&gt;
* Confirm the certificate exception rule of your browser&lt;br /&gt;
* In the following window enter '''vkvm''' as username and the '''Default-Passwort''' from your server data as password: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten/en#Configuration_data_of_the_server| configuration data of the server]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Accept the confirmation prompt of the Java applet&lt;br /&gt;
* Enter your '''Default-Password''' into the '''VNC authentication''' field. This double authentication is required for security reasons as well as allowing alternative access using the SSL VNC viewer. After entering the password the connection should now be established:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Triggering a reset ==&lt;br /&gt;
&lt;br /&gt;
In case the operating system which runs inside vKVM doesn't respond anymore (e.g. due to a kernel panic) it cannot be rebooted anymore (since it is in an undefined state). &lt;br /&gt;
&lt;br /&gt;
In this case you are able to reset the virtual machine by clicking the '''System Reset''' button: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_3.png|thumb|600px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note: triggering the reset may take up to 5 seconds.&lt;br /&gt;
&lt;br /&gt;
= Technical limitations =&lt;br /&gt;
&lt;br /&gt;
The following technical limitations are known at the moment&lt;br /&gt;
&lt;br /&gt;
* vKVM runs at a low speed on servers without CPU virtualization support&lt;br /&gt;
* Windows (64-Bit) won't run on servers without  CPU virtualization support&lt;br /&gt;
* A 32-Bit Windows is bootable on servers without  CPU virtualization support&lt;br /&gt;
* Due to possible driver incompatibilities some versions of Windows might not work with vKVM. In this case please use the [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System/en Windows Rescue System]&lt;br /&gt;
* vKVM runs on 64-Bit architectures onlys&lt;br /&gt;
* Hardware RAID controllers are supported&lt;br /&gt;
* vKVM can't boot systems that are using virtualization technologies themselves (such as VMWare ESXi, Proxmox and XenServer)&lt;br /&gt;
* Some versions of Ubuntu will hang at a black screen&lt;br /&gt;
* vKVM is not usable if your server is under a DDOS attack&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 15:07:03 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM/en</comments>		</item>
		<item>
			<title>VKVM</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Reset auslösen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualisierung]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= Allgemeines zu vKVM =&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System (virtual Keyboard/Video/Mouse) ist eine Erweiterung des bestehenden Rescue Systems, das mittels PXE ein Linux-System in den Arbeitsspeicher Ihres Servers lädt. Mit dem vKVM Rescue System startet ein Rescue System, dass das auf Ihrem Server installierte Betriebssystem in einer virtuellen Maschine booten kann. Die graphische Ausgabe der virtuellen Maschine wird hierbei mittels einer SSL-gesicherten VNC-Verbindung übertragen, sodass Sie die Möglichkeit haben, an Ihrem Betriebssystem zu arbeiten, &amp;quot;als ob&amp;quot; Sie direkt vor dem Server säßen.&lt;br /&gt;
&lt;br /&gt;
vKVM erkennt automatisch Ihre Festplatten, sodass Sie im BIOS der vKVM davon booten können. Weiterhin wird die CPU des Servers in der VM virtualisiert. Außerdem emuliert die VM eine Netzwerkkarte und bietet Ihnen damit die Möglichkeit, innerhalb der VM auf das Internet zuzugreifen.&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System eignet sich hervorragend, wenn Ihr Server z.B. aus Gründen einer Fehlkonfiguration der Netzwerkeinstellungen (z.B. mit iptables) nicht mehr wie gewohnt über SSH erreichbar ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Aktivieren der vKVM =&lt;br /&gt;
&lt;br /&gt;
Um vKVM zu starten müssen Sie sich lediglich ins Kundencenter einloggen, Ihren Serververtrag auswählen und im linken Menü &amp;quot;Rescue-System&amp;quot; auswählen. Wählen Sie nun den Eintrag &amp;quot;vKVM&amp;quot; und aktivieren Sie das Rescue-System. Nach maximal 30 - 40 Minuten (Sie erhalten eine Benachrichtigung via E-Mail) steht vKVM zur Verfügung und Sie können sich mittels VNC-Client einloggen.&lt;br /&gt;
&lt;br /&gt;
'''Bitte beachten Sie''': vKVM kann nur gestartet werden, wenn derzeit kein anderes Rescue-System für Ihren Server aktiviert ist. Ob ein Rescue-System auf Ihrem Server aktiv ist, erkennen Sie an dem grünen Häkchen in der Zeile '''Rescue-System''' unter '''Serverdaten'''.&lt;br /&gt;
&lt;br /&gt;
= Herstellen einer VNC-Verbindung mit der vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Stellen Sie sicher, dass das Häkchen unter '''Use SSL gesetzt''' ist. Nach einem Klick auf '''Connect''' versucht SSVNC, eine Verbindung mit dem Server herzustellen.&lt;br /&gt;
&lt;br /&gt;
Als nächstes sollte ein Fenster erscheinen, in welchem Sie nach dem Passwort gefragt werden. Geben Sie hier das '''Default-Passwort''' ein, welches Sie im Kundencenter unter '''Serverdaten''' finden können:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nach einem Klick auf '''OK''' erfolgt die Authentifizierung und Sie erhalten den grafischen Output der vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
=Herstellen einer VNC-Verbindung mit der vKVM (Linux) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Unter '''VNC Password''' tragen Sie das Passwort ein, welches Sie im Kundencenter unter &amp;quot;Serverdaten&amp;quot; einsehen können. Das Häkchen unter '''Use SSL''' muss gesetzt sein.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie nun auf '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Stellen Sie sicher, dass das Häkchen unter '''Server uses VeNCrypt SSL encryption''' nicht gesetzt ist:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Klicken Sie nun im selben Fenster unten rechts auf '''Done''', Sie sehen nun wieder das Hauptfenster. Nachdem Sie das Häkchen unter '''Verify All Certs''' entfernt haben, klicken Sie auf '''Connect''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Sie sollten nun mit der vKVM verbunden sein und einen BIOS-Bildschirm sehen, der Ihnen eine Liste der bootbaren Festplatten anzeigt:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
= Benutzung des Webinterfaces =&lt;br /&gt;
&lt;br /&gt;
== Verbindung herstellen ==&lt;br /&gt;
&lt;br /&gt;
Auf die vKVM kann auch aus einem Browser heraus zugegriffen werden. Voraussetzung hierfür ist die Unterstützung von Java. Die Verbindung (SSL-gesichert) kann folgendermaßen hergestellt werden:&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie einen Browser Ihrer Wahl&lt;br /&gt;
* In die Adressleiste geben Sie folgendes ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Ihre-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Ersetzen Sie '''&amp;lt;Ihre-Server-IP&amp;gt;''' entsprechend)&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Zertifikatsausnahmeregel Ihres Browsers&lt;br /&gt;
* Im folgenden Fenster geben Sie als Benutzernamen '''vkvm''' und als Passwort das '''Default-Passwort''' aus den Serverdaten ein: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten#Konfigurations-Daten_des_Servers| Konfigurations-Daten des Servers]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Sicherheitsabfrage des Java-Applets&lt;br /&gt;
* Geben Sie in das Feld '''VNC authentication''' erneut das '''Default-Passwort''' ein. Diese doppelte Authentifizierung dient zum einen der zusätzlichen Sicherheit, zum anderen ist dies notwendig, um weiterhin den Zugriff mit dem SSL VNC-Viewer zu ermöglichen. Nach erfolgter Eingabe wird die Verbindung nun hergestellt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reset auslösen ==&lt;br /&gt;
&lt;br /&gt;
Sollte das in der vKVM laufende Betriebssystem z.B. aufgrund einer Kernel Panic o.ä. in einen undefinierten Zustand geraten, lässt sich die virtuelle Maschine nicht mehr auf gewohntem Wege rebooten. In diesem Fall kann der Button '''System Reset''' betätigt werden:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_3.png|thumb|600px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bitte beachten Sie: das Auslösen des Resets kann bis zu 5 Sekunden benötigen.&lt;br /&gt;
&lt;br /&gt;
= Technische Limitierungen =&lt;br /&gt;
&lt;br /&gt;
Folgende technische Einschränkungen und Besonderheiten sind derzeit bekannt:&lt;br /&gt;
&lt;br /&gt;
* vKVM läuft erheblich langsamer auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Windows (64-Bit) läuft nicht auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Ein 32-Bit Windows läuft auch ohne Virtualisierungsunterstützung durch die CPU  auf 64-Bit-Architekturen&lt;br /&gt;
* Bei manchen Windows-Versionen kann es zu Inkompatibilitäten aufgrund verschiedender Festplattentreiber kommen. Bitte benutzen Sie in diesem Fall das [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System Windows Rescue-System]&lt;br /&gt;
* vKVM läuft nur auf Servern mit 64-Bit CPU&lt;br /&gt;
* vKVM läuft nicht auf Systemen, die selbst auf Virtualisierung aufbauen (z.B. VMWare ESXi, Proxmox, XenServer)&lt;br /&gt;
* Hardware-RAID Controller werden unterstützt&lt;br /&gt;
* Es kann zu Kompatibilitätsproblemen mit Ubuntu kommen&lt;br /&gt;
* vKVM ist nicht nutzbar, sofern Ihr Server unter den Einschränkungen eines DDOS-Angriffes steht&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 15:06:26 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM</comments>		</item>
		<item>
			<title>VKVM</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Reset auslösen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualisierung]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= Allgemeines zu vKVM =&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System (virtual Keyboard/Video/Mouse) ist eine Erweiterung des bestehenden Rescue Systems, das mittels PXE ein Linux-System in den Arbeitsspeicher Ihres Servers lädt. Mit dem vKVM Rescue System startet ein Rescue System, dass das auf Ihrem Server installierte Betriebssystem in einer virtuellen Maschine booten kann. Die graphische Ausgabe der virtuellen Maschine wird hierbei mittels einer SSL-gesicherten VNC-Verbindung übertragen, sodass Sie die Möglichkeit haben, an Ihrem Betriebssystem zu arbeiten, &amp;quot;als ob&amp;quot; Sie direkt vor dem Server säßen.&lt;br /&gt;
&lt;br /&gt;
vKVM erkennt automatisch Ihre Festplatten, sodass Sie im BIOS der vKVM davon booten können. Weiterhin wird die CPU des Servers in der VM virtualisiert. Außerdem emuliert die VM eine Netzwerkkarte und bietet Ihnen damit die Möglichkeit, innerhalb der VM auf das Internet zuzugreifen.&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System eignet sich hervorragend, wenn Ihr Server z.B. aus Gründen einer Fehlkonfiguration der Netzwerkeinstellungen (z.B. mit iptables) nicht mehr wie gewohnt über SSH erreichbar ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Aktivieren der vKVM =&lt;br /&gt;
&lt;br /&gt;
Um vKVM zu starten müssen Sie sich lediglich ins Kundencenter einloggen, Ihren Serververtrag auswählen und im linken Menü &amp;quot;Rescue-System&amp;quot; auswählen. Wählen Sie nun den Eintrag &amp;quot;vKVM&amp;quot; und aktivieren Sie das Rescue-System. Nach maximal 30 - 40 Minuten (Sie erhalten eine Benachrichtigung via E-Mail) steht vKVM zur Verfügung und Sie können sich mittels VNC-Client einloggen.&lt;br /&gt;
&lt;br /&gt;
'''Bitte beachten Sie''': vKVM kann nur gestartet werden, wenn derzeit kein anderes Rescue-System für Ihren Server aktiviert ist. Ob ein Rescue-System auf Ihrem Server aktiv ist, erkennen Sie an dem grünen Häkchen in der Zeile '''Rescue-System''' unter '''Serverdaten'''.&lt;br /&gt;
&lt;br /&gt;
= Herstellen einer VNC-Verbindung mit der vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Stellen Sie sicher, dass das Häkchen unter '''Use SSL gesetzt''' ist. Nach einem Klick auf '''Connect''' versucht SSVNC, eine Verbindung mit dem Server herzustellen.&lt;br /&gt;
&lt;br /&gt;
Als nächstes sollte ein Fenster erscheinen, in welchem Sie nach dem Passwort gefragt werden. Geben Sie hier das '''Default-Passwort''' ein, welches Sie im Kundencenter unter '''Serverdaten''' finden können:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nach einem Klick auf '''OK''' erfolgt die Authentifizierung und Sie erhalten den grafischen Output der vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
=Herstellen einer VNC-Verbindung mit der vKVM (Linux) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Unter '''VNC Password''' tragen Sie das Passwort ein, welches Sie im Kundencenter unter &amp;quot;Serverdaten&amp;quot; einsehen können. Das Häkchen unter '''Use SSL''' muss gesetzt sein.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie nun auf '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Stellen Sie sicher, dass das Häkchen unter '''Server uses VeNCrypt SSL encryption''' nicht gesetzt ist:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Klicken Sie nun im selben Fenster unten rechts auf '''Done''', Sie sehen nun wieder das Hauptfenster. Nachdem Sie das Häkchen unter '''Verify All Certs''' entfernt haben, klicken Sie auf '''Connect''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Sie sollten nun mit der vKVM verbunden sein und einen BIOS-Bildschirm sehen, der Ihnen eine Liste der bootbaren Festplatten anzeigt:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
= Benutzung des Webinterfaces =&lt;br /&gt;
&lt;br /&gt;
== Verbindung herstellen ==&lt;br /&gt;
&lt;br /&gt;
Auf die vKVM kann auch aus einem Browser heraus zugegriffen werden. Voraussetzung hierfür ist die Unterstützung von Java. Die Verbindung (SSL-gesichert) kann folgendermaßen hergestellt werden:&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie einen Browser Ihrer Wahl&lt;br /&gt;
* In die Adressleiste geben Sie folgendes ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Ihre-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Ersetzen Sie '''&amp;lt;Ihre-Server-IP&amp;gt;''' entsprechend)&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Zertifikatsausnahmeregel Ihres Browsers&lt;br /&gt;
* Im folgenden Fenster geben Sie als Benutzernamen '''vkvm''' und als Passwort das '''Default-Passwort''' aus den Serverdaten ein: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten#Konfigurations-Daten_des_Servers| Konfigurations-Daten des Servers]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Sicherheitsabfrage des Java-Applets&lt;br /&gt;
* Geben Sie in das Feld '''VNC authentication''' erneut das '''Default-Passwort''' ein. Diese doppelte Authentifizierung dient zum einen der zusätzlichen Sicherheit, zum anderen ist dies notwendig, um weiterhin den Zugriff mit dem SSL VNC-Viewer zu ermöglichen. Nach erfolgter Eingabe wird die Verbindung nun hergestellt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reset auslösen ==&lt;br /&gt;
&lt;br /&gt;
Sollte das in der vKVM laufende Betriebssystem z.B. aufgrund einer Kernel Panic o.ä. in einen undefinierten Zustand geraten, lässt sich die virtuelle Maschine nicht mehr auf gewohntem Wege rebooten. In diesem Fall kann der Button '''System Reset''' betätigt werden:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_3.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bitte beachten Sie: das Auslösen des Resets kann bis zu 5 Sekunden benötigen.&lt;br /&gt;
&lt;br /&gt;
= Technische Limitierungen =&lt;br /&gt;
&lt;br /&gt;
Folgende technische Einschränkungen und Besonderheiten sind derzeit bekannt:&lt;br /&gt;
&lt;br /&gt;
* vKVM läuft erheblich langsamer auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Windows (64-Bit) läuft nicht auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Ein 32-Bit Windows läuft auch ohne Virtualisierungsunterstützung durch die CPU  auf 64-Bit-Architekturen&lt;br /&gt;
* Bei manchen Windows-Versionen kann es zu Inkompatibilitäten aufgrund verschiedender Festplattentreiber kommen. Bitte benutzen Sie in diesem Fall das [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System Windows Rescue-System]&lt;br /&gt;
* vKVM läuft nur auf Servern mit 64-Bit CPU&lt;br /&gt;
* vKVM läuft nicht auf Systemen, die selbst auf Virtualisierung aufbauen (z.B. VMWare ESXi, Proxmox, XenServer)&lt;br /&gt;
* Hardware-RAID Controller werden unterstützt&lt;br /&gt;
* Es kann zu Kompatibilitätsproblemen mit Ubuntu kommen&lt;br /&gt;
* vKVM ist nicht nutzbar, sofern Ihr Server unter den Einschränkungen eines DDOS-Angriffes steht&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 15:05:59 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM</comments>		</item>
		<item>
			<title>VKVM</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Reset auslösen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualisierung]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= Allgemeines zu vKVM =&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System (virtual Keyboard/Video/Mouse) ist eine Erweiterung des bestehenden Rescue Systems, das mittels PXE ein Linux-System in den Arbeitsspeicher Ihres Servers lädt. Mit dem vKVM Rescue System startet ein Rescue System, dass das auf Ihrem Server installierte Betriebssystem in einer virtuellen Maschine booten kann. Die graphische Ausgabe der virtuellen Maschine wird hierbei mittels einer SSL-gesicherten VNC-Verbindung übertragen, sodass Sie die Möglichkeit haben, an Ihrem Betriebssystem zu arbeiten, &amp;quot;als ob&amp;quot; Sie direkt vor dem Server säßen.&lt;br /&gt;
&lt;br /&gt;
vKVM erkennt automatisch Ihre Festplatten, sodass Sie im BIOS der vKVM davon booten können. Weiterhin wird die CPU des Servers in der VM virtualisiert. Außerdem emuliert die VM eine Netzwerkkarte und bietet Ihnen damit die Möglichkeit, innerhalb der VM auf das Internet zuzugreifen.&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System eignet sich hervorragend, wenn Ihr Server z.B. aus Gründen einer Fehlkonfiguration der Netzwerkeinstellungen (z.B. mit iptables) nicht mehr wie gewohnt über SSH erreichbar ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Aktivieren der vKVM =&lt;br /&gt;
&lt;br /&gt;
Um vKVM zu starten müssen Sie sich lediglich ins Kundencenter einloggen, Ihren Serververtrag auswählen und im linken Menü &amp;quot;Rescue-System&amp;quot; auswählen. Wählen Sie nun den Eintrag &amp;quot;vKVM&amp;quot; und aktivieren Sie das Rescue-System. Nach maximal 30 - 40 Minuten (Sie erhalten eine Benachrichtigung via E-Mail) steht vKVM zur Verfügung und Sie können sich mittels VNC-Client einloggen.&lt;br /&gt;
&lt;br /&gt;
'''Bitte beachten Sie''': vKVM kann nur gestartet werden, wenn derzeit kein anderes Rescue-System für Ihren Server aktiviert ist. Ob ein Rescue-System auf Ihrem Server aktiv ist, erkennen Sie an dem grünen Häkchen in der Zeile '''Rescue-System''' unter '''Serverdaten'''.&lt;br /&gt;
&lt;br /&gt;
= Herstellen einer VNC-Verbindung mit der vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Stellen Sie sicher, dass das Häkchen unter '''Use SSL gesetzt''' ist. Nach einem Klick auf '''Connect''' versucht SSVNC, eine Verbindung mit dem Server herzustellen.&lt;br /&gt;
&lt;br /&gt;
Als nächstes sollte ein Fenster erscheinen, in welchem Sie nach dem Passwort gefragt werden. Geben Sie hier das '''Default-Passwort''' ein, welches Sie im Kundencenter unter '''Serverdaten''' finden können:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nach einem Klick auf '''OK''' erfolgt die Authentifizierung und Sie erhalten den grafischen Output der vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
=Herstellen einer VNC-Verbindung mit der vKVM (Linux) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Unter '''VNC Password''' tragen Sie das Passwort ein, welches Sie im Kundencenter unter &amp;quot;Serverdaten&amp;quot; einsehen können. Das Häkchen unter '''Use SSL''' muss gesetzt sein.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie nun auf '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Stellen Sie sicher, dass das Häkchen unter '''Server uses VeNCrypt SSL encryption''' nicht gesetzt ist:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Klicken Sie nun im selben Fenster unten rechts auf '''Done''', Sie sehen nun wieder das Hauptfenster. Nachdem Sie das Häkchen unter '''Verify All Certs''' entfernt haben, klicken Sie auf '''Connect''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Sie sollten nun mit der vKVM verbunden sein und einen BIOS-Bildschirm sehen, der Ihnen eine Liste der bootbaren Festplatten anzeigt:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
= Benutzung des Webinterfaces =&lt;br /&gt;
&lt;br /&gt;
== Verbindung herstellen ==&lt;br /&gt;
&lt;br /&gt;
Auf die vKVM kann auch aus einem Browser heraus zugegriffen werden. Voraussetzung hierfür ist die Unterstützung von Java. Die Verbindung (SSL-gesichert) kann folgendermaßen hergestellt werden:&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie einen Browser Ihrer Wahl&lt;br /&gt;
* In die Adressleiste geben Sie folgendes ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Ihre-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Ersetzen Sie '''&amp;lt;Ihre-Server-IP&amp;gt;''' entsprechend)&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Zertifikatsausnahmeregel Ihres Browsers&lt;br /&gt;
* Im folgenden Fenster geben Sie als Benutzernamen '''vkvm''' und als Passwort das '''Default-Passwort''' aus den Serverdaten ein: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten#Konfigurations-Daten_des_Servers| Konfigurations-Daten des Servers]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Sicherheitsabfrage des Java-Applets&lt;br /&gt;
* Geben Sie in das Feld '''VNC authentication''' erneut das '''Default-Passwort''' ein. Diese doppelte Authentifizierung dient zum einen der zusätzlichen Sicherheit, zum anderen ist dies notwendig, um weiterhin den Zugriff mit dem SSL VNC-Viewer zu ermöglichen. Nach erfolgter Eingabe wird die Verbindung nun hergestellt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reset auslösen ==&lt;br /&gt;
&lt;br /&gt;
Sollte das in der vKVM laufende Betriebssystem z.B. aufgrund einer Kernel Panic o.ä. in einen undefinierten Zustand geraten, lässt sich die virtuelle Maschine nicht mehr auf gewohntem Wege rebooten. In diesem Fall kann der Button '''System Reset''' betätigt werden:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bitte beachten Sie: das Auslösen des Resets kann bis zu 5 Sekunden benötigen.&lt;br /&gt;
&lt;br /&gt;
= Technische Limitierungen =&lt;br /&gt;
&lt;br /&gt;
Folgende technische Einschränkungen und Besonderheiten sind derzeit bekannt:&lt;br /&gt;
&lt;br /&gt;
* vKVM läuft erheblich langsamer auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Windows (64-Bit) läuft nicht auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Ein 32-Bit Windows läuft auch ohne Virtualisierungsunterstützung durch die CPU  auf 64-Bit-Architekturen&lt;br /&gt;
* Bei manchen Windows-Versionen kann es zu Inkompatibilitäten aufgrund verschiedender Festplattentreiber kommen. Bitte benutzen Sie in diesem Fall das [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System Windows Rescue-System]&lt;br /&gt;
* vKVM läuft nur auf Servern mit 64-Bit CPU&lt;br /&gt;
* vKVM läuft nicht auf Systemen, die selbst auf Virtualisierung aufbauen (z.B. VMWare ESXi, Proxmox, XenServer)&lt;br /&gt;
* Hardware-RAID Controller werden unterstützt&lt;br /&gt;
* Es kann zu Kompatibilitätsproblemen mit Ubuntu kommen&lt;br /&gt;
* vKVM ist nicht nutzbar, sofern Ihr Server unter den Einschränkungen eines DDOS-Angriffes steht&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 15:05:42 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM</comments>		</item>
		<item>
			<title>Datei:Vkvm web 3.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Vkvm_web_3.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Vkvm_web_3.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 14:53:48 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Vkvm_web_3.png</comments>		</item>
		<item>
			<title>VKVM/en</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM/en</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Using the web interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualization]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
The vKVM Rescue System (virtual Keyboard/Video/Mouse) is an extended version of our standard Rescue System which loads a Linux system into your servers RAM via PXE. The vKVM Rescue System starts a virtual machine which is capable of booting from your servers hard disk. The graphical output of the VM is being transmitted over an SSL-secured VNC connection, making it possible for you to interact with your operating system &amp;quot;as if&amp;quot; you were sitting in front of your server.&lt;br /&gt;
&lt;br /&gt;
The Rescue System automatically detects your hard disks and connected USB-disks, enabling you to boot from them within the VM's BIOS. The CPU will be virtualized as well. Additionally a network card is emulated which provides you access to the Internet from within the virtual machine.&lt;br /&gt;
&lt;br /&gt;
vKVM Rescue is a good choice when your server isn't reachable via SSH due to a misconfiguration of your network settings (e.g. iptables) for instance.&lt;br /&gt;
&lt;br /&gt;
= Activating vKVM =&lt;br /&gt;
&lt;br /&gt;
To start the vKVM Rescue System you just have to log in to the customer center, select your server contract and choose &amp;quot;Rescue System&amp;quot; from the left menu. Now select the &amp;quot;vKVM&amp;quot; entry and activate the system. The vKVM Rescue will be available after approx. 30 - 40 minutes (you will receive an E-Mail notification) and you can finally connect via VNC.&lt;br /&gt;
&lt;br /&gt;
'''Please keep in mind''': vKVM can only be started if there's no other rescue system active at the moment. Whether a rescue system is enabled for your server or not can be discerned by the green tick in the row '''Rescue-System''' under '''Serverdata''' in the customer center.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Establishing a VNC connection with vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
To establish a secured VNC connection with the vKVM the program SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download] is recommended.&lt;br /&gt;
&lt;br /&gt;
When you have started the program you should see the following window:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Under '''VNC Host:Display''' enter the IP address of your server, followed by ''':5959'''. Make sure the tick under '''Use SSL''' is set. After clicking '''Connect''' SSVNC will try to establish a connection with the server.&lt;br /&gt;
&lt;br /&gt;
In the next step a new window will pop up, asking for your password. Just enter the '''Default-Passwort''' from the customer center and finally click '''OK''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows2.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After clicking '''OK''' the authentication process will begin. You should now see the graphical output of vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows3.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By entering the respective number the vKVM will boot the selected hard drive. If you want to quit your current session make sure you have saved all your data and shut down the system properly. This turns off the vKVM and ends your session. In order to boot your server as usual trigger a webreset in the customer center.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Establishing a VNC connection with vKVM (Linux) =&lt;br /&gt;
To establish a secured VNC connection with the vKVM the program SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download] is recommended.&lt;br /&gt;
&lt;br /&gt;
When you have started the program you should see the following window:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Under '''VNC Host:Display''' enter the IP address of your server, followed by ''':5959'''. Under '''VNC Password''' enter the password which you can find in the customer center unter &amp;quot;server data&amp;quot;. Make sure the tick under '''Use SSL''' is set.&lt;br /&gt;
&lt;br /&gt;
Now go to '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Make sure the tick under '''Server uses VeNCrypt SSL encryption''' is not set:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Still in the same window click '''Done''' in the lower right corner. Now you are back in the main window. Finally make sure the tick under '''Verify All Certs''' is not set and click the '''Connect''' button:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
By now you should be connected with the vKVM and see a BIOS screen, prompting you to select a hard drive from which you want to boot:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png|framed]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
By entering the respective number the vKVM will boot the selected hard drive. If you want to quit your current session make sure you have saved all your data and shut down the system properly. This turns off the vKVM and ends your session. In order to boot your server as usual trigger a webreset in the customer center.&lt;br /&gt;
&lt;br /&gt;
= Using the web interface =&lt;br /&gt;
&lt;br /&gt;
== Establishing a connection ==&lt;br /&gt;
&lt;br /&gt;
The vKVM can also be accessed via a browser. The only requirement is that you have Java installed. The connection (SSL secured) can be established as follows:&lt;br /&gt;
&lt;br /&gt;
* Open a browser of your choice&lt;br /&gt;
* Enter the following into the address bar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Your-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Replace '''&amp;lt;Your-Server-IP&amp;gt;''' with the actual value)&lt;br /&gt;
&lt;br /&gt;
* Confirm the certificate exception rule of your browser&lt;br /&gt;
* In the following window enter '''vkvm''' as username and the '''Default-Passwort''' from your server data as password: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten/en#Configuration_data_of_the_server| configuration data of the server]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Accept the confirmation prompt of the Java applet&lt;br /&gt;
* Enter your '''Default-Password''' into the '''VNC authentication''' field. This double authentication is required for security reasons as well as allowing alternative access using the SSL VNC viewer. After entering the password the connection should now be established:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Triggering a reset ==&lt;br /&gt;
&lt;br /&gt;
In case the operating system which runs inside vKVM doesn't respond anymore (e.g. due to a kernel panic) it cannot be rebooted anymore (since it is in an undefined state). &lt;br /&gt;
&lt;br /&gt;
In this case you are able to reset the virtual machine by clicking the '''System Reset''' button: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note: triggering the reset may take up to 5 seconds.&lt;br /&gt;
&lt;br /&gt;
= Technical limitations =&lt;br /&gt;
&lt;br /&gt;
The following technical limitations are known at the moment&lt;br /&gt;
&lt;br /&gt;
* vKVM runs at a low speed on servers without CPU virtualization support&lt;br /&gt;
* Windows (64-Bit) won't run on servers without  CPU virtualization support&lt;br /&gt;
* A 32-Bit Windows is bootable on servers without  CPU virtualization support&lt;br /&gt;
* Due to possible driver incompatibilities some versions of Windows might not work with vKVM. In this case please use the [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System/en Windows Rescue System]&lt;br /&gt;
* vKVM runs on 64-Bit architectures onlys&lt;br /&gt;
* Hardware RAID controllers are supported&lt;br /&gt;
* vKVM can't boot systems that are using virtualization technologies themselves (such as VMWare ESXi, Proxmox and XenServer)&lt;br /&gt;
* Some versions of Ubuntu will hang at a black screen&lt;br /&gt;
* vKVM is not usable if your server is under a DDOS attack&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 14:53:19 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM/en</comments>		</item>
		<item>
			<title>VKVM</title>
			<link>https://www.euserv.com/wiki/index.php/VKVM</link>
			<guid>https://www.euserv.com/wiki/index.php/VKVM</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Virtualisierung]]&lt;br /&gt;
{{Languages|vKVM}}&lt;br /&gt;
'''''vKVM'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= Allgemeines zu vKVM =&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System (virtual Keyboard/Video/Mouse) ist eine Erweiterung des bestehenden Rescue Systems, das mittels PXE ein Linux-System in den Arbeitsspeicher Ihres Servers lädt. Mit dem vKVM Rescue System startet ein Rescue System, dass das auf Ihrem Server installierte Betriebssystem in einer virtuellen Maschine booten kann. Die graphische Ausgabe der virtuellen Maschine wird hierbei mittels einer SSL-gesicherten VNC-Verbindung übertragen, sodass Sie die Möglichkeit haben, an Ihrem Betriebssystem zu arbeiten, &amp;quot;als ob&amp;quot; Sie direkt vor dem Server säßen.&lt;br /&gt;
&lt;br /&gt;
vKVM erkennt automatisch Ihre Festplatten, sodass Sie im BIOS der vKVM davon booten können. Weiterhin wird die CPU des Servers in der VM virtualisiert. Außerdem emuliert die VM eine Netzwerkkarte und bietet Ihnen damit die Möglichkeit, innerhalb der VM auf das Internet zuzugreifen.&lt;br /&gt;
&lt;br /&gt;
Das vKVM Rescue System eignet sich hervorragend, wenn Ihr Server z.B. aus Gründen einer Fehlkonfiguration der Netzwerkeinstellungen (z.B. mit iptables) nicht mehr wie gewohnt über SSH erreichbar ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Aktivieren der vKVM =&lt;br /&gt;
&lt;br /&gt;
Um vKVM zu starten müssen Sie sich lediglich ins Kundencenter einloggen, Ihren Serververtrag auswählen und im linken Menü &amp;quot;Rescue-System&amp;quot; auswählen. Wählen Sie nun den Eintrag &amp;quot;vKVM&amp;quot; und aktivieren Sie das Rescue-System. Nach maximal 30 - 40 Minuten (Sie erhalten eine Benachrichtigung via E-Mail) steht vKVM zur Verfügung und Sie können sich mittels VNC-Client einloggen.&lt;br /&gt;
&lt;br /&gt;
'''Bitte beachten Sie''': vKVM kann nur gestartet werden, wenn derzeit kein anderes Rescue-System für Ihren Server aktiviert ist. Ob ein Rescue-System auf Ihrem Server aktiv ist, erkennen Sie an dem grünen Häkchen in der Zeile '''Rescue-System''' unter '''Serverdaten'''.&lt;br /&gt;
&lt;br /&gt;
= Herstellen einer VNC-Verbindung mit der vKVM (Windows) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_windows1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Stellen Sie sicher, dass das Häkchen unter '''Use SSL gesetzt''' ist. Nach einem Klick auf '''Connect''' versucht SSVNC, eine Verbindung mit dem Server herzustellen.&lt;br /&gt;
&lt;br /&gt;
Als nächstes sollte ein Fenster erscheinen, in welchem Sie nach dem Passwort gefragt werden. Geben Sie hier das '''Default-Passwort''' ein, welches Sie im Kundencenter unter '''Serverdaten''' finden können:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nach einem Klick auf '''OK''' erfolgt die Authentifizierung und Sie erhalten den grafischen Output der vKVM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:vkvm_windows3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
=Herstellen einer VNC-Verbindung mit der vKVM (Linux) =&lt;br /&gt;
&lt;br /&gt;
Um eine gesicherte VNC-Verbindung mit der vKVM herzustellen, empfiehlt sich das Programm SSVNC [http://www.karlrunge.com/x11vnc/ssvnc.html#download].&lt;br /&gt;
&lt;br /&gt;
Wenn Sie das Programm gestartet haben, sehen Sie folgendes Fenster:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen1.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Geben Sie unter '''VNC Host:Display''' die IP-Adresse Ihres Servers, gefolgt von ''':5959''' ein. Unter '''VNC Password''' tragen Sie das Passwort ein, welches Sie im Kundencenter unter &amp;quot;Serverdaten&amp;quot; einsehen können. Das Häkchen unter '''Use SSL''' muss gesetzt sein.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie nun auf '''Options --&amp;gt; Advanced''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen2.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Stellen Sie sicher, dass das Häkchen unter '''Server uses VeNCrypt SSL encryption''' nicht gesetzt ist:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen3.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Klicken Sie nun im selben Fenster unten rechts auf '''Done''', Sie sehen nun wieder das Hauptfenster. Nachdem Sie das Häkchen unter '''Verify All Certs''' entfernt haben, klicken Sie auf '''Connect''':&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:screen4.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Sie sollten nun mit der vKVM verbunden sein und einen BIOS-Bildschirm sehen, der Ihnen eine Liste der bootbaren Festplatten anzeigt:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:vkvm_boot.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Durch Eingabe der entsprechenden Zahl bootet die vKVM von der gewünschten Festplatte. Wenn Sie die Sitzung beenden möchten, sollten Sie sicherstellen, dass Sie Ihre Daten gesichert haben und das System ordnungsgemäß herunterfahren. Das Herunterfahren schaltet die vKVM ab und beendet damit Ihre Sitzung. Um Ihren Server anschließend wie gewohnt von Festplatte zu booten, führen Sie im Kundencenter einen Webreset durch.&lt;br /&gt;
&lt;br /&gt;
= Benutzung des Webinterfaces =&lt;br /&gt;
&lt;br /&gt;
== Verbindung herstellen ==&lt;br /&gt;
&lt;br /&gt;
Auf die vKVM kann auch aus einem Browser heraus zugegriffen werden. Voraussetzung hierfür ist die Unterstützung von Java. Die Verbindung (SSL-gesichert) kann folgendermaßen hergestellt werden:&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie einen Browser Ihrer Wahl&lt;br /&gt;
* In die Adressleiste geben Sie folgendes ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;https://&amp;lt;Ihre-Server-IP&amp;gt;/vKVM&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Ersetzen Sie '''&amp;lt;Ihre-Server-IP&amp;gt;''' entsprechend)&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Zertifikatsausnahmeregel Ihres Browsers&lt;br /&gt;
* Im folgenden Fenster geben Sie als Benutzernamen '''vkvm''' und als Passwort das '''Default-Passwort''' aus den Serverdaten ein: [https://www.euserv.com/wiki/index.php/Kundencenter_Server_Serverdaten#Konfigurations-Daten_des_Servers| Konfigurations-Daten des Servers]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Bestätigen Sie die Sicherheitsabfrage des Java-Applets&lt;br /&gt;
* Geben Sie in das Feld '''VNC authentication''' erneut das '''Default-Passwort''' ein. Diese doppelte Authentifizierung dient zum einen der zusätzlichen Sicherheit, zum anderen ist dies notwendig, um weiterhin den Zugriff mit dem SSL VNC-Viewer zu ermöglichen. Nach erfolgter Eingabe wird die Verbindung nun hergestellt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: vkvm_web_2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reset auslösen ==&lt;br /&gt;
&lt;br /&gt;
Sollte das in der vKVM laufende Betriebssystem z.B. aufgrund einer Kernel Panic o.ä. in einen undefinierten Zustand geraten, lässt sich die virtuelle Maschine nicht mehr auf gewohntem Wege rebooten. In diesem Fall kann der Button '''System Reset''' betätigt werden:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bitte beachten Sie: das Auslösen des Resets kann bis zu 5 Sekunden benötigen.&lt;br /&gt;
&lt;br /&gt;
= Technische Limitierungen =&lt;br /&gt;
&lt;br /&gt;
Folgende technische Einschränkungen und Besonderheiten sind derzeit bekannt:&lt;br /&gt;
&lt;br /&gt;
* vKVM läuft erheblich langsamer auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Windows (64-Bit) läuft nicht auf Servern ohne Virtualisierungsunterstützung durch die CPU&lt;br /&gt;
* Ein 32-Bit Windows läuft auch ohne Virtualisierungsunterstützung durch die CPU  auf 64-Bit-Architekturen&lt;br /&gt;
* Bei manchen Windows-Versionen kann es zu Inkompatibilitäten aufgrund verschiedender Festplattentreiber kommen. Bitte benutzen Sie in diesem Fall das [https://www.euserv.com/wiki/index.php/Manual_Windows_Rescue_System Windows Rescue-System]&lt;br /&gt;
* vKVM läuft nur auf Servern mit 64-Bit CPU&lt;br /&gt;
* vKVM läuft nicht auf Systemen, die selbst auf Virtualisierung aufbauen (z.B. VMWare ESXi, Proxmox, XenServer)&lt;br /&gt;
* Hardware-RAID Controller werden unterstützt&lt;br /&gt;
* Es kann zu Kompatibilitätsproblemen mit Ubuntu kommen&lt;br /&gt;
* vKVM ist nicht nutzbar, sofern Ihr Server unter den Einschränkungen eines DDOS-Angriffes steht&lt;/div&gt;</description>
			<pubDate>Wed, 21 Oct 2015 14:49:29 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:VKVM</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking of MBR / GPT partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:30:49 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking of MBR / GPT partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:30:08 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking of MBR / GPT partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:29:48 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue_System/en#Checking of MBR / GPT partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:29:21 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking of MBR / GPT partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:28:46 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_/_GPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 10:27:37 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System/en</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
&lt;br /&gt;
'''''Using the Linux Rescue system'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Using the Linux Rescue system'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Activating the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
You have to activate the Linux Rescue system via the customer service center. The following Wiki guide shows you how to activate the Linux Rescue system:&lt;br /&gt;
&lt;br /&gt;
[[Kundencenter_Server_Rescue_System/en#Activate_the_rescue_system|Activate the Rescue system]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Linux Rescue system =&lt;br /&gt;
&lt;br /&gt;
After the activation you can connect with the Linux Rescue system. Here you can find a Wiki guide covering that topic:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System/en#Connect_with_the_rescue_system|Connect with the Rescue system]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Resetting the root password =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect with the Linux Rescue system to change the root password. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enter the following command as root:&lt;br /&gt;
&lt;br /&gt;
  passwd&lt;br /&gt;
&lt;br /&gt;
* Enter the new password.&lt;br /&gt;
* Enter the new password again.&lt;br /&gt;
* Exit the chroot environment and unmount the partitions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deactivate the Rescue system via the customer service center.&lt;br /&gt;
* Perform a web reset via the customer service center.&lt;br /&gt;
&lt;br /&gt;
You have successfully changed the root password. You can now connect to your system with the new assigned password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Disabling the firewall =&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to disable the firewall. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows to change the root password:&lt;br /&gt;
&lt;br /&gt;
* Enter your installed system in a chroot environment (replace X with the relevant partition number): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(root partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(boot partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  chkconfig --level 2345 iptables off&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Enter the following command as root user:&lt;br /&gt;
&lt;br /&gt;
  update-rc.d -f iptables remove&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Restoring a faulty software RAID =&lt;br /&gt;
&lt;br /&gt;
== Checking of MBR / GPT partition ==&lt;br /&gt;
&lt;br /&gt;
To check if the partition tables of the hard disk drives are formatted as MBR or GPT, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table of your hdd with the following command (Replace X with the hard disk which has to be checked):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format MBR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partition table has the format GPT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow the sequence carefully! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdb&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can assemble them into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID1 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system to restore a faulty software RAID. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID1 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID1 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In this example the partitions on the second hard disk drive sdb are not displayed. This indicates either a faulty hard disk drive or RAID partition.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restoring the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with MBR partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR / GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
In order to restore the RAID, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command '''(Please follow carefully the sequence! (sfdisk -d source system | sfdisk target system):&lt;br /&gt;
&lt;br /&gt;
  sfdisk -d /dev/sda | sfdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to rescan the partition table:&lt;br /&gt;
&lt;br /&gt;
  sfdisk -R /dev/sdd&lt;br /&gt;
&lt;br /&gt;
* Use the following command to check if the hard disk drives sda and sdb have the same partition sizes:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/partitions&lt;br /&gt;
&lt;br /&gt;
* If all partitions are present, you can mount these into the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 with GPT partition ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
You have to connect to the Linux Rescue system in order to restore a RAID5/6. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Check the format of the partition table: [[Manual_Linux_Rescue-System/en#Checking_of_MBR_.2FGPT_partition|Checking of MBR /GPT partition]]&lt;br /&gt;
* Check the state of the software RAID with the following command:&lt;br /&gt;
&lt;br /&gt;
  cat /proc/mdstat&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
An intact RAID5 partition has the status 'U'. That means all involved partitions are ok.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A faulty RAID5/6 array has the status '_'. That either means one hard disk drive is missing / faulty or RAID partition has failed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the fourth hard disk drive in RAID5 is missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To restore the RAID, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to copy the partition table of sda to the new hdd sdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assign a new random UUID to the hdd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the hdd can be mounted to the RAID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the partitions will be restored. This process may take some time depending on the partition size. The status can be queried with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Checking / Restoring a faulty filesystem =&lt;br /&gt;
&lt;br /&gt;
== Checking / Restoring a filesystem of a physical hard disk drive ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a physical hard disk drive you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/sdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem type ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to check which filesystem type is used (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  parted -s /dev/sdX print&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type ext2/3/4, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
To restore the faulty filesystem from type xfs, enter the following command (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  xfs_check /dev/sdX&lt;br /&gt;
&lt;br /&gt;
  xfs_repair /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a software RAID ==&lt;br /&gt;
&lt;br /&gt;
In order to check the filesystem of a software RAID you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
Enter the following command to start the check of the filesystem (Replace X with the relevant partition):&lt;br /&gt;
&lt;br /&gt;
  fsck /dev/mdX&lt;br /&gt;
&lt;br /&gt;
fsck performs checking and repairing of a Linux file system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Important: Don't run fsck on a mounted filesystem!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the filesystem of a hardware RAID ==&lt;br /&gt;
&lt;br /&gt;
= Converting of a filesystem =&lt;br /&gt;
&lt;br /&gt;
== Converting from ext3 to ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, you'll have to add the corresponding filesystem features. After changing the options you'll have to run a filesystem check.&lt;br /&gt;
&lt;br /&gt;
For preparation, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Perform a data backup of all(!) important files (including your configuration files under /etc)&lt;br /&gt;
* Determine the exact name of the partition which has to be converted (using the following commands):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
sudo blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first command will give you a listing of all hard disks and their partitions. The '''blkid''' command prints the unique ID of each of those partitions.&lt;br /&gt;
&lt;br /&gt;
'''Please notice: The partition, which has to be changed needs to be unmounted!'''&lt;br /&gt;
&lt;br /&gt;
=== Implementation ===&lt;br /&gt;
&lt;br /&gt;
To convert an existing ext3 filesystem to an ext4 filesystem, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Add the ext4-specific options with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the just determined partition name.&lt;br /&gt;
&lt;br /&gt;
* Perfom a filesystem check with the following command ('''Please notice: The partition, which has to be changed needs to be unmounted!''')&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo fsck -fCVD /dev/&amp;lt;device_file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mount the partition as ext4 with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mount /dev/&amp;lt;device_file&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Open the file /mnt/etc/fstab with an editor.&lt;br /&gt;
* Replace the entry &amp;quot;ext3&amp;quot; with &amp;quot;ext4&amp;quot; of the corresponding partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;device_file&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;device_file&amp;gt; with the name of the partition you just converted.&lt;br /&gt;
&lt;br /&gt;
* Save the file, disable the Rescue System and perform a 'normal' system start. &lt;br /&gt;
&lt;br /&gt;
Now the ext4 filesystem will be used.&lt;br /&gt;
&lt;br /&gt;
= Checking the hard disk drives =&lt;br /&gt;
&lt;br /&gt;
In order to check the hard disk drives you have to connect with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center.&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hard drive check with smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
Please proceed as follows in order to check your hard disk drives with smartmontools:&lt;br /&gt;
&lt;br /&gt;
* Start a short hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t short /dev/sdX&lt;br /&gt;
&lt;br /&gt;
* Start a long hard disk drive check with the following command (Replace X with the relevant hard disk drive):&lt;br /&gt;
&lt;br /&gt;
  smartctl -t long /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hard disk drive with smartctl / smartmontools for hard disk drives on hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to perform a short check for hard disk drives on 3ware hardware RAID controllers please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the number of the relevant controller port on which the hard disk drive is connected. Please notice: The first hard disk drive is connected on port 0.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a long test:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Evaluation of the results ==&lt;br /&gt;
&lt;br /&gt;
Enter the following command to display the results of the hard disk drive tests:&lt;br /&gt;
&lt;br /&gt;
  smartctl -l selftest /dev/sdX&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following output example shows that the hard disk drive health is not ok (&amp;quot;read failure&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of normal hard disk drives ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive to the support, please specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reporting errors of hard disk drives behind hardware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of the hard disk drive on 3ware RAID controllers to the support, please specify the output of the following command (Replace X with the number of the relevant controller port on which the hard disk drive is connected.):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware RAID =&lt;br /&gt;
&lt;br /&gt;
== Basics / General information ==&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the controller ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of 3ware RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command to identify the ID of the controller (usually it is 0):&lt;br /&gt;
&lt;br /&gt;
  dmesg | grep 3ware&lt;br /&gt;
&lt;br /&gt;
The following output is displayed (the controller ID is the number behind '''scsi'''):&lt;br /&gt;
&lt;br /&gt;
  [    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to read the hardware RAID controller information (Replace X with the relevant controller ID):&lt;br /&gt;
&lt;br /&gt;
  tw_cli /cX show&lt;br /&gt;
&lt;br /&gt;
The following exmaple output is possible:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the RAID is in a perfect condition.&lt;br /&gt;
&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001 &lt;br /&gt;
&lt;br /&gt;
In this case the RAID performs a rebuild. The faulty hard disk drive is the one that is connected on port 0.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to check the status of LSI RAID constrollers, you have to be connected with the Linux Rescue system. Please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Activate the Rescue system via the customer service center:&lt;br /&gt;
* Connect to the Rescue system via SSH.&lt;br /&gt;
* Enter the following command:&lt;br /&gt;
&lt;br /&gt;
  megacli -AdpAllInfo -aAll&lt;br /&gt;
&lt;br /&gt;
An output of information about the LSI controller is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Checking the status of the hard disk drives ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of hard disk drives behind 3ware RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to start a short test (Replace X with the relevant controller port, on which the hard disk drive is connected. Please note that the first hard disk drive is connected on port 0):&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to start a check of the hard disk drives behind LSI RAID controllers with smartmontools, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
* Enter the following command to identify the device ID of the hard disk drive:&lt;br /&gt;
&lt;br /&gt;
  storcli /c0 /eall /sall show&lt;br /&gt;
&lt;br /&gt;
* You can access your hard disk drive with the following command (Replace &amp;lt;X&amp;gt; with the relevant hard disk drive and &amp;lt;N&amp;gt; with the device ID):&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reporting errors to the support ==&lt;br /&gt;
&lt;br /&gt;
=== 3ware RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a 3ware RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LSI RAID controllers ===&lt;br /&gt;
&lt;br /&gt;
In order to report errors of your hard disk drive behind a LSI RAID controller to the support specify the output of the following command:&lt;br /&gt;
&lt;br /&gt;
  smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&lt;br /&gt;
= Checking the RAM =&lt;br /&gt;
&lt;br /&gt;
In order to perform a check of the server's memory the '''memtester''' utility can be used. It's available on the EUserv mirror and can be obtained from the following link:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To perform the check, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Log in to the Rescue-System&lt;br /&gt;
&lt;br /&gt;
* Download '''memtester'''. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Extract the archive. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change to the extracted directory. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile the program. Use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can execute the program with the following pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Amount of memory&amp;gt; &amp;lt;Passes&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The amount of memory can be determined with the command '''free -m'''. The respective value can be found under the '''total''' column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to check the memory two times in a row you can use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 08:38:50 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System/en</comments>		</item>
		<item>
			<title>Manual Linux Rescue System</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Überprüfen des Arbeitsspeichers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
&lt;br /&gt;
'''''Benutzung des Linux Rescue-Systems'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Benutzung des Linux Rescue-Systems'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Aktivierung des Linux Rescue-Systems =&lt;br /&gt;
&lt;br /&gt;
Um das Linux Rescue-System nutzen zu können, müssen Sie dieses erst über das Kundencenter aktivieren. Wie die Aktivierung erfolgt, können Sie der folgenden Wiki-Anleitung entnehmen:&lt;br /&gt;
 &lt;br /&gt;
[[Kundencenter_Server_Rescue_System#Rescue-System_aktivieren|Rescue-System aktivieren]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Verbinden mit dem Linux Rescue-System =&lt;br /&gt;
&lt;br /&gt;
Nach der Aktivierung des Linux Rescue-systems, können Sie sich mit diesem verbinden. Hier finden Sie eine Wiki-Anleitung dazu:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System#Verbinden_mit_dem_Rescue-System|Verbinden mit dem Rescue-System]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Zurücksetzen des root-Passwortes =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
Um das root-Passwort zu ändern, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
Gehen Sie wie folgt vor um das root-Passwort zu ändern:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl als root-Benutzer ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; passwd &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie das neue Passwort ein.&lt;br /&gt;
* Geben Sie wiederholt das neue Passwort ein.&lt;br /&gt;
* Verlassen Sie nun die chroot-Umgebung und unmounten Sie die Partitionen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deaktivieren Sie über das Kundencenter das Rescue-System.&lt;br /&gt;
* Führen Sie über das Kundencenter einen Webreset aus. &lt;br /&gt;
&lt;br /&gt;
Sie haben nun erfolgreich das root-Passwort geändert. Sie können sich nun unter dem neu vergebenen Passwort mit Ihrem System verbinden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Deaktivieren der Firewall =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
&lt;br /&gt;
Um die Firewall zu deaktivieren, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
&lt;br /&gt;
Gehen Sie wie folgt vor um die Firewall zu deaktivieren:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig --level 2345 iptables off&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;update-rc.d -f iptables remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Wiederherstellen eines fehlerhaften Software-RAID =&lt;br /&gt;
&lt;br /&gt;
== Prüfung auf MBR-/GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
Um zu prüfen, welches Format der Partitionstabellen bei Ihren Festplatten vorliegt, gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle Ihrer Festplatte mit folgendem Befehl (Ersetzen Sie X durch die zu prüfende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format MBR hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format GPT hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein '''(Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem)''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mit folgendem Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdb zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Bespiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein (Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit GPT-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdd zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Prüfen/Wiederherstellen eines fehlerhaften Filesystems =&lt;br /&gt;
&lt;br /&gt;
== Prüfen/Wiederherstellen des Filesystems einer physischen HDD auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem einer physischen HDD auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prüfen auf benutzten Filesystem-Typ ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um zu prüfen welcher Filesystem-Typ benutzt wird (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ ext2/3/4 wiederherzustellen, geben Sie folgenden Befehl ein (Ersetzen Sie X für die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ xfs wiederherzustellen, geben Sie die folgenden Befehle ein (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_check /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_repair /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Software-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem eines Software-RAIDs auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/mdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Hardware-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Konvertieren eines Filesystems =&lt;br /&gt;
== Konvertieren von ext3 auf ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, darf das Dateisystem nicht eingehängt sein. Sollte das Root-Dateisystem konvertiert werden, so muss dies im Rescue-System durchgeführt werden.&lt;br /&gt;
Alle anderen Partitionen, welche zur Konvertierung ausgehangen werden können, benötigen diesen Schritt nicht zwingend.&lt;br /&gt;
Für die Konvertierung werden dem ext3-Dateisystem, die spezifischen ext4 Erweiterungen/Eigenschaften hinzugefügt und danach ein zwingend nötiger Dateisystemcheck durchgeführt.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie zur Vorbereitung wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Ermitteln Sie die genaue Bezeichnung der zu konvertierenden Partition mittels folgender Befehle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit dem ersten Befehl erhalten Sie eine Ausgabe aller Festplatten und deren Partitionen. Der Befehl '''blkid''' gibt die einzigartigen IDs aller Partitionen aus.&lt;br /&gt;
&lt;br /&gt;
'''Hinweis: Die zu ändernde Partition darf bei dem Dateisystemcheck nicht eingehängt sein!'''&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;Gerätedatei&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie die gerade ermittelte Bezeichnung ein.&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/&amp;lt;Gerätedatei&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/&amp;lt;Gerätedatei&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie hier die Bezeichnung der (Root-) Partiton ein.&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;Gerätedatei&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Nun wird ab sofort das ext4-Dateisystem genutzt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Beispiel ===&lt;br /&gt;
&lt;br /&gt;
Im folgenden Beispiel, führen wir die Konvertierung der Root-Partition basierend auf der EUserv Standardpartitionierung durch. Die Standardpartitionierung nutzt für die Root-Partition  /dev/sda3 bei Standard Partitionierung bzw. /dev/sda4 bei GPT Partitionierung. In diesem Beispiel nehmen wir die Standard-Partitionierung an. Dabei gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Prüfen Sie, ob die Partionierung mit der o.g. Standardpartitionierung übereinstimt, bevor Sie weitere Schritte durchführen, geben Sie die folgenden Befehle ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;fdisk -l&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Gerät     boot.     Anfang        Ende     Blöcke   Id  System&lt;br /&gt;
/dev/sda1   *           1          62      488281+  83  Linux&lt;br /&gt;
/dev/sda2              62         311     2000976+  83  Linux&lt;br /&gt;
/dev/sda3             311         933     5000977   83  Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;blkid&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;aa326a61-4c8c-4613-82d4-8c5a1d30d8ce&amp;quot; TYPE=&amp;quot;ext2&amp;quot; &lt;br /&gt;
/dev/sda2: UUID=&amp;quot;bbde6249-1b62-4fbf-b250-9075377417bd&amp;quot; TYPE=&amp;quot;swap&amp;quot; &lt;br /&gt;
/dev/sda3: UUID=&amp;quot;cc3b1ecf-0bb1-459d-bbcf-d80d6dba9077&amp;quot; TYPE=&amp;quot;ext3&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sda3 /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda3    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Überprüfen der Festplatten =&lt;br /&gt;
&lt;br /&gt;
Um die Festplatten auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HDD-Check mit smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für normale Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools ein Festplatten-Check durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mittels folgenden Befehls einen kurzen Festplatten-Check (Ersetzen Sie X durch die entsprechende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t short /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mit dem folgenden Befehl einen langen Festplatten-Check (dieser dauert abhängig von der Kapazität der Festplatte 1 bis 6 Stunden):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t long /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für Festplatten an HW-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung für Festplatten an 3Ware HW-RAID-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen langen Festplatten-Check zu starten:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auswertung der Ergebnisse ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um sich das Ergebnis des Festplatten-Tests anzeigen zu lassen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -l selftest /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Das folgende Ausgabebeispiel zeigt, dass der Festplatten-Check erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;        &lt;br /&gt;
&lt;br /&gt;
Dieses Ausgabebeispiel zeigt, dass der Festplatten-Check nicht erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== Melden von Fehlern beim Support bei normalen Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Melden von Fehlern beim Support bei Festplatten an HW-RAID-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an (Ersetzen Sie dabei X für den entsprechenden Controller-Port, an welchem die Festplatte angeschlossen ist):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware-RAID =&lt;br /&gt;
== Grundlagen / Allgemeine Informationen ==&lt;br /&gt;
== Überprüfen des Status des Controllers ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Status des 3ware-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein, um zunächst die ID des Controllers festzustellen (diese ist in der Regel 0) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg | grep 3ware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint folgende Beispielausgabe (die Zahl hinter '''scsi''' ist die Controller-ID): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Informationen des HW-Controllers auszulesen (Ersetzen Sie X durch die entsprechende Controller-ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tw_cli /cX show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es können folgende Beispielausgaben erscheinen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/Pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall ist das RAID in einwandfreiem Zustand, erkennbar durch den Status OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall führt das Hardware-RAID ein Rebuild durch, erkennbar durch den Status REBUILDING. Die problematische Festplatte ist in diesem Fall die am Port 0 angeschlossene Festplatte (Status DEGRADED).&lt;br /&gt;
&lt;br /&gt;
=== LSI-RAID-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um den Status des LSI-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
megacli -AdpAllInfo -aAll&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint nun eine Ausgabe an Informationen zum LSI-Controller.  &lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
== Überprüfen des Status der Festplatten ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an 3ware-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an LSI-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Device ID der Festplatte am RAID-Controller herauszufinden (Diese kann über die StorCLI angezeigt werden (Spalte DID).:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
storcli /c0 /eall /sall show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mittels folgenden Befehls können Sie auf die Festplatten per smartctl zugreifen (Ersetzen Sie &amp;lt;X&amp;gt; durch die entsprechende Festplatte und &amp;lt;N&amp;gt; durch die Device ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Überprüfen des Arbeitsspeichers =&lt;br /&gt;
&lt;br /&gt;
Um einen Check des im Server verbauten Arbeitsspeichers durchzuführen, kann das Tool '''memtester''' verwendet werden. Das Tool steht auf dem EUserv Mirror zur Verfügung und kann unter folgendem Link bezogen werden:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Um innerhalb des Rescue-Systems eine Überprüfung des Arbeitsspeichers vorzunehmen, gehen Sie bitte wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Loggen Sie sich ins Rescue-System ein&lt;br /&gt;
&lt;br /&gt;
* Laden Sie '''memtester''' herunter. Nutzen Sie dafür folgenden Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://mirror.euserv.net/misc/memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Entpacken Sie das Archiv. Nutzen Sie dafür folgenden Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xfz memtester.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wechseln Sie in das entpackte Verzeichnis. Nutzen Sie dafür folgenden Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd memtester&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Kompilieren Sie das Programm. Nutzen Sie dafür folgenden Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nun können Sie das Programm nach folgendem Muster aufrufen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./make &amp;lt;Menge Arbeitsspeicher&amp;gt; &amp;lt;Durchläufe&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die Menge des Arbeitsspeichers können Sie mit dem Befehl '''free -m''' ermitteln. Der entsprechende Wert befindet sich unter der Spalte '''Total'''.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:          3821       3444        376          3          1       2717&lt;br /&gt;
-/+ buffers/cache:        724       3096&lt;br /&gt;
Swap:         1953          5       1947&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Um den Arbeitsspeicher nun zweimal zu prüfen, nutzen Sie folgenden Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./memtester 3821 2&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 08:33:05 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System</comments>		</item>
		<item>
			<title>Manual Linux Rescue System</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Überprüfen des Arbeitsspeichers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
&lt;br /&gt;
'''''Benutzung des Linux Rescue-Systems'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Benutzung des Linux Rescue-Systems'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Aktivierung des Linux Rescue-Systems =&lt;br /&gt;
&lt;br /&gt;
Um das Linux Rescue-System nutzen zu können, müssen Sie dieses erst über das Kundencenter aktivieren. Wie die Aktivierung erfolgt, können Sie der folgenden Wiki-Anleitung entnehmen:&lt;br /&gt;
 &lt;br /&gt;
[[Kundencenter_Server_Rescue_System#Rescue-System_aktivieren|Rescue-System aktivieren]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Verbinden mit dem Linux Rescue-System =&lt;br /&gt;
&lt;br /&gt;
Nach der Aktivierung des Linux Rescue-systems, können Sie sich mit diesem verbinden. Hier finden Sie eine Wiki-Anleitung dazu:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System#Verbinden_mit_dem_Rescue-System|Verbinden mit dem Rescue-System]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Zurücksetzen des root-Passwortes =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
Um das root-Passwort zu ändern, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
Gehen Sie wie folgt vor um das root-Passwort zu ändern:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl als root-Benutzer ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; passwd &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie das neue Passwort ein.&lt;br /&gt;
* Geben Sie wiederholt das neue Passwort ein.&lt;br /&gt;
* Verlassen Sie nun die chroot-Umgebung und unmounten Sie die Partitionen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deaktivieren Sie über das Kundencenter das Rescue-System.&lt;br /&gt;
* Führen Sie über das Kundencenter einen Webreset aus. &lt;br /&gt;
&lt;br /&gt;
Sie haben nun erfolgreich das root-Passwort geändert. Sie können sich nun unter dem neu vergebenen Passwort mit Ihrem System verbinden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Deaktivieren der Firewall =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
&lt;br /&gt;
Um die Firewall zu deaktivieren, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
&lt;br /&gt;
Gehen Sie wie folgt vor um die Firewall zu deaktivieren:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig --level 2345 iptables off&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;update-rc.d -f iptables remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Wiederherstellen eines fehlerhaften Software-RAID =&lt;br /&gt;
&lt;br /&gt;
== Prüfung auf MBR-/GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
Um zu prüfen, welches Format der Partitionstabellen bei Ihren Festplatten vorliegt, gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle Ihrer Festplatte mit folgendem Befehl (Ersetzen Sie X durch die zu prüfende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format MBR hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format GPT hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein '''(Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem)''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mit folgendem Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdb zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Bespiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein (Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit GPT-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdd zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Prüfen/Wiederherstellen eines fehlerhaften Filesystems =&lt;br /&gt;
&lt;br /&gt;
== Prüfen/Wiederherstellen des Filesystems einer physischen HDD auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem einer physischen HDD auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prüfen auf benutzten Filesystem-Typ ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um zu prüfen welcher Filesystem-Typ benutzt wird (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ ext2/3/4 wiederherzustellen, geben Sie folgenden Befehl ein (Ersetzen Sie X für die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ xfs wiederherzustellen, geben Sie die folgenden Befehle ein (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_check /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_repair /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Software-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem eines Software-RAIDs auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/mdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Hardware-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Konvertieren eines Filesystems =&lt;br /&gt;
== Konvertieren von ext3 auf ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, darf das Dateisystem nicht eingehängt sein. Sollte das Root-Dateisystem konvertiert werden, so muss dies im Rescue-System durchgeführt werden.&lt;br /&gt;
Alle anderen Partitionen, welche zur Konvertierung ausgehangen werden können, benötigen diesen Schritt nicht zwingend.&lt;br /&gt;
Für die Konvertierung werden dem ext3-Dateisystem, die spezifischen ext4 Erweiterungen/Eigenschaften hinzugefügt und danach ein zwingend nötiger Dateisystemcheck durchgeführt.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie zur Vorbereitung wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Ermitteln Sie die genaue Bezeichnung der zu konvertierenden Partition mittels folgender Befehle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit dem ersten Befehl erhalten Sie eine Ausgabe aller Festplatten und deren Partitionen. Der Befehl '''blkid''' gibt die einzigartigen IDs aller Partitionen aus.&lt;br /&gt;
&lt;br /&gt;
'''Hinweis: Die zu ändernde Partition darf bei dem Dateisystemcheck nicht eingehängt sein!'''&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;Gerätedatei&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie die gerade ermittelte Bezeichnung ein.&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/&amp;lt;Gerätedatei&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/&amp;lt;Gerätedatei&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie hier die Bezeichnung der (Root-) Partiton ein.&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;Gerätedatei&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Nun wird ab sofort das ext4-Dateisystem genutzt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Beispiel ===&lt;br /&gt;
&lt;br /&gt;
Im folgenden Beispiel, führen wir die Konvertierung der Root-Partition basierend auf der EUserv Standardpartitionierung durch. Die Standardpartitionierung nutzt für die Root-Partition  /dev/sda3 bei Standard Partitionierung bzw. /dev/sda4 bei GPT Partitionierung. In diesem Beispiel nehmen wir die Standard-Partitionierung an. Dabei gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Prüfen Sie, ob die Partionierung mit der o.g. Standardpartitionierung übereinstimt, bevor Sie weitere Schritte durchführen, geben Sie die folgenden Befehle ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;fdisk -l&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Gerät     boot.     Anfang        Ende     Blöcke   Id  System&lt;br /&gt;
/dev/sda1   *           1          62      488281+  83  Linux&lt;br /&gt;
/dev/sda2              62         311     2000976+  83  Linux&lt;br /&gt;
/dev/sda3             311         933     5000977   83  Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;blkid&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;aa326a61-4c8c-4613-82d4-8c5a1d30d8ce&amp;quot; TYPE=&amp;quot;ext2&amp;quot; &lt;br /&gt;
/dev/sda2: UUID=&amp;quot;bbde6249-1b62-4fbf-b250-9075377417bd&amp;quot; TYPE=&amp;quot;swap&amp;quot; &lt;br /&gt;
/dev/sda3: UUID=&amp;quot;cc3b1ecf-0bb1-459d-bbcf-d80d6dba9077&amp;quot; TYPE=&amp;quot;ext3&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sda3 /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda3    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Überprüfen der Festplatten =&lt;br /&gt;
&lt;br /&gt;
Um die Festplatten auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HDD-Check mit smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für normale Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools ein Festplatten-Check durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mittels folgenden Befehls einen kurzen Festplatten-Check (Ersetzen Sie X durch die entsprechende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t short /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mit dem folgenden Befehl einen langen Festplatten-Check (dieser dauert abhängig von der Kapazität der Festplatte 1 bis 6 Stunden):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t long /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für Festplatten an HW-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung für Festplatten an 3Ware HW-RAID-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen langen Festplatten-Check zu starten:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auswertung der Ergebnisse ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um sich das Ergebnis des Festplatten-Tests anzeigen zu lassen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -l selftest /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Das folgende Ausgabebeispiel zeigt, dass der Festplatten-Check erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;        &lt;br /&gt;
&lt;br /&gt;
Dieses Ausgabebeispiel zeigt, dass der Festplatten-Check nicht erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== Melden von Fehlern beim Support bei normalen Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Melden von Fehlern beim Support bei Festplatten an HW-RAID-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an (Ersetzen Sie dabei X für den entsprechenden Controller-Port, an welchem die Festplatte angeschlossen ist):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware-RAID =&lt;br /&gt;
== Grundlagen / Allgemeine Informationen ==&lt;br /&gt;
== Überprüfen des Status des Controllers ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Status des 3ware-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein, um zunächst die ID des Controllers festzustellen (diese ist in der Regel 0) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg | grep 3ware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint folgende Beispielausgabe (die Zahl hinter '''scsi''' ist die Controller-ID): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Informationen des HW-Controllers auszulesen (Ersetzen Sie X durch die entsprechende Controller-ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tw_cli /cX show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es können folgende Beispielausgaben erscheinen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/Pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall ist das RAID in einwandfreiem Zustand, erkennbar durch den Status OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall führt das Hardware-RAID ein Rebuild durch, erkennbar durch den Status REBUILDING. Die problematische Festplatte ist in diesem Fall die am Port 0 angeschlossene Festplatte (Status DEGRADED).&lt;br /&gt;
&lt;br /&gt;
=== LSI-RAID-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um den Status des LSI-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
megacli -AdpAllInfo -aAll&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint nun eine Ausgabe an Informationen zum LSI-Controller.  &lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
== Überprüfen des Status der Festplatten ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an 3ware-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an LSI-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Device ID der Festplatte am RAID-Controller herauszufinden (Diese kann über die StorCLI angezeigt werden (Spalte DID).:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
storcli /c0 /eall /sall show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mittels folgenden Befehls können Sie auf die Festplatten per smartctl zugreifen (Ersetzen Sie &amp;lt;X&amp;gt; durch die entsprechende Festplatte und &amp;lt;N&amp;gt; durch die Device ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Überprüfen des Arbeitsspeichers =&lt;br /&gt;
&lt;br /&gt;
Um einen Check des im Server verbauten Arbeitsspeichers durchzuführen, kann das Tool '''memtester''' verwendet werden. Das Tool steht auf dem EUserv Mirror zur Verfügung und kann unter folgendem Link bezogen werden:&lt;br /&gt;
&lt;br /&gt;
http://mirror.euserv.net/misc/memtester.tar.gz&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 08:23:54 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System</comments>		</item>
		<item>
			<title>Manual Linux Rescue System</title>
			<link>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</link>
			<guid>https://www.euserv.com/wiki/index.php/Manual_Linux_Rescue_System</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Manual Linux Rescue System}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
&lt;br /&gt;
'''''Benutzung des Linux Rescue-Systems'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Benutzung des Linux Rescue-Systems'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Aktivierung des Linux Rescue-Systems =&lt;br /&gt;
&lt;br /&gt;
Um das Linux Rescue-System nutzen zu können, müssen Sie dieses erst über das Kundencenter aktivieren. Wie die Aktivierung erfolgt, können Sie der folgenden Wiki-Anleitung entnehmen:&lt;br /&gt;
 &lt;br /&gt;
[[Kundencenter_Server_Rescue_System#Rescue-System_aktivieren|Rescue-System aktivieren]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Verbinden mit dem Linux Rescue-System =&lt;br /&gt;
&lt;br /&gt;
Nach der Aktivierung des Linux Rescue-systems, können Sie sich mit diesem verbinden. Hier finden Sie eine Wiki-Anleitung dazu:&lt;br /&gt;
&lt;br /&gt;
[[Manual_Backup_Linux_Rescue_System#Verbinden_mit_dem_Rescue-System|Verbinden mit dem Rescue-System]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Zurücksetzen des root-Passwortes =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
Um das root-Passwort zu ändern, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
Gehen Sie wie folgt vor um das root-Passwort zu ändern:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl als root-Benutzer ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; passwd &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie das neue Passwort ein.&lt;br /&gt;
* Geben Sie wiederholt das neue Passwort ein.&lt;br /&gt;
* Verlassen Sie nun die chroot-Umgebung und unmounten Sie die Partitionen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
umount dev sys proc boot&lt;br /&gt;
cd ..&lt;br /&gt;
umount custom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Deaktivieren Sie über das Kundencenter das Rescue-System.&lt;br /&gt;
* Führen Sie über das Kundencenter einen Webreset aus. &lt;br /&gt;
&lt;br /&gt;
Sie haben nun erfolgreich das root-Passwort geändert. Sie können sich nun unter dem neu vergebenen Passwort mit Ihrem System verbinden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Deaktivieren der Firewall =&lt;br /&gt;
&lt;br /&gt;
== Vorbereitung ==&lt;br /&gt;
&lt;br /&gt;
Um die Firewall zu deaktivieren, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Durchführung ==&lt;br /&gt;
&lt;br /&gt;
Gehen Sie wie folgt vor um die Firewall zu deaktivieren:&lt;br /&gt;
&lt;br /&gt;
* Betreten Sie Ihr installiertes System in einer chroot-Umgebung (Ersetzen Sie X durch die entsprechende Partitionsnummer):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sdaX /mnt/custom          //(Root-Partition)&lt;br /&gt;
mount /dev/sdaX /mnt/custom/boot     //(Boot-Partition)&lt;br /&gt;
&lt;br /&gt;
cd /mnt/custom&lt;br /&gt;
&lt;br /&gt;
mount --bind /dev dev&lt;br /&gt;
mount --bind /sys sys&lt;br /&gt;
mount --bind /proc proc&lt;br /&gt;
&lt;br /&gt;
chroot . /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CentOS/Red Hat/Fedora'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig --level 2345 iptables off&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Debian/Ubuntu'''&lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl als root-User ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;update-rc.d -f iptables remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Wiederherstellen eines fehlerhaften Software-RAID =&lt;br /&gt;
&lt;br /&gt;
== Prüfung auf MBR-/GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
Um zu prüfen, welches Format der Partitionstabellen bei Ihren Festplatten vorliegt, gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle Ihrer Festplatte mit folgendem Befehl (Ersetzen Sie X durch die zu prüfende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format MBR hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: mbr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Ausgabe weist darauf hin, dass die Partitionstabelle das Format GPT hat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition Table: gpt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein '''(Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem)''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID1 mit GPT-Partitionierung ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]]&lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mit folgendem Befehl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0] sdb4[1]&lt;br /&gt;
      1847608639 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md2 : active raid1 sda3[0] sdb3[1]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md1 : active raid1 sda2[0] sdb2[1]&lt;br /&gt;
      524276 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
md0 : active raid1 sda1[0] sdb1[1]&lt;br /&gt;
      8387572 blocks super 1.2 [2/2] [UU]&lt;br /&gt;
 &lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eine RAID1-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1]&lt;br /&gt;
md3 : active raid1 sda4[0]&lt;br /&gt;
      1843414335 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md2 : active raid1 sda3[0]&lt;br /&gt;
      1073740664 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md1 : active raid1 sda2[0]&lt;br /&gt;
      524276 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
md0 : active raid1 sda1[0]&lt;br /&gt;
      12581816 blocks super 1.2 [2/1] [U_]&lt;br /&gt;
&lt;br /&gt;
unused devices: &amp;lt;none&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In diesem Bespiel werden die Partitionen auf der zweiten Festplatte sdb nicht angezeigt. Es ist von einem Festplattendefekt auszugehen.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdb zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdb /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdb1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdb2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdb3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdb4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit MBR-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Bespiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein (Bitte beachten Sie unbedingt die Reihenfolge! (sfdisk -d Quellsystem | sfdisk Zielsystem): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -d /dev/sda | sfdisk /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie den folgenden Befehl ein um die Partitionstabelle neu einzulesen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sfdisk -R /dev/sdd&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prüfen Sie mittels folgenden Befehls, ob die beiden Festplatten sda und sdb die gleichen Partitionsgrößen anzeigen: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/partitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Wenn alle Partitionen vorhanden sind, können diese in das RAID zurück eingebunden werden: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RAID5/6 mit GPT-Partitionierung ==&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein fehlerhaftes Software-RAID wiederherzustellen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System.&lt;br /&gt;
* Prüfen Sie das Format der Partitionstabelle: [[Manual_Linux_Rescue-System#Pr.C3.BCfung_auf_MBR-.2FGPT-Partitionierung | Prüfung auf MBR-/GPT-Partitionierung]] &lt;br /&gt;
* Prüfen Sie den Zustand des Software-Raids mittels folgenden Befehls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche intakt ist, erkennen Sie am Status 'U'. Dies bedeutet, dass alle beteiligten Partitionen in Ordnung sind. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eine RAID5-Partition, welche defekt ist, erkennen Sie am Status '_'. Dies deutet darauf hin, dass eine Festplatte im RAID fehlt bzw. defekt ist. &lt;br /&gt;
&lt;br /&gt;
Eine Beispielausgabe:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Personalities : [raid1] [raid6] [raid5] [raid4]&lt;br /&gt;
md0 : active raid5 sda7[0] sdc7[2] sdb7[1]&lt;br /&gt;
5842954752 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel fehlt die vierte Platte im RAID5-Verbund.&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um die Wiederherstellung des RAIDs durchführen zu können, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Partitionstabelle von sda auf die neue Festplatte sdd zu kopieren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -R /dev/sdd /dev/sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vergeben Sie der Festplatte eine neue zufällig UUID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sgdisk -G /dev/sdd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nun kann die Festplatte wieder in das RAID zurück eingebunden werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm /dev/md0 -a /dev/sdd1&lt;br /&gt;
mdadm /dev/md1 -a /dev/sdd2&lt;br /&gt;
mdadm /dev/md2 -a /dev/sdd3&lt;br /&gt;
mdadm /dev/md3 -a /dev/sdd4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Partitionen werden nun nach der Reihe wiederhergestellt. Dieser Vorgang kann je nach verwendeten Daten einige Zeit in Anspruch nehmen. Der Status kann mittels folgenden Befehls abgefragt werden:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cat /proc/mdstat&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Prüfen/Wiederherstellen eines fehlerhaften Filesystems =&lt;br /&gt;
&lt;br /&gt;
== Prüfen/Wiederherstellen des Filesystems einer physischen HDD auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem einer physischen HDD auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prüfen auf benutzten Filesystem-Typ ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um zu prüfen welcher Filesystem-Typ benutzt wird (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parted -s /dev/sdX print&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ext2/3/4 ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ ext2/3/4 wiederherzustellen, geben Sie folgenden Befehl ein (Ersetzen Sie X für die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck.ext3 /dev/sdX&lt;br /&gt;
fsck.ext2 /dev/sdX&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== xfs ===&lt;br /&gt;
&lt;br /&gt;
Um nun das fehlerhafte Filesystem vom Typ xfs wiederherzustellen, geben Sie die folgenden Befehle ein (Ersetzen Sie X durch die entsprechende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_check /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xfs_repair /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Software-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
Um das Filesystem eines Software-RAIDs auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
Geben Sie den folgenden Befehl ein um die Überprüfung des Filesystems zu starten (Ersetzen Sie X durch die zu prüfende Partition):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck /dev/mdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fsck dient der Überprüfung und ggf. Reparatur eines Linux-Dateisystems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Wichtig: Führen Sie fsck unter keinen Umständen auf einem gemountetem Filsystem aus!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prüfen des Filesystems eines Hardware-RAIDs auf Fehler ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Konvertieren eines Filesystems =&lt;br /&gt;
== Konvertieren von ext3 auf ext4 ==&lt;br /&gt;
&lt;br /&gt;
=== Vorbereitung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, darf das Dateisystem nicht eingehängt sein. Sollte das Root-Dateisystem konvertiert werden, so muss dies im Rescue-System durchgeführt werden.&lt;br /&gt;
Alle anderen Partitionen, welche zur Konvertierung ausgehangen werden können, benötigen diesen Schritt nicht zwingend.&lt;br /&gt;
Für die Konvertierung werden dem ext3-Dateisystem, die spezifischen ext4 Erweiterungen/Eigenschaften hinzugefügt und danach ein zwingend nötiger Dateisystemcheck durchgeführt.&lt;br /&gt;
&lt;br /&gt;
Gehen Sie zur Vorbereitung wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Ermitteln Sie die genaue Bezeichnung der zu konvertierenden Partition mittels folgender Befehle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit dem ersten Befehl erhalten Sie eine Ausgabe aller Festplatten und deren Partitionen. Der Befehl '''blkid''' gibt die einzigartigen IDs aller Partitionen aus.&lt;br /&gt;
&lt;br /&gt;
'''Hinweis: Die zu ändernde Partition darf bei dem Dateisystemcheck nicht eingehängt sein!'''&lt;br /&gt;
&lt;br /&gt;
=== Durchführung ===&lt;br /&gt;
&lt;br /&gt;
Um ein bestehendes ext3- in ein ext4-Dateisystem zu konvertieren, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/&amp;lt;Gerätedatei&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie die gerade ermittelte Bezeichnung ein.&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/&amp;lt;Gerätedatei&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/&amp;lt;Gerätedatei&amp;gt; /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für &amp;lt;Gerätedatei&amp;gt; setzen Sie hier die Bezeichnung der (Root-) Partiton ein.&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/&amp;lt;Gerätedatei&amp;gt;    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Nun wird ab sofort das ext4-Dateisystem genutzt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Beispiel ===&lt;br /&gt;
&lt;br /&gt;
Im folgenden Beispiel, führen wir die Konvertierung der Root-Partition basierend auf der EUserv Standardpartitionierung durch. Die Standardpartitionierung nutzt für die Root-Partition  /dev/sda3 bei Standard Partitionierung bzw. /dev/sda4 bei GPT Partitionierung. In diesem Beispiel nehmen wir die Standard-Partitionierung an. Dabei gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie Ihren Server im Rescue-System. Wie Sie dabei vorgehen, finden Sie [[Kundencenter_Server_Rescue_System | hier]].&lt;br /&gt;
* Führen Sie eine Datensicherung aller wichtigen Daten und Konfigurationen durch.&lt;br /&gt;
* Prüfen Sie, ob die Partionierung mit der o.g. Standardpartitionierung übereinstimt, bevor Sie weitere Schritte durchführen, geben Sie die folgenden Befehle ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk -l&lt;br /&gt;
blkid &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;fdisk -l&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Gerät     boot.     Anfang        Ende     Blöcke   Id  System&lt;br /&gt;
/dev/sda1   *           1          62      488281+  83  Linux&lt;br /&gt;
/dev/sda2              62         311     2000976+  83  Linux&lt;br /&gt;
/dev/sda3             311         933     5000977   83  Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Befehl &amp;quot;blkid&amp;quot; Beispielausgabe für Standard Partitionierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;aa326a61-4c8c-4613-82d4-8c5a1d30d8ce&amp;quot; TYPE=&amp;quot;ext2&amp;quot; &lt;br /&gt;
/dev/sda2: UUID=&amp;quot;bbde6249-1b62-4fbf-b250-9075377417bd&amp;quot; TYPE=&amp;quot;swap&amp;quot; &lt;br /&gt;
/dev/sda3: UUID=&amp;quot;cc3b1ecf-0bb1-459d-bbcf-d80d6dba9077&amp;quot; TYPE=&amp;quot;ext3&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Fügen Sie die ext4-spezifischen Optionen mittels folgendem Befehl mit Hilfe von tune2fs hinzu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tune2fs -O extents,uninit_bg,dir_index /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Führen Sie einen Dateisystemcheck mittels folgendem Befehl durch ('''Hinweis: Die Partition darf nicht eingehängt sein!'''):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -fCVD /dev/sda3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mit folgendem Befehl mounten Sie nun die Partition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount /dev/sda3 /mnt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Öffnen Sie nun die Datei /mnt/etc/fstab mit einem Editor, z.B. nano.&lt;br /&gt;
* Ersetzen Sie nun bei der entsprechenden Partition den Eintrag &amp;quot;ext3&amp;quot; mit &amp;quot;ext4&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sda3    /   ext4 relatime   0   1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Speichern Sie die Datei, Deaktivieren Sie das Rescue-System und starten Sie das System &amp;quot;normal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Überprüfen der Festplatten =&lt;br /&gt;
&lt;br /&gt;
Um die Festplatten auf Fehler zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HDD-Check mit smartctl / smartmontools ==&lt;br /&gt;
&lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für normale Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools ein Festplatten-Check durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mittels folgenden Befehls einen kurzen Festplatten-Check (Ersetzen Sie X durch die entsprechende Festplatte):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t short /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Starten Sie mit dem folgenden Befehl einen langen Festplatten-Check (dieser dauert abhängig von der Kapazität der Festplatte 1 bis 6 Stunden):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -t long /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== HDD-Check mit smartctl / smartmontools für Festplatten an HW-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung für Festplatten an 3Ware HW-RAID-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t short /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen langen Festplatten-Check zu starten:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -t long /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auswertung der Ergebnisse ==&lt;br /&gt;
&lt;br /&gt;
Geben Sie folgenden Befehl ein, um sich das Ergebnis des Festplatten-Tests anzeigen zu lassen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -l selftest /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Das folgende Ausgabebeispiel zeigt, dass der Festplatten-Check erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed without error       00%      4970         &lt;br /&gt;
# 2  Long offline        Completed without error       00%      4972&lt;br /&gt;
&amp;lt;/pre&amp;gt;        &lt;br /&gt;
&lt;br /&gt;
Dieses Ausgabebeispiel zeigt, dass der Festplatten-Check nicht erfolgreich war:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== START OF READ SMART DATA SECTION ===&lt;br /&gt;
SMART Self-test log structure revision number 1&lt;br /&gt;
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error&lt;br /&gt;
# 1  Short offline       Completed: read failure       20%       717         555027747&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== Melden von Fehlern beim Support bei normalen Festplatten ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Melden von Fehlern beim Support bei Festplatten an HW-RAID-Controllern ===&lt;br /&gt;
&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an (Ersetzen Sie dabei X für den entsprechenden Controller-Port, an welchem die Festplatte angeschlossen ist):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware-RAID =&lt;br /&gt;
== Grundlagen / Allgemeine Informationen ==&lt;br /&gt;
== Überprüfen des Status des Controllers ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Status des 3ware-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein, um zunächst die ID des Controllers festzustellen (diese ist in der Regel 0) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg | grep 3ware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint folgende Beispielausgabe (die Zahl hinter '''scsi''' ist die Controller-ID): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    5.487015] scsi4 : 3ware 9000 Storage Controller&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Informationen des HW-Controllers auszulesen (Ersetzen Sie X durch die entsprechende Controller-ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tw_cli /cX show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es können folgende Beispielausgaben erscheinen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-1    OK             -       -       -       149.001   RiW    ON     &lt;br /&gt;
&lt;br /&gt;
VPort Status         Unit Size      Type  Phy Encl-Slot    Model&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
p0    OK             u0   149.05 GB SATA  0   -            SAMSUNG HD160JJ     &lt;br /&gt;
p1    OK             u0   149.05 GB SATA  1   -            SAMSUNG HD160JJ    &lt;br /&gt;
&amp;lt;/Pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall ist das RAID in einwandfreiem Zustand, erkennbar durch den Status OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
u0       RAID-1    REBUILDING     23%     -       -     -       149.001   &lt;br /&gt;
u0-0     DISK      DEGRADED       -       -       p0    -       149.001   &lt;br /&gt;
u0-1     DISK      OK             -       -       p1    -       149.001   &lt;br /&gt;
u0/v0    Volume    -              -       -       -     -       149.001   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Fall führt das Hardware-RAID ein Rebuild durch, erkennbar durch den Status REBUILDING. Die problematische Festplatte ist in diesem Fall die am Port 0 angeschlossene Festplatte (Status DEGRADED).&lt;br /&gt;
&lt;br /&gt;
=== LSI-RAID-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um den Status des LSI-HW-RAID-Controllers zu überprüfen, müssen Sie mit dem Linux Rescue-System verbunden sein. Dazu gehen Sie nach den folgenden Schritten vor:&lt;br /&gt;
&lt;br /&gt;
* Aktivieren Sie das Rescue-System über das Kundencenter.&lt;br /&gt;
* Verbinden Sie sich über SSH mit dem Rescue-System. &lt;br /&gt;
* Geben Sie den folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
megacli -AdpAllInfo -aAll&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Es erscheint nun eine Ausgabe an Informationen zum LSI-Controller.  &lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
== Überprüfen des Status der Festplatten ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an 3ware-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um einen kurzen Festplatten-Check zu starten (Ersetzen Sie X durch die Nummer des entsprechenden Controller-Ports, an welchem die Festplatte konnektiert ist. Beachten Sie bitte, dass die erste Festplatte an Port 0 hängt.):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
&lt;br /&gt;
Um mittels smartmontools eine Überprüfung des Status der Festplatten an LSI-HW-Controllern durchzuführen, gehen Sie wie folgt vor:&lt;br /&gt;
&lt;br /&gt;
* Geben Sie folgenden Befehl ein, um die Device ID der Festplatte am RAID-Controller herauszufinden (Diese kann über die StorCLI angezeigt werden (Spalte DID).:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
storcli /c0 /eall /sall show&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Mittels folgenden Befehls können Sie auf die Festplatten per smartctl zugreifen (Ersetzen Sie &amp;lt;X&amp;gt; durch die entsprechende Festplatte und &amp;lt;N&amp;gt; durch die Device ID):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Melden von Fehlern beim Support ==&lt;br /&gt;
=== 3ware-RAID-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -d 3ware,X -a /dev/twa0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LSI-Controller ===&lt;br /&gt;
Um den Fehler der Festplatte an 3ware-HW-RAID-Controllern beim Support zu melden, geben Sie die Ausgabe des folgenden Befehls an:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smartctl -a -d megaraid,N  /dev/sdX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Überprüfen des Arbeitsspeichers =&lt;/div&gt;</description>
			<pubDate>Thu, 15 Oct 2015 08:20:39 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Manual_Linux_Rescue_System</comments>		</item>
		<item>
			<title>Guide virtuelle MAC-Adressen VMware ESXi/en</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_virtuelle_MAC-Adressen_VMware_ESXi/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_virtuelle_MAC-Adressen_VMware_ESXi/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;Die Seite wurde neu angelegt: „{{Languages|Guide virtuelle MAC-Adressen VMware ESXi}} Kategorie:Servers Kategorie:Virtualization   '''''Guide virtual MAC addresses VMware ESXi''''' __TO…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide virtuelle MAC-Adressen VMware ESXi}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
[[Kategorie:Virtualization]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide virtual MAC addresses VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide virtual MAC addresses VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When creating virtual machines, ESXi uses special virtual MAC addresses for the network adapter(s). This is due to the underlying virtual &amp;quot;hardware&amp;quot;. If you are using a server for virtualization purposes at EUserv, it is necessary to use predefined virtual MAC addresses for the virtual machines.&lt;br /&gt;
&lt;br /&gt;
VMware uses the range '''00:50:56:00:00:00-00:50:56:3F:FF:FF''' for virtual MAC addresses. When creating additional IPs over the customer panel you can choose to have a unique virtual MAC created for VMware.&lt;br /&gt;
&lt;br /&gt;
In order to create a new Co-IP with a VMware-compatible MAC address, please proceed as follows: [[Kundencenter Server IP Adressen/en]]&lt;br /&gt;
&lt;br /&gt;
= Configuring the MAC address =&lt;br /&gt;
&lt;br /&gt;
At first, create a new virtual machine. Information about this procedure can be found here: [[Guide VMware ESXi/en]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After you have created the virtual machine in the vSphere Client right-click on it and select '''Edit Settings...'''. Please note that this can only be done if the virtual machine is powered down:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esx_mac_en_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the '''Hardware''' tab choose the network adapter of the virtual machine:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esx_mac_en_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now select the '''Manual''' option under the '''MAC Address''' point in the right menu. Enter the virtual MAC address from the customer panel into the field. Finally, confirm by clicking '''OK'''.&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:53:58 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_virtuelle_MAC-Adressen_VMware_ESXi/en</comments>		</item>
		<item>
			<title>Guide virtuelle MAC-Adressen VMware ESXi</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_virtuelle_MAC-Adressen_VMware_ESXi</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_virtuelle_MAC-Adressen_VMware_ESXi</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;Die Seite wurde neu angelegt: „{{Languages|Guide virtuelle MAC-Adressen VMware ESXi}} Kategorie:Server Kategorie:Virtualisierung   '''''Guide virtuelle MAC-Adressen VMware ESXi''''' __T…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide virtuelle MAC-Adressen VMware ESXi}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
[[Kategorie:Virtualisierung]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide virtuelle MAC-Adressen VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide virtuelle MAC-Adressen VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Allgemeines =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bei der Erstellung virtueller Maschinen generiert ESXi aufgrund der zum Einsatz kommenden virtuellen &amp;quot;Hardware&amp;quot; spezielle MAC-Adressen. Falls Sie auf einem Server bei EUserv ESXi zur Virtualisierung verwenden, ist es erforderlich, vordefinierte MAC-Adressen für die virtuellen MAC-Adressen zu verwenden.&lt;br /&gt;
&lt;br /&gt;
VMware nutzt für virtuelle MAC-Adressen den Bereich '''00:50:56:00:00:00-00:50:56:3F:FF:FF'''. Beim Anlegen von Zusatz-IPs über das Kundencenter wird, wenn gewünscht, für jede IP-Adresse eine einzigartige MAC-Adresse für die Nutzung mit VMware generiert.&lt;br /&gt;
&lt;br /&gt;
Zum Anlegen einer Zusatz-IP mit einer VMware-kompatiblen MAC-Adresse gehen Sie bitte wie folgt vor: [[Kundencenter Server IP Adressen]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Konfigurieren der MAC-Adresse =&lt;br /&gt;
&lt;br /&gt;
Legen Sie zunächst eine virtuelle Maschine an. Informationen zur Vorgehenweise finden Sie hier: [[Guide VMware ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nachdem Sie die VM innerhalb des vSphere Clients angelegt haben, rechtsklicken Sie auf diese und wählen '''Einstellungen bearbeiten...''' Beachten Sie bitte, dass dies nur möglich ist, wenn die virtuelle Maschine ausgeschalten ist.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esx_mac_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wählen Sie im Reiter '''Hardware''' den Netzwerkadapter der virtuellen Maschine aus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esx_mac_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wählen Sie nun rechts unter '''MAC-Adresse''' den Punkt '''Manuell''' aus und tragen Sie die virtuelle MAC-Adresse aus dem Kundencenter ein. Bestätigen Sie anschließend mit einem Klick auf '''OK'''.&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:53:20 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_virtuelle_MAC-Adressen_VMware_ESXi</comments>		</item>
		<item>
			<title>Datei:Esx mac en 2.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_en_2.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_en_2.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:51:37 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esx_mac_en_2.png</comments>		</item>
		<item>
			<title>Datei:Esx mac en 1.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_en_1.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_en_1.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:51:20 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esx_mac_en_1.png</comments>		</item>
		<item>
			<title>Datei:Esx mac 2.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_2.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_2.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:51:05 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esx_mac_2.png</comments>		</item>
		<item>
			<title>Datei:Esx mac 1.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_1.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esx_mac_1.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Mon, 21 Sep 2015 11:50:49 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esx_mac_1.png</comments>		</item>
		<item>
			<title>Besonderheiten Windows-Installationen</title>
			<link>https://www.euserv.com/wiki/index.php/Besonderheiten_Windows-Installationen</link>
			<guid>https://www.euserv.com/wiki/index.php/Besonderheiten_Windows-Installationen</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Standardinstallationen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Betriebssysteme und Software]]&lt;br /&gt;
{{Languages|Besonderheiten Windows-Installationen}}&lt;br /&gt;
''''' Besonderheiten Windows-Installationen '''''&lt;br /&gt;
__TOC__&lt;br /&gt;
= Besonderheiten Windows-Installationen =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Allgemeines ==&lt;br /&gt;
&lt;br /&gt;
Für die dedizierten Rootserver-Tarife bieten wir die automatische Installation von Windows Server an.&lt;br /&gt;
Nachfolgend zeigen wir Ihnen auf, was bei den von uns bereitgestellten Windows-Installationen zu beachten ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GPT-Problematik ==&lt;br /&gt;
&lt;br /&gt;
GPT (&amp;quot;GUID Partition Table&amp;quot;) ist der Nachfolger von MBR (&amp;quot;Master Boot Record&amp;quot;). Beide Bezeichnungen stehen für eine bestimmte Art und Weise, wie Datenträger partitioniert werden können (Anzahl der nutzbaren Partitionen, Größenlimits u.a.). Während MBR für die längste Zeit den quasi-Standard darstellte, ist im Zuge der Entwicklung von (U)EFI GPT auf dem Vormarsch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Mit MBR können pro Festplatte 4 primäre Partitionen angelegt werden. Es können Festplatten mit max. 4 TB addressiert werden. Das Partitionslimit liegt bei 2.2 TB / Partition.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Mit GPT können pro Festplatte 128 primäre Partitionen angelegt werden. Es können Festplatten mit max. 9.4 Zettabytes addressiert werden.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Zusammenfassend lässt sich sagen, dass für das Booten von Festplatten mit einer Kapazizät größer 4 TB die Verwendung von GPT obligatorisch ist.'''&lt;br /&gt;
&lt;br /&gt;
Während Linux und die diversen Unix-Varianten keine Probleme damit haben, mit BIOS von GPT-formatierten Festplatten zu booten, gibt es bei Windows folgende Einschränkungen '''für die System- bzw. Bootfestplatte''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bei Servern ohne (U)EFI kann Windows nur von MBR-formatierten Festplatten booten&lt;br /&gt;
&lt;br /&gt;
* Unter Windows sind bei MBR-formatierten Festplatten nur die ersten 2.2 TB nutzbar&lt;br /&gt;
&lt;br /&gt;
* Als Systemplatte sind bei MBR nur Festplatten bis max. 4 TB verwendbar&lt;br /&gt;
&lt;br /&gt;
* Speicherplatz über der 2.2 TB-Grenze (z.B. bei 3 TB Festplatten) kann standardmäßig nicht partitioniert und damit nicht genutzt werden. Auch dies gilt ausschließlich für die Systemfestplatte.&lt;br /&gt;
&lt;br /&gt;
* Windows kann nur von GPT-formatierten Festplatten booten, wenn es mittels (U)EFI installiert wird.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Da ein Großteil der verwendeten Server-Hardware noch mit einem konventionellen BIOS operiert und um maximale Kompatibilität mit den anderen von uns angebotenen Installationen zu gewährleisten, ist eine Installation von Windows Server mittels (U)EFI derzeit nicht möglich (Stand: 08/2015)&lt;br /&gt;
&lt;br /&gt;
== Partitionierungsschemata ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Standardinstallationen ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''a) Standardinstallation bei Festplatten bis 2 TB'''&lt;br /&gt;
&lt;br /&gt;
Bei Serverhardware mit verbauten Festplatten mit bis zu 2 TB Kapazität / Festplatte erfolgt die Installation des Betriebssystems auf der ersten Festplatte. Die gesamte Speicherkapazität steht zur Verfügung. Alle anderen angeschlossenen Platten werden entsprechend formatiert und bereitgestellt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''b) Standardinstallation bei Festplatten &amp;gt; 2 TB'''&lt;br /&gt;
&lt;br /&gt;
Bei Serverhardware mit verbauten Festplatten mit mehr als 2 TB an Kapazität / Festplatte erfolgt die Installation des Betriebssystems auf der ersten Festplatte. Mit einem speziellen Workaround wird die Festplatte so partitioniert, dass der Speicher voll nutzbar ist. Dies gilt für '''alle Festplatten bis max. 4 TB'''.&lt;br /&gt;
&lt;br /&gt;
Beispiel für 3 TB - Festplatte:&lt;br /&gt;
&lt;br /&gt;
* Partition 1 =&amp;gt; 100 GB&lt;br /&gt;
* Partition 2 =&amp;gt; 1300 GB&lt;br /&gt;
* Partition 3 =&amp;gt; 1600 GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beispiel für 4 TB - Festplatte:&lt;br /&gt;
&lt;br /&gt;
* Partition 1 =&amp;gt; 100 GB&lt;br /&gt;
* Partition 2 =&amp;gt; 2000 GB&lt;br /&gt;
* Partition 3 =&amp;gt; 1900 GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''HINWEIS:''' Änderungen an den Partitionen (z.B. Löschen der Partition im Bereich über 2.2 TB) führen dazu, dass die o.g. Einschränkungen wieder zutreffen. Das bedeutet, es können keine weiteren Partitionen über der 2.2 TB-Grenze angelegt werden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''c) Standardinstallation mit Hardware-RAID-Controller'''&lt;br /&gt;
&lt;br /&gt;
Bei Serverhardware, in welcher ein Hardware-RAID-Controller verbaut ist, werden 2 &amp;quot;logische&amp;quot; bzw. virtuelle Laufwerke erstellt. Diese werden vom Betriebssystem wie 2 separate Festplatten behandelt.&lt;br /&gt;
Die erste Festplatte besitzt eine Kapazität von 100 GB und enthält das Betriebssystem. Die zweite Festplatte wird auf die Kapazität des verfügbaren (Netto)-Speicherplatzes erweitert. Die Größe der 2. Festplatte variiert daher in Abhängigkeit vom gewählten RAID-Level.&lt;br /&gt;
&lt;br /&gt;
Beispiel:&lt;br /&gt;
&lt;br /&gt;
Am RAID-Controller sind 4 Festplatten zu je 4 TB angeschlossen. Das definierte RAID-Level ist RAID1. Daraus ergibt sich:&lt;br /&gt;
&lt;br /&gt;
* 1. Festplatte: 100 GB&lt;br /&gt;
* 2. Festplatte: 3.9 TB&lt;br /&gt;
&lt;br /&gt;
Damit die größere 2. Festplatte voll nutzbar ist, wird diese mit GPT formatiert.&lt;br /&gt;
&lt;br /&gt;
=== Software-RAID-Installationen ===&lt;br /&gt;
&lt;br /&gt;
'''a) Software-RAID-Installation bei Festplatten bis 2 TB'''&lt;br /&gt;
&lt;br /&gt;
Bei Serverhardware mit verbauten Festplatten mit bis zu 2 TB Kapazität / Festplatte erfolgt die Installation des Betriebssystems auf der ersten Festplatte. Die gesamte Speicherkapazität steht zur Verfügung. Die 2. Festplatte bildet zusammen mit der ersten Festplatte eine Spiegelung (entspricht RAID1). Alle Daten sind redundant vorhanden.&lt;br /&gt;
&lt;br /&gt;
Alle weiteren angeschlossenen Festplatten werden mittels GPT formatiert und können einzeln angesprochen werden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''b) Software-RAID-Installation bei Festplatten &amp;gt; 2 TB'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RAID-Installationen sind bei Festplatten mit einer Kapazität über 2 TB nicht möglich. Hintergrund ist, dass die Spiegelung der Datenträger nicht eingerichtet werden kann, da die erforderliche Umwandlung in einen dynamischen Datenträger aufgrund des Überschreitens der 2.2 TB Grenze nicht vorgenommen werden kann.&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 14:13:26 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Besonderheiten_Windows-Installationen</comments>		</item>
		<item>
			<title>Kundencenter Server IP Adressen/en</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Create IP addresses */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Server_IP_Adressen}}&lt;br /&gt;
[[Kategorie:Customer center Servers]]&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
'''''Manage the server IP addresses'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Manage the server IP addresses'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== General==&lt;br /&gt;
If you have an EUserv server plan, there is a possibility to comprehensively configure it in the customer service center.&lt;br /&gt;
&lt;br /&gt;
You also need special parameters that you can find in the customer service center, too.&lt;br /&gt;
&lt;br /&gt;
With the option &amp;quot;IP-Adressen&amp;quot;, the assigned IP addresses can be viewed  to the server. Other IP addresses can be applied as an additional IP (co-IP) if the present rate exist.&lt;br /&gt;
&lt;br /&gt;
== Display IP addresses ==&lt;br /&gt;
&lt;br /&gt;
In the EUserv customer service center, you have the possibility to activate and deactivate the IP addresses for your server.&lt;br /&gt;
&lt;br /&gt;
Choose the server contract for which you want to change or display the IP addresses.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Kc-vertrag-wählen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once you have selected your contract, click on &amp;quot;IP-Adressen&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_vertragsdetails-ipadressen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create IP addresses ===&lt;br /&gt;
&lt;br /&gt;
If you want to add more IPs to your server, you can do this also in the menu &amp;quot;IP-Adressen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Use the drop-down menu and select the desired IP address and confirm your choice by clicking on &amp;quot;Anlegen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In case you need an IP with a MAC address which is compatible with VMware, please check '''VMware kompatible Mac-Adresse nutzen''' first.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the contract, only a certain number of IP addresses is available.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_kundencenter_ipadressen.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 11:00:10 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Server_IP_Adressen/en</comments>		</item>
		<item>
			<title>Kundencenter Server IP Adressen</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* IP-Adressen anlegen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Server_IP_Adressen}}&lt;br /&gt;
[[Kategorie:Kundencenter Server]]&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
'''''Server IP-Adressen verwalten'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Server IP-Adressen verwalten'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== Allgemeines==&lt;br /&gt;
Wenn Sie einen EUserv Server Tarif haben, so gibt es die Möglichkeit diesen im EUserv Kundencenter umfassend einzurichten. &lt;br /&gt;
&lt;br /&gt;
Außerdem benötigen Sie für den Betrieb entsprechende Parameter, die Sie im Kundencenter auslesen und/oder einstellen können.&lt;br /&gt;
&lt;br /&gt;
Mit der Option IP-Adressen können die dem Server zugewiesenen IP-Adressen eingesehen werden. Weitere IP-Adressen können als Zusatz-IP (co-IP) angelegt werden (sofern im Tarif vorhanden). &lt;br /&gt;
&lt;br /&gt;
== IP-Adressen anzeigen ==&lt;br /&gt;
&lt;br /&gt;
Im EUserv Kundencenter haben Sie die Möglichkeit, IP-Adressen für Ihren Server zu aktivieren oder zu deaktivieren. Wählen Sie dazu als erstes Ihren Server-Vertrag aus, für den Sie die IP-Adressen ändern/anzeigen wollen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:kc-vertrag-wählen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Haben Sie Ihren Server-Vertrag ausgewählt, so klicken Sie nun auf den Menü-Punkt &amp;quot;IP-Adressen&amp;quot; unter Server.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:server_vertragsdetails-ipadressen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== IP-Adressen anlegen===&lt;br /&gt;
&lt;br /&gt;
Möchten Sie für Ihren Server mehr IPs anlegen, so können Sie dies ebenfalls im Menü &amp;quot;IP-Adressen&amp;quot; tun.&lt;br /&gt;
&lt;br /&gt;
Klicken Sie dazu einfach im Drop-Down-Menü auf die gewünschte IP-Adresse und bestätigen Ihre Wahl mit einem Klick auf &amp;quot;Anlegen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Falls Sie für die IP eine VMware-kompatible MAC-Adresse benötigen, setzen SIe bitte das Häkchen bei '''VMware kompatible Mac-Adresse nutzen'''.&lt;br /&gt;
&lt;br /&gt;
Beachten Sie bitte, dass je nach Vertrag nur ein bestimmtes Kontingent an IP-Adressen verfügbar ist.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_kundencenter_ipadressen.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 10:58:55 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Server_IP_Adressen</comments>		</item>
		<item>
			<title>Kundencenter Server IP Adressen/en</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* Create IP addresses */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Server_IP_Adressen}}&lt;br /&gt;
[[Kategorie:Customer center Servers]]&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
'''''Manage the server IP addresses'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Manage the server IP addresses'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== General==&lt;br /&gt;
If you have an EUserv server plan, there is a possibility to comprehensively configure it in the customer service center.&lt;br /&gt;
&lt;br /&gt;
You also need special parameters that you can find in the customer service center, too.&lt;br /&gt;
&lt;br /&gt;
With the option &amp;quot;IP-Adressen&amp;quot;, the assigned IP addresses can be viewed  to the server. Other IP addresses can be applied as an additional IP (co-IP) if the present rate exist.&lt;br /&gt;
&lt;br /&gt;
== Display IP addresses ==&lt;br /&gt;
&lt;br /&gt;
In the EUserv customer service center, you have the possibility to activate and deactivate the IP addresses for your server.&lt;br /&gt;
&lt;br /&gt;
Choose the server contract for which you want to change or display the IP addresses.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Kc-vertrag-wählen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once you have selected your contract, click on &amp;quot;IP-Adressen&amp;quot;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_vertragsdetails-ipadressen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create IP addresses ===&lt;br /&gt;
&lt;br /&gt;
If you want to add more IPs to your server, you can do this also in the menu &amp;quot;IP-Adressen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Use the drop-down menu and select the desired IP address and confirm your choice by clicking on &amp;quot;Anlegen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the contract, only a certain number of IP addresses is available.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_kundencenter_ipadressen.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 10:55:54 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Server_IP_Adressen/en</comments>		</item>
		<item>
			<title>Kundencenter Server IP Adressen</title>
			<link>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen</link>
			<guid>https://www.euserv.com/wiki/index.php/Kundencenter_Server_IP_Adressen</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;/* IP-Adressen anzeigen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Kundencenter_Server_IP_Adressen}}&lt;br /&gt;
[[Kategorie:Kundencenter Server]]&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
'''''Server IP-Adressen verwalten'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Server IP-Adressen verwalten'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== Allgemeines==&lt;br /&gt;
Wenn Sie einen EUserv Server Tarif haben, so gibt es die Möglichkeit diesen im EUserv Kundencenter umfassend einzurichten. &lt;br /&gt;
&lt;br /&gt;
Außerdem benötigen Sie für den Betrieb entsprechende Parameter, die Sie im Kundencenter auslesen und/oder einstellen können.&lt;br /&gt;
&lt;br /&gt;
Mit der Option IP-Adressen können die dem Server zugewiesenen IP-Adressen eingesehen werden. Weitere IP-Adressen können als Zusatz-IP (co-IP) angelegt werden (sofern im Tarif vorhanden). &lt;br /&gt;
&lt;br /&gt;
== IP-Adressen anzeigen ==&lt;br /&gt;
&lt;br /&gt;
Im EUserv Kundencenter haben Sie die Möglichkeit, IP-Adressen für Ihren Server zu aktivieren oder zu deaktivieren. Wählen Sie dazu als erstes Ihren Server-Vertrag aus, für den Sie die IP-Adressen ändern/anzeigen wollen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:kc-vertrag-wählen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Haben Sie Ihren Server-Vertrag ausgewählt, so klicken Sie nun auf den Menü-Punkt &amp;quot;IP-Adressen&amp;quot; unter Server.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:server_vertragsdetails-ipadressen_572x.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== IP-Adressen anlegen===&lt;br /&gt;
&lt;br /&gt;
Möchten Sie für Ihren Server mehr IPs anlegen, so können Sie dies ebenfalls im Menü &amp;quot;IP-Adressen&amp;quot; tun.&lt;br /&gt;
&lt;br /&gt;
Klicken Sie dazu einfach im Drop-Down-Menü auf die gewünschte IP-Adresse und bestätigen Ihre Wahl mit einem Klick auf &amp;quot;Anlegen&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beachten Sie bitte, dass je nach Vertrag nur ein bestimmtes Kontingent an IP-Adressen verfügbar ist.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Datei:Server_kundencenter_ipadressen.png]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 10:55:17 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Kundencenter_Server_IP_Adressen</comments>		</item>
		<item>
			<title>Datei:Server kundencenter ipadressen.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Server_kundencenter_ipadressen.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Server_kundencenter_ipadressen.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 10:28:08 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Server_kundencenter_ipadressen.png</comments>		</item>
		<item>
			<title>Guide Monitoring RAID-Controller VMware ESXi/en</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
[[Kategorie:Virtualization]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide Monitoring RAID-Controller VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide Monitoring RAID-Controller VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
VMware ESXi uses so-called CIM providers (Common Information Model) for monitoring of hardware. These providers read the hardware state of a device and deliver these data back to the CIM broker. This information in turn can be read by the vSphere Client for instance.&lt;br /&gt;
&lt;br /&gt;
If you have a server with hardware RAID ad VMware support at EUserv you are able to monitor the status of the hardware RAID. In the following guide we will show you how to install the CIM provider for the RAID controller and how to monitor the device status. &lt;br /&gt;
&lt;br /&gt;
= Procedure / preparations =&lt;br /&gt;
&lt;br /&gt;
In order to install the CIM provider the SSH access has to be enabled on the ESXi host first. This will be done via the vSphere Client. After this the CIM provider for the RAID controller has to be retrieved and installed.&lt;br /&gt;
&lt;br /&gt;
Finally, the ESXi host has to be rebooted. The device information can then be reviewed in the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
For the following steps VMware's vSphere Client is required. You can find additional hints about installation of the client here: [[Guide_VMware_ESXi]]&lt;br /&gt;
&lt;br /&gt;
== Enabling SSH access ==&lt;br /&gt;
&lt;br /&gt;
In order to enable the SSH server on the ESXi host, start the vSphere Client first. Select your host from the upper left side and click '''Software''' -&amp;gt; '''Security Profile''' in the middle window:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the section '''Services''' select '''Properties''' from the upper right:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select '''SSH''' from the list of available services, then click '''Options'''. Select '''Start and stop with host''' and click '''Start'''. Confirm this dialogue with '''OK''': &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_3.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Installing the CIM provider  ==&lt;br /&gt;
&lt;br /&gt;
After the SSH server has been started, connect to the server with an SSH client. The CIM provider will be installed using the tool '''esxcli''' which is included in ESXi by default. The CIM provider for the LSI MegaRAID controller is already available as *.vib file from the EUserv mirror. dem EUserv-Mirror vor.&lt;br /&gt;
&lt;br /&gt;
The installation can be done with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib install -v http://mirror.euserv.net/misc/vmware-esx-provider-lsiprovider.vib&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should see the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Installation Result&lt;br /&gt;
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.&lt;br /&gt;
   Reboot Required: true&lt;br /&gt;
   VIBs Installed: LSI_bootbank_lsiprovider_500.04.V0.56-0005&lt;br /&gt;
   VIBs Removed: &lt;br /&gt;
   VIBs Skipped: &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order for the changes to become effective you need to reboot the ESXi host. This can either be done using the '''reboot''' command or via the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
== Verifying the CIM provider ==&lt;br /&gt;
&lt;br /&gt;
After the reboot log in via SSH again and execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You wil now see a list of all installed software and driver packages. The CIM for the LSI MegaRAID controller should be registered as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Name                           Version                               Vendor    Acceptance Level    Install Date&lt;br /&gt;
-----------------------------  ------------------------------------  --------  ------------------  ------------&lt;br /&gt;
lsiprovider                    500.04.V0.56-0005                     LSI       VMwareAccepted      2015-09-15  &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reading the device status =&lt;br /&gt;
&lt;br /&gt;
After the successful installation of the CIM klick on '''System Health''' in the '''Hardware''' section. You will now see a listing of the controller status, the connected hard disks and the logical volumes as well as the port status. The '''Status''' column displays the current health state ('''Normal''' or '''Alert'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_4.png|700px]]&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:20:47 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_Monitoring_RAID-Controller_VMware_ESXi/en</comments>		</item>
		<item>
			<title>Guide Monitoring RAID-Controller VMware ESXi/en</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}}&lt;br /&gt;
[[Kategorie:Servers]]&lt;br /&gt;
[[Kategorie:Virtualisierung]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide Monitoring RAID-Controller VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide Monitoring RAID-Controller VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
VMware ESXi uses so-called CIM providers (Common Information Model) for monitoring of hardware. These providers read the hardware state of a device and deliver these data back to the CIM broker. This information in turn can be read by the vSphere Client for instance.&lt;br /&gt;
&lt;br /&gt;
If you have a server with hardware RAID ad VMware support at EUserv you are able to monitor the status of the hardware RAID. In the following guide we will show you how to install the CIM provider for the RAID controller and how to monitor the device status. &lt;br /&gt;
&lt;br /&gt;
= Procedure / preparations =&lt;br /&gt;
&lt;br /&gt;
In order to install the CIM provider the SSH access has to be enabled on the ESXi host first. This will be done via the vSphere Client. After this the CIM provider for the RAID controller has to be retrieved and installed.&lt;br /&gt;
&lt;br /&gt;
Finally, the ESXi host has to be rebooted. The device information can then be reviewed in the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
For the following steps VMware's vSphere Client is required. You can find additional hints about installation of the client here: [[Guide_VMware_ESXi]]&lt;br /&gt;
&lt;br /&gt;
== Enabling SSH access ==&lt;br /&gt;
&lt;br /&gt;
In order to enable the SSH server on the ESXi host, start the vSphere Client first. Select your host from the upper left side and click '''Software''' -&amp;gt; '''Security Profile''' in the middle window:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the section '''Services''' select '''Properties''' from the upper right:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select '''SSH''' from the list of available services, then click '''Options'''. Select '''Start and stop with host''' and click '''Start'''. Confirm this dialogue with '''OK''': &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_3.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Installing the CIM provider  ==&lt;br /&gt;
&lt;br /&gt;
After the SSH server has been started, connect to the server with an SSH client. The CIM provider will be installed using the tool '''esxcli''' which is included in ESXi by default. The CIM provider for the LSI MegaRAID controller is already available as *.vib file from the EUserv mirror. dem EUserv-Mirror vor.&lt;br /&gt;
&lt;br /&gt;
The installation can be done with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib install -v http://mirror.euserv.net/misc/vmware-esx-provider-lsiprovider.vib&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should see the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Installation Result&lt;br /&gt;
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.&lt;br /&gt;
   Reboot Required: true&lt;br /&gt;
   VIBs Installed: LSI_bootbank_lsiprovider_500.04.V0.56-0005&lt;br /&gt;
   VIBs Removed: &lt;br /&gt;
   VIBs Skipped: &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order for the changes to become effective you need to reboot the ESXi host. This can either be done using the '''reboot''' command or via the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
== Verifying the CIM provider ==&lt;br /&gt;
&lt;br /&gt;
After the reboot log in via SSH again and execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You wil now see a list of all installed software and driver packages. The CIM for the LSI MegaRAID controller should be registered as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Name                           Version                               Vendor    Acceptance Level    Install Date&lt;br /&gt;
-----------------------------  ------------------------------------  --------  ------------------  ------------&lt;br /&gt;
lsiprovider                    500.04.V0.56-0005                     LSI       VMwareAccepted      2015-09-15  &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reading the device status =&lt;br /&gt;
&lt;br /&gt;
After the successful installation of the CIM klick on '''System Health''' in the '''Hardware''' section. You will now see a listing of the controller status, the connected hard disks and the logical volumes as well as the port status. The '''Status''' column displays the current health state ('''Normal''' or '''Alert'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_4.png|700px]]&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:19:46 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_Monitoring_RAID-Controller_VMware_ESXi/en</comments>		</item>
		<item>
			<title>Guide Monitoring RAID-Controller VMware ESXi/en</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi/en</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;Die Seite wurde neu angelegt: „{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}} Kategorie:Server Kategorie:Virtualisierung   '''''Guide Monitoring RAID-Controller VMware ESXi'…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
[[Kategorie:Virtualisierung]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide Monitoring RAID-Controller VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide Monitoring RAID-Controller VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
VMware ESXi uses so-called CIM providers (Common Information Model) for monitoring of hardware. These providers read the hardware state of a device and deliver these data back to the CIM broker. This information in turn can be read by the vSphere Client for instance.&lt;br /&gt;
&lt;br /&gt;
If you have a server with hardware RAID ad VMware support at EUserv you are able to monitor the status of the hardware RAID. In the following guide we will show you how to install the CIM provider for the RAID controller and how to monitor the device status. &lt;br /&gt;
&lt;br /&gt;
= Procedure / preparations =&lt;br /&gt;
&lt;br /&gt;
In order to install the CIM provider the SSH access has to be enabled on the ESXi host first. This will be done via the vSphere Client. After this the CIM provider for the RAID controller has to be retrieved and installed.&lt;br /&gt;
&lt;br /&gt;
Finally, the ESXi host has to be rebooted. The device information can then be reviewed in the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
For the following steps VMware's vSphere Client is required. You can find additional hints about installation of the client here: [[Guide_VMware_ESXi]]&lt;br /&gt;
&lt;br /&gt;
== Enabling SSH access ==&lt;br /&gt;
&lt;br /&gt;
In order to enable the SSH server on the ESXi host, start the vSphere Client first. Select your host from the upper left side and click '''Software''' -&amp;gt; '''Security Profile''' in the middle window:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the section '''Services''' select '''Properties''' from the upper right:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select '''SSH''' from the list of available services, then click '''Options'''. Select '''Start and stop with host''' and click '''Start'''. Confirm this dialogue with '''OK''': &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_3.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Installing the CIM provider  ==&lt;br /&gt;
&lt;br /&gt;
After the SSH server has been started, connect to the server with an SSH client. The CIM provider will be installed using the tool '''esxcli''' which is included in ESXi by default. The CIM provider for the LSI MegaRAID controller is already available as *.vib file from the EUserv mirror. dem EUserv-Mirror vor.&lt;br /&gt;
&lt;br /&gt;
The installation can be done with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib install -v http://mirror.euserv.net/misc/vmware-esx-provider-lsiprovider.vib&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should see the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Installation Result&lt;br /&gt;
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.&lt;br /&gt;
   Reboot Required: true&lt;br /&gt;
   VIBs Installed: LSI_bootbank_lsiprovider_500.04.V0.56-0005&lt;br /&gt;
   VIBs Removed: &lt;br /&gt;
   VIBs Skipped: &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order for the changes to become effective you need to reboot the ESXi host. This can either be done using the '''reboot''' command or via the vSphere Client.&lt;br /&gt;
&lt;br /&gt;
== Verifying the CIM provider ==&lt;br /&gt;
&lt;br /&gt;
After the reboot log in via SSH again and execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You wil now see a list of all installed software and driver packages. The CIM for the LSI MegaRAID controller should be registered as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Name                           Version                               Vendor    Acceptance Level    Install Date&lt;br /&gt;
-----------------------------  ------------------------------------  --------  ------------------  ------------&lt;br /&gt;
lsiprovider                    500.04.V0.56-0005                     LSI       VMwareAccepted      2015-09-15  &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Reading the device status =&lt;br /&gt;
&lt;br /&gt;
After the successful installation of the CIM klick on '''System Health''' in the '''Hardware''' section. You will now see a listing of the controller status, the connected hard disks and the logical volumes as well as the port status. The '''Status''' column displays the current health state ('''Normal''' or '''Alert'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_en_4.png|700px]]&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:16:56 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_Monitoring_RAID-Controller_VMware_ESXi/en</comments>		</item>
		<item>
			<title>Guide Monitoring RAID-Controller VMware ESXi</title>
			<link>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi</link>
			<guid>https://www.euserv.com/wiki/index.php/Guide_Monitoring_RAID-Controller_VMware_ESXi</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;Die Seite wurde neu angelegt: „{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}} Kategorie:Server Kategorie:Virtualisierung   '''''Guide Monitoring RAID-Controller VMware ESXi'…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Guide_Monitoring_RAID-Controller_VMware_ESXi}}&lt;br /&gt;
[[Kategorie:Server]]&lt;br /&gt;
[[Kategorie:Virtualisierung]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Guide Monitoring RAID-Controller VMware ESXi'''''&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div style= &amp;quot;font-size: 1.571em;&amp;quot;&amp;gt;&lt;br /&gt;
'''Guide Monitoring RAID-Controller VMware ESXi'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Allgemeines =&lt;br /&gt;
&lt;br /&gt;
VMware ESXi nutzt zur Überwachung der Hardware sogenannte CIM-Provider (Common Information Model). Diese lesen den Hardware-Status eines Gerätes aus und liefern ihn an den CIM-Broker zurück. Diese Informationen können anschließend z.B. durch den vSphere Client ausgelesen werden. &lt;br /&gt;
&lt;br /&gt;
Falls Sie bei EUserv einen Server mit Hardware-RAID und VMware-Unterstützung haben, können Sie den Zustand des RAID-Arrays überwachen. In der nachfolgenden Anleitung zeigen wir Ihnen, wie Sie den CIM-Provider für Ihren RAID-Controller installieren und den Gerätestatus überwachen können.&lt;br /&gt;
&lt;br /&gt;
= Ablauf / Vorbereitungen =&lt;br /&gt;
&lt;br /&gt;
Um den CIM-Provider installieren zu können, wird zunächst der SSH-Zugang zum ESXi-Host benötigt. Die Aktivierung von SSH erfolgt über den vSphere Client. Anschließend muss der CIM-Provider für den entsprechenden Hardware-RAID-Controller bezogen und installiert werden.&lt;br /&gt;
&lt;br /&gt;
Nach Abschluss der Prozedur muss der ESXi-Host rebootet werden. Die Geräteinformationen können dann im vSphere Client abgerufen werden.&lt;br /&gt;
&lt;br /&gt;
Für die nachfolgenden Schritte wird der vSphere Client von VMware benötigt. Hinweise zu dessen Installation finden Sie hier: [[Guide_VMware_ESXi]]&lt;br /&gt;
&lt;br /&gt;
== SSH-Server aktivieren ==&lt;br /&gt;
&lt;br /&gt;
Um den SSH-Server des ESXi-Hosts zu aktivieren, starten Sie zunächst den vSphere Client. Wählen Sie oben links den betreffenden Host aus und klicken Sie im mittleren Fenster unter '''Software''' auf '''Sicherheitsprofil''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_1.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unter der Sektion '''Dienste''' klicken Sie oben auf '''Eigenschaften''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_2.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wählen Sie aus der Liste der verfügbaren Dienste '''SSH''', klicken Sie anschließend auf '''Optionen'''. Wählen Sie im nun folgenden Fenster '''Mit dem Host starten und beenden''' und klicken Sie unten rechts auf '''Starten'''. Besätigen Sie den Dialog mit Klick auf '''OK''':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_3.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== CIM-Provider installieren ==&lt;br /&gt;
&lt;br /&gt;
Nachdem der SSH-Server nun gestartet worden ist, konnektieren Sie sich mittels SSH-Client mit dem Server. Die Installation des CIM's erfolgt über das Administrationstool '''esxcli''', welches standardmäßig bei ESXi enthalten ist. Der CIM-Provider für den LSI MegaRAID-Controller liegt bereits als *.vib Datei auf dem EUserv-Mirror vor.&lt;br /&gt;
&lt;br /&gt;
Die Installation nehmen Sie mit dem folgenden Befehl vor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib install -v http://mirror.euserv.net/misc/vmware-esx-provider-lsiprovider.vib&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Als Output sollten Sie folgendes erhalten:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Installation Result&lt;br /&gt;
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.&lt;br /&gt;
   Reboot Required: true&lt;br /&gt;
   VIBs Installed: LSI_bootbank_lsiprovider_500.04.V0.56-0005&lt;br /&gt;
   VIBs Removed: &lt;br /&gt;
   VIBs Skipped: &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Damit die Änderungen wirksam werden, ist ein Reboot des ESXi-Hosts erforderlich. Sie können dies entweder über die bestehende SSH-Session mittels '''reboot''' vornehmen, oder Sie verwenden hierfür den vSphere Client.&lt;br /&gt;
&lt;br /&gt;
== CIM-Provider verifizieren ==&lt;br /&gt;
&lt;br /&gt;
Nach erfolgtem Reboot loggen Sie sich erneut mittels SSH in den Server ein und führen folgenden Befehl ein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;esxcli software vib list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sie erhalten nun eine Liste aller installierten Software- und Treiberpakete. Der CIM für den LSI MegaRAID-Controller sollte folgendermaßen registriert sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Name                           Version                               Vendor    Acceptance Level    Install Date&lt;br /&gt;
-----------------------------  ------------------------------------  --------  ------------------  ------------&lt;br /&gt;
lsiprovider                    500.04.V0.56-0005                     LSI       VMwareAccepted      2015-09-15  &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Gerätestatus auslesen =&lt;br /&gt;
&lt;br /&gt;
Nach erfolgter Installation des CIM's klicken Sie nun im vSperhe Client im mittleren Fenster unter '''Hardware''' auf den Menüpunkt '''Systemstatus'''. Sie sehen dort unter der Rubrik '''Speicher''' eine Auflistung der am Controller angeschlossenen Festplatten, logischen Volumes sowie der Port-Status. In der Spalte '''Status''' wird der aktuelle Zustand dargestellt ('''Normal''' oder '''Alarm'''):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:esxi_raid_4.png|700px]]&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:14:00 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Diskussion:Guide_Monitoring_RAID-Controller_VMware_ESXi</comments>		</item>
		<item>
			<title>Datei:Esxi raid en 4.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_4.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_4.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:11:14 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esxi_raid_en_4.png</comments>		</item>
		<item>
			<title>Datei:Esxi raid en 3.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_3.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_3.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:11:03 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esxi_raid_en_3.png</comments>		</item>
		<item>
			<title>Datei:Esxi raid en 2.png</title>
			<link>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_2.png</link>
			<guid>https://www.euserv.com/wiki/index.php/Datei:Esxi_raid_en_2.png</guid>
			<description>&lt;p&gt;Almi1:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</description>
			<pubDate>Fri, 18 Sep 2015 09:10:51 GMT</pubDate>			<dc:creator>Almi1</dc:creator>			<comments>https://www.euserv.com/wiki/index.php/Datei_Diskussion:Esxi_raid_en_2.png</comments>		</item>
	</channel>
</rss>