|
|
1.1 root 1: .TH RAREPL 8
2: .CT 1 sa_nonmortals
3: .SH NAME
4: rarepl, rarct \- replace bad blocks on MSCP disks
5: .SH SYNOPSIS
6: .B /etc/rarct
7: [
8: .B -c
9: ]
10: [
11: .B -h
12: ]
13: .I special ...
14: .PP
15: .B /etc/rarepl
16: .I special
17: .I lbn ...
18: .SH DESCRIPTION
19: .I Rarct
20: prints status information
21: about MSCP disk drives
22: like the RA60 and RA81.
23: Normally the replacement table (RCT)
24: is listed,
25: as lines of the form
26: .IP
27: .IB rbn : \0flags : \0lbn
28: .PP
29: where
30: .I rbn
31: is the replacement block number,
32: .I lbn
33: is the logical block number
34: replaced by
35: .IR rbn ,
36: and
37: .I flags
38: are constructed from the following bits:
39: .TP
40: .PD 0
41: .B 01
42: alternate (not primary) replacement block
43: .TP
44: .B 02
45: normal, allocated replacement block
46: .TP
47: .B 04
48: this replacement block is bad
49: .TP
50: .B 010
51: this replacement block does not exist
52: .PD
53: .PP
54: Entries whose
55: .I flags
56: are zero,
57: indicating a good,
58: unused replacement block,
59: are not listed.
60: .PP
61: The options suppress the RCT listing and perform other functions:
62: .TP
63: .B -h
64: Print some header data
65: from the first block of the RCT.
66: The system does not use this information.
67: .TP
68: .B -c
69: Print geometry information for the drive.
70: .PP
71: .I Rarepl
72: causes logical block
73: .I lbn
74: on device
75: .I dev
76: to be marked as bad
77: and replaced.
78: The nearest available replacement block
79: is used.
80: The contents of
81: .I lbn
82: are copied into the replacement block if possible;
83: if
84: .I lbn
85: is unreadable,
86: the replacement block
87: is initialized with zeros.
88: .PP
89: Both programs
90: work only
91: on the raw devices.
92: .I Rarepl
93: should be used only
94: on a device
95: which covers the entire drive
96: (usually partition 7).
97: .SH SEE ALSO
98: .IR ra (4),
99: .IR smash (8)
100: .SH BUGS
101: There are various controller- and drive-dependent anomalies.
102: Some controllers,
103: like the RQDX3,
104: report an RCT
105: but don't allow forwarding.
106: On many controllers,
107: the RCT exists
108: only so programs in the host can look at it;
109: the controller ignores its contents.
110: There is no way to read the controller's `real' forwarding data,
111: only a way to set it for a particular block.
112: Hence if the RCT is corrupted,
113: the disk may still be used,
114: but must be reformatted
115: before additional bad blocks are remapped.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.