The Manager is a critical and fundamental piece of the UnixWare 7 Air-Bag. It has may of the same options and features as the SCO OpenServer 5 utility.
A full set of commands are specified in the table below.The exclamation mark (!) is used to escape to the shell from within the utility. Other options available to give full control of the slice table include specifying the units (512 by blocks, kilobytes, megabytes, gigabytes, and cylinders), sorting (four ways to sort), adding slices, modifying slices, specifying starting offsets, specifying ending offsets, and specifying slice size. When working with megabyte and gigabyte units, decimal places are allowed in assigned specifications.
Command |
Action |
---|---|
A |
Add a new slice |
C |
Create new file system in the slice |
D |
Delete a slice |
E |
Specify ending slice offset in blocks, kilobytes,gigabytes or cylinders |
M |
Modify a slice |
N |
Change the name of a slice |
P |
Prevent creation of new file system |
h or ? |
Comprehensive online help |
O |
Sort slices by starting ofset, ending offset, size or slice number |
S |
Specify slice starting offset in blocks, kilobytes, gigabytes or cylinders |
T |
Change file system type |
U |
Change working units(blocks, megabytes, gigabytes or cylinders) |
Z |
Change size of a slice |
0-9 |
Select a slice to modify |
! |
Escape to the shell to run some commands |
The SliceManager is a flexible utility and allows modification of the slice table (VTOC).For example, some users prefer to specify starting offset and a size, while others prefer to specify starting offset and ending offset. The Manager can be used either way. After having executed the Manner and creating a new filesystem, the following message may be displayed:
(UX:UFS MKFS:WARNING: XX SECTOR (S) IN LAST CYLINDER UNALLOCATED.
This means that the last cylinder group is not full since the partition does not end on a cylinder boundary. This is of no concern. The most practical way to view the status of a file system is to enter the SliceManager and elect to modify a slice. If the slice is a filesystem, the status of the filesystem will be shown in bold white letters.
It is possible that some types of corruption can make all the slices appear to be in a status defined as SLICE NOT ADDED YET. If this occurs, run a diagnostic of the system then start from scratch preparing the disk and selecting the new hard disk.
Status Keyword |
Description |
---|---|
CLEAN |
File system is clean, ready for mounting, no evidence of any damage |
MOUNTED |
File system is mounted, perhaps you forgot to unmount it (run unmount /dev/xxxxx) |
DIRTY |
File system was not unmounted cleanly, it needs cleaning |
DIRTY-LOG REPLY |
File system needs cleaning to apply the replay log, minor updates needed |
NOT YET CREATED |
The slice is allocated,yet file system is not present, create it using c option |
SLICE NOT ADDED YET |
There is no slice allocated yet to contain this file system, use option a to add |
CORRUPTED |
File system is corrupted, recreate it using the c option |
REG FILE |
The device file representing this slice /dev/rdsk/c0b0t0d0sx |
UNKNOWN STATUS |
There is a serious problem, Slice Manager cannot be more specific |
The SliceManager has a built-in help tool. By default, when the slices are first displayed, they are displayed in slice number order. However, this order has absolutely nothing to do with the relative starting offsets or sizes. Therefore, after becoming familiar with the slices, sort the table by starting offset, ending offset, or size.
The slice table [VTOC] may be adjusted to display the units in a number of measurements. These include 512 byte blocks, kilobytes, megabytes, gigabytes, and cylinders. When units are switched, it only affects the display. Internally, all offsets or sizes are kept as 512 byte blocks. The percentages used in the SliceManager are approximate; they may not add up to 100% due to rounding and the fact that there are several small slices – each less than one percent – but combined could amount to more than two to three percent.