Operating System - HP-UX
1834634 Members
3362 Online
110069 Solutions
New Discussion

Moving a hard drive to another machine

 
SOLVED
Go to solution
Ian Cameron
Frequent Advisor

Moving a hard drive to another machine

I have to replace a c100 and a c110 that are running as file servers with two c160s. I would like to just swap the hard drives from the old boxes into the new ones.

As I understand it I may have to fix up some stuff with the video cards ( changing from the onboard on the old machines to the visualize cards on the 160s) but is there any other issues/traps that I need to be aware of when I transfer the drives.

2Gig seagate drives
HP-UX 10.20

Thank you for any help,
Ian Cameron
6 REPLIES 6
Bill McNAMARA_1
Honored Contributor

Re: Moving a hard drive to another machine

vgexport vgdisk
from original host

mkdir /dev/vg03
mknod c 64 0x030000 /dev/vg03/group
assuming the new vg will be vg03
ioscan -fnCdisk
look for new disk.
record device file
vgimport from adopted host
and you keep your data
vgimport /dev/vg03 /dev/dsk/c0t3d0


The only real h/w consideration you got is SCSI ID.

Make sure you don't duplicate an existing scsi id.
If you don't see the disk on reinsertion or if the light does not go off, you could have a scsi id pb.

Later,
Bill
It works for me (tm)
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: Moving a hard drive to another machine

It looks to me that you are replacing the root disks . In that case I think you need to just replace one first and then boot in single user to check for the display drivers and reload if required . Also the SCSI id'd need to be same . After that has been fixed ( actually you can determine the display type before even powering down then comparing the two ). That should solve the issue

Manoj
paul courry
Honored Contributor

Re: Moving a hard drive to another machine

Be advised that the industry standard numbering scheme for SCSI buses is

ID description

6 boot disk
5 additional disk
4 ""
3 ""
2 CD-ROM
1 no standard
0 tape drive
Ajitkumar Rane
Trusted Contributor

Re: Moving a hard drive to another machine

If your are moving the root disks then its a whole different procedure.If they are just the data disks then Bills reply should help but just an addition if your lvols are not using the default standard naming convention it is better to create the map file and copy it over to the new system.so that you do not get lost searching for which lvols held what data.


good luck.
Amidsts difficulties lie opportunities
Chin Guan
Valued Contributor

Re: Moving a hard drive to another machine

If that's a root disk, you may want to make a copy of make_recovery tape from the old systems and restore to new C160 machines.
Ian Cameron
Frequent Advisor

Re: Moving a hard drive to another machine

Just a couple things that I should have included in the original post.

This is the root disk that I am asking about.
I will have a make_recovery tape on hand in case there are any problems.
I was wrong, the server drive is 2Gb and the drive in the replacement box is a 4Gb.

The ideal solution would be for me to be able to undo the bolt for the drive trays, swap them, attach the scsi devices to the new box and turn it on. The c160 has an auxilliary graphics card (48z) and the c110 is running on the integrated graphics but both are using the graph3 drivers (see ioscan snips):

c160:
graphics 0 8/24 graph3 CLAIMED INTERFACE
graphics 1 10/8 graph3 CLAIMED INTERFACE

c110:
graphics 0 10/16 graph3 CLAIMED INTERFACE

Will the aux card be recognized at boot or do I have to attach to the integrated graphics port and then change?

Sorry I was not more clear in the original post. Thanks for all the responses,

Ian