Bacula-users

Re: [Bacula-users] Using HP Storageworks 1/8 G2 with Bacula

2010-06-14 01:28:50
Subject: Re: [Bacula-users] Using HP Storageworks 1/8 G2 with Bacula
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 14 Jun 2010 05:24:13 +0000 (UTC)
Am Sun, 13 Jun 2010 18:49:37 -0300 schrieb Daniel Bareiro:

>> > did you try backports kernel 2.6.32 ? (www.backports.org)
> 
>> I finish installing 2.6.32 of backports to test:
> 
>> backup:~# uname -a
>> Linux backup 2.6.32-bpo.5-686 #1 SMP Fri Jun 11 22:20:29 UTC 2010 i686
>> GNU/Linux
>> 
>> backup:~# lsscsi
>> [2:0:0:0]    cd/dvd  Optiarc  DVD RW AD-7190A  1.05  /dev/sr0 [5:0:0:0]
>>    disk    ATA      ST3160211AS      3.AA  /dev/sda
>> 
>> 
>> It draws attention to me that in this case does it not have /proc/scsi:
>> 
>> 
>> backup:~# ls -l /proc/scsi/*
>> ls: cannot access /proc/scsi/*: No such file or directory
>> 


i've found this about the cciss driver in the kernel documents:


Additionally, note that the driver will not engage the SCSI core at init 
time.  The driver must be directed to dynamically engage the SCSI core 
via the /proc filesystem entry which the "block" side of the driver creates 
as /proc/driver/cciss/cciss* at runtime.  This is because at driver init 
time, the SCSI core may not yet be initialized (because the driver is a block 
driver) and attempting to register it with the SCSI core in such a case 
would cause a hang.  This is best done via an initialization script 
(typically in /etc/init.d, but could vary depending on distribution). 
For example:

for x in /proc/driver/cciss/cciss[0-9]*
do
    echo "engage scsi" > $x
done

(http://www.mjmwired.net/kernel/Documentation/cciss.txt)

- Thomas



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users