Move root disk to new identical hardware


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Move root disk to new identical hardware

We have in a couple of occasions moved root disk & flashcard in netra 240 to new identical hardware instead of replacing mb in dead server. Flashcard is to preserve mac adresses and mainly hostid for license stuff. Works without doing anything other than poweron & boot.
Now we have a similar issue with a vfire 445. Can we move working root disk & idprom from sc to new identical hardware.

Ps
In both situations svm is also in play( metastat etc.)
# 2  
You don't say which version of Solaris this is. Please post your OS version.

Firstly, whilst it's up and running, and before you do anything with the existing system, make sure you know the hostid exactly!! If you move the root disk(s) and cannot get the original hostid, to set it you'll need to inject the required value into the kernel module. If you don't know what hostid you need at that time you are screwed.

Also, blatantly obvious thing to say I know is, you need to ensure that you are also moving the metadb (which is usually on a very small disk partition) otherwise SVM won't work on the new machine. If metadb is on a non-root disk then you'll have to move that too.

If the root disk is SVM mirrored then I guess you mean to move a pair of disks??

There's likely no EPROM on this hardware to allow you to move the NIC address, etc, and the hostid is hashed from the NIC address on SPARC hardware. So it's quite likely IMHO that you will need to forcibly change the hostid on the new box. The code to do that I posted on this forum a long time ago so you can search for it. REMEMBER THOUGH, that the code is different for SPARC vs X86 and both are published on here. Make sure you use the right method.

If you've been professional and have a full backup I don't see any harm in giving it a try.

(If you cannot find the relevant hostid discussion on this forum drop me (hicksd8) or moderator gull04 a PM and prompt one of us to post back on this thread. We know how to do this.)

Last edited by hicksd8; 1 Week Ago at 07:38 AM..
# 3  
Hi again and thank you for your interest.

Both machinetypes are SPARC's, OS =Solaris 10, And you are right - its a mirrored diskpair, containing the metadb in one of the slices.
There are only those 2 disks.

In the netra 240 its a flashcard containing MAC & HOSTID & some other startup config values.

In the Vfire 445 MAC & HOSTID is contained in a removable prom (idprom) on the SC (System Controller card).

What worries me is that some HW is globally ID'd (disk wwn etc) & not only identified by "the place" in the server.

Actually we have tried to replace a System Controller board and the MACs & hostid were preserved, because we moved the hostid prom to the new SC board.

PS:
I know the hack that inserts another hostid than the computed one in a startup file in rcx.d , but thats only necessary in X86
# 4  
No, it's not only necessary in x86.

On x86 the hostid is computed at random at installation time. On SPARC the hostid is a hash of the hardware NIC address so in situations where you cannot move an EPROM (ie, newer hardware), the hostid will be different from the original box. Therefore you have to forcibly set it by injection into the kernel module.
This User Gave Thanks to hicksd8 For This Post:
# 5  
You are totally right, newer sparcs do not have this option

Last edited by hicksd8; 4 Days Ago at 11:38 AM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #153
Difficulty: Easy
Novell sold their Unix business operations to Microsoft in 1995.
True or False?

10 More Discussions You Might Find Interesting

1. Linux

Move OS to storage disk

Hi We have RHEL 7.3 running from local disk and we want to move it to storage. I am unable to find any proper procedure to do this activity. Please help. (4 Replies)
Discussion started by: powerAIX
4 Replies

2. Solaris

[solved] How to blink faulty disk in Solaris hardware?

Hi Guys, One of two disks in my solaris machine has failed, the name is disk0, this is SUN physical sparc machine But I work remotely, so people working near that physical server are not that technical, so from OS command prompt can run some command to bink faulty disk at front panel of Server.... (9 Replies)
Discussion started by: manalisharmabe
9 Replies

3. UNIX for Dummies Questions & Answers

Move os from 1 disk to the other

Hi, I have server with 2 active disk, but disk 1 contain big part of os is falling, how can i move everything to disk 2 and then remove the disk 1? Thanks (4 Replies)
Discussion started by: prpkrk
4 Replies

4. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

5. Solaris

Hardware RAID not recognize the new disk [Sun T6320]

We have hardware RAID configured on Sun-Blade-T6320 and one of the disk got failed. Hence we replaced the failed disk. But the hot swapped disk not recognized by RAID. Kindly help on fixing this issue. We have 2 LDOM configured on this server and this server running on single disk. #... (8 Replies)
Discussion started by: rock123
8 Replies

6. Solaris

Move partition to new disk

Hi, The disks of my servers are getting full and I need to move the /export/home partition on to a new set of disks. I already have 2 mirrored disks and have added 2 more and mirrored them after creating the filesystem on them. Do I just need to edit the /etc/vfstab and point the /export/home... (1 Reply)
Discussion started by: run_time_error
1 Replies

7. Solaris

Move root filesystem to other slice

Hi, df -h display: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 9.8G 8.1G 1.7G 84% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab fd 0K 0K 0K 0% /dev/fd swap 1.0G 152K 1.0G 1% /var/run swap 1.1G 24M 1.0G 3% /tmp /dev/dsk/c1t0d0s3 57G 13G 43G 24%... (4 Replies)
Discussion started by: lamoul
4 Replies

8. Solaris

Move root disk to new server

Hi, I need to do an installation where I have identical hardware at both sites and create the installation at one site and take the disk to the other site. Question: Do I need to do anything special for the OS to come up properly? thanks. (18 Replies)
Discussion started by: VirginiaSA
18 Replies

9. UNIX for Dummies Questions & Answers

Multi disk hardware

Hi all, I purchased a pci controller card and a 3rd hard drive to put Linux on my machine. The card did not enable me to boot to the 3rd drive so I could not get Mandrake to install. My motherboard is a Gigabyte GA-7DXR+. Can anyone point me to a reasonable card/connector which will allow me... (2 Replies)
Discussion started by: onestepto
2 Replies

10. Filesystems, Disks and Memory

Move a disk to Sol. 2.6

I removed an external Sun disk (with data on it) from an old 2.6 system and added the disk to another 2.6 system. The new system seems to recognize the system (verified by the format command). When try to mount I am getting, I got the error: mount: /dev/dsk/c1t1d0s6 is not this fstype. I... (3 Replies)
Discussion started by: sunshine
3 Replies

Featured Tech Videos