llverdev.8

来自「lustre 1.6.5 source code」· 8 代码 · 共 104 行

8
104
字号
.\" -*- nroff -*-.\" Copyright 2006 by Cluster FileSystems.  All Rights Reserved..\" Copyright 2008 by Sun Microsystems.  All Rights Reserved..\" This file may be copied under the terms of the GNU Public License, v2..\".TH llverdev 8 "2008 Mar 15" Lustre "configuration utilities".SH NAMEllverdev - verify a block device is functioning properly over its full size.SH SYNOPSIS.BI llverdev.RB [ -c.IR chunksize ].RB [ -f "] [" -h ].RB [ -o.IR offset ].RB [ -l "] [" -p "] [" -r ].RB [ -t.IR timestamp ].RB [ -v "] [" -w ].I device.SH DESCRIPTIONSometimes kernel drivers or hardware devices have bugs that prevent them fromaccessing the full device size correctly, or possibly have bad sectors on diskor other problems which prevent proper data storage.  There are often defectsassociated with major system boundaries such as 2^32 bytes, 2^31 sectors,2^31 blocks, 2^32 blocks, etc..PPThe.B llverdevtool will write and verify a unique test pattern across the entire device inorder to ensure that not only is data accessible after it was written, butalso that data written to one part of the disk is not overwriting data onanother part of the disk..PPIt is expected that llverdev tool will be run on large size devices (TB), so it is always better to run llverdev tool in verbose mode, so that onecan easily restart device testing from the point at which it had stopped. .PPRunning a full verification can be time consuming for very large devices,so it is advisable to start with a partial verification to ensure thedevice is minimally sane before investing the time in a full verification..SH OPTIONS.TP.BR -c | --chunksizeIO chunk size in bytes (default=1048576)..TP.BR -f | --forceforce test to run without confirmation that the device will be overwrittenand all data therein will be permanently destroyed..TP.BR -h | --helpdisplay a brief help message..TP.BI -o offsetoffset in kilobytes of start of test (default=0)..TP.BR -l | --longRun a full check, writing and then reading and verifying every block on thedisk..TP.BR -p | --partialRun a partial check, only doing periodic checks across the device (1GB steps)..TP.BR -r | --readRun test in read (verify) mode only, after having run the test in.B -wmode previously..TP.BI -t timestampSet test start time as printed at the start of a previously interrupted testto ensure that the validation data is the same across the whole filesystem(default=current time()).TP.BR -v | --verboseRun test in verbose mode, listing each read and write operation..TP.BR -w | --writeRun test in write (test-pattern) mode (default run both read and write).SH EXAMPLES.TPRun a partial device verification on \fB/dev/sda\fR:.B llverdev -v -p /dev/sda.brllverdev: permanently overwrite all data on /dev/sda (yes/no)? y.brllverdev: /dev/sda is 4398046511104 bytes (4096.0 GB) in size.brTimestamp: 1009839028.brCurrent write offset:        4096 kB.TPContinue an interrupted verification at offset \fB4096\fRkB from the start of the device, using the same timestamp as the previous run:.B llverdev -f -v -p --offset=4096 --timestamp=1009839028 /dev/sda.brllverdev: /dev/sda is 4398046511104 bytes (4096.0 GB) in size.brTimestamp: 1009839028.brwrite complete.brread complete.SH SEE ALSO.BR llverfs (8)

⌨️ 快捷键说明

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