Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 02:28:55 +0800
From:      "Dinesh Pandian" <dineshpandian@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   non-interactive dump
Message-ID:  <3ea3ac8f0707081128n4ec5f2f6o6ffb0c4745a3008b@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello guys,
quick question..

Is there a way to tell dump to do it's working without
it asking "Is the new volume mounted and ready to go?: ("yes" or "no")"
everytime it changes mount points?

For example:

solara# dump -0L -f /dev/da1 /
  DUMP: Date of this level 0 dump: Mon Jul  9 02:17:40 2007
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1a (/) to /dev/da1
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 288357 tape blocks on 7.42 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #2
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 2 begins with blocks from inode 33729
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #3
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 3 begins with blocks from inode 49969
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #4
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 4 begins with blocks from inode 50225
  DUMP: 39.89% done, finished in 0:01 at Mon Jul  9 02:25:01 2007
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #5
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 5 begins with blocks from inode 50225
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #6
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 6 begins with blocks from inode 50225
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #7
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 7 begins with blocks from inode 50225
  DUMP: Closing /dev/da1
  DUMP: Change Volumes: Mount volume #8
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
  DUMP: Volume 8 begins with blocks from inode 50225
  DUMP: DUMP: 289411 tape blocks on 8 volumes
  DUMP: finished in 180 seconds, throughput 1607 KBytes/sec
  DUMP: Closing /dev/da1
  DUMP: DUMP IS DONE


Dump requires that I key in "yes" everytime it changes mount volumes..
is there a way to just get it to continue without user intervention?

TIA.

-- 
Regards,
Dinesh Pandian,
SOLARA Networks.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3ea3ac8f0707081128n4ec5f2f6o6ffb0c4745a3008b>