SUMMARY: vxdump

From: Leonard, Roger (
Date: Fri Mar 31 2000 - 12:07:05 CST

Original question:

I am playing with the VxFS for the first time in prep for a server migration
and am having problems with vxdump. i am trying to dump the /usr filesystem
to a 4mm DDS3 drive and it thinks I should only be able to put about 50mb on
a tape. the command i am using is vxdump 0cf /dev/rmt/0mbn /usr. see
errors below. any insight would be appreciated:

/etc/dumpdates: No such file or directory
  vxdump: Date of this level 0 dump: Thu Mar 30 12:20:20 2000
  vxdump: Date of last level 0 dump: the epoch
  vxdump: Dumping /dev/rdsk/c0t0d0s2 (/usr) to /dev/rmt/0mbn
  vxdump: mapping (Pass I) [regular files]
  vxdump: mapping (Pass II) [directories]
  vxdump: estimated 392348 blocks (191.58MB) on 4.48 tape(s).
  vxdump: dumping (Pass III) [directories]
  vxdump: dumping (Pass IV) [regular files]
  vxdump: Change Tapes: Mount tape #2
  vxdump: NEEDS ATTENTION: Is the new tape mounted and ready to go?: ("yes"
or "no")


Several people suggest not using the "c" param as part of the dump
statement. this actually made it worse. Gordon hopper hit it on the head
when suggesting piping the vxdump through dd to get to the tape and
visa-versa. i tried this and it works, but it still puts out the message
that the dump will need 2.3 tapes for 120mb of data. not pretty but i guess
it will have to do. here is the syntax compliments of Gordon.

vxdump -f - /dev/dsk/device | dd of=/dev/rmt/0mbn bs=32k

And restore with
mt -t /dev/rmt/0mbn rewind
dd if=/dev/rmt/0mbn bs=32k | vxrestore -rf -

or for an interactive restore (you can select which files to restore)
dd if=/dev/rmt/0mbn bs=32k | vxrestore -if -

Roger D. Leonard

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:05 CDT