Re: (Q) Add a new Disk - w/o reboot

From: Colin B. (cbigam_at_somewhereelse.nucleus.com)
Date: 01/15/05


Date: Fri, 14 Jan 2005 23:17:26 GMT

Darren Dunham <ddunham@redwood.taos.com> wrote:
> Kermit Tensmeyer <kermit.tensmeyer@verizon.net> wrote:
>> drvconfig (1M) will build out the symbolic links in /dev/rdsk properly if
>> and only if the system can see the drive.
>
> Actually, 'drvconfig' creates the devices entries. You'd want 'disks'
> to build the /dev/rdsk links. 'devfsadm' replaces both of them from
> Solaris 8 onwards.
>
> "can see the drive" seems ambiguous there. How do you mean it? From
> the point of view of the hardware? The driver? 'format'?
>
>> Is there a method for alerting the
>> system that there is a new device on the controller chain N, that should be
>> added to the currently known device list?
>
> devfsadm or drvconfig will signal the driver to poll the devices. In
> the case of the sd driver, it will look for (say) newly attached scsi
> devices and create the devices.
>
> However, individual drivers may have limitations about what exactly they
> will poll. In the default configuration, the sd driver will poll only
> for devices where lun=0. If you need to change that, it requires
> modifying sd.conf and rebooting.

You also have to be clear about whether you're limiting the question to
SCSI drives, or if FCAL is also on the radar. In that case, you may also
(or alternately) need to do a cfgadm or luxadm to make the disks visible
to the running OS.



Relevant Pages

  • [2.6 patch] remove the documentation for the legacy CDROM drivers
    ... This patch removes the documentation for the removed legacy CDROM drivers. ... SC1200 WDT DRIVER ... LaTeX document on standardizing the CD-ROM programming interface. ... THIS DRIVER WILL WORK WITH THE CD-ROM DRIVES LISTED, ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)
  • Re: 2.6.27-rc1-mm1: rmmod ide-cd_mod oops
    ... Which IDE host driver is it happening with? ... unable to handle kernel NULL pointer dereference at 00000024 ... # Please see Documentation/ide/ide.txt for help/info on IDE drives ... # PCI IDE chipsets support ...
    (Linux-Kernel)
  • Re: STOP on shut-down, optical drives or drivers?
    ... Windows update loose. ... thought that this could be a different type of driver issue dealing with the ... the PCI Bridge that is used to connect to the CD-ROM drives. ... Some malware can restore themselves, and to prevent it, System ...
    (microsoft.public.windowsxp.help_and_support)