Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 20:20:30 +0100
From:      Samuel Tardieu <sam@rfc1149.net>
To:        freebsd-stable@freebsd.org
Subject:   Questions about GEOM and MIRROR
Message-ID:  <2004-12-13-20-20-30%2Btrackit%2Bsam@rfc1149.net>

next in thread | raw e-mail | index | archive | help
Hi.

I just added two disks (ad4 & ad6, SATA 160Go) to my FreeBSD box. I want to
use them in the following configuration:

  - ad4s1 & ad6s1: geom mirror of 80Go containing all my precious data (/,
    /usr, /var, /home)

  - ad4s2b: swap

  - ad4s2x, ad6s2x: non-important data

On the mirror (ad4s1+ad6s1), I created partitions for /, /tmp, /usr,
and /var.

Is there any pitfall in doing so? Do I have to be careful to keep extra space
somewhere? (such as one sector at the end of ad4s1/ad6s1)

I can't seem to place bootcode at the beginning of the mirror:

# bsdlabel /dev/mirror/precious
# /dev/mirror/precious:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   524288       16    4.2BSD     2048 16384 32776 
  c: 167766731        0    unused        0     0         # "raw" part, don't edit
  d:  2097152   524304    4.2BSD     2048 16384 28552 
  e:   524288  2621456    4.2BSD     2048 16384 32776 
  f: 164620971  3145744    4.2BSD     2048 16384 28552 

# bsdlabel -B /dev/mirror/precious
bsdlabel: Geom not found

What does this error mean?

Thanks in advance.

  Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2004-12-13-20-20-30%2Btrackit%2Bsam>