Chapter 13
Rebuilding the Preinstalled OS
117
All RAID-1 devices must be set up by the
metainit
command before they can be
used. You use the
metainit
command to create mirrored disk partitions. The
metainit
command configures metadevices, mirrors, and hot spares according to
the information specified on the command line.
metadb
Command
The
command creates and deletes replicas of the metadevice state database.
State database replicas can be created on dedicated slices, or on slices that will later
become part of a simple metadevice.
The metadevice state database contains the configuration of all metadevices and hot
spare pools in the system. Additionally, the metadevice state database keeps track of
the current state of metadevices and hot spare pools, and their components. Solaris
Volume Manager automatically updates the metadevice state database when a
configuration or state change occurs. A submirror failure is an example of a state
change.
When creating and deleting replicas of replicas of the metadevice state database, use
the following
metainit
command syntax:
where
■
-a
attaches a new database device.
■
-d
deletes all replicas that are located on the specified slice.
■
-f
creates the initial state database.
metainit
Command
When creating metadevices and mirrors, use the following
metainit
command
syntax:
where
■
-f
forces the command to continue. You must use this option when the slice
contains a mounted file system.
■
volume-name
specifies the name of the volume to create.
■
number-of-stripes
specifies the number of stripes to create.
#
metadb
#
metainit -f
volume-name number-of-stripes components-per-stripe component-
name
Содержание Fire X4540
Страница 14: ......
Страница 21: ...Chapter 1 Introduction to the Sun Fire X4500 Server 7 FIGURE 1 4 Disk Drive Locations ...
Страница 22: ...8 Sun Fire X4500 X4540 Servers Administration Guide October 2008 FIGURE 1 5 Disk Drive and Fan Tray LEDs ...
Страница 40: ...26 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...
Страница 42: ...28 Sun Fire X4500 X4540 Servers Administration Guide October 2008 FIGURE 4 1 Disk Drive Locations ...
Страница 54: ...40 Sun Fire X4500 X4540 Servers Administration Guide October 2008 6 You can now remove the hard drive ...
Страница 62: ...48 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...
Страница 72: ...58 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...
Страница 78: ......
Страница 86: ...72 Sun Fire X4500 X4540 Servers Administration Guide October 2008 FIGURE 8 4 Disk Drive Locations ...
Страница 120: ...106 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...
Страница 128: ...114 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...
Страница 138: ...124 Sun Fire X4500 X4540 Servers Administration Guide October 2008 ...