📄 rzdisk.8
字号:
.TH rzdisk 8 .SH Namerzdisk \- SCSI disk maintenance utility.SH Syntax.B /bin/rzdisk.br.B /bin/rzdisk.B \-c[.I ask].I special.br.B /bin/rzdisk.B \-d[.I bfi|.I sector|.I block].I special.br.B /bin/rzdisk .B \-f [.I vendor|.I known].I special.RE.br.B /bin/rzdisk.B \-g[.I current|.I saved|.I default|.I changeable].I special.br.B /bin/rzdisk.B \-h.br.B /bin/rzdisk.B \-i.I special.br.B /bin/rzdisk.B \-r.I LBN.I special.br.B /bin/rzdisk.B \-s.I LBN.I length.I special.SH Description.NXR "rzdisk utility".NXR "SCSI disk" "managing"The .PN rzdisk utility, a SCSI disk maintenance program, formats a SCSI disk,scans a SCSI disk for bad blocks, and reassigns bad blocks on a SCSI disk..PPThe .I special file argument is a raw device pathname. You must specify an unmountedc partition of a character device special file (for example, .PN /dev/rrz3c). .SH Options.NXR "rzdisk utility" "options".TP.B -cChanges disk parameters..IPIf the.I askargument isn't specified, the disk parameters are set to the default values.When the.I askargument is specified, you are interactively asked about each field marked aschangeable in each page having changeable parameters. In both cases, you areasked whether to save the parameters on disk. If you answer 'yes', theparameters are saved on the disk which also updates the current parameters.Otherwise, only the current parameters are updated. You must save theparameters if you want them to be preserved when the system is power cycled.Also note, the direct-access device format parameters (Page 3) and the rigiddisk drive geometry parameters (Page 4) only get saved after formatting thedrive, regardless of whether you said 'yes' to saving the parameters..TP.B -dReads defect lists from the disk..IPThis option allows you to get defect lists from the disk in either.I bfi(bytes from index),.I sector,or.I block,formats..TP.B -gGets parameters from the disk..IPThis option allows you to get either.I current,.I saved,.I default,or.I changeableparameters from the disk. The program displays the parameters of allpages supported by the drive..IPThe.I changeableparameters are those fields which can be changed. Any field displayedwith a '1' value in it can be changed..IPThe.I defaultparameters are those parameters supplied by the vendor..IPThe.I currentparameters are those parameters which you are currently running with. Theseparameters are setup from the .I savedparameters when the drive is powered on..IPThe.I savedparameters are those parameters which have been saved on the disk. Theseparameters get used each time the drive is powered on..TP.B -fFormats a SCSI hard disk (see Restrictions)..IPSince Digital ships the SCSI disk already formatted, only use this optionif you have encountered a serious problem and must reformat the disk.You can format a disk with the .I vendor (manufacturer) defect listor with the .I known (vendor and grown) defect list. The .I growndefect list contains any blocks that may have been reassignedduring the life of the SCSI disk drive. When formattinga disk, you must specify the raw device pathname..IPThe following example reformats the disk on drive 3 using the knowndefect list:.EX 0/bin/rzdisk \-f known /dev/rrz3c .EE.IPThe \fI-f\fP option with no additional arguments formats a SCSI floppydiskette (see Restrictions). New floppy diskettes are usually notformatted. You need to format each diskette before you can store dataon it..IPThe following example shows how to format a floppy diskette inRX23 drive one:.EX /bin/rzdisk -f /dev/rrzlc.EEThe floppy format operation is interactive. The program.PN rzdiskwill guide you through formatting the diskette..TP.B -iRequests inquiry data from the disk..IPThis option causes the program to dump all inquiry data returned fromthe disk. The information dumped includes the peripheral device type,the device type qualifier, the removable medium field, the versionnumber, vendor identification, product information, and the firmwarerevision level..TP.B -hCalls the HELP menu to the screen..TP.B -rReassigns a bad block on the disk (see Restrictions)..IPWhen reassigning a bad block, you must specify the .I LBN,which is a unique number (decimal notation) that represents the disk blockas reported in the errorlog file, and the raw device pathname..IPThe following example reassigns block 222658 on the c partition of drive 3:.EX 0/bin/rzdisk \-r 222658 /dev/rrz3c .EE.IPThe program.PN rzdiskreads the specified.I LBNprior to reassigning the block. If.PN rzdiskreads valid data from the block, then the block is not actuallybad or the SCSI driver already reassigned the block. In this case,.PN rzdiskasks if the reassignment should be canceled. Answer yes tocancel the reassignment. This prevents double reassignment andreplacement of good blocks. .TP.B -sScans for bad blocks on a specified area of the disk..IPWhen scanning a disk, you must specify the .I LBN,which is a unique number (decimal notation) that represents the disk blockrelative to the start of the partition, the.I length,and the raw device pathname of the partition to scan..IPTo start scanning from the first block of the specified partition, use the number 0 to represent the.I LBN.When the number 0 is specified, the scan starts at the first blockof the specified partition. .IPThe.I lengthis a decimal number that indicates how many 512-byte blocks to scan.To scan up to and including the last block of the specified partition, use the number \-1 to represent the.I length.By specifying the .I length, you define the scope of the scan within the identified partition..IPThe following example scans the first ten blocks of theentire disk (c partition) on drive 3:.EX 0/bin/rzdisk 0 10 \-s /dev/rrz3c.EEThe following example scans the entire disk (\fBc\fP partion) on drive 3:.EX 0/bin/rzdisk 0 -1 \-s /dev/rrz3c.EE.DT.SH DiagnosticsThe.PN rzdiskprogram generates messages when the user is not privileged, when the.I LBNis not in the specified partition, and when the length exceeds thesize of the partition..SH RestrictionsYou must have super-user privileges to run the .PN rzdiskprogram..PPYou should not have to format your system disk..PPThe system should be in single-user mode and the file systems on thedisk should be unmounted when running the.PN rzdiskprogram, except when formatting floppy diskettes. .PPUse the.B \-foption with caution and only if the SCSI hard disk drive seems corrupted.Be aware that when you format a disk, all resident data is destroyed. .PPDigital supports formatting, writing, and reading of High Density(HD) 3.5 inch diskettes in the RX23 and RX26 disk drives, or 5.25 inchdiskettes in the RX33 disk drive..PPDigital supports reading, but not formatting or writing, of DoubleDensity (DD) 3.5 inch diskettes in the RX23 and RX26 disk drivesor 5.25 inch diskettes in the RX33 disk drive. Reliable reading ofDD diskettes requires they be written only on a double density driveand have not been overwritten by an RX23, RX26, RX33, or otherhigh density drive. This restriction occurs because of differencesin the write heads between DD and HD drives. Data written by a DDdrive cannot be completely overwritten by a HD drive..PPThis same restriction applies to the RX33 5.25 inch diskettes when usinglow density (48 TPI - Tracks Per Inch) diskettes. Diskettes overwrittenon different machines may suffer read failures from reduced signal-to-noiseratios. So long as a diskette is formatted and written on a single machine,there should be no problem..PPThe .B \-r option is supported only with those SCSI disks that support the reassignblock command..SH See Alsodkio(4), rz(4), chpt(8), mount(8), restore(8), uerf(8).br\fIGuide to the Error Logger\fP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -