Questions about GEOM and MIRROR

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Dec 27 07:43:02 PST 2004


On Mon, Dec 13, 2004 at 08:20:30PM +0100, Samuel Tardieu wrote:
+> 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?

It could mean, that there is no such device.
Hard to say, as I can't reproduce it here - 'bsdlabel -B' works for me.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041227/18342bdc/attachment.bin


More information about the freebsd-stable mailing list