From cc5bc96553db855de5801257d01f6680fda80102 Mon Sep 17 00:00:00 2001 From: Warren Block Date: Wed, 26 Feb 2014 01:18:03 +0000 Subject: [PATCH] Replace markup with inside the growing disks section. --- .../books/handbook/disks/chapter.xml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.xml b/en_US.ISO8859-1/books/handbook/disks/chapter.xml index 2ec542fc0e..b1c1af2e34 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.xml @@ -295,7 +295,7 @@ List the partitions on the disk to see the current configuration: - &prompt.root; gpart show ada0 + &prompt.root; gpart show ada0 => 34 83886013 ada0 GPT (48G) [CORRUPT] 34 128 1 freebsd-boot (64k) 162 79691648 2 freebsd-ufs (38G) @@ -312,7 +312,7 @@ partition table with gpart: - &prompt.root; gpart recover ada0 + &prompt.root; gpart recover ada0 ada0 recovered @@ -320,7 +320,7 @@ ada0 recovered use by a new partition, or an existing partition can be expanded: - &prompt.root; gpart show ada0 + &prompt.root; gpart show ada0 => 34 102399933 ada0 GPT (48G) 34 128 1 freebsd-boot (64k) 162 79691648 2 freebsd-ufs (38G) @@ -334,10 +334,10 @@ ada0 recovered unmounted, deleted, and then recreated after resizing other partitions. - &prompt.root; swapoff /dev/ada0p3 -&prompt.root; gpart delete -i 3 ada0 + &prompt.root; swapoff /dev/ada0p3 +&prompt.root; gpart delete -i 3 ada0 ada0p3 deleted -&prompt.root; gpart show ada0 +&prompt.root; gpart show ada0 => 34 102399933 ada0 GPT (48G) 34 128 1 freebsd-boot (64k) 162 79691648 2 freebsd-ufs (38G) @@ -352,7 +352,7 @@ ada0p3 deleted system can be resized after disabling GEOM safety features: - &prompt.root; sysctl kern.geom.debugflags=16 + &prompt.root; sysctl kern.geom.debugflags=16 Resize the partition, leaving room to recreate a swap @@ -360,9 +360,9 @@ ada0p3 deleted the partition. The file system in the partition will be expanded in a separate step. - &prompt.root; gpart resize -i 2 -a 4k -s 47G ada0 + &prompt.root; gpart resize -i 2 -a 4k -s 47G ada0 ada0p2 resized -&prompt.root; gpart show ada0 +&prompt.root; gpart show ada0 => 34 102399933 ada0 GPT (48G) 34 128 1 freebsd-boot (64k) 162 98566144 2 freebsd-ufs (47G) @@ -370,14 +370,14 @@ ada0p2 resized Recreate the swap partition: - &prompt.root; gpart add -t freebsd-swap -a 4k ada0 + &prompt.root; gpart add -t freebsd-swap -a 4k ada0 ada0p3 added -&prompt.root; gpart show ada0 +&prompt.root; gpart show ada0 => 34 102399933 ada0 GPT (48G) 34 128 1 freebsd-boot (64k) 162 98566144 2 freebsd-ufs (47G) 98566306 3833661 3 freebsd-swap (1.8G) -&prompt.root; swapon /dev/ada0p3 +&prompt.root; swapon /dev/ada0p3 Grow the UFS file system to use the new capacity of the resized partition: @@ -388,7 +388,7 @@ ada0p3 added versions, the file system must not be mounted. - &prompt.root; growfs /dev/ada0p2 + &prompt.root; growfs /dev/ada0p2 Device is mounted read-write; resizing will result in temporary write suspension for /. It's strongly recommended to make a backup before growing the file system. OK to grow file system on /dev/ada0p2, mounted on /, from 38GB to 47GB? [Yes/No] Yes