Transferred from: candon123--http://candon123.blog.51cto.com/704299/388192/
1. Get MHVTL:
Official website: http://mhvtl.nimsa.us
This site is a forum, its software download point in http://sites.google.com/site/linuxvtl2/, the site is not stable, sometimes open, sometimes can not open, I will put the current version of the attachment upload, convenient for you to test.
Note: After downloading the attachment, change the suffix. zip to. tgz.
The current version is mhvtl-2010-09-01.
2. Installation:
Before installing MHVTL, install the following packages:
Then create the VTL User:
Unzip the MHVTL-2010-09-01.TGZ package:
Compile MHVTL:
After the installation is complete, start MHVTL:
If there is no configuration file, the default configuration is generated. View with Lsscsi–g:
The/DEV/SG10 and/dev/sg11 here are robotic.
This default capacity is 500MB, this can be viewed MHVTL configuration file mhvtl.conf:
Capacity=500 means that the default capacity is 500MB.
3. Simple application:
To view the manipulator status:
Load the tape from slot 1th into driver 0:
To view the tape status:
Under test with the tar command, can I write to the file:(Note: The command is more than one parameter "V", the correct command is: tar-cvf/dev/st1/boot)
The write succeeds, the test can read it : (Note: The command is more than one parameter "V", the correct command is: tar-tvf/dev/st1)
OK, read success.
Next Test Rewind:
To unmount a tape:
OK, uninstall succeeded.
For the use of this software in conjunction with other applications, follow-up will be released, please look forward to!
This article is from the "candon123" blog!
[Go] MHVTL installation and application of Virtual tape library