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" <tpb_at_doctor.zk3.dec.com>
> alan_at_nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
> Jim Belonis <belonis_at_dirac.phys.washington.edu>
>
>
> 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_at_mantegna.casaccia.enea.it
tel +39 6 30483366 fax +39 6 30483591
This transmission was made possible by 100% recycled electrons.
Received on Wed Oct 07 1998 - 09:01:55 NZDT