switching ide disk, change disklabel?

Malcolm Kay malcolm.kay at internode.on.net
Fri Dec 3 05:53:12 PST 2004


On Fri, 3 Dec 2004 04:07 am, Alex Teslik wrote:
> > If you mean to move the disk containing ads1s1e from primary slave to the
> > primary master then the partition will automatically become ad0s1e.
>
> Great. That answers my question exactly.
>
> > But how are the other partitions in your system organised? Are you
> > currently using ad0s1a, ad0s1b etc.?
>
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/da0s1a    97M    62M    27M    70%    /
> /dev/da0s1e   7.7G   6.2G   900M    88%    /usr
> /dev/ad0s1e    72G    66G   772M    99%    /home
> procfs        4.0K   4.0K     0B   100%    /proc
>
> So I'm booting off of a SCSI disk da0.
>

OK

> I want to replace ad0s1e with the new 300GB monster.
>
> > 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.
>
> But not in my case since this disk is just storage I think, right.
> Actually, when I run the disklabel do I need to use -B at all. I don't need
> a bootstrap since its not a boot disk, right?
>

Right

Malcolm




More information about the freebsd-questions mailing list