From Nick Holland:
The problem arises when, if going on to a brand new machine, that
the
disk size may be different than the original it is restoring. As
part of the installer (in the OpenBSD install environment, booted
off
an openbsd installer CD) I'd like to read the size of the
After assigning a default disklabel (to a blank disk), can I just
feed disklabel the partition information? ie, just this part:
pipe into disklabel -E, perhaps?
Here's a snippet of something I've been working on along the same lines -
this is /bin/csh syntax, and works on raid0 but should work on regular
partitions as well:
echo get raid size...
@ r_tot = `disklabel -p g raid0 | awk '/total bytes/ { print int($3) }'`
@ r_root = 1; @ r_tot -= $r_root
@
Hi,
I am still working on a nice automated installation CD system. It is
partially a custom boot CD and partially a site36.tgz file that
installs all the relevant packages, then does a scripted restoration
from out backup server. It's intended for bare-metal restores in the
event of
Gaby vanhegan wrote:
Hi,
I am still working on a nice automated installation CD system. It is
partially a custom boot CD and partially a site36.tgz file that
installs all the relevant packages, then does a scripted restoration
from out backup server. It's intended for bare-metal
5 matches
Mail list logo