Hi,

I am working on coordinating the AFS backups in our computer lab.  We have
a stacker, but it is locked by our NFS backup software.  My idea was to
dump the afs vols to NFS space where the stacker can pick it up, thus
eliminating the need for manual tape inserting.  I can get the dump to work
on a extra tape drive, but not for dumping to a file.  The tape coordinator
hangs at the beginning of every dump because it tries to label the tape
(file), which it obviously can't.  Can you provide any suggestions?  

Here's a transcript of the session:

afs/backup  ## pwd
/usr/afs/backup
afs/backup  ## cat tapeconfig 
15G 3K /dev/rmt/2hbn 0
15G 3K /dev/rmt/3hbn 1
1G 0K /tmp/dump 2
afs/backup  ## cat CFG_dump 
MOUNT /usr/afs/backup/file
FILE YES
AUTOQUERY NO
ASK NO
NAME_CHECK NO
afs/backup  ## cat file
#! /bin/csh -f
set devicefile = $1
set operation = $2
set tries = $3
set tapename = $4
set tapeid = $5
set exit_continue = 0
set exit_abort = 1
set exit_interactive = 2
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
if (${tries} > 1) then
    echo "Too many tries"
    exit ${exit_interactive}
endif
 
if (${operation} == "labeltape") then
    echo "Won't label a tape/file"
    exit ${exit_abort}
endif
 
if ((${operation} == "dump")|\
    (${operation} == "appenddump")|\
    (${operation} == "restore")|\
    (${operation} == "savedb")|\
    (${operation} == "restoredb")) then
    /bin/rm -f ${devicefile}
    /bin/ln -s /tmp/${tapename}_${tapeid} ${devicefile}
    if (${status} != 0) exit ${exit_abort}
endif
 
exit ${exit_continue}
afs/backup  ## butc 2 -noautoquery &
afs/backup  ## backup
backup> listhosts
Tape hosts:
    Host kira, port offset 0
    Host kira, port offset 1
    Host kira, port offset 2
backup> listvolsets
Volume set homes:
    Entry   1: server .*, partition .*, volumes: user.*backup
    Entry   2: server .*, partition .*, volumes: cssuser.*backup
    Entry   3: server .*, partition .*, volumes: user
    Entry   4: server .*, partition .*, volumes: home
 
backup> dump test /full 2
Starting dump of volume set 'test' (dump level '/full')
Total number of volumes : 1
Preparing to dump the following volumes:
        user.jfbell (536881119)
backup> Starting dump
 
 
backup: Task 2001: Dump (test.full)
Dump test.full (DumpID 901235505)
Can't label tape as test.full.1 (901235505)
     butm: tape device error: Inappropriate ioctl for device
******* OPERATOR ATTENTION *******
Device :  /tmp/dump 
Please put in tape test.full.1 (901235505) for writing and hit return when done
 

Even if this problem is resolved, the dump isn't of much use with the 2 gig
size limit I read about.  I need more like a 30 gig file limit.  Is this
possible?

Thanks,
John Bell

----------------------------------------------------------------------
John F. Bell                    EMAIL:  [EMAIL PROTECTED]
College of Engineering Facility URL:    http://www.eng.utah.edu/~jfbell
CADE Lab Operator, Univ of Utah WORK:   801.581.7551
----------------------------------------------------------------------

Reply via email to