non-interactive dump

2007-07-08 Thread Dinesh Pandian

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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: non-interactive dump

2007-07-08 Thread Dan Nelson
In the last episode (Jul 09), Dinesh Pandian said:
 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?

How else can it tell when you've swapped in new media?  If it
automatically continued it would just overwrite the previous segment. 
I'm assuming you're dumping to some removable media, like multiple USB
hard drives or something, that you plug in one at a time?

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: non-interactive dump

2007-07-08 Thread J65nko

On 7/8/07, Dinesh Pandian [EMAIL PROTECTED] wrote:

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?



Use the -a flag ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: non-interactive dump

2007-07-08 Thread perryh
  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?

 How else can it tell when you've swapped in new media?  If it
 automatically continued it would just overwrite the previous
 segment. 

In principle, when dumping to a sequence of volumes on a removable
device, it could watch for the device to become not-ready and then
ready again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]