How do I make Solaris system aware of new devices?

This article simply provides a list of commands to allow Solaris to detect newly added devices.

Disks

  • While the system is up ( no fcal )
    SolarisDescriptionCommand
    2,6 / 7 Generate /devices structure /usr/sbin/drvconfig
    Generate /dev/dsk and /dev/rdsk links /usr/sbin/disks
    8 / 9 Generate /devices and /dev/dsk, /dev/rdsk links /usr/sbin/devfsadm
    10 Generate /devices /devices is now dynamic and managed by the devfs filesystem If necessary, new devices can be configured using /usr/sbin/cfgadm
    Generate /dev/dsk, /dev/rdsk links /usr/sbin/devfsadm
  • While the system is up ( fcal )
    SolarisDescriptionCommand
    All Get the enclosure name /usr/sbin/luxadm probe
    All Add the disk /usr/sbin/luxadm insert_device enclosure,slot
  • With a reboot
    MethodCommand
    1 /usr/sbin/shutdown -g0 -i0 "disk addition" boot -r
    2 /usr/bin/touch /reconfigure /usr/sbin/shutdown -g0 -i6 "disk addition"

Ports

  • While the system is up
    SolarisDescriptionCommand
    2.6 / 7 Generate /devices structure /usr/sbin/drvconfig
    Generate /dev links /usr/sbin/ports
    8 / 9 Generate /devices structure and /dev links /usr/sbin/devfsadm
    10 Generate /devices /devices is now dynamic and managed by the devfs filesystem If necessary, new devices can be configured using /usr/sbin/cfgadm
    Generate /dev links /usr/sbin/devfsadm

Tapes

  • While the system is up
    SolarisDescriptionCommand
    2.6 / 7 Generate /devices structure /usr/sbin/drvconfig
    Generate /dev and /dev links /usr/sbin/tapes
    8 / 9 Generate /devices structure and /dev links /usr/sbin/devfsadm
    10 Generate /devices /devices is now dynamic and managed by the devfs filesystem If necessary, new devices can be configured using /usr/sbin/cfgadm
    Generate /dev links /usr/sbin/devfsadm

Misc. Devices

  • While the system is up
    SolarisDescriptionCommand
    2.6 / 7 Generate /devices structure /usr/sbin/drvconfig
    Generate /dev links /usr/sbin/devlinks
    8 / 9 Generate /devices structure and /dev links /usr/sbin/devfsadm
    10 Generate /devices /devices is now dynamic and managed by the devfs filesystem If necessary, new devices can be configured using /usr/sbin/cfgadm
    Generate /dev links /usr/sbin/devfsadm