⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radisk.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)radisk.8	3.1	11/24/87.\" to produce output: .\" ditroff \-Tln01 \-t \-man filename | lpr \-n \-Pln &.TH radisk 8.UC 4.SH Nameradisk \- Digital Storage Architecture (DSA) disk maintenance.SH Syntax.B /etc/radisk.sp.B radisk.B \-c .I LBN.I length.I special.RE.br.B radisk.B \-e.I special.br.B radisk.B \-n.I special.br.B radisk.B \-r.I LBN.I special.br.B radisk.B \-s.I LBN.I length.I special.SH Description.NXR "radisk utility".NXR "DSA disk" "managing".NXS "Digital Storage Architecture" "DSA disk"The Digital Storage Architecture (DSA) disk maintenance program.PN radiskprovides the essential functions to manage DSA disk devices. The.PN radiskcommand must be used on unmounted disk partitions to insure correctresults..PPThe .I LBN is a decimal number that represents the logical block number asreported in the errorlog file.  The .I LBN is the actual disk block numberstarting from the beginning of the disk. .PPThe.I length is a decimal number that indicates how many (512 byte) blocks toprocess.  The length specified may be .B \-1 to indicate the last block of the specified partition..PPThe .I special file specified is used with .B \-c, \-e, \-n,  and .B \-r options and indicates an unmounted .B cpartition of a character device special file..SH OptionsThe following options may be set with .PN radisk ..NXR "radisk utility" "options".IP \fB\-c\fR 5  Clears a forced error indicator on the range of specified LBNs.  Theforced error condition indicates that the data in the disk block isbad.  The disk block is good, but the data can not be read withoutgetting an error detection code (EDC) error.  This option will cause theforced error condition to be removed.  After the forced error indicatoris cleared, the EDC error will not be reported nor will the data bemarked as bad.  .IPAll indications that the data is corrupt are lost.  Thedata should be restored either by manual methods or with the .PN restorecommand. The .PN radisk command affects the integrity of the data on a disk and should befollowed by a file system restore if data is affected..IP \fB\-e\fR 5Sets the exclusive access attribute associated with the specified disk.  Thisattribute is provided by multihost controllers to restrict access to a diskto one host.  The .PN radisk command will return a failure status if the disk is already exclusively associated with another host or the underlying controller does not providemultihost support.If the command is issued to a disk that is currently mounted and the command fails,the disk will no longer be online to this host.  For this reason the\f(CW\-e\fR option should not be issued to a disk that is mounted..IP \f(B\-n\fR 5Clears the exclusive access attribute associated with the specified disk.  If the controller provides multihost support and the exclusive access attributeis not set for a particular disk, it would be possible for the disk to be accessed by more than one host.The .PN radisk command will return a failure status if the disk is not currently and exclusivelyassociated with this host or the underlying controller does not providemultihost support..IP \fB\-r\fR 5Replaces a block on the disk specified by LBN. See Restrictions..IP \fB\-s\fR 5Starts a scan for bad blocks on the specified area on a disk. Bad blocksare disk blocks that have data transfer errors to the extent that theycannot be relied on.  When a bad block is found, it is replaced and thebad block's LBN is reported.  The LBN specified with the.PN \-s option can be .B 0 to indicate the first block in the specified partition.  If .B 0is specified, however, the program starts searching from the first block of the partition. The .PN \-s option will accept any valid partition on the disk. This allows anypartition to be scanned without scanning the entire disk and ensuresthat the specified partition is free of bad blocks. As an example,.PN /dev/rra3h indicates the .B h partition of the third logical disk unit..PP.DT.SH DiagnosticsThe.PN radiskcommand generates messages when the user is not privileged, when theLBN is not in the specified partition, and when the length exceeds thesize of the partition..SH RestrictionsYou must be in single-user mode when using the.PN \-c ,.PN \-r ,and.PN \-soptions of the.PN radiskprogram.  If you are in multiuser mode, .PN radiskhangs the system and cannot be killed.  If this happens, you must reboot..PPThe .PN \-r option is supported only with those DSA disks which use host-initiateddynamic bad block replacement. .PPThe.PN \-eand.PN \-noptions are only supported on controllers that provide multi-host support.These options are only supported on HSC Version 5.00 or later..SH See Alsodkio(4), ra(4), sdc(4), chpt(8), mount(8), restore(8).br.I "Guide to System Disk Maintenance"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -