Bacula-users

[Bacula-users] ioctl MTWEOF error - Powervault 124T - btape fill

2009-06-26 04:01:45
Subject: [Bacula-users] ioctl MTWEOF error - Powervault 124T - btape fill
From: jlyle <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 25 Jun 2009 16:09:47 -0400
Hi, my first post!

I have a Dell Powervault 124T and I believe a Certance Tape drive (LTO-2), the 
Server is running Gentoo with Kernel 2.6.29-gentoo-r5 and Bacula 2.4.1-r1.

Below is the latter part of a btape fill single tape, which ends in a MTWEOF 
error, I assume this is something I need to fix up! However I'm not sure what 
to do I have read the documentation and made several config changes. Any help 
greatly appreciated.

[color=darkred]Wrote blk_block=6210000, dev_blk_num=2000 VolBytes=3,175,408,128 
rate=3185.0 KB/s
Wrote blk_block=6215000, dev_blk_num=7000 VolBytes=3,177,968,128 rate=3187.5 
KB/s
Wrote blk_block=6220000, dev_blk_num=12000 VolBytes=3,180,528,128 rate=3186.9 
KB/s
Wrote blk_block=6225000, dev_blk_num=17000 VolBytes=3,183,088,128 rate=3189.5 
KB/s
Wrote blk_block=6230000, dev_blk_num=22000 VolBytes=3,185,648,128 rate=3192.0 
KB/s
Wrote blk_block=6235000, dev_blk_num=27000 VolBytes=3,188,208,128 rate=3191.4 
KB/s
Wrote blk_block=6240000, dev_blk_num=32000 VolBytes=3,190,768,128 rate=3194.0 
KB/s
13:17:29 Flush block, write EOF
25-Jun 13:29 btape JobId 0: Error: block.c:568 Write error at 195:32000 on 
device "124T-Drive" (/dev/st0). ERR=Input/output error.
25-Jun 13:29 btape JobId 0: Error: Error writing final EOF to tape. This Volume 
may not be readable.
dev.c:1681 ioctl MTWEOF error on "124T-Drive" (/dev/st0). ERR=Input/output 
error.
btape: btape.c:2349 Last block at: 195:32000 this_dev_block_num=32000
btape: btape.c:2383 End of tape 195:32000. VolumeCapacity=3,190,768,128. Write 
rate = 1886.9 KB/s
Wrote blk_block=6240000, dev_blk_num=32000 VolBytes=3,190,768,128 rate=1886.9 
KB/s
13:29:01 Flush block, write EOF
25-Jun 13:29 btape JobId 0: Fatal error: Cannot write block. Device at EOM.
btape: btape.c:2349 Last block at: 195:32000 this_dev_block_num=32000
btape: btape.c:2383 End of tape 195:32000. VolumeCapacity=3,190,768,128. Write 
rate = 1886.9 KB/s
25-Jun 13:29 btape: Fatal Error at dev.c:1663 because:
dev.c:1662 Attempt to WEOF on non-appendable Volume
Done writing 0 records ...
Wrote state file last_block_num1=32000 last_block_num2=0


13:29:01 Done filling tape at 195:32000. Now beginning re-read of tape ...
25-Jun 13:31 btape JobId 0: acquire.c:215 Job 0 canceled.
acquire.c:215 Job 0 canceled.
*ioctl MTWEOF errorioctl MTWEOF error
btape: btape.c:2581 "ioctl MTWEOF errorioctl MTWEOF error" is an invalid 
command[/color]

Below is my bacula-sd.conf

[color=darkred]Device {
        Name = 124T-Drive
        Drive Index = 0
        Media Type = LTO-2
        Archive Device = /dev/st0
        AutomaticMount = yes; # when device opened, read it
        AlwaysOpen = yes;
        RemovableMedia = yes;
        RandomAccess = no;
        AutoChanger = yes
        Maximum Open Wait = 300
        Maximum Changer Wait = 300

        minimum block size = 512
        maximum block size = 512

        # requested by btape
#       Hardware End of Medium = No
#       Fast Forward Space File = No
#       BSF at EOM = yes
}

Autochanger {
        Name = 124T-Autochanger
        Device = 124T-Drive
        Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
        Changer Device = /dev/sg1
}
[/color]

Below is the output from dmesg
[color=darkred]
[ 6817.874232] st0: Block limits 1 - 16777215 bytes.
[ 9432.635966] st0: Sense Key : Medium Error [current]
[ 9432.635973] Info fld=0x0
[ 9432.635975] st0: Add. Sense: Write error
[10108.651108] st0: Sense Key : Medium Error [current]
[10108.651114] st0: Add. Sense: Write error
[10108.655221] st0: Sense Key : Medium Error [current]
[10108.655224] st0: Add. Sense: Write error
[10108.659347] st0: Sense Key : Medium Error [current]
[10108.659351] st0: Add. Sense: Write error
[10108.663420] st0: Sense Key : Medium Error [current]
[10108.663423] st0: Add. Sense: Write error
[10108.667506] st0: Sense Key : Medium Error [current]
[10108.667510] st0: Add. Sense: Write error
[/color]

+----------------------------------------------------------------------
|This was sent by jlyle AT bayhouse.hants.sch DOT uk via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT 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>
  • [Bacula-users] ioctl MTWEOF error - Powervault 124T - btape fill, jlyle <=