utdisk(8) CLIX utdisk(8)
NAME
utdisk - Runs a disk maintenance utility
SYNOPSIS
utdisk -i gsdevice
utdisk -f [-F] [-e] [-p pattern] [-s serial] [-o] gsdevice
utdisk -v [-n] [-c count] gsdevice
utdisk -l gsdevice
utdisk [-a | -r] {-b block | -c cylinder -h head -o offset} ...]} gsdevice
FLAGS
[-a | -r] {-b block | -c cylinder -h head -o offset} ...]} gsdevice
Adds or removes flaws.
-a [-b block] [-c cylinder -h head -o offset] gsdevice
Adds the flaw or flaws listed in block format or
bytes from index format to the selected device's flaw
list. For the following part numbers, the flaws may
be identified in block format or cylinder, head,
offset format: MESA518, FDSK131, FDSK132, FDSK135,
and FDSK126. Flaws to be added to all other drives
should use the block format.
-r [-b block] [-c cylinder -h head -o offset] gsdevice
Removes the flaw or flaws listed in block format or
bytes from index format from the selected device's
flaw list. Removal of flaws is possible only on
drives with the following part numbers: MESA518,
FDSK131, FDSK132, FDSK135, and FDSK126.
-f [-F] [-e] [-p patterns] [-s serial] [-o] gsdevice
Formats the disk indicated by gsdevice. First, a warning is
displayed and the user is provided with an option to
continue. A start time and expected completion time are
displayed for most drives, along with status messages during
the process. The following formatting flags are available:
-e Erases the grown defect list.
-F Performs a fast format with no verification
passes.
-o Overrides the warning and prompts to continue
formatting.
2/94 - Intergraph Corporation 1
utdisk(8) CLIX utdisk(8)
-p pattern Performs a write/read pass using the listed
pattern prior to formatting. Up to three
patterns may be entered.
-s serial Writes serial as the new serial number recorded
on the flaw partition after formatting
completes.
-i gsdevice Displays the following information, based on the given
gsdevice:
⊕ Vendor
⊕ Product
⊕ Revision level
⊕ Part number
⊕ Block capacity
⊕ Total flaw count
⊕ Grown flaws
⊕ Serial number
⊕ Device status, such as:
/dev/dsk/s1u0p7.3 mounted as /usr2 FFS
-l gsdevice Lists the selected device's entire flaw list in cylinder,
head, and offset format.
-v [-n] [-c count] gsdevice
Performs a verification pass on the selected gsdevice. The
verification pass confirms that all ECC and data fields
correspond. A start time and expected completion time are
displayed for most drives along with bad blocks found during
the process. The following verify options are available:
-c count Specifies the number of verification passes to be
performed.
-n Specifies that any bad blocks found during the
verification pass should only be reported (not
reallocated).
DESCRIPTIONS
The utdisk command displays disk information and performs disk maintenance
on any disk device. The utdisk command can format, verify, list flaws,
2 Intergraph Corporation - 2/94
utdisk(8) CLIX utdisk(8)
add and remove flaws, and report general disk information. Most of the
operations that can be performed with utdisk can also be performed using
the Disk Maintenance Utility (DMU) or the Utility Pages.
EXAMPLES
1. The following example lists information on the device specified:
utdisk -i /dev/gs/s1u0
2. The following example performs a full format on the device specified:
utdisk -f /dev/gs/s1u0
3. The following example verifies the device specified:
utdisk -v /dev/gs/s1u0
4. The following example lists the selected device's entire flaw list in
cylinder, head, and offset format:
utdisk -l /dev/gs/s1u0
NOTES
Only the superuser has permission to use the utdisk command.
CAUTIONS
⊕ Some of the procedures that can be performed with utdisk cause data to
be destroyed.
⊕ Unmount all file systems before you attempt to format or verify with
reallocation.
EXIT VALUES
The utdisk command exits with a value of 0 when successful. Otherwise, it
exits with a non-zero value.
RELATED INFORMATION
Commands: dmu(8)
Intergraph System and Network Administrator's Guide
2/94 - Intergraph Corporation 3