Re: [Bacula-users] HP msl5030 misfunctions ...
2009-03-04 03:32:49
Hi Michael and thanks for fast answer... Hi all....
I hope you're right. But these are results of my tests:
# lsscsi [0:0:0:0] mediumx COMPAQ MSL5000 Series 0423 - [0:0:0:1] tape HP Ultrium 1-SCSI E38W /dev/st0 [0:0:0:2] storage HP NS E1200-160 530b -
# mtx -f /dev/sg0 status Storage Changer /dev/sg0:2 Drives, 30 Slots ( 1 Import/Export ) Data Transfer Element 0:Full (Storage Element 4 Loaded):VolumeTag = TFW546L2 Data Transfer Element 1:Full (Storage Element 3 Loaded):VolumeTag = TFW559L2 Storage Element 1:Empty Storage Element 2:Full :VolumeTag=TFW539L2 Storage Element 3:Empty Storage Element 4:Empty Storage Element 5:Full :VolumeTag=TFW605L2 Storage Element 6:Full :VolumeTag=TFW537L2 Storage Element 7:Full :VolumeTag=TFW550L2 Storage Element 8:Full :VolumeTag=TFW564L2 Storage Element 9:Full :VolumeTag=TFW552L2 Storage Element 10:Full :VolumeTag=TFW560L2 Storage Element 11:Full :VolumeTag=TFW565L2 Storage Element 12:Full :VolumeTag=TFW536L2 Storage Element 13:Full :VolumeTag=TFW549L2 Storage Element 14:Full :VolumeTag=TFW562L2 Storage Element 15:Full :VolumeTag=TFW563L2 Storage Element 16:Full :VolumeTag=TFW547L2 Storage Element 17:Full :VolumeTag=TFW540L2 Storage Element 18:Full :VolumeTag=TFW554L2 Storage Element 19:Full :VolumeTag=TFW561L2 Storage Element 20:Full :VolumeTag=TFW555L2 Storage Element 21:Full :VolumeTag=TFW558L2 Storage Element 22:Full :VolumeTag=TFW566L2 Storage Element 23:Full :VolumeTag=TFW556L2 Storage Element 24:Full :VolumeTag=TFW567L2 Storage Element 25:Full :VolumeTag=TFW568L2 Storage Element 26:Full :VolumeTag=TFW557L2 Storage Element 27:Full :VolumeTag=TFW551L2 Storage Element 28:Full :VolumeTag=TFW553L2 Storage Element 29:Full :VolumeTag=EPP993L1 Storage Element 30 IMPORT/EXPORT:Full :VolumeTag=CLNU01L1
# mtx -f /dev/sg1 status mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no 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: Additional Sense Code = 24 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: Field in Error = 05 mtx: Request Sense: BPV=yes mtx: Request Sense: Error in CDB=yes mtx: Request Sense: SKSV=yes mtx: Request Sense: Field Pointer = 00 02 Mode sense (0x1A) for Page 0x1D failed mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no 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: 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
# mtx -f /dev/sg2 status mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no 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: Additional Sense Code = 24 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no Mode sense (0x1A) for Page 0x1D failed mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no 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: 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
Some other suggestions ? Thanks a lot anyway...
> Date: Tue, 3 Mar 2009 20:32:56 -0500 > From: mgx AT ornl DOT gov > Subject: Re: [Bacula-users] HP msl5030 misfunctions ... > To: mum_laris AT hotmail DOT com > CC: bacula-users AT lists.sourceforge DOT net > > On Tue, Mar 03, 2009 at 10:29:24PM +0000, mimmo lariccia wrote: > > > > Hi all. > > Sorry for annoying with another "strange" request, but... > > It's making me fool! > > > > Using: > > - Centos 5.2 Final > > - bacula 2.4.2 > > - I'm not able to make any kind of "manage" of autochanger, but btape test works perfectly (after I've loaded the drive manually with mtx-changer); also an "update slots" gives me an answer as: > > 3999 Device "Autochanger" not found or could not be opened. > > > > Of course backup on FileStorage works perfectly... > > > > >From my point of view may be strange that linux detect only a /dev/nst0 instead of 2 LTO1 drives into TapeLibrary, but it's not first time I see a Hp msl "kind" library, works with only a drive, instead two or more... > > > > ls /dev > > -> > > [...] > > /dev/sg0 > > /dev/sg1 > > /dev/sg2 > > [...] > > /dev/nst0 > > [...] > > > > bacula-sd.conf > > > > Autochanger { > > Name = HPMSL5030 > > Device = Drive1 > > Changer Device = /dev/sg0 > > Changer Command = /usr/lib/bacula/mtx-changer %c %o %S %a %d > > } > > > > Device { > > Name = Drive1 > > Device Type = Tape > > Media Type = Ultrium1 > > Archive Device = /dev/nst0 > > Removable Media = yes > > Random Access = no > > } > > > > Can anyone help me please? > > Thanks... > > > > clearly /dev/sg0 is not your changer device. have a look at lsscsi and then test with mtx to see what device is your changer. mine: > > krait:~ # lsscsi > [0:0:0:0] disk ATA ST980813AS 3.AA /dev/sda > [1:0:0:0] disk ATA ST980813AS 3.AA /dev/sdb > [6:0:2:0] tape HP Ultrium 4-SCSI U26W /dev/st0 > [6:0:2:1] mediumx HP MSL G3 Series 6.30 - > [6:0:3:0] tape HP Ultrium 4-SCSI U26W /dev/st1 > [7:0:0:0] disk Adaptec Device 0 V1.0 /dev/sdc > > and /dev/sg3 is my changer > > krait:~ # mtx -f /dev/sg3 status > Storage Changer /dev/sg3:2 Drives, 48 Slots ( 0 Import/Export ) > Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = BR0728L4 > Data Transfer Element 1:Empty > Storage Element 1:Full :VolumeTag=BR0729L4 > Storage Element 2:Full :VolumeTag=BR0725L4 > Storage Element 3:Empty > Storage Element 4:Full :VolumeTag=BR0727L4 > .... etc > > -- michael > > > > > > > _________________________________________________________________ > > Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! > > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > > -Strategies to boost innovation and cut costs with open source participation > > -Receive a $600 discount off the registration fee with the source code: SFAD > > http://p.sf.net/sfu/XcvMzF8H > > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users AT lists.sourceforge DOT net > > https://lists.sourceforge.net/lists/listinfo/bacula-users >
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
|
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|