1835626 Members
3437 Online
110081 Solutions
New Discussion

SCSI ID changed

 
SOLVED
Go to solution
prash_1
Frequent Advisor

SCSI ID changed

dear friends,
My server conf.
server=rp3410 diskstation-DS2300
Before restart my DEV server SCSI ID shows c7txdx but after restart my SCSI shows
c5txdx.
because of this my VG's which are present in Disk-station (DS2300) that are not mounted.
1)Plz tell me how can I change SCSI ID c5txdx to
c7txdx.
2)Why it is happen.
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: SCSI ID changed

This never happens by itself, did you changed something (e.g. cabling, dip switches)?

See "man vgscan" to solve your problem.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
prash_1
Frequent Advisor

Re: SCSI ID changed

dear torsten,
Before restarting server I removed external ultrium.
but I did it to other server also.
A. Clay Stephenson
Acclaimed Contributor

Re: SCSI ID changed

This would not happen without assistance from you; I suspect you ran a rmsf and the a new insf. The system then discovered the hardware in a different order.

Anyway, you can change the controller instance numvers by following this procedures (although I would avoid it with the boot VG).

0) ioscan -f | grep -e "INTERFACE" \
-e "DEVICE" | grep -v -i "target" | \
awk '{printf("%-20.20s %-12.12s %3d\n, $3,$1,($2 + 0))}' | sort > /myfile

1) Use vi (or the text editor of choice) and change the "ext_bus" as needed/desired.



2) mv /stand/ioconfig /stand/ioconfig.SAV
mv /etc/ioconfig /etc/ioconfig.SAV
shutdown -ry 0

Because the ioconfig files are missing, you will get an ioinitrc prompt.

At the ioinitrc prompt type "/sbin/ioinit -c"
to rebuild the files.

3) Now apply your changes.

/sbin/ioinit -f /myfile -r

You can ignore warnings "Input is identical to kernel" but not errors "instance number 4 already exists for class"

The -r ioinit option causes the system to reboot immediately.

If you like this same procedure can also be used to reorder lan instances.

Man ioinit for details.
If it ain't broke, I can fix that.
prash_1
Frequent Advisor

Re: SCSI ID changed

thanks to you Stephenson I solved problem from your script