From 1ec150b729eb57e1846f12086271022c9b255b1a Mon Sep 17 00:00:00 2001 From: Remko Lodder Date: Wed, 9 Nov 2005 20:10:54 +0000 Subject: [PATCH] Correct various issues in the gmirror section. PR: docs/86650 Submitted by: Chris Larsen Feedback from: flz --- .../books/handbook/geom/chapter.sgml | 33 ++++++++++++------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/geom/chapter.sgml b/en_US.ISO8859-1/books/handbook/geom/chapter.sgml index 92b5f885e4..924ce97482 100644 --- a/en_US.ISO8859-1/books/handbook/geom/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/geom/chapter.sgml @@ -267,6 +267,17 @@ XXX: What message? Put it inside the screen output above. &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 @@ XXX: What message? Put it inside the screen output above. 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,9 +328,15 @@ XXX: What message? Put it inside the screen output above. 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 - example: + 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 more + information. + . Change the other file system information to use the + new disk. See the following example: # Device Mountpoint FStype Options Dump Pass# #/dev/da0s2b none swap sw 0 0 @@ -346,10 +357,10 @@ XXX: What message? Put it inside the screen output above. new root partition, a failsafe is available. - Now add the following line to + Now add the following line to the new /boot/loader.conf: - &prompt.root; echo 'geom_mirror_load="YES"' >> /boot/loader.conf + &prompt.root; echo 'geom_mirror_load="YES"' >> /mnt/boot/loader.conf This will instruct &man.loader.8; utility to load the geom_mirror.ko during system