Bacula-users

Re: [Bacula-users] Can't find the tape changer

2010-01-19 16:52:18
Subject: Re: [Bacula-users] Can't find the tape changer
From: Dan Langille <dan AT langille DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 19 Jan 2010 16:50:09 -0500
Henry Yen wrote:
> On Tue, Jan 19, 2010 at 10:01:50AM -0500, Dan Langille wrote:
>> Bugger.  I get none of the above:
>>
>> # lsscsi -g
>> -bash: lsscsi: command not found
> 
> How about sg3_utils, then?  Try:
> 
>    sg_map -i -x


]# sg_map -i -x
/dev/sg0  0 0 8 0  13  DP        BACKPLANE         1.05
/dev/sg1  0 2 0 0  0  /dev/sda  DELL      PERC 5/i          1.03
/dev/sg2  1 0 17 0  13  DELL      MD1000            A.03
/dev/sg3  1 2 0 0  0  /dev/sdb  DELL      PERC 5/E Adapter  1.03
/dev/sg4  1 2 1 0  0  /dev/sdc  DELL      PERC 5/E Adapter  1.03
/dev/sg5  2 0 6 0  1  /dev/nst0  IBM       ULTRIUM-TD3       6B20
/dev/sg6  2 0 6 1  8  DELL      PV-124T           0043


Looks like a number of PERC.  :)


> 
> It is in the CENTOS pools: yum install sg3_utils

Here we are.. me, installing software on Linux... be afraid.  ;)

# yum install sg3_utils
Loading "dellsysidplugin" plugin
Setting up Install Process
Setting up repositories
dell-omsa-indep           100% |=========================| 1.9 kB    00:00
dell-omsa-specific        100% |=========================| 1.9 kB    00:00
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
contrib                   100% |=========================|  951 B    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  71 kB    00:00
sqlite cache needs updating, reading in metadata
dell-omsa-: ################################################## 507/507
primary.xml.gz            100% |=========================|  792 B    00:00
sqlite cache needs updating, reading in metadata
dell-omsa-: ################################################## 1/1
primary.xml.gz            100% |=========================| 164 kB    00:00
sqlite cache needs updating, reading in metadata
update    : ################################################## 514/514
primary.xml.gz            100% |=========================| 715 kB    00:01
sqlite cache needs updating, reading in metadata
base      : ################################################## 1844/1844
primary.xml.gz            100% |=========================|  85 kB    00:00
sqlite cache needs updating, reading in metadata
centosplus: ################################################## 246/246
primary.xml.gz            100% |=========================|  36 kB    00:00
sqlite cache needs updating, reading in metadata
extras    : ################################################## 141/141
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for sg3_utils to pack into transaction set.
sg3_utils-1.22-3.1.x86_64 100% |=========================|  14 kB    00:00
---> Package sg3_utils.x86_64 0:1.22-3.1 set to be updated
--> Running transaction check
--> Processing Dependency: libsgutils.so.1()(64bit) for package: sg3_utils
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for sg3_utils-libs to pack into transaction set.
sg3_utils-libs-1.22-3.1.x 100% |=========================| 3.9 kB    00:00
---> Package sg3_utils-libs.x86_64 0:1.22-3.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
  Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
  sg3_utils               x86_64     1.22-3.1         base 
407 k
Installing for dependencies:
  sg3_utils-libs          x86_64     1.22-3.1         base 
  45 k

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 452 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): sg3_utils-libs-1.2 100% |=========================|  45 kB    00:00
(2/2): sg3_utils-1.22-3.1 100% |=========================| 407 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing: sg3_utils-libs               ######################### [1/2]
   Installing: sg3_utils                    ######################### [2/2]

Installed: sg3_utils.x86_64 0:1.22-3.1
Dependency Installed: sg3_utils-libs.x86_64 0:1.22-3.1
Complete!
#

> and is installable as static binaries.  I could send you a static sg_map,
> if you want (and you trust me enough to run it...).
> 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users