recreate /dev/sg/* on solaris 10 without reboot
We have added 6 new tape drives to our Solaris 10 Media servers. After running "devfsadm -C -c tape" I can see the new drives in the OS. That is, the /dev/rmt/* paths have been created & I can issue mt commands to query the drives.
I just need to get NetBackup to see the drives without rebooting.
Can I run the sg.build & sg.install scripts without rebooting?
I assume that I can considering the OS sees the drives?
My problem is that I am only allowed to reboot these servers twice a year.
I have read your excellent TECH31047 but it specifies a reboot.
Yes, you can run sg.build and
Yes, you can run sg.build and sg.install without need for reboot.
These steps have always worked for me:
See http://www.symantec.com/docs/TECH10725 for examples how to determine number of targets (to be used with -mt) and number of luns (-ml).
Next, do the following:
# cd /usr/openv/volmgr/bin/driver
# /usr/openv/volmgr/bin/sg.build all -mt <15> -ml <1>
Install the new sg driver configuration:
# /usr/bin/rm -f /kernel/drv/sg.conf
(I am aware that Martin's method is different, but as I've said - this has always worked for me.)