[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar fails in script
From: |
Joe Miazga |
Subject: |
[Bug-tar] tar fails in script |
Date: |
Wed, 29 Dec 2004 16:39:35 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
I recently downloaded version 1.15.1 and tried it in this simple script:
#!/bin/bash
mtx -f /dev/sg0 unload
mtx -f /dev/sg0 load 2
echo "In slot2"
cd /home/rlxsbr1/h/DCS/2004/09/09/flight004/
sleep 5
/usr/local/bin/tar cvf /dev/st0 pass068
it works fine from the command line but when I try to run it in the
script I get the following error
Unloading Data Transfer Element into Storage Element 1...done
In slot1
./pass068/
./pass068/SBR_.0468L0000.hh00.hydra
/usr/local/bin/tar: /dev/st0: Cannot write: Input/output error
/usr/local/bin/tar: Error is not recoverable: exiting now
The previous tar version gave me the following errors
Unloading Data Transfer Element into Storage Element 2...done
In slot2
pass068/
pass068/SBR_.0468L0000.hh00.hydra
tar: /dev/st0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
I'm using redhat ent 3 and the /home/rlxsbr1/h/DCS/2004/09/09/flight004
is a NFS mount point.
Is this a bug?
Thanks
Joe Miazga
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] tar fails in script,
Joe Miazga <=