Disaster recovery.

Dan Nelson dnelson at allantgroup.com
Fri Oct 6 10:52:02 PDT 2006

In the last episode (Oct 06), Grant Peel said:
> Possibly the last few questions.
> 1. After fdisk/disklabel/newfs, how do you drop to the shell (can I
> drop to tcsh?).

In sysinstall, pick Fixit, then CDROM/DVD.  The default shell is
/bin/sh, but since you're on a livecd, you can switch to tcsh.
> 2. Once in that shell, are all shell commands avialable? (or at least
> mount, cp, restore, etc).

Yep.  You can also do this stuff with just boot floppies, but in this
case, you'll just get the bare minimum commands (ifconfig, mount,
> 3. If the old disk is 36 GIG and the new disk is 74 GIG, AND I
> partition every filesystem bigger than the old ones on the old disk,
> then do the restore of the 4 filesystems, will it work or do the new
> filesystems really need to be exactly the same size?

Restore is file-based, so it can restore onto anything.  You can even
go from a split root/var/usr system to an all-in-one-fs setup and back.
> 4. All my servers are capable of pxe boot. Would it be worth while
> adding a disk to a server with nothing else than a fresh virgin
> install of freebsd (I have 0 exp with pxe, so if I am off here
> forgive me).

If nothing else, pxe's fun to play with.  I've mainly just used it to
serve up pxegrub so I can boot a system where I accidentally blew away
the bootblocks or cleared the active flag on all my fdisk partitions.

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list