I attached a tape drive to sun fire x4170m3 server having operating system OEL5.8, need to add the driver to the kernel as we do in solaris devfsadm -c tape,,
I would like to ask if someone know about any equal command to the solaris devfsadm so I can add driver module to the Linux kernel without rebooting the Server.
Thanks in Advance...
I don't know for sure, but I guess the Linux "makedev" command is the closest replacement for some of the functions provided by the Solaris "devfsadm" command. However, there should be no reason to use such a command, unless the automatic system detection of devices is not working properly. The Linux device manager and udev subsystem is dynamic. As of the Linux 2.6 kernels, the devices list is rebuild at every system restart.
Btw, if the tape is a SCSI device, you must not connect it while the system is online as it can destroy the SCSI bus or Termination resistors. If the device is not detected during startup, you most likely have a hardware, SCSI ID or proper cabling/termination issue.
To load and unload drivers in linux, you want to use the modprobe command. Chances are the scsi card (or fibre), is already loaded. You need to just load the scsi tape driver (st).
# modprobe st
You can check what scsi devices appear with:
# cat /proc/scsi/scsi
If the tape drive is not listed, then you may need to load additional drivers for the scsi card. In some cases, you may need to rescan the scsi bus. There are a couple of ways to do this. First see if the schell script rescan-scsi-bus.sh exists on the system. If not, just google around for rescanning the scsi bus.
Signature with embedded link has been removed.