From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 22:30:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C7E9106568D for ; Mon, 19 Oct 2009 22:30:45 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5D71F8FC18 for ; Mon, 19 Oct 2009 22:30:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MR-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KRS00MJ07PCM730@VL-MR-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 17:58:24 -0400 (EDT) Message-id: <4ADCE105.7020604@videotron.ca> Date: Mon, 19 Oct 2009 17:58:29 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Adam Vande More References: <4ADC6D89.10600@videotron.ca> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> <4ADC7BD3.30301@videotron.ca> <6201873e0910190809h3cd4416bxaaf526008110447a@mail.gmail.com> <4ADC8C9A.4030903@videotron.ca> <6201873e0910190912w42325e0q541d46bc2a2972fb@mail.gmail.com> <4ADC9DE6.6020900@videotron.ca> <6201873e0910191157pe43a335r25f17463863006d0@mail.gmail.com> In-reply-to: <6201873e0910191157pe43a335r25f17463863006d0@mail.gmail.com> Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 22:30:45 -0000 Adam Vande More wrote: > On Mon, Oct 19, 2009 at 12:12 PM, PJ wrote: > > >> # Device Mountpoint FStype Options Dump Pass# >> /dev/label/swap none swap sw 0 0 >> /dev/label/rootfs / ufs rw 1 1 >> /dev/label/backups /backups ufs rw 2 2 >> /dev/label/home /home ufs rw 2 2 >> /dev/label/tmp /tmp ufs rw 2 2 >> /dev/label/usr /usr ufs rw 2 2 >> /dev/label/var /var ufs rw 2 2 >> /dev/acd0 /cdrom cd9660 ro,noauto 0 0 >> linproc /usr/compat/linux/proc linprocfs rw 0 0 >> >> this is ad12; ad6 is the same - I guess I hae to get rid of those labels >> in ad6 but am not sure if I need to use glabel to remove them or if just >> editing fstab will do it? >> >> > > You need to use gmirror. If you get it to clone a disk following these > instructions > > http://www.freebsd.org/doc/en/books/handbook/geom-mirror.html > > the disk will boot up on the new machine no problem provided hardware > compatibility. Get rid of any label/fstab work you've done so far and > follow that page. > I am trying to digest the procedure. Forgive me if I am a little slow, but I want to be sure to do it right. 1. this procedure requres that both diisks be identical... ?? This is not always possible... I'm not sure I have that possibility at the moment and I don't want to empty other disks from other machines. 2. I am trying to under stand if the procedure is to be done from the active disk, say ad4 and the idea is to copy ad4 to say ad6? Or should I be running on a third disk, say ad12 and be copying ad4 to ad6?