1diskscan(1M)            System Administration Commands            diskscan(1M)
2
3
4

NAME

6       diskscan - perform surface analysis
7

SYNOPSIS

9       diskscan [-W] [-n] [-y] raw_device
10
11

DESCRIPTION

13       diskscan  is used by the system administrator to perform surface analy‐
14       sis on a portion of a hard disk. The disk portion may be a  raw  parti‐
15       tion  or slice; it is identified using its raw device name. By default,
16       the specified portion of the disk is read (non-destructive) and  errors
17       reported  on  standard error. In addition, a progress report is printed
18       on standard out. The list of bad blocks should be saved in a  file  and
19       later fed into addbadsec(1M), which will remap them.
20

OPTIONS

22       The following options are supported:
23
24       -n    Causes   diskscan  to  suppress  linefeeds when printing progress
25             information on standard out.
26
27
28       -W    Causes diskscan to perform write and read surface analysis.  This
29             type  of  surface  analysis  is destructive and should be invoked
30             with caution.
31
32
33       -y    Causes  diskscan to suppress the warning regarding destruction of
34             existing data that is issued when  -W is used.
35
36

OPERANDS

38       The following operands are supported:
39
40       raw_device    The address of the disk drive (see FILES).
41
42

FILES

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

ATTRIBUTES

48       See attributes(5) for descriptions of the following attributes:
49
50
51
52
53       ┌─────────────────────────────┬─────────────────────────────┐
54       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │Architecture                 │x86                          │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │Availability                 │SUNWcsu                      │
59       └─────────────────────────────┴─────────────────────────────┘
60

SEE ALSO

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

NOTES

66       The  format(1M)  utility  is  available  to format, label, analyze, and
67       repair SCSI disks. This utility is included with the diskscan,  addbad‐
68       sec(1M), fdisk(1M), and fmthard(1M) commands available for x86. To for‐
69       mat an IDE disk, use the  DOS format utility; however, to  label,  ana‐
70       lyze,  or  repair  IDE disks on x86 systems, use the Solaris format(1M)
71       utility.
72
73
74
75SunOS 5.11                        24 Feb 1998                     diskscan(1M)
Impressum