Tape Drive problem

2007-12-25 11:20:00

hello Sun Managers.

        Thanks to all for the quick replies. In deed it was the .rhosts

problem. I was using an alias for the local machine on YYY. The .rhosts

would not work correctly with aliases for the

hostnames. I replaced the entry with the complete name of XXX listed

in the /etc/hosts table of YYY.

Thanks to the following people.

        

        Derek Terveer <derek.terveer@ci.stpaul.mn.us>

        Bismark Espinoza <bismark@alta.jpl.nasa.gov>

         Daniel T Pigg <piggd@colltech.com>

         Brion Leary <brion@dia.state.ma.us>

         VRAJAN@CORPORATE.LACELLULAR.com

        Tim Carlson <tim@santafe.edu>

        foster@bial1.ucsd.edu

        Matthew Stier <Matthew.Stier@tddny.fujitsu.com>

                                                         

Thanks again,

Venu.

On Thu, 10 Sep 1998, Venu M Middela wrote:

> Hello Sun Managers,

> I'm trying to backup files of a local disk onto a

> remote tape drive connected to a machine within the same

> subnet as the local machine. I used to do the backups before

> but now i'm unable to write to the tape drive connected remotely.

> When I start the backup script, the message is

>

> backup /dev/dsk/c0t2d0s0 at Thu Sep 10 18:30:04 EDT 1998

> DUMP: Permission denied.

> DUMP: Cannot connect to tape host `YYY'

> DUMP: The ENTIRE dump is aborted.

>

> I have checked on the remote machine's .rhosts file for an

> entry for the local machine. It seems to be ok.

>

>

>

> The backup script is

>

> echo "ufsdump for XXX server (Sparc20)"

> df

> set tapelist0=(/dev/dsk/c0t2d0s0 /dev/dsk/c0t2d0s3 /dev/dsk/c0t0d0s0)

> echo `date`

> echo "Backups for `/usr/ucb/hostname`"

> echo ""

> foreach filesys ($tapelist0)

> echo "backup $filesys at `date`"

> /usr/sbin/ufsdump 0budfs 126 54000 YYY:/dev/nrst8 13000 $filesys

> sleep 30

> echo "$filesys done"

> echo ""

> end

> echo "BACKUP ALL DONE ! at `date` for `/usr/ucb/hostname` "

>

> The script used to work before, but I cant understand what's causing the

> permission denied message to write to the tape drive.

> Any ideas?

>

> Thanks and will summarise.

> Venu.

>

>

Comments

Got something to say?

You must be logged in to post a comment.