1833017 Members
2111 Online
110048 Solutions
New Discussion

Changing SCSI addresses

 
David Gwin_2
Occasional Contributor

Changing SCSI addresses

I am in the process of creating a desaster recover system and I have two
questions.

1. I would like to change the SCSI address on two of my external hard drives.
Is there an easy way to do this without losing the data that is on the drive?

2. How can I configure the same drives on another system without losing the
data?

Thanks
3 REPLIES 3
Dan Hull
Regular Advisor

Re: Changing SCSI addresses

If you are using LVM then you can simply export and reimport the disks in both
cases. You can use SAM to do the job easily, or the command line 'vgexport'.
After exporting the VG that the disks are in, turn off the system, unhook the
disks, change their SCSI ID (or move to the other system), hook them up, and
turn on the machine. Finally just use SAM again, or run 'vgimport' to get them
back on the system.
Klaus  Frank
Frequent Advisor

Re: Changing SCSI addresses

Hi
1. Play it save and backup all data on you discs
2. If you have just a filesystem on each disc (no lvm) there is no problem to move a disc and/or change scsi code.
3. With lvm I would do all physical changes first and than restore data to the new lvm environment.

best regards
Klaus Frank
... we all can make it with a little help ...
James Lynch
Valued Contributor

Re: Changing SCSI addresses

Our these two disks part of the root VG? If so, then the task is more complicated, but it can still be done. You need to go to LVM maintenance mode, vgexport the root VG, reimport the root VG with the new pathnames, activate the root VG, run lvrmboot and lvlnboot to recreate the LVM BDRA structures, deactivate the root VG and then reboot to multiuser mode.

If this is the case please let me know and I can provide more details.
Wild turkey surprise? I love wild turkey surprise!