1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
|
Author: Giuseppe Iuculano <giuseppe@iuculano.it>
Description: Fix hyphen-used-as-minus-sign
--- a/1.0.0.rc16/man/dmraid.8
+++ b/1.0.0.rc16/man/dmraid.8
@@ -4,20 +4,20 @@ dmraid \- discover, configure and activa
.SH SYNOPSIS
.B dmraid
{-a|--activate} {y|n|yes|no}
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
- [-f|--format FORMAT[,FORMAT...]]
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
+ [\-f|--format FORMAT[,FORMAT...]]
[{-P|--partchar} CHAR]
- [-p|--no_partitions]
- [-Z|--rm_partitions]
+ [\-p|--no_partitions]
+ [\-Z|--rm_partitions]
[--separator SEPARATOR]
- [-t|--test]
+ [\-t|--test]
[RAID-set...]
.B dmraid
{-b|--block_devices}
- [-c|--display_columns][FIELD[,FIELD...]]...
- [-d|--debug]... [-v|--verbose]...
- [--separator SEPARATOR]
+ [\-c|--display_columns][FIELD[,FIELD...]]...
+ [\-d|--debug]... [\-v|--verbose]...
+ [\--separator SEPARATOR]
[device-path...]
.B dmraid
@@ -25,60 +25,60 @@ dmraid \- discover, configure and activa
.B dmraid
{-l|--list_formats}
- [-d|--debug]... [-v|--verbose]...
+ [\-d|--debug]... [\-v|--verbose]...
.B dmraid
{-n|--native_log}
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
- [-f|--format FORMAT[,FORMAT...]]
- [--separator SEPARATOR]
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
+ [\-f|--format FORMAT[,FORMAT...]]
+ [\--separator SEPARATOR]
[device-path...]
.B dmraid
- {-R| --rebuild}
+ {-R| \--rebuild}
RAID-set
[device-path]
.B dmraid
- {-x| --remove}
+ {-x| \--remove}
[RAID-set]
.B dmraid
- -f FORMAT-handler
-{-C| --create} set
- --type raidlevel
- [--size=setsize --strip stridesize]
- --disk "device-path, device-path [, device-path ...]"
+ \-f FORMAT-handler
+{-C| \--create} set
+ \--type raidlevel
+ [\--size=setsize \--strip stridesize]
+ \--disk "device-path, device-path [, device-path ...]"
.B dmraid
-[ -f|--format FORMAT-handler]
--S|--spare [RAID-set]
--M|--media "device-path"
+[ \-f|--format FORMAT-handler]
+\-S|--spare [RAID-set]
+\-M|--media "device-path"
.B dmraid
{-r|--raid_devices}
- [-c|--display_columns][FIELD[,FIELD...]]...
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
- [-D|--dump_metadata]
- [-f|--format FORMAT[,FORMAT...]]
- [--separator SEPARATOR]
+ [\-c|--display_columns][FIELD[,FIELD...]]...
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
+ [\-D|--dump_metadata]
+ [\-f|--format FORMAT[,FORMAT...]]
+ [\--separator SEPARATOR]
[device-path...]
.B dmraid
{-r|--raid_devices}
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
- [-E|--erase_metadata]
- [-f|--format FORMAT[,FORMAT...]]
- [--separator SEPARATOR]
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
+ [\-E|--erase_metadata]
+ [\-f|--format FORMAT[,FORMAT...]]
+ [\--separator SEPARATOR]
[device-path...]
.B dmraid
{-s|--sets}...[a|i|active|inactive]
- [-c|--display_columns][FIELD[,FIELD...]]...
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
- [-f|--format FORMAT[,FORMAT...]]
- [-g|--display_group]
- [--separator SEPARATOR]
+ [\-c|--display_columns][FIELD[,FIELD...]]...
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
+ [\-f|--format FORMAT[,FORMAT...]]
+ [\-g|--display_group]
+ [\--separator SEPARATOR]
[RAID-set...]
.B dmraid
@@ -117,7 +117,7 @@ will make dmraid tell the kernel to remo
underlying the set, ie if sda is part of the set, remove sda1, sda2, etc.
This prevents applications from directly accessiong the disks bypassing dmraid.
RAID set names given on command line don't need to be fully specified
-(eg, "dmraid -ay sil" would activate all discovered Silicon Image Medley
+(eg, "dmraid \-ay sil" would activate all discovered Silicon Image Medley
RAID sets).
.TP
@@ -134,7 +134,7 @@ See description of
below for FIELD identifiers.
.TP
-.I [-d|--debug]...
+.I [\-d|--debug]...
Enable debugging output. Opion can be given multiple times
increasing the debug output level.
@@ -214,18 +214,18 @@ is added to the system.
During system reboot, enter OROM and mark the new drive as the rebuild drive.
After booting to the OS, use the dmraid command to rebuild.
- Example: dmraid -R raid_set
+ Example: dmraid \-R raid_set
2. Using dmraid to identify a new drive
Boot to the OS and use the dmraid command with the new drive as
the second parameter.
- Example: dmraid -R raid_set /dev/sdc
+ Example: dmraid \-R raid_set /dev/sdc
3. Using hot spare drive
- Mark a drive as hot spare using the "dmraid -f isw -S" command. Then use the dmraid command to start the rebuild.
+ Mark a drive as hot spare using the "dmraid \-f isw \-S" command. Then use the dmraid command to start the rebuild.
- Example: dmraid -R raid_set
+ Example: dmraid \-R raid_set
.TP
.I {-x|--remove} [RAID-set]
@@ -235,11 +235,11 @@ Delete one or all existing software RAID
.I -f FORMAT-handler {-C|--create} --type raidlevel [--size=setsize --strip stripsize] --disk "device-path, device-path [,device-path]"
Delete one or all existing Configure a software RAID device and store the configuration data in a group of hard drive devices consisting of this array. This command requires the following options:
--f FORMAT-handler
+\-f FORMAT-handler
.br
- metadata format (see "dmraid -l")
+ metadata format (see "dmraid \-l")
.br
---type digit[digit...]
+\--type digit[digit...]
.br
specify the raid level of the software RAID set.
.br
@@ -251,7 +251,7 @@ Delete one or all existing Configure a s
.br
01: raid01 (isw raid10)
.br
---size: [digits[k|K|m|M|g|G][b|B]]
+\--size: [digits[k|K|m|M|g|G][b|B]]
.br
specify the size of the RAID set.The number is an integer followed by [kKmMgG] and/or [bB].
.br
@@ -267,11 +267,11 @@ Delete one or all existing Configure a s
.br
If this option is missing, it's set to the default value pre-configured by the vendor. Note that different vendors may apply different constraints on the granularity of the size or the minimal value.
.br
---strip: [digits[k|K|m|M|g|G][b|B]]
+\--strip: [digits[k|K|m|M|g|G][b|B]]
.br
specify the strip size of a RAID1, RAID5, and RAID10 RAID set (as above)
.br
---disk: device-path[{,| }device-path...]
+\--disk: device-path[{,| }device-path...]
.br
specify the array of the hard drives, e.g. /dev/sda.
@@ -349,7 +349,7 @@ Use SEPARATOR as a delimiter for all opt
.TP
.I -s... [a|i] [RAID-set...]
Display properties of RAID sets. Multiple RAID set names can be given
-on the command line which don't need to be fully specified (eg, "dmraid -s hpt"
+on the command line which don't need to be fully specified (eg, "dmraid \-s hpt"
would display all discovered Highpoint RAID sets). Enter
.B -s
twice to display RAID subsets too.
@@ -377,7 +377,7 @@ Enable verbose runtime information outpu
increasing the verbosity level.
.SH EXAMPLES
-"dmraid -l" lists all supported metadata formats with their names along with
+"dmraid \-l" lists all supported metadata formats with their names along with
some descriptive information, eg:
.br
hpt37x : (+) Highpoint HPT37X
@@ -400,16 +400,16 @@ dos : (+) DOS partitions on SW RAIDs
.br
(0): Discover, (+): Discover+Activate
-"dmraid -ay" activates all software RAID sets discovered.
+"dmraid \-ay" activates all software RAID sets discovered.
-"dmraid -an" deactivates all active software RAID sets which are not open
+"dmraid \-an" deactivates all active software RAID sets which are not open
(eg, mounted filesystem on them).
-"dmraid -ay -f pdc" (pdc looked up from "dmraid -l") activates all
+"dmraid \-ay \-f pdc" (pdc looked up from "dmraid \-l") activates all
software RAID sets with Promise format discovered and ignores all other
supported formats.
-"dmraid -r" discovers all software RAID devices supported on your system, eg:
+"dmraid \-r" discovers all software RAID devices supported on your system, eg:
.br
/dev/dm-46: hpt45x, "hpt45x_chidjhaiaa-0", striped, ok, 320172928 sectors, data@ 0
.br
@@ -420,7 +420,7 @@ supported formats.
/dev/dm-58: hpt45x, "hpt45x_chidjhaiaa-1", striped, ok, 320172928 sectors, data@ 0
-"dmraid -s -s hpt45x_chidjhaiaa" displays properties of
+"dmraid \-s \-s hpt45x_chidjhaiaa" displays properties of
set "hpt45x_chidjhaiaa", eg:
.br
*** Superset
@@ -478,7 +478,7 @@ dev : 2
spare : 0
.br
-"dmraid -s -ccs hpt45" displays properties in column format of all sets
+"dmraid \-s \-ccs hpt45" displays properties in column format of all sets
and subsets with hpt45* format, eg:
.br
hpt45x_chidjhaiaa,640345856,128,raid10,ok,4,0
@@ -487,7 +487,7 @@ hpt45x_chidjhaiaa-a,640345856,128,stripe
.br
hpt45x_chidjhaiaa-b,640345856,128,stripe,ok,2,0
-"dmraid -r --sep : -cpath:size" display paths and sizes in sectors for
+"dmraid \-r \--sep : \-cpath:size" display paths and sizes in sectors for
RAID devices in column format using ':' as a delimiter, eg:
.br
/dev/dm-8:320173055
@@ -518,18 +518,18 @@ RAID devices in column format using ':'
.br
/dev/dm-66:390624896
-"dmraid -f isw -C Raid0 --type 0 --strip 8k --size 20g --disk "/dev/sdb /dev/sdc"" creates an ISW volume with
+"dmraid \-f isw \-C Raid0 \--type 0 \--strip 8k \--size 20g \--disk "/dev/sdb /dev/sdc"" creates an ISW volume with
a name of "Raid0", 20Gig bytes in total, and 8kilo bytes strip size on two disks.
-"dmraid -f isw -C Test0 --type 0 --disk "/dev/sdd /dev/sde"" creates an ISW volume with the default size and strip size.
+"dmraid \-f isw \-C Test0 \--type 0 \--disk "/dev/sdd /dev/sde"" creates an ISW volume with the default size and strip size.
-"dmraid -f isw -C Test10 --type 01 --strip 128B --disk "/dev/sda /dev/sdb /dev/sdc /dev/sdd" creates a stacked
+"dmraid \-f isw \-C Test10 \--type 01 \--strip 128B \--disk "/dev/sda /dev/sdb /dev/sdc /dev/sdd" creates a stacked
RAID device, RAID10 (isw format), with a name of "Test10", 128 blocks (512bytes) strip size , and the default volume size on
4 disks.
-"dmraid -f isw -S -M /dev/sde" marks the device /dev/sde as a hot spare for rebuild
+"dmraid \-f isw \-S \-M /dev/sde" marks the device /dev/sde as a hot spare for rebuild
-"dmraid -R isw_djaggchdde_RAID1 /dev/sde" starts rebuild of the RAID volume on device /dev/sde
+"dmraid \-R isw_djaggchdde_RAID1 /dev/sde" starts rebuild of the RAID volume on device /dev/sde
.SH DIAGNOSTICS
dmraid returns an exit code of 0 for success or 1 for error.
|