my $self = shift;
my $principal = shift || 'admin';
#run("echo \"Proceeding w/o authentication\"|klog -pipe ${principal}\@$self->{'realm'}");
- run("klog $principal\@$self->{'realm'}");
+ run("klog $principal");
}
1;
#: - id ID of this volume
#: - kind Kind of volume (RW, RO, or BK)
#: - inuse Disk space in use
+#: - state On-line or Off-line
#: - maxquota Maximum disk usage quota
#: - minquota Minimum disk usage quota (optional)
#: - stamp_create Time when volume was originally created
push(@args, '-cell', $cell ? $cell : $AFS_Parms{'cell'});
%result = &wrapper('vos', \@args,
[$vos_err_parse,
- ['^(\S+)\s*(\d+)\s*(RW|RO|BK)\s*(\d+)\s*K', 'name', 'id', 'kind', 'inuse'],
+ ['^(\S+)\s*(\d+)\s*(RW|RO|BK)\s*(\d+)\s*K\s*([-\w]+)', 'name', 'id', 'kind', 'inuse', 'state'],
['MaxQuota\s*(\d+)\s*K', 'maxquota' ],
['MinQuota\s*(\d+)\s*K', 'minquota' ],
['Creation\s*(.*\S+)', 'stamp_create' ],
If specified, the path to be used for the program to execute, instead of
deriving it from the command name. This is useful when we want the
-command's argv[0] (which is always I<$cmd}) to be different from the
+command's argv[0] (which is always I<$cmd>) to be different from the
path to the program.
=item errors_last
unwind($os->command('remove', "$path->{'afsconfdir'}/ThisCell"));
unwind($os->command('remove', "$path->{'afsconfdir'}/CellServDB"));
unwind($os->command('remove', "$path->{'afsconfdir'}/UserList"));
+ unwind($os->command('remove', "$path->{'afsconfdir'}/KeyFile"));
unwind($os->command('remove', "$path->{'afsbosconfigdir'}/BosConfig"));
unwind($os->command('fileserver-stop'));
}
if ($with_dafs) {
run( "$bos create $server dafs dafs ".
"-cmd \"$path->{'afssrvlibexecdir'}/fileserver $options_fileserver\" ".
- "-cmd \"$path->{'afssrvlibexecdir'}/volserver $options_volserver\"".
+ "-cmd \"$path->{'afssrvlibexecdir'}/volserver $options_volserver\" ".
"-cmd \"$path->{'afssrvlibexecdir'}/salvageserver $options_salvageserver\" ".
"-cmd \"$path->{'afssrvlibexecdir'}/salvager $options_salvager\" ".
"-noauth");