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

📄 dskx.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)dskx.8	8.1	9/11/90.TH dskx 8 .SH Namedskx \- generic disk exerciser.SH Syntax.B /usr/field/dskx[.I options.B ] .BI \-r dev.br.B /usr/field/dskx.B [.I options.B ].BI \-p devpart.br.B /usr/field/dskx [.I options.B ].BI \-c dev.SH Description.NXR "dskx exerciser".NXR "disk" "testing"The .PN dskx exerciser tests the disk drives on your system.The exerciser has three main options which includeread only, write/read/validate data on a partition, and write/read/validate data of a disk. .PPThe exerciser does random seeks and reads of random blocksizes and random seeks, writes, reads, and validations of random datapatterns of random block sizes. The exerciser will run until .CT Cor kill \-15 \fIpid\fR is sent to theprocess. .PPA logfile is made in .PN /usr/fieldfor you to examine and then remove. If there are errors in the logfile, make sureyou check the .PN /usr/adm/syserr/syserr.<hostname>file, because that is where thedriver and kernel error messages are saved..PPCAUTION: Both the \fB\-c\fR and \fB\-p\fR options of the.PN dskxexerciser destroy data on the disk.  Use extreme caution beforeusing them on any non-scratch media.  If you are unsure ofwhat data is on the disk, contact your system manager beforerunning.PN dskxwith either of these options..SH Arguments.NXR "dskx exerciser" "arguments"One of the following function flags and arguments must be specified..IP \fB\-r\fIdev\fR 1iPerforms a random read-only test on all partitions except the \fBc\fRpartition.  The \fIdev\fR argument can be a raw or buffereddevice name and number.  For example, rhp0, ra3, hk1..IP \fB\-p\fIdevpart\fR 1iWrites, reads, and validates data from the device name andnumber specified by \fIdev\fR and the partition specifiedby \fIpart\fR.  The \fIdev\fR argument can be a raw orbuffered device name and number.  For example, rhp0, ra3, hk1.The \fIpart\fR argument can be any valid partition from \fBa\fR\- \fBh\fR..IP "" 1iCAUTION:  Be careful when exercising partitions that overlap otherpartitions, as you may inadvertently destroy data on apartition that you do not want to test.  You can use the\fB\-q\fR option of the.MS chpt 8command to see what partitions overlap on the device on yoursystem..IP \fB\-c\fIdev\fR 1iWrites, reads, and validates data from all partitions exceptthe \fBc\fR partition on the device specified by\fIdev\fR.  The \fIdev\fR argument can be a raw or buffereddevice name and number.  For example, rhp0, ra3, hk1..SH Options.NXR "dskx exerciser" "options".PPThe .PN dskxoptions are:.IP \fB\-h\fR 1iPrints help message for the.PN dskx command..IP \fB\-o\fIfile\fR 1iSaves output diagnostics in \fIfile\fR..IP \fB\-t\fIn\fR 1iSpecifies the run time in minutes (\fIn\fR).  Thedefault is to run until the process receivesa.CT Cor \f(CWkill \-15 \fIpid\fR..IP \fB\-d\fIm\fRPrints statistics every \fIm\fR minutes..SH Restrictions If there is a need to run a system exerciser over an NFS link or on a disklesssystem there are some restrictions.  For exercisers that need to write into a filesystem, such as .MS fsx 8 ,the target file system must be writable by root.  Also the directory, in which anyof the exercisers are executed, must be writable by root because temporaryfiles are written into the current directory.  These latter restrictions aresometimes difficult to overcome because often NFS file systems are mounted in away that prevents root from writing into them.  Some of the restrictions may beovercome by copying the exerciser to another directory and then executing it.  .SH Examples.NXR "dskx exerciser" "examples"The following example exercises RA disk unit 1,for 60 minutes in the background:.EX% /usr/field/dskx \-t60 \-cra1 &.EEThe following example exercises raw HP disk unit 0,partition d, until .CT Cor\fBkill \-15 \fIpid\fR:.EX% /usr/field/dskx \-prhp0d.EE.SH See Also.I "Guide to System Exercisers"

⌨️ 快捷键说明

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