Commit 1dc7ec2d authored by Mike Hibler's avatar Mike Hibler

More comments on making generic images.

Increase max wait time for images based on 6GB at 1.6MB/sec (72 minutes)
Fix a couple of print statements.
parent 6b30c3c3
......@@ -26,6 +26,10 @@ How to make a generic image from a Utah one:
so there is no point.
2e. Install generic kernels.
[ As of 8/13/07 there are prebuilt versions of these in
http://www.emulab.net/downloads/generic-kernels-4.10.tar.gz. ]
Build kernels from the various TESTBED-* configs and install them.
For FBSD 4.x:
TESTBED-GENERIC -> /kernel.100HZ
......
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# Copyright (c) 2000-2004, 2007 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -93,7 +93,7 @@ else {
# if the user is not in the proper group.
#
if (system("$sudo $zipper $slice $device $filename")) {
print STDERR "*** Failed to create image!";
print STDERR "*** Failed to create image!\n";
exit 1;
}
......
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005, 2006 University of Utah and the Flux Group.
# Copyright (c) 2005, 2006, 2007 University of Utah and the Flux Group.
# All rights reserved.
#
# Admin MFS library. Routines related to getting into and out of the
......@@ -537,7 +537,7 @@ sub TBAdminMfsRunCmd($$@)
if (scalar(@nodes) != scalar(@succeeded)) {
if (scalar(@failed) > 0) {
print STDERR "*** $me:\n".
" Failed to run command on @failed\n";
" Command run failed on @failed\n";
push(@{$failedref}, @failed)
if (defined($failedref));
}
......
......@@ -13,15 +13,16 @@ use File::Basename;
# Tuneables:
#
# $maxwait max wall clock time to allow, progress or not
# Empirically we have observed about 1.8MB/sec on a pc850,
# so 40 minutes should be sufficient for a 4GB image.
# Empirically we have observed about 1.6MB/sec on a pc850
# for a Windows image (the slowest to create), so figuring
# 1.5MB/sec for a 6GB max image works out to around 72 minutes.
# $idlewait max time to wait between periods of progress
# $checkwait time between progress checks (must be int div of $idlewait)
# $reportwait time between progress reports (must be multiple of $checkwait)
#
# $maximagesize max size in bytes of an image
#
my $maxwait = (40 * 60);
my $maxwait = (72 * 60);
my $idlewait = ( 8 * 60);
my $reportwait = ( 2 * 60);
my $checkwait = 15;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment