From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,df96ba5940acbe15 X-Google-Attributes: gidf678f,public From: jevans@sakhalin.er.usgs.gov (John Evans) Subject: Re: Doing remote dumps with vdump Date: 1997/01/31 Message-ID: <5ctqtd$qjb9@dilbert.whoi.edu>#1/1 X-Deja-AN: 213568714 references: <32F119DB.61BB@scripps.com> organization: United States Geological Survey newsgroups: comp.unix.osf.misc,comp.unix.osf.misc Hi Rich, In article <32F119DB.61BB@scripps.com>, Rich Schramm wrote: >Hello, > >I need to vdump a filesystem on one box to a magentic tape on the >other. I would use rdump on the systems, but that is not supported >under ADVFS, so I must use vdump. There does not seem to be a rvdump or >vrdump that would perform the same type features a rdump would. > >I have tried the following: > >mt -f /dev/rmt0h rewind >rsh my_remote_server "/sbin/vdump -0uf - /" | dd of=/dev/nrmt0h > >but when I try to do "/sbin/vrestore -if /dev/rmt0h" (after rewinding >the tape), I get: > >vrestore: Date of the vdump save-set: Thu Jan 30 16:11:47 1997 >vrestore: unable to read from device '/dev/rmt0h'; incomplete read 512 < >33580 >DECthreads Last Chance handler: thread 1 exiting on status exception >0x177db005 >Exception: Invalid memory address (dce / thd) >Resources lost(coredump) > >Does anyone know why this happens and or how to fix it and or a >different way to do this? I really would rather not nfsmount the >filesystems from the other system. > We got the following instructions from DEC: To dump fromt the remote host, # rsh remotealpha '/sbin/vdump -0 -u -b 60 -f - /fileset' | dd of=/dev/nrmt0h bs=60k To restore, type on the remote alpha # rsh dumphost 'dd if=/dev/nrmt0h bs=60k'|vrestore -x -v -f - I was told that the '-b 60' and 'bs=60k' on the dd and vdump commands was VERY important. Seems to work for us... -- John Evans | http://sakhalin.er.usgs.gov/ U.S. Geological Survey | http://woodshole.er.usgs.gov/