On Thu, 2006-02-09 at 16:35 -0500, Matt Morgan wrote: > On 2/9/06, Gérard Milmeister <gemi@xxxxxxxxxx> wrote: > > There has been some time since I last use the DAT tape. > > When I try to write some data using star I get the following > > error: > > star: Invalid argument. Error writing '/dev/nst0' > > > > tar gives a similar error. /dev/st0 does not work either. > > However mt seems to work as usual. > > The kernel is 2.6.14-1.1656_FC4. > > Some time ago everything worked perfectly. > > Have you tried a cleaning tape? > > Have you tried a fresh, new, DDS tape? > > Maybe the drive is dirty, or maybe the tape is bad, or both. Problem solved. I set the blocksize to 0 (variable) using 'mt setblk 0' and then it worked. I have no idea how the blocksize got changed since I used the same commandline and the same tape as before. -- Gérard Milmeister Langackerstrasse 49 CH-8057 Zürich