Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* vdump - tapedrive weirdness
@ 1998-12-01  5:00 Joe Hargis
  1998-12-02  5:00 ` Nikola Milutinovic
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joe Hargis @ 1998-12-01  5:00 UTC (permalink / raw)


I have been backing up files with the vdump command, speciffically
"vdump -0 /" or "vdump -0 /usr", or whatever I wanted to dump.  No
problem.

The system I use was (yesterday) upgraded from dunix v4.0b to v4.0d.
The above commands worked fine before the upgrade, and they work fine
on other systems we have that  are running 4.0d.  

Now, I can dump one file system as above, but when I try to dump the
next one, I get the error message "vdump:  device </dev/rmt0h> is
OFFLINE".  I tried several things, but after I finally rebooted the
system, it worked for one dump.  When I tried to do another one I got
the same error message again.

It would be nice to not have to reboot every time I want to dump a
partition.  

Anyone know what I'm doing wrong and how to fix it?

Thanks in advance,
Joe



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

* Re: vdump - tapedrive weirdness
  1998-12-01  5:00 vdump - tapedrive weirdness Joe Hargis
@ 1998-12-02  5:00 ` Nikola Milutinovic
  1998-12-03  5:00 ` Doug Russell
  1998-12-04  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1998-12-02  5:00 UTC (permalink / raw)


Joe Hargis wrote:
> 
> I have been backing up files with the vdump command, speciffically
> "vdump -0 /" or "vdump -0 /usr", or whatever I wanted to dump.  No
> problem.

I use the advised technique with clones on AdvFS. Requires
ADVFS-UTILITIES license.

> The system I use was (yesterday) upgraded from dunix v4.0b to v4.0d.
> The above commands worked fine before the upgrade, and they work fine
> on other systems we have that  are running 4.0d.

Upgrade from 4.0b to 4.0d is dubious, some people had trouble with
existing AdvFS file systems.

> Now, I can dump one file system as above, but when I try to dump the
> next one, I get the error message "vdump:  device </dev/rmt0h> is
> OFFLINE".  I tried several things, but after I finally rebooted the
> system, it worked for one dump.  When I tried to do another one I got
> the same error message again.

Never had anything like it. You didn't say which tape unit you're using.
We have TLZ09 and TLZ07, they all seam to work. Anyway, you could try
"reviving" the tape. Use command "mt online". Or, maybe, during your
upgrade...

Well, I was thinking, /dev/nrmt0h is actually a pointer to a device
entry. Maybe new version of OS, has new entries (unlikely, but...). You
could try to re-create them.

SRV:/# cd /dev
SRV:/# rm *rmt0?
SRV:/# ./MAKEDEV tz5 # Supposing 5 is the SCSI ID of the tape

Nix.



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

* Re: vdump - tapedrive weirdness
  1998-12-01  5:00 vdump - tapedrive weirdness Joe Hargis
  1998-12-02  5:00 ` Nikola Milutinovic
@ 1998-12-03  5:00 ` Doug Russell
  1998-12-04  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 0 replies; 5+ messages in thread
From: Doug Russell @ 1998-12-03  5:00 UTC (permalink / raw)


Joe Hargis wrote:

> I have been backing up files with the vdump command, speciffically
> "vdump -0 /" or "vdump -0 /usr", or whatever I wanted to dump.  No
> problem.
>
> The system I use was (yesterday) upgraded from dunix v4.0b to v4.0d.
> The above commands worked fine before the upgrade, and they work fine
> on other systems we have that  are running 4.0d.
>
> Now, I can dump one file system as above, but when I try to dump the
> next one, I get the error message "vdump:  device </dev/rmt0h> is
> OFFLINE".  I tried several things, but after I finally rebooted the
> system, it worked for one dump.  When I tried to do another one I got
> the same error message again.
>
> It would be nice to not have to reboot every time I want to dump a
> partition.
>
> Anyone know what I'm doing wrong and how to fix it?
>
> Thanks in advance,
> Joe

You are using the rewinding device, /dev/rmt0h. Change your vdump to use
the nonrewinding device /dev/nrmt0h. Your other option is to use the -NU
flags to vdump. This will keep it from rewinding and unloading the tape
when it is done backing up to a rewinding device.




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

* Re: vdump - tapedrive weirdness
  1998-12-01  5:00 vdump - tapedrive weirdness Joe Hargis
  1998-12-02  5:00 ` Nikola Milutinovic
  1998-12-03  5:00 ` Doug Russell
@ 1998-12-04  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1999-01-03  5:00   ` Caprica 7
  2 siblings, 1 reply; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1998-12-04  5:00 UTC (permalink / raw)



In article <36644914.541138875@news.ttu.edu>, ###neujdh@ttuhsc.edu### (Joe Hargis) writes:
>
>I have been backing up files with the vdump command, speciffically
>"vdump -0 /" or "vdump -0 /usr", or whatever I wanted to dump.  No
>problem.
>
>Now, I can dump one file system as above, but when I try to dump the
>next one, I get the error message "vdump:  device </dev/rmt0h> is
>OFFLINE".

To the best of my knowledge (and I've never looked that closely)
vdump has always taken the drive offline at the end of a backup
if you don't use the no-rewind device.  Perhaps before V4.0D it
would attempt to bring it online when starting a backup and that
was changed in V4.0D.  It is a reasonable change, since it prevents
vdump from overwriting a tape without explicit direction from the
operator/system manager.

>Anyone know what I'm doing wrong and how to fix it?

I tried something close to what you're doing one of my post V4.0D
systems and it behaved pretty much as you described.  I got an I/O
error (with no uerf entry) instead of OFFLINE, but it was close
enough for the purpose.  When I tried a "mt -f tape-device online"
it completed and the follow-up vdump worked fine.

It would also probably have been sufficient to cycle the tape out
of the drive and back in to get the same affect.

>Thanks in advance,
>Joe
--
Alan Rollow				alan@nabeth.cxo.dec.com




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

* Re: vdump - tapedrive weirdness
  1998-12-04  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1999-01-03  5:00   ` Caprica 7
  0 siblings, 0 replies; 5+ messages in thread
From: Caprica 7 @ 1999-01-03  5:00 UTC (permalink / raw)


>>, ###neujdh@ttuhsc.edu### (Joe Hargis) writes:
>>
>>I have been backing up files with the vdump command, speciffically
>>"vdump -0 /" or "vdump -0 /usr", or whatever I wanted to dump.  No
>>problem.
>>
>>Now, I can dump one file system as above, but when I try to dump the
>>next one, I get the error message "vdump:  device </dev/rmt0h> is
>>OFFLINE".
>
>To the best of my knowledge (and I've never looked that closely)
>vdump has always taken the drive offline at the end of a backup
>if you don't use the no-rewind device.  Perhaps before V4.0D it
>would attempt to bring it online when starting a backup and that
>was changed in V4.0D.  It is a reasonable change, since it prevents
>vdump from overwriting a tape without explicit direction from the
>operator/system manager.
>
>>Anyone know what I'm doing wrong and how to fix it?
>

Hi, Joe:

That's easy:

...all you have to do is to include the "no-rewind" flag in your vdump
statement. Let's say you want to back up your root and usr domains to one tape
withour running into th rewind problem. The syntax would be (for a full vdump):

"vdump -0N root_domain && vdump -0N usr_domain",  where "N" is the "no-rewind"
flag and the "&&" says "if the root vdump completes succesfully, then proceed
with the usr_domain vdump."

Best Regards,

Mark Ray
Digital UNIX Systems Administrator
S & S Worldwide, Corp.



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

end of thread, other threads:[~1999-01-03  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-01  5:00 vdump - tapedrive weirdness Joe Hargis
1998-12-02  5:00 ` Nikola Milutinovic
1998-12-03  5:00 ` Doug Russell
1998-12-04  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-01-03  5:00   ` Caprica 7

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