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
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25
26 26 name="sd" class="scsi" class_prop="atapi"
27 27 target=0 lun=0;
28 28
29 29 name="sd" class="scsi" class_prop="atapi"
30 30 target=1 lun=0;
31 31
32 32 name="sd" class="scsi" class_prop="atapi"
33 33 target=2 lun=0;
34 34
35 35 name="sd" class="scsi" class_prop="atapi"
36 36 target=3 lun=0;
37 37
38 38 name="sd" class="scsi"
39 39 target=4 lun=0;
40 40
41 41 name="sd" class="scsi"
42 42 target=5 lun=0;
43 43
44 44 name="sd" class="scsi"
45 45 target=6 lun=0;
46 46
47 47 name="sd" class="scsi"
48 48 target=8 lun=0;
49 49
50 50 name="sd" class="scsi"
51 51 target=9 lun=0;
52 52
53 53 name="sd" class="scsi"
54 54 target=10 lun=0;
55 55
56 56 name="sd" class="scsi"
57 57 target=11 lun=0;
58 58
59 59 name="sd" class="scsi"
60 60 target=12 lun=0;
61 61
62 62 name="sd" class="scsi"
63 63 target=13 lun=0;
64 64
65 65 name="sd" class="scsi"
66 66 target=14 lun=0;
67 67
68 68 name="sd" class="scsi"
69 69 target=15 lun=0;
70 70
71 71 #
72 72 # Enable Target 7 for the mpt SCSI/SAS/SATA driver. Target 7 has
73 73 # traditionally been reserved for legacy SCSI HBAs, but SAS controllers
74 74 # supported by the mpt driver do not use target 7 for that purpose.
75 75 # Enabling Target 7 allows the use of 8 disks on those controllers.
76 76 #
77 77 name="sd" parent="mpt"
78 78 target=7 lun=0;
|
↓ 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