Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-08 Thread Stefan G. Weichinger



I assume the drive has a problem.

btape append test fails ...

dmesg:

[Mi Mai  8 10:18:32 2024] scsi 1:0:7:1: Power-on or device reset occurred
[Mi Mai  8 10:18:32 2024] ch 1:0:7:1: [ch0] reading element address 
assignment page failed!
[Mi Mai  8 10:18:32 2024] ch 1:0:7:1: [ch0] INITIALIZE ELEMENT STATUS, 
may take some time ...

[Mi Mai  8 10:18:32 2024] ch 1:0:7:1: [ch0] ... finished
[Mi Mai  8 10:18:32 2024] ch 1:0:7:1: Attached scsi changer ch0
[Mi Mai  8 10:18:32 2024] ch 1:0:7:1: Attached scsi generic sg8 type 8
[Mi Mai  8 10:18:32 2024]  end_device-1:7: add: handle(0x0009), 
sas_addr(0x50014380271a413e)
[Mi Mai  8 10:33:50 2024] mpt2sas_cm0: log_info(0x31120434): 
originator(PL), code(0x12), sub_code(0x0434)

[Mi Mai  8 10:35:53 2024] st 1:0:7:0: [st0] Block limits 1 - 16777215 bytes.
[Mi Mai  8 10:45:58 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[current]

[Mi Mai  8 10:45:58 2024] st 1:0:7:0: [st0] Add. Sense: Write error
[Mi Mai  8 10:45:58 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[deferred]

[Mi Mai  8 10:45:58 2024] st 1:0:7:0: [st0] Add. Sense: Write error
[Mi Mai  8 10:48:17 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[current]
[Mi Mai  8 10:48:17 2024] st 1:0:7:0: [st0] Add. Sense: Recorded entity 
not found
[Mi Mai  8 10:50:40 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[current]
[Mi Mai  8 10:50:40 2024] st 1:0:7:0: [st0] Add. Sense: Recorded entity 
not found
[Mi Mai  8 10:53:01 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[current]
[Mi Mai  8 10:53:01 2024] st 1:0:7:0: [st0] Add. Sense: Recorded entity 
not found
[Mi Mai  8 10:54:53 2024] st 1:0:7:0: [st0] Sense Key : Medium Error 
[current]
[Mi Mai  8 10:54:53 2024] st 1:0:7:0: [st0] Add. Sense: Recorded entity 
not found



tomorrow a technician checks the library for debris etc ... but he 
doesn't have tape experience. Plus: no fresh tapes at hand, so basically 
it will be the same tests as today more or less.





___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-08 Thread Stefan G. Weichinger



even btape fails

# /opt/bacula/bin/btape /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:298-0 Using device: "/dev/nst0" for writing.
btape: btape.c:477-0 open device "HP-Ultrium" (/dev/nst0): OK
*test

=== Write, rewind, and re-read test ===

I'm going to write 1 records and an EOF
then write 1 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: block.c:303-0 [SE0201] Write error at 0:0 on device "HP-Ultrium" 
(/dev/nst0) Vol=. ERR=Eingabe-/Ausgabefehler.
08-Mai 09:08 btape JobId 0: Error: block.c:303 [SE0201] Write error at 
0:0 on device "HP-Ultrium" (/dev/nst0) Vol=. ERR=Eingabe-/Ausgabefehler.
08-Mai 09:10 btape JobId 0: Error: Error writing final EOF to tape. 
Volume  may not be readable.
tape_dev.c:976 ioctl MTWEOF error on "HP-Ultrium" (/dev/nst0). 
ERR=Eingabe-/Ausgabefehler.

btape: btape.c:1156-0 Error writing block to device.



dmesg reports "Medium Error"

tried to label a tape with Amanda to maybe write data there, labelling 
worked but writing: no


I don't think there's a tape stuck because I can unload and change tapes 
by operating the loader via mtx or bacularis.


Unfortunately they don't have fresh tapes on site.

I tell them to not only reboot the device but turn it off and on again 
... maybe that resets something.


And I let them remove all tapes and check the magazines.





___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users