Subject: bin/4754: dump loses data trying to write a read-protected tape
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@beverly.rhein.de>
List: netbsd-bugs
Date: 12/29/1997 22:58:52
>Number:         4754
>Category:       bin
>Synopsis:       dump loses data trying to write a read-protected tape
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 29 14:05:01 1997
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	
>Release:        NetBSD-1.3_ALPHA
>Environment:
System: NetBSD jocelyn.rhein.de 1.3_ALPHA NetBSD 1.3_ALPHA (DRACO) #30: Sun Dec 28 19:17:38 MET 1997 is@jocelyn.rhein.de:/build/obj/kernel/DRACO amiga


>Description:
	When dump(8)-ing to a tape drive with a read-protected medium inserted,
	dump reports "End of tape reached" and asks for the next medium.
	However, the 2nd tape is created as "volume 2", making "restore"
	impossible:

	jocelyn% restore -t -f /dev/rst0
	Dump   date: Mon Dec 29 22:48:34 1997
	Dumped from: the epoch
	Level 0 dump of an unlisted file system on jocelyn.rhein.de:/dev/rsd1a
	Label: none
	Tape is not volume 1 of the dump
>How-To-Repeat:
	see above.
>Fix:
	Workaround:

	If you get the offer to change the tapes, abort the dump instead, and
	start anew.
>Audit-Trail:
>Unformatted: