doc-el commit 1102:680af002b37d - MFen: 1.43 -> 1.46 'geom' chapter

freebsd-doc-el at lists.hellug.gr freebsd-doc-el at lists.hellug.gr
Sat Nov 29 00:02:56 EET 2008


changeset: 1102:680af002b37d
user:      Manolis Kiagias <sonicy at otenet.gr>
date:      2008-11-28 15:47 +0200
details:   http://hg.hellug.gr/freebsd/doc-el/?cmd=changeset;node=680af002b37d

description:
	MFen: 1.43 -> 1.46 'geom' chapter

diffstat:

1 file changed, 140 insertions(+), 48 deletions(-)
el_GR.ISO8859-7/books/handbook/geom/chapter.sgml |  188 ++++++++++++++++------

diffs (287 lines):

diff -r 4fa266def214 -r 680af002b37d el_GR.ISO8859-7/books/handbook/geom/chapter.sgml
--- a/el_GR.ISO8859-7/books/handbook/geom/chapter.sgml	Thu Nov 27 01:00:38 2008 +0200
+++ b/el_GR.ISO8859-7/books/handbook/geom/chapter.sgml	Fri Nov 28 15:47:52 2008 +0200
@@ -7,7 +7,7 @@
   $FreeBSD: doc/el_GR.ISO8859-7/books/handbook/geom/chapter.sgml,v 1.2 2008/01/14 14:19:45 keramida Exp $
 
   %SOURCE%	en_US.ISO8859-1/books/handbook/geom/chapter.sgml
-  %SRCID%	1.43
+  %SRCID%	1.46
 
 -->
 
@@ -160,7 +160,7 @@
       <title>Äçìéïõñãßá Stripe áðü ìç-ÄéáìïñöùìÝíïõò ATA Äßóêïõò</title>
 
       <step>
-	<para>Öïñôþóôå ôï Üñèñùìá <filename>geom_stripe</filename>:</para>
+	<para>Öïñôþóôå ôï Üñèñùìá <filename>geom_stripe.ko</filename>:</para>
 
         <screen>&prompt.root; <userinput>kldload geom_stripe</userinput></screen>
       </step>
@@ -183,13 +183,10 @@
 	  <filename>/dev/ad2</filename> êáé
 	  <filename>/dev/ad3</filename>:</para>
 
-        <screen>&prompt.root; <userinput>gstripe label -v st0 /dev/ad2 /dev/ad3</userinput></screen>
-
-<!--
-    <para>A message should be returned explaining that meta data has
-      been stored on the devices.
-XXX: What message?  Put it inside the screen output above.
--->
+        <screen>&prompt.root; <userinput>gstripe label -v st0 /dev/ad2 /dev/ad3</userinput>
+Metadata value stored on /dev/ad2.
+Metadata value stored on /dev/ad3.
+Done.</screen>
       </step>
 
       <step>
@@ -226,13 +223,16 @@
 
     <para>Ãéá íá ãßíåôáé áõôüìáôá ç ðñïóÜñôçóç áõôïý ôïõ óõóôÞìáôïò áñ÷åßùí
       êáôÜ ôçí äéáäéêáóßá åêêßíçóçò, ôïðïèåôÞóôå ôéò ðëçñïöïñßåò ôïõ ôüìïõ óôï
-      áñ÷åßï <filename>/etc/fstab</filename>:</para>
+      áñ÷åßï <filename>/etc/fstab</filename>.  Ãéá ôï óêïðü áõôü,
+      äçìéïõñãïýìå Ýíá ìüíéìï óçìåßï ðñïóÜñôçóçò, ôï <filename
+	class="directory">stripe</filename>:</para>
 
-    <screen>&prompt.root; <userinput>echo "/dev/stripe/st0a /mnt ufs rw 2 2" \</userinput>
+    <screen>&prompt.root; <userinput>mkdir /stripe</userinput>
+&prompt.root; <userinput>echo "/dev/stripe/st0a /mnt ufs rw 2 2" \</userinput>
     <userinput>&gt;&gt; /etc/fstab</userinput></screen>
 
     <para>Èá ðñÝðåé åðßóçò íá öïñôþíåôáé áõôüìáôá ôï Üñèñùìá
-      <filename>geom_stripe</filename> êáôÜ ôçí åêêßíçóç ôïõ óõóôÞìáôïò.
+      <filename>geom_stripe.ko</filename> êáôÜ ôçí åêêßíçóç ôïõ óõóôÞìáôïò.
       ÐñïóèÝóôå ôçí ðáñáêÜôù ãñáììÞ óôï áñ÷åßï
       <filename>/boot/loader.conf</filename>:</para>
 
@@ -315,18 +315,22 @@
       <para>Åðåîåñãáóôåßôå ôï áñ÷åßï <filename>/etc/fstab</filename>,
 	áíôéêáèéóôþíôáò ôéò áíáöïñÝò óôéò ðáëéÝò óõóêåõÝò
 	<devicename>da0</devicename> ìå ôéò áíôßóôïé÷åò êáéíïýñéåò
-	<devicename>gm0</devicename> ðïõ áíôéðñïóùðåýïõí ôï mirror.  Ùò
-	÷ñÞóôçò <username>root</username>, ôñïðïðïéÞóôå ôï áñ÷åßï
-	<filename>/etc/fstab</filename>:</para>
+	<devicename>gm0</devicename> ðïõ áíôéðñïóùðåýïõí ôï mirror.</para>
 
-      <screen>&prompt.root; <userinput>vi /etc/fstab</userinput></screen>
+      <note>
+	<para>Áí ÷ñçóéìïðïéåßôå ôï &man.vi.1;, ìðïñåßôå íá áêïëïõèÞóåôå ôá
+	  ðáñáêÜôù âÞìáôá ãéá íá ïëïêëçñþóåôå åýêïëá áõôÞ ôç
+	  äéáäéêáóßá:</para>
 
-      <para>Óôï &man.vi.1;, êñáôÞóôå áíôßãñáöï áóöáëåßáò ôïõ ôñÝ÷ïíôïò
-	áñ÷åßïõ <filename>fstab</filename> ðëçêôñïëïãþíôáò
-	<userinput>:w /etc/fstab.bak</userinput>.  ¸ðåéôá áíôéêáôáóôÞóôå
-	üëåò ôéò áíáöïñÝò óôéò ðáëéÝò óõóêåõÝò <devicename>da0</devicename>
-	ìå ôéò íÝåò <devicename>gm0</devicename> ãñÜöïíôáò
-	<userinput>:%s/da/mirror\/gm/g</userinput>.<para>
+	<screen>&prompt.root; <userinput>vi /etc/fstab</userinput></screen>
+
+        <para>Óôï &man.vi.1;, êñáôÞóôå áíôßãñáöï áóöáëåßáò ôïõ ôñÝ÷ïíôïò
+	  áñ÷åßïõ <filename>fstab</filename> ðëçêôñïëïãþíôáò
+	  <userinput>:w /etc/fstab.bak</userinput>.  ¸ðåéôá áíôéêáôáóôÞóôå
+	  üëåò ôéò áíáöïñÝò óôéò ðáëéÝò óõóêåõÝò <devicename>da0</devicename>
+	  ìå ôéò íÝåò <devicename>gm0</devicename> ãñÜöïíôáò
+	  <userinput>:%s/da/mirror\/gm/g</userinput>.<para>
+      </note>
 
       <para>Ôï <filename>fstab</filename> ðïõ èá ðñïêýøåé, èá ìïéÜæåé ìå
 	ôï ðáñáêÜôù.  Äåí Ý÷åé óçìáóßá áí ïé äßóêïé Þôáí áñ÷éêÜ
@@ -334,12 +338,14 @@
 	<acronym>RAID</acronym> èá Ý÷åé ðÜíôá ôï üíïìá
 	<devicename>gm</devicename>.</para>
 
-      <programlisting># Device                Mountpoint      FStype  Options         Dump    Pass#
-/dev/mirror/gm0s2b              none            swap    sw              0       0
-/dev/mirror/gm0s2a              /               ufs     rw              1       1
-#/dev/mirror/gm0s2d             /store          ufs     rw              2       2
-/dev/mirror/gm0s2e              /usr            ufs     rw              2       2
-/dev/acd0               /cdrom          cd9660  ro,noauto       0       0</programlisting>
+      <programlisting># Device                  Mountpoint  FStype      Options   Dump     Pass#
+/dev/mirror/gm0s1b        none        swap        sw        0        0
+/dev/mirror/gm0s1a        /           ufs         rw        1        1
+/dev/mirror/gm0s1d        /usr        ufs         rw        0        0
+/dev/mirror/gm0s1f        /home       ufs         rw        2        2
+#/dev/mirror/gm0s2d       /store      ufs         rw        2        2
+/dev/mirror/gm0s1e        /var        ufs         rw        2        2
+/dev/acd0                 /cdrom      cd9660      ro,noauto 0        0</programlisting>
 
       <para>ÅðáíåêêéíÞóôå ôï óýóôçìá:</para>
 
@@ -407,7 +413,9 @@
 OK? <userinput>boot</userinput></screen>
 
 	<para>Áí ôï ðáñáðÜíù ëåéôïõñãÞóåé, ôüôå ãéá êÜðïéï ëüãï ôï Üñèñùìá
-	  äåí öïñôþèçêå óùóôÜ.  ÔïðïèåôÞóôå ôç ãñáììÞ:</para>
+	  äåí öïñôþèçêå óùóôÜ.  ÅëÝãîôå áí åßíáé óùóôÞ ç ó÷åôéêÞ êáôá÷þñçóç
+	  óôï áñ÷åßï <filename>/boot/loader.conf</filename>.  Áí ôï ðñüâëçìá
+	  ðáñáìÝíåé, ðñïóèÝóôå ôç ãñáììÞ:</para>
 
 	<programlisting>options	GEOM_MIRROR</programlisting>
 
@@ -551,29 +559,31 @@
       <title>Åßäç Åôéêåôþí êáé Ðáñáäåßãìáôá</title>
 
       <para>ÕðÜñ÷ïõí äýï ôýðïé åôéêåôþí, ç ãåíéêÞ åôéêÝôá êáé ç åôéêÝôá
-	óõóôÞìáôïò áñ÷åßùí.  Ç äéáöïñÜ ìåôáîý ôïõò, åßíáé ç áõôüìáôç
-	áíß÷íåõóç ðïõ ó÷åôßæåôáé ìå ôéò ìüíéìåò åôéêÝôåò, êáé ôï ãåãïíüò
-	üôé áõôïý ôïõ åßäïõò ïé åôéêÝôåò ðáñáìÝíïõí áíÝðáöåò ìåôÜ áðü ìéá
-	åðáíåêêßíçóç.  Óôéò åôéêÝôåò áõôÝò ðáñá÷ùñåßôå Ýíáò åéäéêüò êáôÜëïãïò
-	ìÝóá óôïí <filename class="directory">/dev</filename>, ï ïðïßïò
-	ïíïìÜæåôáé áíÜëïãá ìå ôï åßäïò ôïõ óõóôÞìáôïò áñ÷åßùí ðïõ
-	÷ñçóéìïðïéåßôáé.  Ãéá ðáñÜäåéãìá, ïé åôéêÝôåò ðïõ áíáöÝñïíôáé óå
-	óýóôçìá áñ÷åßùí <acronym>UFS</acronym>2 èá äçìéïõñãçèïýí óôïí
-	êáôÜëïãï <filename class="directory">/dev/ufs</filename>.</para>
+	óõóôÞìáôïò áñ÷åßùí.  Ïé åôéêÝôåò ìðïñåß íá åßíáé ðñïóùñéíÝò Þ ìüíéìåò.
+	Ïé ìüíéìåò åôéêÝôåò ìðïñïýí íá äçìéïõñãçèïýí ìå ôéò åíôïëÝò
+	&man.tunefs.8; Þ &man.newfs.8;.  Óôçí ðåñßðôùóç áõôÞ, èá äçìéïõñãçèïýí
+	óå Ýíá õðï-êáôÜëïãï ôïõ <filename class="directory">/dev</filename>.
+	Ãéá ðáñÜäåéãìá, ïé åôéêÝôåò ãéá óýóôçìá áñ÷åßùí
+	<acronym>UFS</acronym>2, èá äçìéïõñãçèïýí óôïí êáôÜëïãï <filename
+	  class="directory">/dev/ufs</filename>.  Ìüíéìåò åôéêÝôåò ìðïñïýí
+	åðßóçò íá äçìéïõñãçèïýí ìå ÷ñÞóç ôçò åíôïëÞò
+	<command>glabel label</command>.  Ïé åôéêÝôåò áõôÝò äåí åîáñôþíôáé áðü
+	ôï óýóôçìá áñ÷åßùí, êáé äçìéïõñãïýíôáé óôïí êáôÜëïãï
+	<filename class="directory">/dev/label</filename>.</para>
 
-      <para>Ç åôéêÝôá ãåíéêïý ôýðïõ åßíáé ðñïóùñéíÞ, êáé äéáãñÜöåôáé óôçí
-	åðüìåíç åðáíåêêßíçóç.  Ïé åôéêÝôåò áõôÝò äçìéïõñãïýíôáé óôïí êáôÜëïãï
+      <para>Ïé åôéêÝôåò ðñïóùñéíïý ôýðïõ, ÷Üíïíôáé óå êÜèå åðáíåêêßíçóç ôïõ
+	óõóôÞìáôïò.  Ïé åôéêÝôåò áõôÝò äçìéïõñãïýíôáé óôïí êáôÜëïãï
 	<filename class="directory">/dev/label</filename> êáé åßíáé ôÝëåéåò
-	ãéá ðåéñáìáôéóìïýò.</para>
+	ãéá ðåéñáìáôéóìïýò.  Ìðïñåßôå íá äçìéïõñãÞóåôå ðñïóùñéíÝò åôéêÝôåò
+	ìå ôçí åíôïëÞ <command>glabel create</command>.  Ãéá ðåñéóóüôåñåò
+	ðëçñïöïñßåò, äéáâÜóôå ôç óåëßäá manual ôçò &man.glabel.8;.</para>
 
 <!-- XXXTR: How do you create a file system label without running newfs
             or when there is no newfs (e.g.: cd9660)? -->
 
-      <para>Ìðïñåßôå íá äçìéïõñãÞóåôå ìüíéìåò åôéêÝôåò óå Ýíá óýóôçìá áñ÷åßùí
-	÷ñçóéìïðïéþíôáò ôçí åíôïëÞ <command>tunefs</command> Þ
-	<command>newfs</command>.  Ãéá íá äçìéïõñãÞóåôå ìéá ìüíéìç åôéêÝôá
-	ãéá Ýíá óýóôçìá áñ÷åßùí <acronym>UFS</acronym>2, ÷ùñßò íá
-	êáôáóôñÝøåôå äåäïìÝíá, ÷ñçóéìïðïéÞóôå ôçí áêüëïõèç åíôïëÞ:</para>
+      <para>Ãéá íá äçìéïõñãÞóåôå ìéá ìüíéìç åôéêÝôá ãéá Ýíá óýóôçìá áñ÷åßùí
+	<acronym>UFS</acronym>2, ÷ùñßò íá êáôáóôñÝøåôå äåäïìÝíá,
+	÷ñçóéìïðïéÞóôå ôçí áêüëïõèç åíôïëÞ:</para>
 
       <screen>&prompt.root; <userinput>tunefs -L <replaceable>home</replaceable> <replaceable>/dev/da3</replaceable></userinput></screen>
 
@@ -617,6 +627,69 @@
 	êáôáóôñÝøåôå ìéá åôéêÝôá:</para>
 
       <screen>&prompt.root; <userinput>glabel destroy home</userinput></screen>
+
+      <para>Ôï åðüìåíï ðáñÜäåéãìá, äåß÷íåé ìðïñïýí íá äïèïýí åôéêÝôåò óôéò
+	êáôáôìÞóåéò ôïõ äßóêïõ åêêßíçóçò.</para>
+
+      <example>
+	<title>Äçìéïõñãßá Åôéêåôþí óôéò ÊáôáôìÞóåéò ôïõ Äßóêïõ
+	  Åêêßíçóçò</title>
+
+	<para>Äçìéïõñãþíôáò ìüíéìåò åôéêÝôåò óôéò êáôáôìÞóåéò ôïõ äßóêïõ
+	  åêêßíçóçò, ôï óýóôçìá óáò èá óõíå÷ßóåé íá åêêéíåß êáíïíéêÜ áêüìá
+	  êáé áí ìåôáöÝñåôå ôï äßóêï óå Üëëï åëåãêôÞ Þ áêüìá êáé óå
+	  äéáöïñåôéêü óýóôçìá.  Óôï ðáñÜäåéãìá ìáò, èåùñïýìå üôé
+	  ÷ñçóéìïðïéåßôáé Ýíáò äßóêïò <acronym>ATA</acronym>, ï ïðïßïò
+	  áíáãíùñßæåôáé áðü ôï óýóôçìá ùò <devicename>ad0</devicename>.
+	  Èåùñïýìå åðßóçò üôé ÷ñçóéìïðïéåßôáé ç óõíçèéóìÝíç äéÜôáîç
+	  êáôáôìÞóåùí ôïõ &os;, ðïõ ðåñéëáìâÜíåé ôéò êáôáôìÞóåéò
+	  <filename class="directory">/</filename>,
+	  <filename class="directory">/var</filename>,
+	  <filename class="directory">/usr</filename> êáé
+	  <filename class="directory">/tmp</filename> üðùò åðßóçò êáé ìéá
+	  êáôÜôìçóç swap.</para>
+
+	<para>ÅðáíåêêéíÞóôå ôï óýóôçìá, êáé üôáí åìöáíéóôåß ç ðñïôñïðÞ ôïõ
+	  &man.loader.8;, ðéÝóôå ôï <keycap>4</keycap> ãéá íá ðñáãìáôïðïéçèåß
+	  åêêßíçóç óå êáôÜóôáóç åíüò ÷ñÞóôç.  ¸ðåéôá, äþóôå ôéò áêüëïõèåò
+	  åíôïëÝò:</para>
+
+	<screen>&prompt.root; <userinput>glabel label rootfs /dev/ad0s1a</userinput>
+GEOM_LABEL: Label for provider /dev/ad0s1a is label/rootfs
+&prompt.root; <userinput>glabel label var /dev/ad0s1d</userinput>
+GEOM_LABEL: Label for provider /dev/ad0s1d is label/var
+&prompt.root; <userinput>glabel label usr /dev/ad0s1f</userinput>
+GEOM_LABEL: Label for provider /dev/ad0s1f is label/usr
+&prompt.root; <userinput>glabel label tmp /dev/ad0s1e</userinput>
+GEOM_LABEL: Label for provider /dev/ad0s1e is label/tmp
+&prompt.root; <userinput>glabel label swap /dev/ad0s1b</userinput>
+GEOM_LABEL: Label for provider /dev/ad0s1b is label/swap
+&prompt.root; <userinput>exit</userinput></screen>
+
+	<para>Ôï óýóôçìá èá óõíå÷ßóåé ôçí åêêßíçóç, óôçí êáôÜóôáóç ðïëëáðëþí
+	  ÷ñçóôþí.  ÌåôÜ ôï ôÝëïò ôçò åêêßíçóçò, åðåîåñãáóôåßôå ôï áñ÷åßï
+	  <filename>/etc/fstab</filename> êáé áëëÜîôå ôá óõìâáôéêÜ ïíüìáôá
+	  óõóêåõþí ìå ôéò áíôßóôïé÷åò åôéêÝôåò.  Ôï ôåëéêü áñ÷åßï
+	  <filename>/etc/fstab</filename> èá ìïéÜæåé ìå ôï ðáñáêÜôù:</para>
+
+	<programlisting># Device                Mountpoint      FStype  Options         Dump    Pass#
+/dev/label/swap         none            swap    sw              0       0
+/dev/label/rootfs       /               ufs     rw              1       1
+/dev/label/tmp          /tmp            ufs     rw              2       2
+/dev/label/usr          /usr            ufs     rw              2       2
+/dev/label/var          /var            ufs     rw              2       2</programlisting>
+
+	<para>Ìðïñåßôå ôþñá íá åðáíåêêéíÞóåôå ôï óýóôçìá.  Áí üëá ðÞãáí êáëÜ,
+	  ç åêêßíçóç èá åßíáé êáíïíéêÞ, êáé ç åíôïëÞ <command>mount</command>
+	  èá äåßîåé:</para>
+
+	<screen>&prompt.root; <userinput>mount</userinput>
+/dev/label/rootfs on / (ufs, local)
+devfs on /dev (devfs, local)
+/dev/label/tmp on /tmp (ufs, local, soft-updates)
+/dev/label/usr on /usr (ufs, local, soft-updates)
+/dev/label/var on /var (ufs, local, soft-updates)</screen>
+      </example>
     </sect2>
   </sect1>
 
@@ -651,8 +724,9 @@
       Soft Updates ôá ïðïßá åíôïðßæïõí êáé õðï÷ñåþíïõí ôçí Üìåóç åããñáöÞ
       ôùí ìåôá-äåäïìÝíùí êáé ôùí óôéãìéïôýðùí (Snapshots) ôá ïðïßá åßíáé
       åéêüíåò ôïõ óõóôÞìáôïò áñ÷åßùí óå ìéá äåäïìÝíç óôéãìÞ, ôï log
-      áðïèçêåýåôáé óôïí ôåëåõôáßï ôïìÝá, êáé óå ìåñéêÝò ðåñéðôþóåéò ìðïñåß
-      íá áðïèçêåýåôáé óå åíôåëþò äéáöïñåôéêü äßóêï.</para>
+      áðïèçêåýåôáé óå ÷þñï ðïõ Ý÷åé åê÷ùñçèåß åéäéêÜ ãéá áõôü ôï
+      óêïðü,  êáé óå ìåñéêÝò ðåñéðôþóåéò ìðïñåß íá áðïèçêåýåôáé óå åíôåëþò
+      äéáöïñåôéêü äßóêï.</para>
 
     <para>Óå áíôßèåóç ìå Üëëåò õëïðïéÞóåéò journaling ãéá óõóôÞìáôá áñ÷åßùí,
       ç ìÝèïäïò <command>gjournal</command> âáóßæåôáé óå ìðëïêò, êáé äåí
@@ -666,6 +740,19 @@
 
     <programlisting>options	UFS_GJOURNAL</programlisting>
 
+    <para>Áí ÷ñåéÜæåôáé íá ðñïóáñôþíôáé ôüìïé ìå journaling êáôÜ ôçí åêêßíçóç,
+      èá ðñÝðåé åðßóçò íá öïñôþíåôáé áõôüìáôá êáé ôï Üñèñùìá ðõñÞíá
+      <filename>geom_journal.ko</filename>.  Ãéá ôï óêïðü áõôü, ðñïóèÝóôå ôçí
+      ðáñáêÜôù ãñáììÞ óôï áñ÷åßï <filename>/boot/loader.conf</filename>:</para>
+
+    <programlisting>geom_journal_load="YES"</programlisting>
+
+    <para>ÅíáëëáêôéêÜ, ç ëåéôïõñãßá áõôÞ ìðïñåß íá åíóùìáôùèåß óå Ýíá
+      ðñïóáñìïóìÝíï ðõñÞíá, ìå ôçí ðñïóèÞêç ôçò ðáñáêÜôù ãñáììÞò óôï
+      áíôßóôïé÷ï áñ÷åßï ñõèìßóåùí:</para>
+
+    <programlisting>options	GEOM_JOURNAL</programlisting>
+
     <para>Ç äçìéïõñãßá journal óå Ýíá åëåýèåñï óýóôçìá áñ÷åßùí, ìðïñåß ôþñá
       íá ãßíåé ìå ôá áêüëïõèá âÞìáôá, èåùñþíôáò üôé ç óõóêåõÞ
       <devicename>da4</devicename> åßíáé Ýíáò íÝïò äßóêïò
@@ -715,6 +802,11 @@
       íá äçìéïõñãÞóåé ôï journal, áëëÜ áõôü äåí óáò ðñïóôáôåýåé áðü áðþëåéá
       äåäïìÝíùí ðïõ ìðïñåß íá ðñïÝëèåé áðü êáêÞ ÷ñÞóç ôçò
       <command>tunefs</command>.</para>
+
+    <para>Åßíáé åðßóçò äõíáôüí íá ÷ñçóéìïðïéçèåß journaling óôïí äßóêï
+      åêêßíçóçò åíüò &os; óõóôÞìáôïò.  ÄéáâÜóôå ôï Üñèñï <ulink
+	url="&url.articles.gjournal-desktop;">Õëïðïßçóç ôïõ UFS Journaling óå
+	Ýíá Desktop ÕðïëïãéóôÞ</ulink> ãéá ëåðôïìåñåßò ïäçãßåò.</para>
   </sect1>
 </chapter>
 


More information about the Freebsd-doc-el mailing list