Solstice DiskSuite 4.2.1 User's Guide

Using DiskSuite Tool

This section describes some advanced uses (and limitations) of DiskSuite Tool.

Limitations

Using the Metadevice Editor

Here are three tips to help manage screen real estate on the Metadevice Editor's canvas:

Using the Slice View, Disk View, and Filters

Setting filters within DiskSuite Tool on the Slice View and Disk View windows can help you quickly locate suitable slices for the task at hand.

How to Filter for Slice Size (DiskSuite Tool)

If you have a system with many disks (and slices), searching for available slices of a certain size can be a chore. Using the Slice Filter window can save you time in this activity.

This task describes how to create a filter in the Slice View window for available slices larger than 200 Mbytes, then drag and drop these slices to the Disk View window to see where they are located.

  1. Click Slices to display the Slice View window.

    The Slice View window appears.

  2. Select Set Filters from the Filters menu in the Slice View window.

    The Slice Filters window appears.

  3. To search for available slices, make sure the "Available for use as" radio button as is checked, and that "Anything" is selected in the pull-down.

  4. To filter for slices greater than 200 Mbytes, check the "Size" radio button, select "greater than" in the first pull-down, type 200 in the text box, and select Mbytes in the second pull-down.

  5. Click Apply and view the results in the Slice Browser window.

    If necessary, change values in the Slice Filters window and click Apply to change the filtering scheme.

  6. After adjusting the filtering scheme to your satisfaction, close the Slice Filters window by clicking OK.

  7. Click Disk View to display the Disk View window.

    The Disk View window appears.

  8. In the Slice Browser window, click Select All. Then drag the selected slices to a color drop site in the Disk View window.

  9. View the results in the Disk View window.

    DiskSuite Tool uses the selected drop site's color for all slices dragged to the Disk View window. You can now make your slice selection (for example to create a submirror) following the considerations outlined in "General Guidelines".

How to Filter for Slice Replacement (DiskSuite Tool)

This task shows how to use DiskSuite Tool to find a suitably sized replacement slice for an errored slice in a submirror.


Note -

This approach is not limited to mirrors. You can use this task to find replacement slices for any type of metadevice.


  1. Click Disk View to display the Disk View window.

    The Disk View window appears.

  2. Drag the errored Mirror object from the Objects list to the canvas.

  3. Select one submirror (a Concat/Stripe object) within the mirror and drag it to the Disk View window. Then do the same for the second submirror (and third submirror if this is a three-way mirror).

    The Disk View window colors the slices with a different color corresponding to the submirrors in the Mirror object. This helps you see where the slices are located, for example, across controllers.

  4. Click Slices to display the Slice View window.

    The Slice View window appears.

  5. Click Set Filters in the Slice View window.

    The Slice Filters window appears.

  6. To search for available slices, make sure the "Available for use as" radio button is checked, and that "Metadevice Component" is selected in the pull-down.

  7. Filter for slices to replace the errored slice.

    One way to do this is to set up a filter that finds slices greater than a size that is slightly smaller than the errored slice. This will display a larger range of slices than if you set up a filter that searches for slices equal to the errored slice size.

  8. Check the "Size" radio button, select "greater than" in the first pull-down, type the size of the slice (in Mbytes, and slightly smaller than the errored slice's size) in the text box, and select Mbytes in the second pull-down.

  9. Click Apply and view the results in the Slice Browser window.

    If necessary, change values in the Slice Filters window and click Apply to change the filtering scheme.

  10. In the Slice Browser window, click Select All. Then drag the selected slices to a color drop site in the Disk View window.

  11. View the results in the Disk View window.

    DiskSuite Tool uses the color for all slices dragged to the Disk View window.

  12. Select a replacement slice.

    You can now make your slice selection for a DiskSuite object following the guidelines outlined in "General Guidelines". Pick a replacement that is large enough and follows mirror guidelines (on different controller, or at least a different disk.)

  13. Drag the replacement slice from the Disk View window to the rectangle of the Concat/Stripe object with the errored slice.

  14. Commit the mirror.

    Click inside the top of the Mirror object then click Commit. A mirror resync begins.

Changing DiskSuite Tool's Colors and Fonts

By default, DiskSuite Tool uses colors and fonts that are compatible with the OpenWindowsTM desktop applications. This section describes how to change these colors and fonts.

DiskSuite Tool and Colors

DiskSuite Tool uses a variety of colors:

The X Window System RGB (Red, Green, Blue) color specification mechanism enables you to specify a nearly infinite variety of colors. Of course, many of these colors will appear similar, varying only slightly in shade or intensity.

To aid in selecting and specifying colors, the X Window System provides a standard default set of colors that you can specify by name instead of RGB values. This "database" of color names can be examined using the standard X utility showrgb. It shows the RGB values and a corresponding descriptive alias. For example:


# showrgb
		199  21 133	medium violet red
		176 196 222	light steel blue
		102 139 139	paleturquoise4
		159 121 238	mediumpurple2
		141 182 205	lightskyblue3
		  0 238 118	springgreen2
		255 160 122	light salmon
		154 205  50	yellowgreen
		178  58 238	darkorchid2
		 69 139 116	aquamarine4
...
 		107 107 107	gray42
 		 71  71  71	gray28
 		 61  61  61	gray24
 		255 255 255	white
 		  0 205 205	cyan3
 		  0   0   0	black

You can also examine the default color name database by looking at the /usr/openwin/lib/X11/rgb.txt file.

Unfortunately, there are no standard applications for browsing colors. If you don't have access to a public domain color browser, experiment by trial and error.

DiskSuite Tool's Default Colors

DiskSuite Tool's default colors are shown in Table 8-1.

Table 8-1 DiskSuite Tool's Default Colors

Color Type 

Color 

Standard Foreground 

black 

Standard Background 

gray 

Canvas Background 

gray66 

Mapping Colors:

 

mappingColor1 

blue 

mappingColor2 

green 

mappingColor3 

magenta 

mappingColor4 

cyan 

mappingColor5 

purple 

mappingColor6 

mediumseagreen 

mappingColor7 

firebrick 

mappingColor8 

tan 

mappingColor9 

white 

Status Colors:

 

Critical 

red 

Urgent 

orange 

Attention 

yellow 

DiskSuite Tool and Fonts

DiskSuite Tool uses four different fonts:

Available Fonts in DiskSuite

The available fonts depend on which X Window System server you use to display the application. The standard X utility, xlsfonts(1), displays the available fonts on a server. For example:


# xlsfonts
--courier-bold-o-normal--0-0-0-0-m-0-iso8859-1
--courier-bold-r-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-o-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
--symbol-medium-r-normal--0-0-0-0-p-0--symbol
-symbol-medium-r-normal--0-0-0-0-p-0-sun-fontspecific
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1
...
utopia-bolditalic
utopia-italic
utopia-regular
variable
vshd
vtbold
vtsingle
zapfchancery-mediumitalic
zapfdingbats

Another helpful utility for displaying available fonts is xfontsel(1). Refer to the man pages for these utilities for more information.

DiskSuite Tool's Default Fonts

DiskSuite Tool's default fonts all come from the Lucida font family:

Table 8-2 DiskSuite Tool's Default Fonts

Font Type 

Font 

Standard Font 

lucidasans12 

Mono-spaced Font 

lucidasans-typewriter12 

Bold Font 

lucidasans-bold12 

Small Font 

lucidasans8 

DiskSuite Tool uses the X Window System's resource database mechanism to determine which fonts to use. The default resource specifications are:

Table 8-3 DiskSuite Tool's Default Font Resource Specifications

Resource 

Font 

Metatool*fontList: 

lucidasans12 

Metatool*smallFontList: 

lucidasans8 

Metatool*boldFontList: 

lucidasans-bold12 

Metatool*fixedFontList: 

lucidasans-typewriter12 

Metatool*XmList.fontList: 

lucidasans-typewriter12 

Metatool*Help*helpsubjs.fontlist: 

lucidasans-typewriter12 

Metatool*Help*helptext.fontlist: 

lucidasans-typewriter12 

How to Change DiskSuite Tool's Default Colors and Fonts

You can change DiskSuite Tool's default colors and fonts by using one of the following four methods.

Example -- Changing Fonts

This example changes the standard font to lucidasans16 for a single invocation of DiskSuite Tool.


# metatool -xrm 'Metatool*fontList: lucidasans16'