Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Problem with "dump" on Digital UNIX
@ 1997-06-11  4:00 Brian Tobin
  1997-06-12  4:00 ` Jack Patteeuw
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Brian Tobin @ 1997-06-11  4:00 UTC (permalink / raw)



A previous SysAdmin made a "dump" script for backups on out Digital UNIX
machine.

I'm very new to Digital UNIX (Well, UNIX in general) and I can't quite
figure out what I am doing wrong.

The script, is simple:

dump -0uf /dev/nrmt0h /
dump -0uf /dev/nrmt0h /usr
dump -0uf /dev/rmt0h  /var

--------

Now, I get an error when running this script as follows:

webserv> dump.com
dump: Dumping from host [hostname deleted]
dump: Date of this level 0 dump: Wed Jun 11 16:56:42 1997 EDT
dump: Date of last level 0 dump: the start of the epoch
dump: Dumping /dev/rrz0a (/) to /dev/nrmt0h
dump: Mapping (Pass I) [regular files]
dump: Mapping (Pass II) [directories]
dump: Cannot open device file /dev/nrmt0h
dump: NEEDS ATTENTION: Do you want to retry the open?: ("yes" or "no")

---------

Everything is connected, apparently working as it should.  Now, when doing
a "file /dev/rmt0h", here is what I get:

webserv> file /dev/rmt0h
/dev/rmt0h:     character special (9/6146) SCSI #0 TZ86 tape #2 (SCSI ID #6) (SC
SI LUN #0) offline

------

The "offline" is what gets me.  I'm sure there is a simple solution to
this.  But, I really need some help.  I have not done a backup in almost a
month, and I'm getting worried!  Thanks...

-BT



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with "dump" on Digital UNIX
  1997-06-11  4:00 Problem with "dump" on Digital UNIX Brian Tobin
                   ` (2 preceding siblings ...)
  1997-06-12  4:00 ` Ron
@ 1997-06-12  4:00 ` James Youngman
  3 siblings, 0 replies; 5+ messages in thread
From: James Youngman @ 1997-06-12  4:00 UTC (permalink / raw)
  To: Brian Tobin


btobin@iga.com (Brian Tobin) writes:

> Everything is connected, apparently working as it should.  Now, when doing
> a "file /dev/rmt0h", here is what I get:
> 
> webserv> file /dev/rmt0h
> /dev/rmt0h:     character special (9/6146) SCSI #0 TZ86 tape #2 (SCSI ID #6) (SC
> SI LUN #0) offline
> 
> ------
> 
> The "offline" is what gets me.  I'm sure there is a simple solution to
> this.  But, I really need some help.  I have not done a backup in almost a
> month, and I'm getting worried!  Thanks...

Well, is that the right device?   Does

TAPE=/dev/rmt0h
export TAPE
mt status 

agree with the above?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with "dump" on Digital UNIX
  1997-06-11  4:00 Problem with "dump" on Digital UNIX Brian Tobin
  1997-06-12  4:00 ` Jack Patteeuw
@ 1997-06-12  4:00 ` Brian Tobin
  1997-06-12  4:00 ` Ron
  1997-06-12  4:00 ` James Youngman
  3 siblings, 0 replies; 5+ messages in thread
From: Brian Tobin @ 1997-06-12  4:00 UTC (permalink / raw)



In article <btobin-1106971654200001@ig_mc_blt.iga.com>, btobin@iga.com
(Brian Tobin) wrote:

Well, I was correct, there was a simple solution.  Thanks to all that sent
me personal email for this problem.  

I was making a simple and stupid mistake.  I was trying to mount the tape
via the "mount" command, not the correct command, "mt".  

After playing with the switches on the mt command, I was successful in
mounting the device and the backup/dump was successfull.

Thanks again, all...

> The "offline" is what gets me.  I'm sure there is a simple solution to
> this.  But, I really need some help.  I have not done a backup in almost a
> month, and I'm getting worried!  Thanks...
> 
> -BT



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with "dump" on Digital UNIX
  1997-06-11  4:00 Problem with "dump" on Digital UNIX Brian Tobin
  1997-06-12  4:00 ` Jack Patteeuw
  1997-06-12  4:00 ` Brian Tobin
@ 1997-06-12  4:00 ` Ron
  1997-06-12  4:00 ` James Youngman
  3 siblings, 0 replies; 5+ messages in thread
From: Ron @ 1997-06-12  4:00 UTC (permalink / raw)
  To: Brian Tobin


Brian Tobin wrote:
> 
> A previous SysAdmin made a "dump" script for backups on out Digital UNIX
> machine.
> 
> I'm very new to Digital UNIX (Well, UNIX in general) and I can't quite
> figure out what I am doing wrong.
> 
> The script, is simple:
> 
> dump -0uf /dev/nrmt0h /
> dump -0uf /dev/nrmt0h /usr
> dump -0uf /dev/rmt0h  /var
> 
> --------
> 
> Now, I get an error when running this script as follows:
> 
> webserv> dump.com
> dump: Dumping from host [hostname deleted]
> dump: Date of this level 0 dump: Wed Jun 11 16:56:42 1997 EDT
> dump: Date of last level 0 dump: the start of the epoch
> dump: Dumping /dev/rrz0a (/) to /dev/nrmt0h
> dump: Mapping (Pass I) [regular files]
> dump: Mapping (Pass II) [directories]
> dump: Cannot open device file /dev/nrmt0h
> dump: NEEDS ATTENTION: Do you want to retry the open?: ("yes" or "no")

Maybe your cassette was write protected ?

Ron.
> 
> ---------
> 
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with "dump" on Digital UNIX
  1997-06-11  4:00 Problem with "dump" on Digital UNIX Brian Tobin
@ 1997-06-12  4:00 ` Jack Patteeuw
  1997-06-12  4:00 ` Brian Tobin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Jack Patteeuw @ 1997-06-12  4:00 UTC (permalink / raw)



btobin@iga.com (Brian Tobin) writes:
>A previous SysAdmin made a "dump" script for backups on out Digital UNIX
>machine.
>
>I'm very new to Digital UNIX (Well, UNIX in general) and I can't quite
>figure out what I am doing wrong.
>
>The script, is simple:
>
>dump -0uf /dev/nrmt0h /
>dump -0uf /dev/nrmt0h /usr
>dump -0uf /dev/rmt0h  /var
>
>--------
>
>Now, I get an error when running this script as follows:
>
>webserv> dump.com
>dump: Dumping from host [hostname deleted]
>dump: Date of this level 0 dump: Wed Jun 11 16:56:42 1997 EDT
>dump: Date of last level 0 dump: the start of the epoch
>dump: Dumping /dev/rrz0a (/) to /dev/nrmt0h
>dump: Mapping (Pass I) [regular files]
>dump: Mapping (Pass II) [directories]
>dump: Cannot open device file /dev/nrmt0h
>dump: NEEDS ATTENTION: Do you want to retry the open?: ("yes" or "no")
>
>---------
>
>Everything is connected, apparently working as it should.  Now, when doing
>a "file /dev/rmt0h", here is what I get:
>
>webserv> file /dev/rmt0h
>/dev/rmt0h:     character special (9/6146) SCSI #0 TZ86 tape #2 (SCSI ID #6) (SC
>SI LUN #0) offline
>
>------
>
>The "offline" is what gets me.  I'm sure there is a simple solution to
>this.  But, I really need some help.  I have not done a backup in almost a
>month, and I'm getting worried!  Thanks...
>
>-BT

You did a file on /dev/rmt0h but you are actually writing to /dev/nrmt0h. 
What does file /dev/nrmt0h say ?

I would rm /dev/rmt0? /dev/nrmt0? and then user /dev/MAKEDEV to remake
those devices and try that script again.  If your a rookie, read man
MAKEDEV.

Jack Patteeuw

My opinions are my own and not my employer's, my wife's, or my children !

"I used to do VMS,                Stolen from a good friend:
 Now I do Unix;                   "A mind is like a parachute ...
 It's a living"                      It only works when it is open !"



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-06-12  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-11  4:00 Problem with "dump" on Digital UNIX Brian Tobin
1997-06-12  4:00 ` Jack Patteeuw
1997-06-12  4:00 ` Brian Tobin
1997-06-12  4:00 ` Ron
1997-06-12  4:00 ` James Youngman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox