SUMMARY [STILL NEEDS HELP]: How to force identical major/minor numbers on two machines?

From: Mohamed Lrhazi <mohamed_at_your-site.com>
Date: Fri May 16 2003 - 14:50:52 EDT
Unfortunately, I still did not find a solution to my problem... makes me 
wonder if Sun did not made this this way to force people to use their 
clustering software!

Summary of the problem:
- Two identical servers, E4500, two identical disk shelves, A5000.
- Both shelves connected to both servers.
ls -lL /dev/rdsk/c[012]* on the two machines shows the files as having 
the same names, same major number but different minor numbers.

- Even when both systems are booted off a CDROM.
- We tried  recabling in each possible way we could imagine... the 
numbers change, but never agree.

Thanks for those who replied, especially : george goffe 
<grgoffe@yahoo.com>, who suggested and offered ideas on cloning  the 
system disk.

After I cloned /, /usr, /var /opt of system A, into a disk on system B, 
booted system B with -s argument only, no -r, the new system still 
changed the minor numbers of my disks on it own accord!!! and the 
resulting numbers do not match the original ones.


- ALargent@concordefs.com:
suggested I created those special files my self, and assigning the 
"right" minor numbers, using mknod.
Sounds great, but have no clue how to do that.. any ideas?

- mclausen@csit.fsu.edu: suggested:
there are a few files that need to be identical on both machines in 
order for this to work:

/etc/path_to_inst
/etc/minor_perm
/etc/name_to_major

I tried copying these files from system A to system B, then rebuilding 
the dev tree with devfsadm -C.... no avail.

-MGurugunti@us.nomura.com: If it is for cluster stuff then use hamajor 
or haminor commands.
No, we are not using  HA software... only bundled Solaris.

Any input highly appreciated.. this is driving me nuts.

Mohamed~
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri May 16 14:50:45 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:14 EST