Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2003 14:27:03 GMT
From:      Mark <admin@asarian-host.net>
To:        "Joshua Oreman" <oremanj@www.get-linux.org>
Cc:        questions@freebsd.org
Subject:   Re: Ghost for FreeBSD
Message-ID:  <200309031427.H83ER32K066903@asarian-host.net>
References:  <20030903021608.B64375-100000@oahu.WURLDLINK.NET> <200309031312.H83DCO2K062567@asarian-host.net> <20030903141048.GC28275@webserver>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Joshua Oreman" <oremanj@www.get-linux.org>
To: "Mark" <admin@asarian-host.net>
Cc: <questions@freebsd.org>
Sent: Wednesday, September 03, 2003 4:08 PM
Subject: Re: Ghost for FreeBSD


> > > cd /mnt/root
> > > /sbin/dump -L -f- /|restore -rf-
> > > cd /mnt/var
> > > /sbin/dump -L -f- /var|restore -rf-
> > > cd /mnt/usr
> > > /sbin/dump -L -f- /usr|restore -rf-
> >
> > I have heard this before, but I never understand this part. :) How
> > does creating a /mnt/root directory, and restoring in that directory
> > get my / slice back? Then the restored data will just sit
> > in /mnt/root! What good does it there?
> >
> > Or should I create /mnt/root as partition, about equal in size to the
root

> To mirror the root partition to another:
> # mkdir /mnt/root
> # mount /dev/<ROOT-MIRROR-DEV> /mnt/root
> # cd /mnt/root
> # /sbin/dump -f- / | restore -rf-
>
> You will not *need* to umount the root partition.

Ok; what you have done is made a dump on the root mirror device; great! But
how do I now tell FreeBSD to use that "restored" partition as /? Edit
/etc/fstab to effect the change for the next boot? I have a nagging
suspicion it will then still boot off the old / slice.

- Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309031427.H83ER32K066903>