|
Hi,
I am new to this vtl tool, and has some questions: 1. Where can I find a detailed configuration guide for mhvtl? For example, the syntax for device.conf, library_contents.xx , how mhvtl search each library_contents.xx? 2. I setup my mhvtl like this: in /etc/mhvtl , I leave device.conf and library_contents.40 and mhvtl.conf there, removing all others: Contents of device.conf like: Library: 40 CHANNEL: 2 TARGET: 00 LUN: 00 Vendor identification: STK Product identification: L700 Product revision level: 0029 Unit serial number: 60000040 NAA: 40:11:22:33:ab:2:00:00 Drive: 41 CHANNEL: 2 TARGET: 00 LUN: 01 Library ID: 40 Slot: 01 Vendor identification: QUANTUM Product identification: DLT-S4 Product revision level: 0A0A Unit serial number: 60000041 NAA: 40:11:22:33:ab:2:00:01 Compression: factor 1 enabled 1 Drive: 42 CHANNEL: 2 TARGET: 00 LUN: 2 Library ID: 40 Slot: 2 Vendor identification: QUANTUM Product identification: DLT-S4 Product revision level: 0A0A Unit serial number: 60000042 NAA: 40:11:22:33:ab:2:00:2 Compression: factor 1 enabled 1 Contents of library_contents.40 like: Drive1: Drive2: MAP 1: MAP 2: MAP 3: MAP 4: MAP 5: Picker 1: Slot 1: QUT001S4 Slot 2: QUT002S4 Slot 3: QUT003S4 Slot 4: QUT004S4 Slot 5: QUT005S4 Slot 6: QUT006S4 Slot 7: QUT007S4 Slot 8: QUT008S4 Slot 9: QUT009S4 Slot 10: QUT010S4 Slot 11: QUT011S4 Slot 12: QUT012S4 Slot 13: QUT013S4 Slot 14: QUT014S4 Slot 15: QUT015S4 Slot 16: QUT016S4 Slot 17: QUT017S4 Slot 18: QUT018S4 Slot 19: QUT019S4 Slot 20: CLN020S4 When I start mhvtl: [root@redhat5 mhvtl]# /etc/init.d/mhvtl stop /etc/init.d/mhvtl: line 179: [: -lt: unary operator expected shutdown of mhvtl Sending exit to 41 Sending exit to 42 Sending exit to 40 [root@redhat5 mhvtl]# /etc/init.d/mhvtl start /etc/init.d/mhvtl: line 179: [: -lt: unary operator expected vtllibrary process PID is 7025 There must be something wrong. When I tried to mount a cartridge, I found: [root@redhat5 mhvtl]# lsscsi -g [0:0:0:0] disk ATA VBOX HARDDISK 1.0 /dev/sda /dev/sg0 [1:2:0:0] mediumx STK L700 0029 - /dev/sg5 [1:2:0:1] tape QUANTUM DLT-S4 0A0A /dev/st0 /dev/sg3 [1:2:0:2] tape QUANTUM DLT-S4 0A0A /dev/st1 /dev/sg4 [root@redhat5 mhvtl]# mtx -f /dev/sg5 status Storage Changer /dev/sg5:2 Drives, 20 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Data Transfer Element 1:Empty Storage Element 1:Full :VolumeTag=QUT001S4 Storage Element 2:Full :VolumeTag=QUT002S4 Storage Element 3:Full :VolumeTag=QUT003S4 Storage Element 4:Full :VolumeTag=QUT004S4 Storage Element 5:Full :VolumeTag=QUT005S4 Storage Element 6:Full :VolumeTag=QUT006S4 Storage Element 7:Full :VolumeTag=QUT007S4 Storage Element 8:Full :VolumeTag=QUT008S4 Storage Element 9:Full :VolumeTag=QUT009S4 Storage Element 10:Full :VolumeTag=QUT010S4 Storage Element 11:Full :VolumeTag=QUT011S4 Storage Element 12:Full :VolumeTag=QUT012S4 Storage Element 13:Full :VolumeTag=QUT013S4 Storage Element 14:Full :VolumeTag=QUT014S4 Storage Element 15:Full :VolumeTag=QUT015S4 Storage Element 16:Full :VolumeTag=QUT016S4 Storage Element 17:Full :VolumeTag=QUT017S4 Storage Element 18:Full :VolumeTag=QUT018S4 Storage Element 19:Full :VolumeTag=QUT019S4 Storage Element 20:Full :VolumeTag=CLN020S4 [root@redhat5 mhvtl]# mtx -f /dev/sg4 load 1 0 mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=yes mtx: Request Sense: Error Code=70 (Current) mtx: Request Sense: Sense Key=Illegal Request mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Residual = 00 00 00 00 mtx: Request Sense: Additional Sense Code = 20 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no READ ELEMENT STATUS Command Failed In NBU, I can't write to any media: 11 17:04:14 - connected; connect time: 0:00:00 11/08/2011 17:04:16 - mounting T001S4 11/08/2011 17:04:20 - Error bptm (pid=6447) error requesting media, TpErrno = Robot operation failed 11/08/2011 17:04:20 - Warning bptm (pid=6447) media id T001S4 load operation reported an error 11/08/2011 17:04:20 - current media T001S4 complete, requesting next media Any 11/08/2011 17:04:27 - granted resource T001S4 11/08/2011 17:04:27 - granted resource QUANTUM.DLT-S4.001 11/08/2011 17:04:27 - granted resource sutest 11/08/2011 17:04:31 - Error bptm (pid=6447) error requesting media, TpErrno = Robot operation failed 11/08/2011 17:04:31 - Warning bptm (pid=6447) media id T001S4 load operation reported an error 11/08/2011 17:04:28 - mounting T001S4 11/08/2011 17:04:32 - current media T001S4 complete, requesting next media Any 11/08/2011 17:04:42 - Error bptm (pid=6447) error requesting media, TpErrno = Robot operation failed 11/08/2011 17:04:42 - Warning bptm (pid=6447) media id T002S4 load operation reported an error 11/08/2011 17:04:38 - granted resource T002S4 11/08/2011 17:04:38 - granted resource QUANTUM.DLT-S4.000 11/08/2011 17:04:38 - granted resource sutest 11/08/2011 17:04:40 - mounting T002S4 11/08/2011 17:04:42 - current media T002S4 complete, requesting next media Any 11/08/2011 17:04:48 - granted resource T002S4 11/08/2011 17:04:48 - granted resource QUANTUM.DLT-S4.001 11/08/2011 17:04:48 - granted resource sutest 11/08/2011 17:04:50 - Error bptm (pid=6447) media manager terminated by parent process 11/08/2011 17:04:53 - end writing Please help me find what's wrong, and how to correct them. Thanks Victor |
|
There is no 'DLT' emulation at the moment. The documentation I have found is very generic and not enough to correctly code to. Try Ait, ultrium, Stk 9x40/T1000 or IBM 03592 As for documentation. Yep, it can do with improving. try 'man' pages, or ask here :) Sent from my iPad On Nov 8, 2011, at 20:14, "victor_mhvtl_2011 [via MHVTL - Linux Virtual Tape Library - CommunityForums]" <[hidden email]> wrote:
|
|
Hi Mark,
Sorry to ask a foolish question: How can I access "man" pages? I tried to man mhvtl or man device.conf, no result. Regards Victor |
| Powered by Nabble | See how NAML generates this page |
