Re: BSDInstaller snapshot

From: Joerg Pernfuss <elessar_at_bsdforen.de>
Date: Thu, 18 May 2006 01:27:15 +0200
On Wed, 17 May 2006 12:46:41 +0300
Rostislav Krasny <rosti.bsd_at_gmail.com> wrote:

> Certainly. I'm only wondering now, why it wasn't fixed in sysinstall
> during so many years?
No idea. One simply needs to know, you have to set up your the discs
manually if you intend to, eg gmirror the / partition.
I think on geom_at_ Pawel once explained why this wasn't changed in
sysinstall, but I can't find the mail.

> And had those hacks in UFS and Swap been made
> because of sysinstall or because of something else?
These are historically grown.

> By the way, how could one change offset of first bsd partitions on
> already installed FreeBSD without destroying it?
You can't. dump(1) and restore(1), that's all you've got.

Mirroring partitions on a already running FreeBSD is counter-intuitive
anyway.

Set the second disc to sane values, dump your partitions, set up the
mirrors/... in single-user mode (even for / but here only with the a
partition of the second disc), restore your dumps, boot the second
disc, add and sync a from the first disc.
Utilizing `tunefs -L` and glabel for /etc/fstab eases the pain.

Adding Raid 0/1/3/10 (plain and/or geli encrypted) via geom afterwards
to a fully configured system with wrong offsets is possible (done it
once, don't intend to do it twice), but there are many ways to shoot
your knee-caps while doing so.

	Joerg
-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |    0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  X    HTML in email  |        .the next sentence is true.       |
| / \     and news     |     .the previous sentence was a lie.    |

Received on Wed May 17 2006 - 21:27:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC