From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fdcc35c07fe57e13 X-Google-Attributes: gidfee84,public From: heimann@ecs.umass.edu Subject: RE: vrestore error with multitape archive Date: 1998/09/24 Message-ID: <6uehke$dfg$1@odo.ecs.umass.edu>#1/1 X-Deja-AN: 394535878 References: ,<6ueaoe$g6n@milo.mcs.anl.gov> X-Complaints-To: usenet@odo.ecs.umass.edu X-Trace: odo.ecs.umass.edu 906676686 13808 128.119.91.5 (24 Sep 1998 22:38:06 GMT) Organization: Engineering Computer Services NNTP-Posting-Date: 24 Sep 1998 22:38:06 GMT Newsgroups: comp.unix.osf.osf1 In Article <6ueaoe$g6n@milo.mcs.anl.gov> potterveld@axmep1.phy.anl.gov () writes: > >I need help using vrestore to restore files from a vdump operation that >spanned multiple tapes. > >I have some large ADVFS filesets (on an LSM volume) that I backup to 8mm >tape using vdump. The filesets are large enough to span several 8mm tapes. >This seems to be supported: vdump prompts for me to load tape 2, tape 3, etc. >as it proceeds. > >Today I tried to retrieve a file from this set of tapes. I loaded the first >tape, and gave the command "vrestore -i -f /dev/nrmt0h". I selected the files >I wanted restored, and gave the "extract" command. Vrestore read through >the first tape, and then prompted me: > >vrestore: Change Tapes: Mount tape# 0002 >vrestore: Press RETURN when tape is mounted... > >I did this, and got the error messages > >vrestore: can't open device file ; [13] Permission denied >vrestore: do you want to retry? y >vrestore: Press RETURN when tape is mounted... >vrestore: can't open device file ; [13] Permission denied >vrestore: do you want to retry? > >etc. This happens consistently on any multi-tape archive written with vdump. >Does anyone know how to get vrestore to handle multiple tapes? I tried the >obvious thing of starting vrestore with the second tape, and it gagged. This one I recognize from experiencing the same restoring from DAT cartridges. I expect like any experienced user of tapes that you have engaged the write lock on the tape so it will not get written over accidentally if left in the drive. Well, there is a bug(feature?) in either the vrestore code or the tape interface code that causes the open of the second and succeeding tapes to fail if the write lock is on. Load the continuation tapes without write protection and the open will work. This problem was there in 4.0b, and is still there on the 4.0d systems here. I reported it to the sysadmin here some time back, I have not heard that there was a fix for this yet. If anyone knows of a pertinent patch or update, I would like to know of it. Joe Heimann heimann@ecs.umass.edu Senior Computer Operator College of Engineering Engineering Computer Services University of Massachusetts /Amherst