Swapping SCSI hard drive with Linux?
Hello SuSE folkz, I've rsync'ed my existing SuSE 9.0 Linux installation on a SCSI hard drive, which I want to install into another compatible SCSI system but under different SCSI ID. My question is what do I have to change in replicated hard drive installation, except mount points in /etc/fstab file, in order to connect it to the SCSI controller under different SCSI ID? Many thanks in advance, Alex
-----Original Message-----
From: Alex Daniloff
Hello SuSE folkz, I've rsync'ed my existing SuSE 9.0 Linux installation on a SCSI hard drive, which I want to install into another compatible SCSI system but under different SCSI ID. My question is what do I have to change in replicated hard drive installation, except mount points in /etc/fstab file, in order to connect it to the SCSI controller under different SCSI ID?
None. It does not matter what the scsi ID is only that you setup the proper mount points in /etc/fstab. Ken
On Fri December 19 2003 05:24 pm, Ken Schneider wrote:
-----Original Message----- From: Alex Daniloff
To: suse-linux-e@suse.com Date: Fri, 19 Dec 2003 14:15:28 -0800 Subject: [SLE] Swapping SCSI hard drive with Linux? Hello SuSE folkz, I've rsync'ed my existing SuSE 9.0 Linux installation on a SCSI hard drive, which I want to install into another compatible SCSI system but under different SCSI ID. My question is what do I have to change in replicated hard drive installation, except mount points in /etc/fstab file, in order to connect it to the SCSI controller under different SCSI ID?
None. It does not matter what the scsi ID is only that you setup the proper mount points in /etc/fstab.
Ken
That assumes he doesn't have other SCSI drives ahead of the new drive in the line up..... A big assumption. If the partitions in use (for your linux system) will be the same, then you really wouldn't have to change anything. /dev/sda3 on the old system becomes /dev/sda3 on the new system and everyone (fstab, grub, etc) should be happy. But I would doubt if that is the case. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 12/19/03 18:28 + +----------------------------------------------------------------------------+ "Live and scratch -- when you're dead, the itching will stop. -- Russian proverb"
On Fri December 19 2003 05:24 pm, Ken Schneider wrote:
-----Original Message----- From: Alex Daniloff
To: suse-linux-e@suse.com Date: Fri, 19 Dec 2003 14:15:28 -0800 Subject: [SLE] Swapping SCSI hard drive with Linux? Hello SuSE folkz, I've rsync'ed my existing SuSE 9.0 Linux installation on a SCSI hard drive, which I want to install into another compatible SCSI system but under different SCSI ID. My question is what do I have to change in replicated hard drive installation, except mount points in /etc/fstab file, in order to connect it to the SCSI controller under different SCSI ID?
None. It does not matter what the scsi ID is only that you setup
proper mount points in /etc/fstab.
Ken
That assumes he doesn't have other SCSI drives ahead of the new drive in the line up..... A big assumption.
If the partitions in use (for your linux system) will be the same,
Hello and thank you for your replies. My situation is the following: On original system with eight SCSI hard drives on two channels, this hard drive had SCSI ID 3 on the second channel, and it was recognized as /dev/sdg. On a new system it's gonna be connected on the first SCSI channel with SCSI ID 0 as /dev/sda. What should be changed in installed Linux system on this hard drive to accomodate this reconnection? Thanks in advance, Alex ------------------- the then you
really wouldn't have to change anything. /dev/sda3 on the old system becomes /dev/sda3 on the new system and everyone (fstab, grub, etc) should be happy. But I would doubt if that is the case.
On Saturday 20 December 2003 00:06 am, Alex Daniloff wrote:
Hello and thank you for your replies. My situation is the following: On original system with eight SCSI hard drives on two channels, this hard drive had SCSI ID 3 on the second channel, and it was recognized as /dev/sdg. On a new system it's gonna be connected on the first SCSI channel with SCSI ID 0 as /dev/sda.
What should be changed in installed Linux system on this hard drive to accomodate this reconnection?
In /etc/fstab change all refs to /dev/sdgX to /dev/sdaX (and comment out lines for now non-existant drives) In /boot/grub/menu.1st you will find entries like (hd0,1) - the first number is the drive, counted from zero, and the second is the partition, again from zero. I expect yours would be (hd6,X) so you need to change them to (hd0,X). Look at 'info grub' for more details on its drive naming conventions. HTH Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
-----Original Message-----
From: Alex Daniloff
Hello and thank you for your replies. My situation is the following: On original system with eight SCSI hard drives on two channels, this hard drive had SCSI ID 3 on the second channel, and it was recognized as /dev/sdg. On a new system it's gonna be connected on the first SCSI channel with SCSI ID 0 as /dev/sda.
What should be changed in installed Linux system on this hard drive to accomodate this reconnection?
Change the mount points in /etc/fstab so that they read /dev/sda#. Ken
participants (4)
-
Alex Daniloff
-
Bruce Marshall
-
Dylan
-
Ken Schneider