Bacula-users

Re: [Bacula-users] tape not recognized ?

2009-02-03 10:04:15
Subject: Re: [Bacula-users] tape not recognized ?
From: John Drescher <drescherjm AT gmail DOT com>
To: Jean-Max Reymond <jmreymond AT gmail DOT com>
Date: Tue, 3 Feb 2009 10:00:55 -0500
On Tue, Feb 3, 2009 at 9:38 AM, Jean-Max Reymond <jmreymond AT gmail DOT com> 
wrote:
> after a power failure, I have always an error with the slot 7.
> Si, I put a new tape labelled 000017L2 in tha autochanger and according
> to tge documentation, U type umount/update slots/mount and I always have
> an I/O error.
> what's wrong ?
>
> *umount
> The defined Storage resources are:
>      1: Autochanger
>      2: StorageNFS
> Select Storage resource (1-2): .
> Selection aborted, nothing done.
> *umount
> The defined Storage resources are:
>      1: Autochanger
>      2: StorageNFS
> Select Storage resource (1-2): 1
> 3307 Issuing autochanger "unload slot 1, drive 0" command.
> 3002 Device "Drive-1" (/dev/nst0) unmounted.
> *update slots
> The defined Storage resources are:
>      1: Autochanger
>      2: StorageNFS
> Select Storage resource (1-2): 1
> Connecting to Storage daemon Autochanger at images.dracenie.com:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Autochanger" has 16 slots.
> Connecting to Storage daemon Autochanger at images.dracenie.com:9103 ...
> 3306 Issuing autochanger "list" command.
> Catalog record for Volume "000001L2" updated to reference slot 1.
> Catalog record for Volume "000002L2" updated to reference slot 2.
> Catalog record for Volume "000003L2" updated to reference slot 3.
> Catalog record for Volume "000004L2" updated to reference slot 4.
> Catalog record for Volume "000005L2" updated to reference slot 5.
> Catalog record for Volume "000006L2" updated to reference slot 6.
> Volume "000017L2" not found in catalog. Slot=7 InChanger set to zero.
> Catalog record for Volume "000008L2" updated to reference slot 8.
> Catalog record for Volume "000009L2" updated to reference slot 9.
> Catalog record for Volume "000010L2" updated to reference slot 10.
> Catalog record for Volume "000011L2" updated to reference slot 11.
> Catalog record for Volume "000012L2" updated to reference slot 12.
> Catalog record for Volume "000013L2" updated to reference slot 13.
> Catalog record for Volume "000014L2" updated to reference slot 14.
> Catalog record for Volume "000015L2" updated to reference slot 15.
> Catalog record for Volume "000016L2" updated to reference slot 16.
> *mount
> The defined Storage resources are:
>      1: Autochanger
>      2: StorageNFS
> Select Storage resource (1-2): 1
> Enter autochanger slot: 7
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3304 Issuing autochanger "load slot 7, drive 0" command.
> 3305 Autochanger "load slot 7, drive 0", status is OK.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 7.
> block.c:995 Read error on fd=5 at file:blk 0:0 on device "Drive-1"
> (/dev/nst0). ERR=Erreur d'entrée/sortie.
> block.c:995 Read error on fd=5 at file:blk 0:0 on device "Drive-1"
> (/dev/nst0). ERR=Erreur d'entrée/sortie.
> 3902 Cannot mount Volume on Storage Device "Drive-1" (/dev/nst0) because:
> Requested Volume "" on "Drive-1" (/dev/nst0) is not a Bacula labeled
> Volume, because: ERR=block.c:995 Read error on fd=5 at file:blk 0:0 on
> device "Drive-1" (/dev/nst0). ERR=Erreur d'entrée/sortie.
> 3905 Device "Drive-1" (/dev/nst0) open but no Bacula volume is mounted.
> If this is not a blank tape, try unmounting and remounting the Volume.
>
>

The volume is not labeled and there is no data on the volume so the
read will fail because the tape drive will error when you try to read
a blank volume.

Type

label barcodes

from a bacula console.

John

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>