ibp_find_drive

Synopsis

ibp_find_drive [-d log_level] [-network_chksum type blocksize] [-disk_chksum type blocksize] [-config ibp.cfg] [-duration duration] [-tcpsize tcpbufsize] [-skip] [-auto] depot1 port1 resource_id1 nthreads ibp_timeout q_len n_alloc alloc_size block_size

Description

This tool is designed to help track down a specific resource in depots without the ability to control a drive’s status LED. This is accomplished by generating activity on the requested drive or all drives except the one given. Output is printed to stdout after every gigabyte is transferred showing the transfer rate and time. The test can be stopped by pressing the <ENTER> key at any time.

Options

-d
Enable minimal debug output
-dd
Enable FULL debug output
-network_chksum type blocksize
Enable network checksumming for transfers. type should be SHA256, SHA512, SHA1, or MD5. blocksize determines how many bytes to send between checksums in kbytes.
-disk_chksum type blocksize
Use block level checksum allocations. type should be NONE, SHA256, SHA512, SHA1, or MD5. If NONE is specified it will force the creation of allocations without checksums. If the option is not specified then the resources default options are used. blocksize determines how many bytes to send between checksums in kbytes.
-config ibp.cfg
Use the IBP configuration defined in given file. nthreads overrides value in config file unless -1.
-phoebus ppath
Use Phoebus protocol for data transfers. The Phoebus path si a comma separated List of phoebus hosts/ports, eg. gateway1/1234,gateway2/4321.
-tcpsize tcpbufsize
Use this value, in KB, for the TCP send/recv buffer sizes.
-duration duration
Allocation duration in sec. Needs to be big enough to last the entire run. The default duration is 900 sec.
-skip
Hit all drives on the depot except the resource given
-auto
Automatically configure nthreads, ibp_timeout, q_len, n_alloc, alloc_size, and block_Size
depot port RID
Depot tuple comprised of the depot hostname, port and resource to use. A RID of 0 lets the depot pick a resource.
nthreads
Max Number of simultaneous threads to use. Use -1 for defaults or value in ibp.cfg
ibp_timeout
Timeout(sec) for each IBP copmmand
q_len
Number of commands queued at any time. Controls how long it takes to stop.
n_alloc
Number of allocations to use
alloc_size
Size of each allocation in KB for sequential and random tests
block_size
Size of each write operation in KB for sequential and random tests

See also

ibp_perf, ibp_test