table of contents
mktape(1) | User Commands | mktape(1) |
NAME¶
mktape - Utility to create new/blank virtual media for the VTL.
SYNOPSIS¶
mktape -h
mktape REQUIRED_PARAMS [OPTIONS] ...
DESCRIPTION¶
Create and initialise new media for the Virtual Tape Library. Media is created in the /var/lib/mhvtl directory by default. This can be over-ridden using the 'Home directory:' setting in device.conf.
OPTIONS¶
Options are from:
- -h
- display this help and exit
- -V
- Print version information and exit
- -v
- Be verbose
- -D
- Enter debugging mode (much each output)
- -C config-dir
- Use config-dir instead of the default of /etc/mhvtl.
Required options are:
- -l n
- Where n is the library index number (default library index numbers 10 & 30). The 'Home directory:' entry for the library specified is used as parent directory for media created. If the library index number does not exist, then a subdir under /var/lib/mhvtl/<n> is created and virtual media created in this directory. For example "mktape -l 20 -m ABC123 -s 1024 -t data -d LTO3" will create a virtual media ABC123 in /var/lib/mhvtl/20/ if no library index 20 defined in device.conf.
- -m PCL
- where PCL is the Physical Cartridge Label (barcode).
- -s size
- where size is the capacity of the virtual media - Size is defined in 'megabytes'.
- -t type
- The media type which can be: data, WORM (Write Once Read Many), clean (cleaning cartridge) or NULL for media which does not save data.
The NULL is a special media type used primarily to test performance with disk writes kept to a minimum. Note: Metadata (512bytes per data block) is still written.
- -d density
- Media density. Can be one of LTO1, LTO2, LTO3, LTO4, LTO5, LTO6, LTO7, LTO8, LTO9, SDLT1, SDLT2, SDLT3, SDLT4, AIT1, AIT2, AIT3, AIT4, T10KA, T10KB, T10KC, 9840A, 9840B, 9840C, 9840D, 9940A, 9940B, J1A, E05 and E06.
The J1A, E05 and E06 media densities refer to the IBM 03592 media types.
AUTHOR¶
Written by Mark Harvey
BUGS¶
Needs to be made user friendly.
REPORTING BUGS¶
Report bugs to <markh794@gmail.com> <mark.harvey@nutanix.com>.
COPYRIGHT¶
Copyright © 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
SEE ALSO¶
make_vtl_media(1), library_contents(5), vtlcmd(1), vtllibrary(1), vtltape(1), edit_tape(1), generate_device_conf(1), generate_library_contents(1)
October 2024 | mhvtl 1.71_release+26.3f767890cdb2_release |