From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724211688.tru64-unix-managers.marc@archive.invalid> From: lombardi emanuele Date: Wed, 07 Oct 1998 08:58:33 +0000 To: tru64-unix-managers Subject: SUMMARY 2 : tz885 (5 slot tape) and vdump X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724211688 Hi, in my previous SUMMARY I did report the way in which automatically make vdumps on tz885 using expect to change tapes when need. This is the way which works. It only works for local filesystems. > > #!/usr/local/bin/expect > log_file -noappend -a mylog.log > spawn /sbin/vdump -0f /dev/nrmt2h /clone > set processo $spawn_id > send_user "\n started process $processo\n" > expect { > "vdump: Press RETURN when tape is mounted..." \ > {send_user "\n it asked for next tape\n";sleep 60;send "\r"} > eof {send_user "\n EOF found ! \n"} > } > send_user "\n process $processo ENDED !\n" > Then after I wrongly wrote that dd does'nt waits for tapes to be changed when the end of media is reached. The above statement, as Alan Rollow noticed, is WRONG infact dd does ask for new tapes: dd: Reached end of medium for /dev/nrmt0h; Please wait for file closing dd: Insert next volume and press RETURN key. [q] So > Please NOTE that vdump waits for next tape to be placed on the drive, > BUT dd does'nt. So the above procedure CANNOT be used to backup > remote fset via rsh as follows: > /sbin/vdump 0ubf 64 - /clone | rsh myhost "dd of=/dev/nrmt2h bs=65536" > > BTW any suggestion about that ?? > > > Thanks & greetings to: > "Dr. Tom Blinn, 603-884-0646" > alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) > Jim Belonis > > > Greetings to all the axp family, > Emanuele > -- Emanuele Lombardi mail: AMB-GEM-CLIM ENEA Casaccia I-00060 S.M. di Galeria (RM) ITALY mailto:lele@mantegna.casaccia.enea.it tel +39 6 30483366 fax +39 6 30483591 This transmission was made possible by 100% recycled electrons.