Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 22:53:24 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        "Alex Teslik" <alex@acatysmoof.com>, "List freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: switching ide disk, change disklabel?
Message-ID:  <200412022253.24734.malcolm.kay@internode.on.net>
In-Reply-To: <20041202080312.M94632@acatysmoof.com>
References:  <20041202080312.M94632@acatysmoof.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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