From owner-freebsd-questions@FreeBSD.ORG Thu Dec 2 12:25:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A54216A4CE for ; Thu, 2 Dec 2004 12:25:09 +0000 (GMT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id B892443D2D for ; Thu, 2 Dec 2004 12:25:08 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp250-130.lns2.adl2.internode.on.net [203.122.250.130])iB2CP0OU084121; Thu, 2 Dec 2004 22:55:04 +1030 (CST) From: Malcolm Kay Organization: at home To: "Alex Teslik" , "List freebsd-questions" Date: Thu, 2 Dec 2004 22:53:24 +1030 User-Agent: KMail/1.5.4 References: <20041202080312.M94632@acatysmoof.com> In-Reply-To: <20041202080312.M94632@acatysmoof.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412022253.24734.malcolm.kay@internode.on.net> Subject: Re: switching ide disk, change disklabel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 12:25:09 -0000 On Thu, 2 Dec 2004 06:38 pm, Alex Teslik wrote: > Hello, > > I am adding a new disk to the system to make my /home partition bigger. > Currently I have /home on ad0s1e. I will be adding ad1s1e. After I copy all > the data from ad0 to ad1 I want to remove ad0 and make ad1 the master on > that controller. Will I need to change the disklabel of ad1 to ad0 at that > point, or will FreeBSD automagically know what to do? If you mean to move the disk containing ads1s1e from primary slave to the primary master then the partition will automatically become ad0s1e. But how are the other partitions in your system organised? Are you currently using ad0s1a, ad0s1b etc.? These will move with the disk. If you are physically swapping the disk connections these will become ad1s1a, ad1s1b etc. which will be a problem. You'll need to fix /etc/fstab and arrange for a booting MBR on the new disk and arrange for the boot sequence to find your / partition. Malcolm