Re: switching ide disk, change disklabel?

2004-12-03 Thread Malcolm Kay
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.?

 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/da0s1a97M62M27M70%/
 /dev/da0s1e   7.7G   6.2G   900M88%/usr
 /dev/ad0s1e72G66G   772M99%/home
 procfs4.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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


switching ide disk, change disklabel?

2004-12-02 Thread Alex Teslik
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?
   Note that this is all on the second controller, so no booting happening
here. Just /home data.

uname -a
FreeBSD xx..com 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #1: Tue Jun
 8 19:15:51 PDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUALP3-RELENG_4_9  i386

Thanks,
Alex
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching ide disk, change disklabel?

2004-12-02 Thread Malcolm Kay
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching ide disk, change disklabel?

2004-12-02 Thread Alex Teslik

 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.?

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a97M62M27M70%/
/dev/da0s1e   7.7G   6.2G   900M88%/usr
/dev/ad0s1e72G66G   772M99%/home
procfs4.0K   4.0K 0B   100%/proc

So I'm booting off of a SCSI disk da0.

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?

Thanks,
Alex

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]