manpages.info - online man pages   

SunOS man pages : diskscan (1)

Maintenance Commands                                 diskscan(1M)

NAME

diskscan - perform surface analysis

SYNOPSIS

diskscan [ -W ] [ -n ] [ -y ] raw_device

DESCRIPTION

diskscan is used by the system administrator to perform sur- face analysis on a portion of a hard disk. The disk portion may be a raw partition or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and errors reported on stan- dard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a file and later fed into addbadsec(1M), which will remap them.

OPTIONS

The following options are supported: -n Causes diskscan to suppress linefeeds when printing progress information on standard out. -W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked with caution. -y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when -W is used.

OPERANDS

The following operands are supported: raw_device The address of the disk drive (see FILES).

FILES

The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(1M) for an explanation of SCSI and IDE device naming conventions.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: SunOS 5.8 Last change: 24 Feb 1998 1 Maintenance Commands diskscan(1M) ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Architecture | IA | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|

SEE ALSO

addbadsec(1M), disks(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5)

NOTES

The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, addbadsec(1M), fdisk(1M), and fmthard(1M) commands available for IA. To format an IDE disk, use the DOS format utility; however, to label, analyze, or repair IDE disks on IA systems, use the Solaris format(1M) utility. SunOS 5.8 Last change: 24 Feb 1998 2