From owner-freebsd-doc@FreeBSD.ORG Tue Sep 27 21:10:31 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB68E16A502 for ; Tue, 27 Sep 2005 21:10:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D95AD43D5C for ; Tue, 27 Sep 2005 21:10:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8RLAGSM012690 for ; Tue, 27 Sep 2005 21:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8RLAGk2012689; Tue, 27 Sep 2005 21:10:16 GMT (envelope-from gnats) Resent-Date: Tue, 27 Sep 2005 21:10:16 GMT Resent-Message-Id: <200509272110.j8RLAGk2012689@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Larsen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA8A916A425 for ; Tue, 27 Sep 2005 21:07:18 +0000 (GMT) (envelope-from vader@endor.vader.dk) Received: from endor.vader.dk (213.237.74.156.adsl.sol.worldonline.dk [213.237.74.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A0DE43D4C for ; Tue, 27 Sep 2005 21:07:17 +0000 (GMT) (envelope-from vader@endor.vader.dk) Received: from endor.vader.dk (localhost.vader.dk [127.0.0.1]) by endor.vader.dk (8.12.11/8.12.11) with ESMTP id j8RL7960079351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Sep 2005 23:07:09 +0200 (CEST) (envelope-from vader@endor.vader.dk) Received: (from vader@localhost) by endor.vader.dk (8.12.11/8.12.11/Submit) id j8RL79ol079350; Tue, 27 Sep 2005 23:07:09 +0200 (CEST) (envelope-from vader) Message-Id: <200509272107.j8RL79ol079350@endor.vader.dk> Date: Tue, 27 Sep 2005 23:07:09 +0200 (CEST) From: Chris Larsen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/86650: [patch] correct various issues in the handbook entry geom/chapter.sgml (gmirror section) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Larsen List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 21:10:32 -0000 >Number: 86650 >Category: docs >Synopsis: [patch] correct various issues in the handbook entry geom/chapter.sgml (gmirror section) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 27 21:10:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Chris Larsen >Release: FreeBSD 6.0-BETA5 amd64 >Organization: The Empire >Environment: >Description: Order of commands issued and result is inconsistent. Some minor typos. Swap space removed, should reference how to re-establish that. >How-To-Repeat: Read the handbook section: RAID1 - Mirroring >Fix: - add expected output when correctly applying gmirror - the device entries do not appear after 'gmirror label' but first after 'gmirror load' (move para) - 'geom load' -> 'gmirror load' (could also have been 'geom mirror load') - add footnote about that references section about adding swapspace, since this example removes it. - make fstab file be a 'screen', not a 'programlisting' - typo; gm0sa1 -> gm0s1a --- doc-geom-chapter.patch begins here --- Index: en_US.ISO8859-1/books/handbook/geom/chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/geom/chapter.sgml,v retrieving revision 1.10 diff -u -r1.10 chapter.sgml --- en_US.ISO8859-1/books/handbook/geom/chapter.sgml 13 Sep 2005 18:23:09 -0000 1.10 +++ en_US.ISO8859-1/books/handbook/geom/chapter.sgml 27 Sep 2005 21:00:14 -0000 @@ -267,6 +267,17 @@ &prompt.root; gmirror label -vnb round-robin gm0 /dev/da1 + The system should respond with: + +Metadata value stored on /dev/da1. +Done. + + Initialize GEOM, this will load the + /boot/kernel/geom_mirror.ko kernel + module: + + &prompt.root; gmirror load + This command should have created the gm0, gm0s1, @@ -276,12 +287,6 @@ directory. - Initialize GEOM; this will load the - /boot/kernel/geom_mirror.ko kernel - module: - - &prompt.root; geom load - Install a generic fdisk label and boot code to newly created gm0 device: @@ -323,13 +328,21 @@ aforementioned command. Now edit the replicated /mnt/etc/fstab - file and remove or comment out the swap file. Change the other - file system information to use the new disk. See the following + file and remove or comment out the swap file It + should be noted that commenting out the swap file entry in + fstab will most likely require you to + re-establish a different way of enabling swap space. Please + refer to for further + information.. Change the other file system + information to use the new disk. See the following example: - # Device Mountpoint FStype Options Dump Pass# + +# Device Mountpoint FStype Options Dump Pass# #/dev/da0s2b none swap sw 0 0 -/dev/mirror/gm0sa1 / ufs rw 1 1 +/dev/mirror/gm0s1a / ufs rw 1 1 + + Now create a boot.conf file on both the current and new root partitions. This file will --- doc-geom-chapter.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: