Print this page
OS-14 sd attach should not issue potentially slow scsi commands (ddi-forceattach=1)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun/io/scsi/targets/sd.conf
          +++ new/usr/src/uts/sun/io/scsi/targets/sd.conf
↓ open down ↓ 78 lines elided ↑ open up ↑
  79   79  #
  80   80  # The following stub node is needed for pathological bottom-up
  81   81  # devid resolution on a self-identifying transport. 
  82   82  #
  83   83  name="sd" class="scsi-self-identifying";
  84   84  
  85   85  #
  86   86  # Associate the driver with devid resolution.
  87   87  #
  88   88  ddi-devid-registrant=1;
       89 +
       90 +#
       91 +# Force attach to avoid timing problems with deferred attach 
       92 +# and tools like format(1M).
       93 +#  
       94 +ddi-forceattach=1;
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX