Nawfel, you are getting ahead of yourself. Try taking out the min and max like kern suggested.
after you make the changes, load a tape into Tape0 goto your bacula program directory and run btape -c "c:\program files\all users\application data\bacula\bacula-sd.conf" Tape0 enter 'test' at the prompt [EMAIL PROTECTED] wrote: > with or without the Min/Max block size params I get the following > message : > > ilemma009-sd Version: 2.0.3 (06 March 2007) Linux Cross-compile Win32 > Daemon started 26-Mar-07 15:08, 1 Job run since started. > Heap: bytes=18,066 max_bytes=114,757 bufs=80 max_bufs=93 > > Running Jobs: > No Jobs running. > ==== > > Jobs waiting to reserve a drive: > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > =================================================================== > 22 Full 0 0 Error 26-Mar-07 15:04 Client1 > 24 Full 0 0 Error 26-Mar-07 15:10 Client1 > ==== > > Device status: > Autochanger "HPStorageAutochanger" with devices: > "HPStorageTape0" (Tape0) > "HPStorageTape1" (Tape1) > Device "HPStorageTape0" (Tape0) is not open. > Slot 1 is loaded in drive 0. > Device "HPStorageTape1" (Tape1) is not open. > Drive 1 status unknown. > ==== > > In Use Volume status: > ==== > > > when I type "messages " in the bconsole I get the following : (sorry > for the lenth ! and thank you for your interest) > > 23-Mar 03:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting. > Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "HPStorageTape0" (Tape0) > Media type: damnedHPUltriumTape > Pool: Default > 23-Mar 03:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: > ../../lib/message > .c:713 Operator mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00" > Administrato > r > ERR=Unknown error > 23-Mar 05:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting. > Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "HPStorageTape0" (Tape0) > Media type: damnedHPUltriumTape > Pool: Default > 23-Mar 05:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: > ../../lib/message > .c:713 Operator mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00" > Administrato > r > ERR=Unknown error > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > Network err > or with FD during Backup: ERR=Broken pipe > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > No Job stat > us returned from FD. > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: > ../../cats/sql_up > date.c:194 ../../cats/sql_update.c:194 update UPDATE Job SET > JobStatus='f',EndTi > me='2007-03-23 > 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSession > Id=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEndT > ime='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error > updating > job record. ../../cats/sql_update.c:194 update UPDATE Job SET > JobStatus='f',EndT > ime='2007-03-23 > 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSessio > nId=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEnd > Time='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > ../../cats/ > sql_get.c:288 ../../cats/sql_get.c:288 query SELECT > VolSessionId,VolSessionTime, > PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Level,Cli > entId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20 failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error > getting j > ob record for stats: ../../cats/sql_get.c:288 query SELECT > VolSessionId,VolSessi > onTime,PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Le > vel,ClientId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20 > failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > ../../cats/ > sql_get.c:663 ../../cats/sql_get.c:663 query SELECT > ClientId,Name,Uname,AutoPrun > e,FileRetention,JobRetention FROM Client WHERE > Client.Name='ilemma009-fd' failed > : > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error > getting c > lient record for stats: Client record not found in Catalog. > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > ../../cats/ > sql.c:233 ../../cats/sql.c:233 query SELECT count(*) from Media failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: > ../../cats/ > sql_get.c:351 ../../cats/sql_get.c:351 query SELECT > VolumeName,MAX(VolIndex) FRO > M JobMedia,Media WHERE JobMedia.JobId=20 AND > JobMedia.MediaId=Media.MediaId GROU > P BY VolumeName ORDER BY 2 ASC failed: > Can't connect to MySQL server on 'localhost' (10061) > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: Bacula > 2.0.3 (06M > ar07): 23-Mar-2007 18:32:37 > JobId: 20 > Job: Client1.2007-03-23_02.03.00 > Backup Level: Full > Client: "ilemma009-fd" > FileSet: "Test Set" 2007-03-08 23:05:00 > Pool: "Default" (From Job resource) > Storage: "HPTape" (From Job resource) > Scheduled time: 23-Mar-2007 02:03:00 > Start time: 23-Mar-2007 02:03:03 > End time: 23-Mar-2007 18:32:37 > Elapsed time: 16 hours 29 mins 34 secs > Priority: 10 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) > Rate: 0.0 KB/s > Software Compression: None > VSS: no > Encryption: no > Volume name(s): > Volume Session Id: 1 > Volume Session Time: 1174650862 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 4 > SD Errors: 0 > FD termination status: Error > SD termination status: Error > Termination: *** Backup Error *** > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: > ../../lib/message > .c:492 Mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator > ERR=Unknown error > 26-Mar 11:33 ilemma009-dir: Start Backup JobId 21, > Job=Client1.2007-03-26_11.33. > 00 > 26-Mar 11:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. > Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "HPStorageTape0" (Tape0) > Media type: damnedHPUltriumTape > Pool: Default > 26-Mar 11:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: > ../../lib/message > .c:713 Operator mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" > Administrato > r > ERR=Unknown error > 26-Mar 12:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. > Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "HPStorageTape0" (Tape0) > Media type: damnedHPUltriumTape > Pool: Default > 26-Mar 12:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: > ../../lib/message > .c:713 Operator mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" > Administrato > r > ERR=Unknown error > 26-Mar 14:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. > Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "HPStorageTape0" (Tape0) > Media type: damnedHPUltriumTape > Pool: Default > 26-Mar 14:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: > ../../lib/message > .c:713 Operator mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" > Administrato > r > ERR=Unknown error > 26-Mar 15:04 ilemma009-dir: Start Backup JobId 22, > Job=Client1.2007-03-26_15.04. > 00 > 26-Mar 15:04 ilemma009-sd: Failed command: > 26-Mar 15:04 ilemma009-sd: Client1.2007-03-26_15.04.00 Fatal error: > Device "HPStorageAutochanger" with MediaType > "damnedHPUltriumTape" requeste > d by DIR not found in SD Device resources. > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Fatal error: > Storage daemon didn't accept Device "HPStorageAutochanger" because: > 3924 Device "HPStorageAutochanger" not in SD Device resources. > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error: Bacula > 2.0.3 (06M > ar07): 26-Mar-2007 15:04:02 > JobId: 22 > Job: Client1.2007-03-26_15.04.00 > Backup Level: Full > Client: "ilemma009-fd" 2.0.3 (06Mar07) > Linux,Cross-compile,Win > 32 > FileSet: "Test Set" 2007-03-08 23:05:00 > Pool: "Default" (From Job resource) > Storage: "HPTape" (From Job resource) > Scheduled time: 26-Mar-2007 15:04:00 > Start time: 26-Mar-2007 15:04:02 > End time: 26-Mar-2007 15:04:02 > Elapsed time: 0 secs > Priority: 10 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) > Rate: 0.0 KB/s > Software Compression: None > VSS: no > Encryption: no > Volume name(s): > Volume Session Id: 1 > Volume Session Time: 1174921327 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 0 > SD Errors: 0 > FD termination status: > SD termination status: > Termination: *** Backup Error *** > > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:302 Retrying connection using "localhost". > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error: > ../../lib/message > .c:492 Mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator > ERR=Unknown error > 26-Mar 15:07 ilemma009-dir: Start Backup JobId 23, > Job=Client1.2007-03-26_15.07. > 00 > 26-Mar 15:07 ilemma009-sd: Failed command: > 26-Mar 15:07 ilemma009-sd: Client1.2007-03-26_15.07.00 Fatal error: > Device "HPStorageAutochanger" with MediaType > "damnedHPUltriumTape" requeste > d by DIR not found in SD Device resources. > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Fatal error: > Storage daemon didn't accept Device "HPStorageAutochanger" because: > 3924 Device "HPStorageAutochanger" not in SD Device resources. > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error: Bacula > 2.0.3 (06M > ar07): 26-Mar-2007 15:07:02 > JobId: 23 > Job: Client1.2007-03-26_15.07.00 > Backup Level: Full > Client: "ilemma009-fd" 2.0.3 (06Mar07) > Linux,Cross-compile,Win > 32 > FileSet: "Test Set" 2007-03-08 23:05:00 > Pool: "Default" (From Job resource) > Storage: "HPTape" (From Job resource) > Scheduled time: 26-Mar-2007 15:07:00 > Start time: 26-Mar-2007 15:07:02 > End time: 26-Mar-2007 15:07:02 > Elapsed time: 0 secs > Priority: 10 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) > Rate: 0.0 KB/s > Software Compression: None > VSS: no > Encryption: no > Volume name(s): > Volume Session Id: 1 > Volume Session Time: 1174921579 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 0 > SD Errors: 0 > FD termination status: > SD termination status: > Termination: *** Backup Error *** > > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:302 Retrying connection using "localhost". > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error: > ../../lib/message > .c:492 Mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator > ERR=Unknown error > 26-Mar 15:10 ilemma009-dir: Start Backup JobId 24, > Job=Client1.2007-03-26_15.10. > 00 > 26-Mar 15:10 ilemma009-sd: Failed command: > 26-Mar 15:10 ilemma009-sd: Client1.2007-03-26_15.10.00 Fatal error: > Device "HPStorageAutochanger" with MediaType > "damnedHPUltriumTape" requeste > d by DIR not found in SD Device resources. > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Fatal error: > Storage daemon didn't accept Device "HPStorageAutochanger" because: > 3924 Device "HPStorageAutochanger" not in SD Device resources. > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error: Bacula > 2.0.3 (06M > ar07): 26-Mar-2007 15:10:02 > JobId: 24 > Job: Client1.2007-03-26_15.10.00 > Backup Level: Full > Client: "ilemma009-fd" 2.0.3 (06Mar07) > Linux,Cross-compile,Win > 32 > FileSet: "Test Set" 2007-03-08 23:05:00 > Pool: "Default" (From Job resource) > Storage: "HPTape" (From Job resource) > Scheduled time: 26-Mar-2007 15:10:00 > Start time: 26-Mar-2007 15:10:02 > End time: 26-Mar-2007 15:10:02 > Elapsed time: 0 secs > Priority: 10 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) > Rate: 0.0 KB/s > Software Compression: None > VSS: no > Encryption: no > Volume name(s): > Volume Session Id: 1 > Volume Session Time: 1174921699 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 0 > SD Errors: 0 > FD termination status: > SD termination status: > Termination: *** Backup Error *** > > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:302 Retrying connection using "localhost". > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: > ../../tool > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error: > ../../lib/message > .c:492 Mail program terminated in error. > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) > Administrato > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator > ERR=Unknown error > * > > ----- Message d'origine ---- > De : Kern Sibbald <[EMAIL PROTECTED]> > À : bacula-users@lists.sourceforge.net > Cc : Brian Debelius <[EMAIL PROTECTED]>; [EMAIL PROTECTED] > Envoyé le : Lundi, 26 Mars 2007, 14h40mn 00s > Objet : Re: [Bacula-users] Re : Windows::Permission denied > > I don't think that will work. I recommend that you do not put min/max > block > size directives unless you are forced to, and almost certainly Bacula > will > not work with those values, which are what the drive supports but not > approprate for Bacula blocks. > > On Monday 26 March 2007 15:53, Brian Debelius wrote: > > Changes below in bold > > > > > > Device { > > Name = HPStorageTape0 > > Archive Device = Tape0 > > Drive Index = 0 > > Device Type = Tape > > Changer Device = 4:0:5:1 > > Media Type = "*HPUltriumTape*" > > Autochanger = yes > > *LabelMedia = yes > > AutomaticMount = yes* > > Alert Command = "tapeinfo -f %c | findstr TapeAlert" > > Autoselect = yes > > Always Open = *no* > > Removable media = yes > > Random access = no > > Requires Mount = no > > Minimum block size = *1* > > Maximum block size = *16777215* > > } > > > > Device { > > Name = HPStorageTape1 > > Archive Device = Tape1 > > Drive Index = 1 > > Device Type = Tape > > Changer Device = 4:0:5:1 > > Media Type = "*HPUltriumTape*" > > Autochanger = yes > > *LabelMedia = yes > > AutomaticMount = yes* > > Alert Command = "tapeinfo -f %c | findstr TapeAlert" > > Autoselect = yes > > Always Open = *no* > > Removable media = yes > > Random access = no > > Requires Mount = no > > Minimum block size = *1* > > Maximum block size = *16777215* > > > > } > > > > Autochanger { > > Name = HPStorageAutochanger > > Device = HPStorageTape0,HPStorageTape1 > > Changer Command = "mtx-changer %c %o %S %a %d" > > Changer Device = 4:0:5:1 > > # Label media = yes > > # Automatic mount = yes > > } > > [EMAIL PROTECTED] wrote: > > > C:\Program Files\Bacula\bin>tapeinfo -f Tape0 > > > Product Type: Tape Drive > > > Vendor ID: 'HP ' > > > Product ID: 'Ultrium 1-SCSI ' > > > Revision: 'P54W' > > > Attached Changer API: No > > > SerialNumber: 'HU10628AN8' > > > MinBlock:1 > > > MaxBlock:16777215 > > > SCSI ID: 0 > > > SCSI LUN: 0 > > > Ready: no > > > > > > Device { > > > Name = HPStorageTape0Archive Device = Tape0 > > > Device Type = Tape > > > Media Type = "*HPUltriumTape*" > > > Autochanger = yes > > > Changer Device = 4:0:5:1 > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert" > > > > > > Autoselect = yes > > > Always Open = yes > > > Removable media = yes > > > Random access = no > > > Requires Mount = no > > > Minimum block size = 100 > > > Maximum block size = 100 > > > } > > > > > > Device { > > > Name = HPStorageTape1 > > > Archive Device = Tape1 > > > Device Type = Tape > > > Media Type = "damnedHPUltriumTape" > > > Autochanger = yes > > > Changer Device = 4:0:5:1 > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert" > > > Drive Index = 1 > > > Autoselect = yes > > > Always Open = yes > > > Removable media = yes > > > Random access = no > > > Requires Mount = no > > > Minimum block size = 100 > > > Maximum block size = 100 > > > } > > > > > > Autochanger { > > > Name = HPStorageAutochanger > > > Device = HPStorageTape0,HPStorageTape1 > > > Changer Command = "mtx-changer %c %o %S %a %d" > > > Changer Device = 4:0:5:1 > > > # Label media = yes > > > # Automatic mount = yes > > > } > > > > > > > ------------------------------------------------------------------------ > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos > questions ! Profitez des connaissances, des opinions et des > expériences des internautes sur Yahoo! Questions/Réponses > <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users