SCOadmin Storage Managers
The SCOadmin Storage Managers provide a graphical interface to disk
storage management.
These managers can be used as an alternative to the
diskadd(1M)
and
disksetup(1M)
utilities that provide the traditional command line disk setup interface.
The following managers are grouped together under the Storage folder
in the main SCOadmin window, displayed by selecting SCOadmin from the
Desktop menu, or by entering scoadmin at a command shell prompt.
Disk Manager-
Displays all disks currently connected to the system,
The Disk Manager supports the following major operations on the disks
appearing in the main window:
-
Display the Logical Disk Layout --displays one line per disk drive that
shows the disk ID, total capacity (size), and block size.
-
Display the Physical Disk Layout -- shows all Host Bus Adapters (HBAs)
connected to the system (whether they have devices connected or not) as
well as all devices connected to each HBA (including CD-ROMs and other
non-disk devices).
-
Display Paths to a disk -- manage multiple I/O paths (MPIO) to a disk.
The Multi-Path I/O (mpio) package must be installed to define and
manage disk paths.
-
Launch the Partition oand Slice Managers to create partitions and slices
for a disk.
-
Search for disk names in the list (helpful if you have many storage
devices in the list).
Partition Manager-
Displays the partitions defined on currently defined disks.
If launched from the Disk Manager, it displays the partition layout
for the currently selected disk; launched from the SCOadmin menu
or from the command line (scoadmin partition), it displays the
partitions on all defined disks.
All partitions on the disk are displayed, whether they are UNIX system
partitions or any other type.
The Partition Manager supports the following operations on a disk:
-
create and delete partitions
-
change the active partition
-
write the Master Boot Record (MBR)
Slice Manager-
Displays the slices defined on currently defined UNIX System partitions.
If launched from the Disk Manager, the slices defined for the active
UNIX System partition on the currently selected disk are displayed.
If launched from the SCOadmin main menu or the command line
(scoadmin slice), the active partitions on all disks are displayed.
When a UNIX System partition is created with the Partition Manager, a
default slice layout is used, with a vxfs file system as the root of
the disk.
The layout depends on the size of the disk and other factors.
The current version of the Slice Manager will only display slices/file systems.
Future versions of the Slice Manager will support the following operations
on a disk:
-
Define slices in a partition.
Currently, this must be done with the
diskadd(1M)
or
disksetup(1M)
commands (diskadd is an interactive interface to disksetup).
-
Define a file system on a slice.
Currently, this must be done with the
mkfs(1M)
command.
Adding a Second Disk
The procedure in this section shows you how to use the Disk Manager
and associated managers and tools to:
-
add a second disk to the system
-
define two partitions on it
-
define the slices and filesystems on one partition
-
mount a filesystem from the new partition
-
Check the current disk configuration; launch the Disk Manager from
the SCOadmin main menu, or by entering:
scoadmin disk
-
Use
dcu(1M)
to ensure that the required drivers for the disk and controller are
installed.
See
`` Viewing or changing device driver configuration''.
-
If the disk is not a plug and play (or hot-add) device, shut the system down,
by entering the following at a shell prompt:
shutdown -i0 -g0 -y
Wait until the system is down and turn the power off.
-
Follow the manufacturer's directions to configure any jumpers, SCSI IDs.
SCSI terminators, or other settings required on the disk before installing
it into the system.
If necessary, install a controller for the disk; see
`` Configuring hardware controllers''.
Once the disk is installed, turn the system on.
-
When the system reboots, it should create device nodes for the new disk.
Launch the Disk Manager as shown in Step 1.
It should list the new disk.
-
Highlight the new disk and select the Partition icon on the icon bar
(or select Operations>Partition from the menu).
The Partition Manager main window is displayed, showing the disk you selected.
If this is a new disk with no partitions defined, the Type column for
the disk will display Undefined.
To re-partition a disk, first delete all partitions by highlighting them
and selecting the Delete icon or Partition>Delete
from the menu.
Note: This will delete all information on the disk.
-
Create the first partition by highlighting the disk and selecting the
Create icon or Partition>Create from the menu.
The Create Partition window is displayed.
-
Choose appropriate values for the following options:
Type
|
Choose UNIX System for partitions you want to use with
UnixWare; DOS or Other for partitions you want
to use with other Operating Systems.
|
Active
|
Select this option if the partition is to be the Active partition
on the disk.
Only an active partition can be mounted, and there can be only one
active partition per disk.
|
Size
|
Use the slider bar to allocate a percentage of the available disk
space to the partition.
The slider will not move beyond the percentage of currently available space
on the disk.
|
For our example, select UNIX System, Active, and
50% of the disk for the first partition.
Select OK.
-
The Partition Manager main window should now display information
for the UNIX System partition you just created.
Use the View>Cylinders menu command to add cylinder information
to the default display.
-
To create the second partition, which we'll use for another operating
system, highlight the disk and select the
Create icon or Partition>Create from the menu.
The Create Partition window is displayed.
-
For this partition, choose Other for the Type, do
not select the Active check box, and leave the Size
slider bar at 50% (allocating the remainder of the space on this disk
to the second partition).
Select OK.
-
The Partition Manager main window should now display information
for the Other partition you just created.
Select Host>Exit to go back to the Disk Manager window.
-
Highlight the disk and select the Slice icon or the
Operations>Slice command from the menu.
The default slices defined on the partition when it was created are
displayed.
To change the slice layout of the partition, use the
diskadd(1M)
or
disksetup(1M)
commands (diskadd is an interactive interface to
disksetup).
Once you are done, select View>Refresh to see your changes
in the Slice Manager.
To define a file system on a slice, use the
mkfs(1M)
command, using the Sector Length displayed in the slice Manager
as the size of the new file system.
Once you are done, select View>Refresh to see your changes
in the Slice Manager.
-
To mount a newly created file system, use the Filesystem Manager
(scoadmin filesystem), or click on Filesystem Manager in
the Storage folder on SCOadmin's main menu.
Select on Mount>Add mount configuration>Local from the menu,
and fill in the fields as explained below:
Device File
|
The device name for the file system you are mounting is displayed in
the Slice Manager window.
Choose the same device from the drop-down box.
|
Mount Point
|
Enter the name of the directory where you want to mount the file
system (e.g., /home2).
The directory must already exist.
|
Description
|
Optional description.
|
Filesystem Type
|
Selected automatically according to the device chosen; cannot be
changed.
|
Access Mode
|
Select Read-only or Read-Write.
|
When to Mount
|
Select Now to mount the file system immediately.
Select At System Startup to have the file system mounted
automatically when the system boots.
|
Advanced Options
|
This button, if enabled, opens another window where you can set
additional file system options if any exist for the file system type
being mounted.
The options presented vary by file system type, and are explained
briefly with point help at the bottom of the window.
Select OK when you are done setting advanced options.
|
See the
mount(1M),
mount_vxfs(1M),
and other file system specific mount commands for an explanation of
file system mount options.
Select OK when you are done setting file system mount options.
-
The Filesystem Manager now displays the mounted file system in the
main window.
Close the File System Manager, the Slice Manager, and the Disk Manager
by selecting Host>Exit from the menus.
Related Topics
Read the following topics elsewhere in the online help to gain a
better understanding of mass storage management.
These and other topics are found on the
Hardware
page.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004