The status of ndmp client is good, but when it try to write on the tape i receive an error, i think on a rewind operation.
20-May 13:40 bareos-dir JobId 93: Using Device "ULTRIUM-TD4-Drive-1" to write.
20-May 13:40 bareos-dir JobId 93: Opening tape drive FOCE-AJPE-ODCE-CCHM-MIHE-KFGO-DGLC-OHBI@/vol/SoftwareESG read/write
20-May 13:40 bareos-sd JobId 93: 3304 Issuing autochanger "load slot 11, drive 0" command.
20-May 13:40 bareos-sd JobId 93: 3305 Autochanger "load slot 11, drive 0", status is OK.
20-May 13:40 bareos-sd JobId 93: Volume "024D000A" previously written, moving to end of data.
20-May 13:40 bareos-sd JobId 93: Ready to append to end of Volume "024D000A" at file=1.
20-May 13:40 bareos-dir JobId 93: Commanding tape drive to rewind
20-May 13:40 bareos-dir JobId 93: ERR NDMP4_DATA_CONNECT NDMP4_CONNECT_ERR
20-May 13:40 bareos-dir JobId 93: Waiting for operation to halt
20-May 13:40 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:40 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:40 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:41 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:41 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:41 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:41 bareos-dir JobId 93: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
20-May 13:41 bareos-dir JobId 93: Commanding tape drive to NDMP9_MTIO_EOF 2 times
20-May 13:41 bareos-dir JobId 93: Commanding tape drive to rewind
20-May 13:41 bareos-dir JobId 93: Closing tape drive FOCE-AJPE-ODCE-CCHM-MIHE-KFGO-DGLC-OHBI@/vol/SoftwareESG
20-May 13:41 bareos-dir JobId 93: Operation did not halt, something wrong
20-May 13:41 bareos-dir JobId 93: Operation halted, stopping
20-May 13:41 bareos-dir JobId 93: Operation ended in failure
20-May 13:41 bareos-dir JobId 93: ERR NDMP4_DATA_STOP NDMP4_ILLEGAL_STATE_ERR
Do you think that this problem is in configuration or in some incompatibility beetween bareos and tape drive via ndmp?
Thanks a lot.
Alessandro
Marco thank you for your answer. In effect there was a problem of routing beetwen sd and appliance. I resolved it with a static route on the filer. Thank so much also for your great work.
Best Regards
--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/VH-1LbQg76o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To post to this group, send email to bareos...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
03-Dec 15:22 bareos-dir JobId 22: Start NDMP Backup JobId 22, Job=backup-nas01.2019-12-03_15.22.42_29
03-Dec 15:22 bareos-dir JobId 22: Connected Storage daemon at diufnas26:9103, encryption: PSK-AES256-CBC-SHA
03-Dec 15:22 bareos-dir JobId 22: Using Device "FileStorage0" to write.
03-Dec 15:22 bareos-dir JobId 22: Opening tape drive GNJE-LCBA-DGDP-LFAG-DBHO-MDKC-EMBP-EGEA@/export/gitlab/repositories%0 read/write
03-Dec 15:22 bareos-sd JobId 22: Volume "Full-0003" previously written, moving to end of data.
03-Dec 15:22 bareos-sd JobId 22: Ready to append to end of Volume "Full-0003" size=14641775228
03-Dec 15:22 bareos-dir JobId 22: Commanding tape drive to rewind
03-Dec 15:25 bareos-dir JobId 22: ERR NDMP4_DATA_CONNECT NDMP4_CONNECT_ERR
03-Dec 15:25 bareos-dir JobId 22: Waiting for operation to halt
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_ABORT NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-dir JobId 22: Commanding tape drive to NDMP9_MTIO_EOF 2 times
03-Dec 15:26 bareos-dir JobId 22: Commanding tape drive to rewind
03-Dec 15:26 bareos-dir JobId 22: Closing tape drive GNJE-LCBA-DGDP-LFAG-DBHO-MDKC-EMBP-EGEA@/export/gitlab/repositories%0
03-Dec 15:26 bareos-dir JobId 22: Operation did not halt, something wrong
03-Dec 15:26 bareos-dir JobId 22: Operation halted, stopping
03-Dec 15:26 bareos-dir JobId 22: Operation ended in failure
03-Dec 15:26 bareos-dir JobId 22: ERR NDMP4_DATA_STOP NDMP4_ILLEGAL_STATE_ERR
03-Dec 15:26 bareos-sd JobId 22: Elapsed time=00:03:29, Transfer rate=0 Bytes/second
03-Dec 15:26 bareos-sd JobId 22: Releasing device "FileStorage0" (/export/backup).
03-Dec 15:26 bareos-dir JobId 22: Error: Bareos bareos-dir 18.2.5 (30Jan19):
root@diufnas26:/etc/bareos/etc/bareos# netstat -lntp | grep bareos-sd
tcp 0 0 0.0.0.0:9103 0.0.0.0:* LISTEN 58332/bareos-sd
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 58332/bareos-sd