Re: [Bacula-users] Autoloaders
Did RHEL correctly detected you scsi board or did you changed the /etc/modprobe.conf? Which kernel version are you using? Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: According to the Hardware browser the PV-124T is located on /dev/sg3 but there is no sg3 under /dev..well there is no sg and when I try to access /dev/sg3 it just says no such device any ideas? When I ls /proc/scsi I get the following: aic79xx/ device_info scsi Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 16:58 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders weird...:P do you have graphic interface? run the harware browser (hwbroswer on the command line) take a look on a screenshot I send as attachment. You should see you tape loader under the system devices. As you ca seen in the picture mine is on /dev/sg5. If doesn't work or if you don't have access to the harware browser let me see what you have on /proc/scsi (ls /proc/scsi ) Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: When I run the script the following error occurs: /dev/sg* cannot open SCSI device '/dev/sg*' - No such file or directory -- In the /proc/scsi/scsi : Host: scsi0 Channel: 00 Id: 08 Lun: 00 Vendor: DP Model: BACKPLANERev: 1.00 Type: EnclosureANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC 5/i Rev: 1.00 Type: Direct-AccessANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 05 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi1 Channel: 00 Id: 05 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 The board is a Adaptec 39160 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 15:26 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders First you need to be sure that you have the PV-124T correctly connected. I bought my PV-124T with a adaptec board scsi with it. First be sure that the board is recognized by linux. I didn't understand you message quite well. Does your cat /proc/scsi/scsi is something like this? Attached devices: Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x2 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 01 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x4 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: MegaRAID Model: LD 1 RAID1 286G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 15 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 15 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 Notice the 2 last scsi hosts. If you can get this, then your loader is correctly recognized. And If so, you can run the code i sent you on my previous message, in a bash console. If not, then probably the tapeloader isn't correctly recognized. What scsi board is your tapeloader connected to? Tell me what you got. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: If I cat /proc/scsi/scsi the dell has an entry for the PV
Re: [Bacula-users] Autoloaders
We have a 2.6 Kernel and running RHEL 4, we installed the sg3 utils, ran the modprobe sg and everything, but there is no sg under /dev. If I run the hardware browser I can see the PV-124T as /dev/sg3 and the LTO device as /dev/sg2, the backplane as /dev/sg0 and the scsi adapter as /dev/sg1 but like I said nothing under /dev with sg. You know what I'm to re-install, we got the server pre-installed and people messed with the machine prior to me loading Bacula. Thanks for the help I appreciated it. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 13 September, 2006 11:55 To: Janco van der Merwe Cc: Bacula Users Subject: Re: [Bacula-users] Autoloaders Did RHEL correctly detected you scsi board or did you changed the /etc/modprobe.conf? Which kernel version are you using? Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: According to the Hardware browser the PV-124T is located on /dev/sg3 but there is no sg3 under /dev..well there is no sg and when I try to access /dev/sg3 it just says no such device any ideas? When I ls /proc/scsi I get the following: aic79xx/ device_info scsi Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 16:58 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders weird...:P do you have graphic interface? run the harware browser (hwbroswer on the command line) take a look on a screenshot I send as attachment. You should see you tape loader under the system devices. As you ca seen in the picture mine is on /dev/sg5. If doesn't work or if you don't have access to the harware browser let me see what you have on /proc/scsi (ls /proc/scsi ) Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: When I run the script the following error occurs: /dev/sg* cannot open SCSI device '/dev/sg*' - No such file or directory -- In the /proc/scsi/scsi : Host: scsi0 Channel: 00 Id: 08 Lun: 00 Vendor: DP Model: BACKPLANERev: 1.00 Type: EnclosureANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC 5/i Rev: 1.00 Type: Direct-AccessANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 05 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi1 Channel: 00 Id: 05 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 The board is a Adaptec 39160 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 15:26 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders First you need to be sure that you have the PV-124T correctly connected. I bought my PV-124T with a adaptec board scsi with it. First be sure that the board is recognized by linux. I didn't understand you message quite well. Does your cat /proc/scsi/scsi is something like this? Attached devices: Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x2 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 01 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x4 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: MegaRAID Model: LD 1 RAID1 286G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 15 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 15 Lun: 01 Vendor: DELL Model: PV-124T Rev
[Bacula-users] Autoloaders
Hi, Im going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I dont know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I dont know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
On Tuesday 12 September 2006 14:16, Janco van der Merwe wrote: Hi, I'm going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I don't know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Have you read the Autochanger chapter of the manual? It tells you how to figure it out by looking at /proc/... Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
Shit..sorry, I missed that Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 14:22 To: bacula-users@lists.sourceforge.net Cc: Janco van der Merwe Subject: Re: [Bacula-users] Autoloaders On Tuesday 12 September 2006 14:16, Janco van der Merwe wrote: Hi, I'm going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I don't know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Have you read the Autochanger chapter of the manual? It tells you how to figure it out by looking at /proc/... Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
Hi, I have an IBM LTO3 3581 autoloader on SuSE and the device to access the autoloader is /dev/sg2 st*, nst* are for the tape drive using a driver. The sg devices are raw scsi, accessible without any driver, so I can access the autoloader this way: /dev/sg1: Drive /dev/sg2: Autoloader Try these commands to get information: cat /proc/scsi/sg/device_strs sg_scan -i scsiinfo -i /dev/sg2 scsiinfo -i /dev/sg1 Good luck! El Martes, 12 de Septiembre de 2006 09:16, Janco van der Merwe escribió: Hi, I'm going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I don't know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. -- Cristóbal Sabroe Yde [EMAIL PROTECTED] Tel.++54 358 4676183 Universidad Nacional de Río Cuarto Soporte Técnico - Centro de Cómputos Ruta 36 km. 601 X5804BYA - Río Cuarto, Córdoba Argentina - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
Hi, Janco Try this: #!/bin/sh (for i in /dev/sg*; do echo $i; mtx -f $i inquiry 21; echo --; done) \ | less Assuming is connected correctly, this will give you which /dev/sg* is you loader in. search in the results something like this: /dev/sg5 Product Type: Medium Changer Vendor ID: 'DELL ' Product ID: 'PV-124T ' Revision: '0031' Attached Changer: No Mine is on /dev/sg5, Yours may not. If you get this, tell me. I can help you with the rest. I have also a 124T on a rhel. Jaime Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: Hi, I’m going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don’t know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I don’t know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
First you need to be sure that you have the PV-124T correctly connected. I bought my PV-124T with a adaptec board scsi with it. First be sure that the board is recognized by linux. I didn't understand you message quite well. Does your cat /proc/scsi/scsi is something like this? Attached devices: Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x2 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 01 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x4 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: MegaRAID Model: LD 1 RAID1 286G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 15 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 15 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 Notice the 2 last scsi hosts. If you can get this, then your loader is correctly recognized. And If so, you can run the code i sent you on my previous message, in a bash console. If not, then probably the tapeloader isn't correctly recognized. What scsi board is your tapeloader connected to? Tell me what you got. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: If I cat /proc/scsi/scsi the dell has an entry for the PV-124T but there is no /dev/sg* Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 14:36 To: Janco van der Merwe Cc: Bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Autoloaders Hi, Janco Try this: #!/bin/sh (for i in /dev/sg*; do echo $i; mtx -f $i inquiry 21; echo --; done) \ | less Assuming is connected correctly, this will give you which /dev/sg* is you loader in. search in the results something like this: /dev/sg5 Product Type: Medium Changer Vendor ID: 'DELL ' Product ID: 'PV-124T ' Revision: '0031' Attached Changer: No Mine is on /dev/sg5, Yours may not. If you get this, tell me. I can help you with the rest. I have also a 124T on a rhel. Jaime Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: Hi, I’m going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don’t know what device the autoloader is specified in /dev. I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At least I know what the difference between nst0 and st0 is but I don’t know which one of the rest is the autoloader ??? The best thing is I just got to grips with Bacula and the AIT and now I have to do everything over again but this time on RHEL 4 and the Dell Autoloader, at least Bacula is easy but the hardware through a curve ball. HELP??? Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete
Re: [Bacula-users] Autoloaders
My Powervault works with these settings : # # An autochanger device with two drives # Autochanger { Name = Autochanger Device = Drive-0 # Device = Drive-2 Changer Command = /root/bacula/bin/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = Drive-0 # Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes # # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } The autochanger is at /dev/sg2 I had some difficulty using the /dev/sg* when I first started. I have other issues but the Powervault is recognized. I am running RedHat Fedora Core 3 John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Jaime Ventura [EMAIL PROTECTED] 09/12/06 10:57 AM weird...:P do you have graphic interface? run the harware browser (hwbroswer on the command line) take a look on a screenshot I send as attachment. You should see you tape loader under the system devices. As you ca seen in the picture mine is on /dev/sg5. If doesn't work or if you don't have access to the harware browser let me see what you have on /proc/scsi (ls /proc/scsi ) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autoloaders
According to the Hardware browser the PV-124T is located on /dev/sg3 but there is no sg3 under /dev..well there is no sg and when I try to access /dev/sg3 it just says no such device any ideas? When I ls /proc/scsi I get the following: aic79xx/ device_info scsi Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 16:58 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders weird...:P do you have graphic interface? run the harware browser (hwbroswer on the command line) take a look on a screenshot I send as attachment. You should see you tape loader under the system devices. As you ca seen in the picture mine is on /dev/sg5. If doesn't work or if you don't have access to the harware browser let me see what you have on /proc/scsi (ls /proc/scsi ) Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: When I run the script the following error occurs: /dev/sg* cannot open SCSI device '/dev/sg*' - No such file or directory -- In the /proc/scsi/scsi : Host: scsi0 Channel: 00 Id: 08 Lun: 00 Vendor: DP Model: BACKPLANERev: 1.00 Type: EnclosureANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC 5/i Rev: 1.00 Type: Direct-AccessANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 05 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi1 Channel: 00 Id: 05 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 The board is a Adaptec 39160 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 15:26 To: Janco van der Merwe;Bacula Users Subject: Re: [Bacula-users] Autoloaders First you need to be sure that you have the PV-124T correctly connected. I bought my PV-124T with a adaptec board scsi with it. First be sure that the board is recognized by linux. I didn't understand you message quite well. Does your cat /proc/scsi/scsi is something like this? Attached devices: Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x2 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 01 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x4 SCSI BP Rev: 1.0 Type: ProcessorANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: MegaRAID Model: LD 1 RAID1 286G Rev: 521S Type: Direct-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 15 Lun: 00 Vendor: IBM Model: ULTRIUM-TD3 Rev: 5BG2 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 15 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 Notice the 2 last scsi hosts. If you can get this, then your loader is correctly recognized. And If so, you can run the code i sent you on my previous message, in a bash console. If not, then probably the tapeloader isn't correctly recognized. What scsi board is your tapeloader connected to? Tell me what you got. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Janco van der Merwe wrote: If I cat /proc/scsi/scsi the dell has an entry for the PV-124T but there is no /dev/sg* Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Jaime Ventura [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 14:36 To: Janco van der Merwe Cc: Bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Autoloaders Hi, Janco Try this: #!/bin/sh (for i in /dev/sg*; do echo $i; mtx -f $i inquiry 21; echo