Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 21:29:31 -0800
From:      Alan Batie <alan@agora.rdrop.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Writing to tape gets Invalid Argument
Message-ID:  <20001102212931.A2641@agora.rdrop.com>
In-Reply-To: <20001102224652.B1613@dan.emsphone.com>; from dnelson@emsphone.com on Thu, Nov 02, 2000 at 10:46:52PM -0600
References:  <20001102204405.A880@agora.rdrop.com> <20001102224652.B1613@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 02, 2000 at 10:46:52PM -0600, Dan Nelson wrote:
> The tape driver will usually log a more detailed message to the console
> and /var/log/messages; if you get a "MEDIUM ERROR", it's probably a bad
> tape.

You're right, it did log it; I should have thought of looking there:

Nov  2 11:59:56 agora /kernel: (sa1:ahc0:0:12:0): Invalid request.  Fixed block device requests must be a multiple of 1024 bytes

Except that's bogus.  I'm using tar which normally writes 10K blocks, and
in this last case, I had it writing 1M blocks.

But sure enough:

 16683 tar      CALL  write(0x3,0x8094000,0x11e6)
 16683 tar      RET   write -1 errno 22 Invalid argument

0x11e6 is definitely not blocked however.

tar does have the "--block-compress" option, so I'm trying that now...

Thanks!

-- 
Alan Batie                   ______    www.rdrop.com/users/alan      Me
alan@batie.org               \    /    www.qrd.org         The Triangle
PGPFP DE 3C 29 17 C0 49 7A    \  /     www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9     \/      www.anti-spam.net       NO SPAM!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001102212931.A2641>