Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2005 17:11:09 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        dmehler26@woh.rr.com
Cc:        questions@freebsd.org
Subject:   Re: format slice from commandline
Message-ID:  <200503112211.j2BMB9504745@clunix.cl.msu.edu>
In-Reply-To: <000a01c52684$6a892ac0$0800a8c0@satellite> from "dave" at Mar 11, 2005 04:51:01 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 

Please post to the list and not privately.

> Hello,
>     I'm trying to add a second drive to a 5.3 system in preparation to
> gmirror raid1 the box. My problem is i'm having a heck of a time with
> sysinstall, it doesn't want to put an a partition on the second drive, so i
> thought about doing it manually, fdisk, disklabel, newfs, etc. About the
> only thing i've got working is a single slice on drive2 which is ad2 btw,

Probably it should be ad2s1.
That may make bsdlabel be unhappy.

> active i believe. The two drives are identical in size 15 gb drives, the
> master drive with a single fbsd slice and six partitions in it including c.
> I have tried to duplicate this information with disklabel piping to a file
> then loading that file on to drive2, which gives me an error about partition
> c lengths being wrong.

Partition c length should be the size of the slice.  
Look at what the block counts are.

////jerry

>     I was wondering you mentioned onlist you do this kind of stuff, if you
> could give me a procedure or a web page, the man pages are quite confusing.
> Thanks a lot.
> Dave.
> 
> 



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