Re: [Bacula-users] ERR=Cannot allocate memory when mounting a tape from an autochanger.

2006-09-26 Thread Kern Sibbald
On Tuesday 26 September 2006 21:24, John Drescher wrote:
> version
> fileserver-dir Version: 1.38.11 (28 June 2006)
> 
> When at a prompt, entering a period cancels the command.
> 
> run job="dev2-outlook" fileset="Outlook" level=Full client="dev2-fd"
> pool="UserBackup-LTO2" when="2006-09-26 15:17:33" where=""
> storage="DEV6-Changer"Run Backup job
> JobName:  dev2-outlook
> FileSet:  Outlook
> Level:Full
> Client:   dev2-fd
> Storage:  DEV6-Changer
> Pool: UserBackup-LTO2
> When: 2006-09-26 15:17:33
> Priority: 10
> OK to run? (yes/mod/no):
> Job started. JobId=1956
> 26-Sep 15:17 fileserver-dir: Start Backup JobId 1956, Job=
> dev2-outlook.2006-09-26_15.17.35
> 26-Sep 15:14 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:14 dev6-sd: 3302 Autochanger "loaded drive 1", result: nothing
> loaded.
> 26-Sep 15:14 dev6-sd: 3304 Issuing autochanger "load slot 9, drive 1"
> command.
> 26-Sep 15:16 dev6-sd: 3305 Autochanger "load slot 9, drive 1", status is OK.
> 26-Sep 15:16 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:16 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:16 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944
> Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot
> allocate memory.
> 26-Sep 15:16 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944
> Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot
> allocate memory.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944
> Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot
> allocate memory.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944
> Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot
> allocate memory.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944
> Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot
> allocate memory.
> 26-Sep 15:17 dev6-sd: Please mount Volume "A9" on Storage Device
> "LTO2-1" (/dev/nst1) for Job dev2-outlook.2006-09-26_15.17.35
> 
> 
> Any Ideas?

This looks suspiciously like the same kernel bug that is causing the system 
crash during my regression testing.  In an attempt to do better recovery in 
1.39.x I "enhanced", to retry a number of times in 1.39.x.  However, doing so 
causes the crash, so be happy (if you can) that at least your kernel is not 
crashing.

My best guess is that the kernel SCSI driver either cannot get the memory it 
needs or that it has gotten terribly confused about size of the buffers it 
needs.

The error message you are seeing "Cannot allocate memory" comes from the 
kernel (probably the SCSI driver).

What OS and distro/version are you running?

> 
> -- 
> John M. Drescher
> 

-
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


Re: [Bacula-users] ERR=Cannot allocate memory when mounting a tape from an autochanger.

2006-09-26 Thread Arno Lehmann
Hi,

On 9/26/2006 9:24 PM, John Drescher wrote:
...
> Job=dev2-outlook.2006-09-26_15.17.35
> 26-Sep 15:14 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:14 dev6-sd: 3302 Autochanger "loaded drive 1", result: nothing 
> loaded.
> 26-Sep 15:14 dev6-sd: 3304 Issuing autochanger "load slot 9, drive 1" 
> command.
> 26-Sep 15:16 dev6-sd: 3305 Autochanger "load slot 9, drive 1", status is OK.
> 26-Sep 15:16 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
> 26-Sep 15:16 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.
> 26-Sep 15:16 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: 
> block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). 
> ERR=Cannot allocate memory.
...

> Any Ideas?

Yup, that looks as though the tape is blank.

Have you tried btape and the command readlabel on that tape? Also, 'dd | 
od' or whatever flavour of that command you prefer can tell you if the 
tape holds a Bacula label. Then, finally, do you have system log 
messages regarding your tape drive?

Arno

> -- 
> John M. Drescher
> 
> 
> 
> 
> -
> 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

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
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


[Bacula-users] ERR=Cannot allocate memory when mounting a tape from an autochanger.

2006-09-26 Thread John Drescher
versionfileserver-dir Version: 1.38.11 (28 June 2006)When at a prompt, entering a period cancels the command.run job="dev2-outlook" fileset="Outlook" level=Full client="dev2-fd" pool="UserBackup-LTO2" when="2006-09-26 15:17:33" where="" storage="DEV6-Changer"Run Backup job
JobName:  dev2-outlookFileSet:  OutlookLevel:    FullClient:   dev2-fdStorage:  DEV6-ChangerPool: UserBackup-LTO2When: 2006-09-26 15:17:33Priority: 10OK to run? (yes/mod/no): 
Job started. JobId=195626-Sep 15:17 fileserver-dir: Start Backup JobId 1956, Job=dev2-outlook.2006-09-26_15.17.3526-Sep 15:14 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.26-Sep 15:14 dev6-sd: 3302 Autochanger "loaded drive 1", result: nothing loaded.
26-Sep 15:14 dev6-sd: 3304 Issuing autochanger "load slot 9, drive 1" command.26-Sep 15:16 dev6-sd: 3305 Autochanger "load slot 9, drive 1", status is OK.26-Sep 15:16 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
26-Sep 15:16 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:16 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot allocate memory.
26-Sep 15:16 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot allocate memory.
26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot allocate memory.
26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot allocate memory.
26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: 3301 Issuing autochanger "loaded drive 1" command.
26-Sep 15:17 dev6-sd: 3302 Autochanger "loaded drive 1", result is Slot 9.26-Sep 15:17 dev6-sd: dev2-outlook.2006-09-26_15.17.35 Error: block.c:944 Read error at file:blk 0:0 on device "LTO2-1" (/dev/nst1). ERR=Cannot allocate memory.
26-Sep 15:17 dev6-sd: Please mount Volume "A9" on Storage Device "LTO2-1" (/dev/nst1) for Job dev2-outlook.2006-09-26_15.17.35Any Ideas?-- John M. Drescher
-
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