Bacula-users

Re: [Bacula-users] bacula mount request

2011-02-02 18:32:56
Subject: Re: [Bacula-users] bacula mount request
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
To: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
Date: Wed, 02 Feb 2011 23:29:31 +0000
On 02/02/11 22:16, Jeremiah D. Jester wrote:

Hello,

 

Frequently, bacula jobs stall on a ‘waiting for a mount request’. However, when I do mount the requested tape, it still doesn’t run. Wondering what I’m doing wrong here. Any ideas?


I've just been discussing this with HP, Overland and on the -dev list.

It's come up on this list a few times before, across several brands and technology of tape drive.

It's _also_ come up on a couple of lists for other backup packages.

Use tapeinfo to check the drive's /dev/sg* and see what it responds with

Odds are good that your tape drive has "prevent media removal" set. Try using "mt -f /dev/nst[drive] unlock", then mt eject and see if the tape is released or if you get a i/o error.

A few tape devs have tried to blame scsi reservations but I don't believe bacula uses reservations _and_ I also suspect that if it was the case then 'mt fsf' wouldn't work.

I'm beginning to believe there's some generic problem with the way that most tape drives respond to locking/unlocking requests.

(Interestingly: after using tapeinfo, the PMR seems to have been unlocked.....)

Thanks for your time.

Jeremiah


*status storage

….
Device status:

Autochanger "DELL_124T" with devices:

   "Drive1" (/dev/nst0)

Device "Drive1" (/dev/nst0) open but no Bacula volume is currently mounted.

    Device is BLOCKED waiting for mount of volume "000051L4",

       Pool:        Offsite

       Media type:  LTO4

    Slot 12 is loaded in drive 0.

    Total Bytes Read=0 Blocks Read=0 Bytes/block=0

    Positioned at File=0 Block=0

Device "FileStorage" (/tmp) is not open.

====

 

Used Volume status:

000051L4 on device "Drive1" (/dev/nst0)

    Reader=0 writers=0 devres=1 volinuse=0

====

 

 

*status slots

The defined Storage resources are:

     1: File

     2: Tape

Select Storage resource (1-2): 2

Automatically selected Catalog: MyCatalog

Using Catalog "MyCatalog"

Connecting to Storage daemon Tape at 10.200.1.124:9103 ...

3306 Issuing autochanger "slots" command.

Device "DELL_124T" has 16 slots.

Connecting to Storage daemon Tape at 10.200.1.124:9103 ...

3306 Issuing autochanger "list" command.

Slot |   Volume Name    |   Status  |     Media Type       |      Pool          |

------+------------------+-----------+----------------------+--------------------|

    1 |         000107L4 |    Append |                 LTO4 |            Scratch |

    2 |         000025L4 |  Disabled |                 LTO4 |            Offsite |

    3 |         000053L4 |    Append |                 LTO4 |            Scratch |

    4 |         000124L4 |    Append |                 LTO4 |            Scratch |

    5 |         000122L4 |    Append |                 LTO4 |            Scratch |

    6 |         000123L4 |    Append |                 LTO4 |            Scratch |

    7 |         000125L4 |    Append |                 LTO4 |            Scratch |

    8 |         000126L4 |    Append |                 LTO4 |            Scratch |

    9 |         000127L4 |    Append |                 LTO4 |            Scratch |

   10 |         000128L4 |    Append |                 LTO4 |            Scratch |

   11 |         000043L4 |    Append |                 LTO4 |             Onsite |

   12 |         000051L4 |   Recycle |                 LTO4 |            Offsite |

   13 |         000052L4 |    Append |                 LTO4 |            Scratch |

   14 |         000033L4 |    Append |                 LTO4 |            Scratch |

   15 |         000037L4 |    Append |                 LTO4 |            Scratch |

   16 |         000054L4 |    Append |                 LTO4 |            Scratch |

You have messages.

 

 

Jeremiah Jester
Informatics Specialist

Microbiology – Katze Lab

206-732-6185

 

------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users