On Tue, May 18, 2010 at 7:53 AM, Gunnarsson, Gunnar
<[email protected]> wrote:
> Tue May 18 13:22:08 2010: amtapetype: Device /dev/rmt/0n error = 'Could not
> seek to file 2 correctly; got 1'
Hmm.. can you send me the syscall trace (truss or strace) of that?
Here's the comment above that error message:
1277 /* double-check that we're on the right fileno, if possible.
This is most
1278 * likely a programming error if it occurs, but could also be
due to a weird
1279 * tape drive or driver (and that would *never* happen, right?) */
1280 got_file = tape_fileno(self->fd);
1281 if (got_file >= 0 && (guint)got_file != file) {
1282 device_set_error(d_self,
1283 vstrallocf(_("Could not seek to file %d
correctly; got %d"),
1284 file, got_file),
1285 DEVICE_STATUS_DEVICE_ERROR);
1286 d_self->file = (guint)got_file;
1287 return NULL;
1288 }
So this might be an odd behavior of the tape device.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com