I can run with success the command within a script.
The user I run flexbackup is root.

I try this using a server with flexbackup working:

#mt -f /dev/nst0 rewind
#dd of=/dev/nst0 if=/tmp/provadd bs=64k
903+1 records in
903+1 records out
59228160 bytes (59 MB) copied, 4.80392 seconds, 12.3 MB
#mt -f /dev/nst0 rewind
#dd if=/dev/nst0 of=/tmp/provadd2 bs=64k
903+1 records in
903+1 records out
59228160 bytes (59 MB) copied, 0.629151 seconds, 94.1 MB/s
#ls -l /tmp/provadd*
-rw-r--r-- 1 root root 59228160 Mar 15 17:29 /tmp/provadd
-rw-r--r-- 1 root root 59228160 Mar 15 17:49 /tmp/provadd2
#mt -f /dev/nst0 rewind
#dd of=/dev/nst0 if=/tmp/provadd bs=64k3327+1 records in
3327+1 records out
218046464 bytes (218 MB) copied, 4.72744 s, 46.1 MB/s
#mt -f /dev/nst0 rewind
#dd if=/dev/nst0 of=/tmp/provadd2 bs=64k
dd: reading `/dev/nst0': Input/output error
dd: closing input file `/dev/nst0': Input/output error

May be a hardware problem?



Making the same commands on the server with flexbackup not working:





TeckniX wrote:
> can you run the same command within a script and see if you get any 
> errors?
> It could be that only your user has read/write to the device?
>
> On Tue, Mar 15, 2011 at 7:31 AM, Michele Cerioni <mich...@protocol.it 
> <mailto:mich...@protocol.it>> wrote:
>
>     Hi,
>     I'm in trouble with a 920 internal SAS Hp.
>     I installed several flexbackup since 2003 with several hardware device
>     (DAT scsi/usb, Ultrium2/3/4 , sony ait).
>     Now I have some problem with this Hp.
>
>     With each configuration I have the sam error:
>      writing to `/dev/nst0': Input/output error
>
>     using tar o afio, compression o not compression.
>
>     The mystery is that using the same command used by flexbackup I
>     haven't
>     error.
>     For example if I try to execute this command from shell I have not
>     problem:
>
>     cd "/tmp" && /tmp/collectexit.2376.sh <http://collectexit.2376.sh>
>     find . -depth -xdev ! -type s
>     -print0 | /tmp/collectexit.2376.sh <http://collectexit.2376.sh>
>     tar --create --null --files-from=-
>     --ignore-failed-read --same-permissions --no-recursion --totals
>     --label
>     "level 0 /tmp Tue Mar 15 12:21:18 2011 tar from server" --verbose
>     --sparse -b 64 --file - | /tmp/collectexit.2376.sh
>     <http://collectexit.2376.sh> dd ibs=32k obs=32k
>     conv=noerror,sync of="/dev/nst0"
>
>     While using flexbackup I have this error :
>     dd: writing to `/dev/nst0': Input/output error
>     dd: closing output file `/dev/nst0': Input/output error
>
>     Could someone help me?
>     Thanks
>     Michele
>
>
>     
> ------------------------------------------------------------------------------
>     Colocation vs. Managed Hosting
>     A question and answer guide to determining the best fit
>     for your organization - today and in the future.
>     http://p.sf.net/sfu/internap-sfd2d
>     _______________________________________________
>     flexbackup-help mailing list
>     flexbackup-help@lists.sourceforge.net
>     <mailto:flexbackup-help@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/flexbackup-help
>
>


-- 


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to