2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LUXADM 8 "May 13, 2017"
8 luxadm \- administer Sun Fire 880 storage subsystem and FC_AL devices
12 \fBluxadm\fR [\fIoptions\fR]... \fIsubcommand\fR [\fIoptions\fR]... \fIenclosure\fR
13 [,\fIdev\fR] | \fIpathname\fR...
18 The \fBluxadm\fR program is an administrative command that manages the
19 \fBSENA\fR, Sun Fire 880 internal storage subsystem, and individual Fiber
20 Channel Arbitrated Loop (\fBFC_AL\fR) devices. \fBluxadm\fR performs a variety
21 of control and query tasks depending on the command line arguments and options
25 The command line must contain a subcommand. The command line may also contain
26 options, usually at least one enclosure name or pathname, and other parameters
27 depending on the subcommand. You need specify only as many characters as are
28 required to uniquely identify a subcommand.
31 Specify the device that a subcommand interacts with by entering a pathname. For
32 the \fBSENA\fR subsystem, a disk device or enclosure services controller may
33 instead be specified by entering the World Wide Name (\fBWWN\fR) for the device
34 or a port to the device. The device may also be specified by entering the name
35 of the \fBSENA\fR enclosure, and an optional identifier for the particular
36 device in the enclosure. The individual \fBFC_AL\fR devices may be specified by
37 entering the \fBWWN\fR for the device or a port to the device.
40 Specify the device or controller by either a complete physical pathname or a
41 complete logical pathname.
44 For \fBSENA,\fR a typical physical pathname for a device is:
48 /devices/sbus@1f,0/SUNW,socal@1,0/sf@0,0/ssd@w2200002037000f96,
56 For all \fBSENA IBs\fR (Interface Boards) and Sun Fire 880 SES device
57 controllers on the system, a logical link to the physical paths is kept in the
58 directory \fB/dev/es\fR. An example of a logical link is \fB/dev/es/ses0\fR.
61 The \fBWWN\fR may be used in place of the pathname to select an \fBFC_AL\fR
62 device, \fBSENA\fR subsystem IB, or Sun Fire 880 internal storage subsystem.
63 The \fBWWN\fR is a unique 16 hexadecimal digit value that specifies either the
64 port used to access the device or the device itself. A typical \fBWWN\fR value
76 See NOTES for more information on the \fBWWN\fR formats.
79 For a disk in a Sun Fire 880 internal storage subsystem, a typical physical
84 /devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037a6303c,0:a
91 and a typical logical pathname is:
102 For individual FC_AL devices, a typical physical pathname is:
106 /devices/sbus@3.0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037049fc3,0:a,raw
113 and a typical logical pathname is:
124 For \fBSENA,\fR a device may be identified by its enclosure name and slotname:
127 \fIbox_name\fR[\fB,f\fR\fIslot_number\fR]
131 \fIbox_name\fR[\fB,r\fR\fIslot_number\fR]
135 \fIbox_name\fR is the name of the \fBSENA\fR enclosure, as specified by the
136 \fBenclosure_name\fR subcommand. When used without the optional
137 \fIslot_number\fR parameter, the \fIbox_name\fR identifies the \fBSENA\fR
141 \fBf\fR or \fBr\fR specifies the front or rear slots in the \fBSENA\fR
145 \fIslot_number\fR specifies the slot number of the device in the \fBSENA\fR
146 enclosure, \fB0-6\fR or \fB0-10\fR.
149 For a Sun Fire 880 internal storage subsystem, a device may also be identified
150 by its enclosure name and slot name. However, there is only one set of disks:
154 \fIbox_name\fR[,\fIsslot_number\fR]
161 \fIbox_name\fR is the name of the Sun Fire 880 enclosure, as specified by the
162 \fBenclosure_name\fR subcommand. When used without the optional
163 \fIslot_number\fR parameter, \fIbox_name\fR identifies the Sun Fire 880
164 internal storage subsystem enclosure services device. Use \fIs\fR to specify
165 the disk slot number in the Sun Fire 880 internal storage subsystem, \fB0\fR -
169 See \fBdisks\fR(8) and \fBdevlinks\fR(8) for additional information on
170 logical names for disks and subsystems.
173 The following options are supported by all subcommands:
180 Expert mode. This option is not recommended for the novice user.
194 Options that are specific to particular subcommands are described with the
195 subcommand in the \fBUSAGE\fR section.
198 The following operands are supported:
202 \fB\fIenclosure\fR\fR
206 The \fIbox_name\fR of the \fBSENA\fR or Sun Fire 880 internal storage
213 \fB\fIfibre_channel_HBA_port\fR\fR
217 The path to the host controller port. A typical path is:
221 /devices/pci@8,600000/pci@1/SUNW,qlc@4/fp@0,0:devctl
235 The logical or physical path of a \fBSENA IB\fR, Sun Fire 880 internal storage
236 subsystem, or disk device. \fIpathname\fR can also be the \fBWWN\fR of a
237 \fBSENA IB\fR, \fBSENA\fR disk, or individual \fBFC_AL\fR device.
244 \fB\fBdisplay\fR \fIenclosure\fR[,\fIdev\fR]\|.\|.\|.\||
245 \fIpathname\fR\|.\|.\|.\fR
249 \fB\fBdisplay\fR \fB-p\fR \fIpathname\fR\|.\|.\|.\fR
253 \fB\fBdisplay\fR \fB-r\fR \fIenclosure\fR[,\fIdev\fR]\|.\|.\|.\||
254 \fIpathname\fR\|.\|.\|.\fR
258 \fB\fBdisplay\fR \fB-v\fR \fIenclosure\fR[,\fIdev\fR]\|.\|.\|.\||
259 \fIpathname\fR\|.\|.\|.\fR
263 Displays enclosure or device specific data.
265 Subsystem data consists of enclosure environmental sense information and status
266 for all subsystem devices, including disks.
268 Disk data consists of inquiry, capacity, and configuration information.
275 Displays performance information for the device or subsystem specified by
276 \fIpathname\fR. This option only applies to subsystems that accumulate
277 performance information.
286 Displays error information for the \fBFC_AL\fR device specified by the
287 pathname, or, if the path is a \fBSENA,\fR for all devices on the loop. The
288 \fB-r\fR option only applies to \fBSENA\fR subsystems and individual
298 Displays in verbose mode, including mode sense data.
306 \fB\fBdownload\fR [ \fB-s\fR ] [ \fB-f\fR \fIfilename_path\fR ]
307 \fIenclosure\fR.\|.\|.\fR
311 Download the prom image pointed to the SENA subsystem Interface Board unit or
312 the Sun Fire 880 internal storage subsystem specified by the enclosure or
315 When the \fBSENA's\fR download is complete, the \fBSENA\fR will be reset and
316 the downloaded code executed. If no filename is specified, the default prom
317 image will be used. The default prom image for the \fBSENA\fR is in the
318 directory \fBusr/lib/locale/C/LC_MESSAGES\fR and is named \fBibfirmware\fR
320 When the Sun Fire 880 internal storage subsystem's download is complete, the
321 subsystem resets and the downloaded code begins execution. The default firmware
322 image for the Sun Fire 880 internal storage subsystem is in:
323 \fB/usr/platform/SUNW,Sun-Fire-880/lib/images/int_fcbpl_fw\fR.
330 Save. The \fB-s\fR option is used to save the downloaded firmware in the
331 FEPROM. If \fB-s\fR is not specified, the downloaded firmware will not be saved
334 The \fB-s\fR option does not apply to the Sun Fire 880 internal storage
335 subsystem as it always stores downloaded firmware in the flash memory.
337 When using the \fB-s\fR option, the \fBdownload\fR subcommand modifies the
338 \fBFEPROM\fR on the subsystem and should be used with \fIcaution\fR.
346 \fB\fBenclosure_name\fR \fInew_name\fR \fIenclosure\fR | \fIpathname\fR\fR
350 Change the enclosure name of the enclosure or enclosures specified by the
351 enclosure or pathname. The new name (\fInew_name\fR) must be 16 or less
352 characters. Only alphabetic or numeric characters are acceptable. This
353 subcommand applies only to the SENA and the Sun Fire 880 internal storage
360 \fB\fBfailover primary\fR | \fBsecondary\fR \fIpathname\fR\fR
364 Select which Sun Storage T3 storage array partner group controller accesses a
365 given logical volume. If \fBprimary\fR is specified, the logical volume is
366 accessed through the primary controller. If \fBsecondary\fR is specified, the
367 logical volume is accessed through the secondary controller specified by
374 \fB\fBfcal_s_download\fR [ \fB-f\fR \fIfcode-file\fR ]\fR
378 Download the fcode contained in the file \fIfcode-file\fR into \fIall\fR the
379 \fBFC100/S\fR Sbus Cards. This command is interactive and expects user
380 confirmation before downloading the fcode.
382 Use \fBfcal_s_download\fR \fIonly\fR in single-user mode. Using
383 \fBfcal_s_download\fR to update a host adapter while there is \fBI/O\fR
384 activity through that adapter \fIwill\fR cause the adapter to reset. Newly
385 updated FCode will not be executed or visible until a system reboot.
389 \fB\fB-f\fR \fIfcode-file\fR\fR
392 When invoked without the \fB-f\fR option, the current version of the fcode in
393 each \fBFC100/S\fR Sbus card is printed.
401 \fB\fBfcode_download\fR \fB-p\fR\fR
405 \fB\fBfcode_download\fR \fB-d\fR \fIdir-name\fR\fR
409 Locate the installed \fBFC/S\fR, \fBFC100/S, FC100/P\fR, or \fBFC100/2P\fR host
410 bus adapter cards and download the FCode files in \fIdir-name\fR to the
411 appropriate cards. The command determines the correct card for each type of
412 file, and is interactive. User confirmation is required before downloading the
413 FCode to each device.
415 Use \fBfcode_download\fR to load FCode only in single-user mode. Using
416 \fBfcode_download\fR to update a host adapter while there is \fBI/O\fR activity
417 through that adapter causes the adapter to reset. Newly updated FCode will not
418 be executed or visible until a system reboot.
422 \fB\fB-d\fR \fIdir-name\fR\fR
425 Download the FCode files contained in the directory \fIdir-name\fR to the
426 appropriate adapter cards.
435 Prints the current version of FCode loaded on each card. No download is
444 \fB\fBinquiry\fR \fIenclosure\fR[,\fIdev\fR ]\|.\|.\|.\| |
445 \fIpathname\fR\|.\|.\|.\fR
449 Display the inquiry information for the selected device specified by the
450 enclosure or pathname.
456 \fB\fBinsert_device\fR [ \fIenclosure\fR,\fIdev\fR\|.\|.\|. ]\fR
460 Assist the user in the hot insertion of a new device or a chain of new devices.
461 Refer to \fBNOTES\fR for limitations on hotplug operations. This subcommand
462 applies only to the \fBSENA\fR, Sun Fire 880 internal storage subsystem, and
463 individual FC_AL drives. For the \fBSENA\fR, if more than one enclosure has
464 been specified, concurrent hot insertions on multiple busses can be performed.
465 With no arguments to the subcommand, entire enclosures or individual
466 \fBFC_AL\fR drives can be inserted. For the \fBSENA\fR or the Sun Fire 880
467 internal storage subsystem, this subcommand guides the user interactively
468 through the hot insertion steps of a new device or chain of devices. If a list
469 of disks was entered it will ask the user to verify the list of devices to be
470 inserted is correct, at which point the user can continue or quit. It then
471 interactively asks the user to insert the disk(s) or enclosure(s) and then
472 creates and displays the logical pathnames for the devices.
478 \fB\fBled\fR \fIenclosure\fR,\fIdev\fR\|.\|.\|.\|| \fIpathname\fR.\|.\|.\fR
482 Display the current state of the \fBLED\fR associated with the disk specified
483 by the enclosure or pathname. This subcommand only applies to subsystems that
484 support this functionality.
490 \fB\fBled_blink\fR \fIenclosure\fR,\fIdev\fR\|.\|.\|.\||
491 \fIpathname\fR\|.\|.\|.\fR
495 Requests the subsystem to start blinking the \fBLED\fR associated with the disk
496 specified by the enclosure or pathname. This subcommand only applies to
497 subsystems that support this functionality.
503 \fB\fBled_off\fR \fIenclosure\fR,\fIdev\fR\|.\|.\|.\||
504 \fIpathname\fR\|.\|.\|.\fR
508 Requests the subsystem to disable (turn off) the \fBLED\fR associated with the
509 disk specified by the enclosure or pathname. On a \fBSENA\fR subsystem, this
510 may or may not cause the \fBLED\fR to turn off or stop blinking depending on
511 the state of the \fBSENA\fR subsystem. Refer to the \fBSENA\fR Array
512 Installation and Service Manual (p/n 802-7573). This subcommand only applies to
513 subsystems that support this functionality.
519 \fB\fBled_on\fR \fIpathname\fR\|.\|.\|.\fR
523 Requests the subsystem to enable (turn on) the \fBLED\fR associated with the
524 disk specified by the pathname. This subcommand only applies to subsystems that
525 support this functionality.
531 \fB\fBpower_off\fR [ \fB-F\fR ] \fIenclosure\fR[,\fIdev\fR]\|.\|.\|. |
532 \fIpathname\fR \|.\|.\|.\fR
536 When a \fBSENA\fR is addressed, this subcommand causes the \fBSENA\fR subsystem
537 to go into the power-save mode. The \fBSENA\fR drives are not available when in
538 the power-save mode. When a drive in a \fBSENA\fR is addressed the drive is set
539 to the drive off/unmated state. In the drive off/unmated state, the drive is
540 spun down (stopped) and in bypass mode. This command does not apply to the Sun
541 Fire 880 internal storage subsystem.
548 The force option only applies to the \fBSENA.\fR Instructs \fBluxadm\fR to
549 attempt to power off one or more devices even if those devices are being used
550 by this host (and are, therefore, busy).
552 \fBWarning\fR: Powering off a device which has data that is currently being
553 used will cause unpredictable results. Users should attempt to power off the
554 device normally (without \fB-F\fR) first, only resorting to this option when
555 sure of the consequences of overriding normal checks.
563 \fB\fBpower_on\fR \fIenclosure\fR[\fB,\fR\fIdev\fR]\|.\|.\|\fR
567 Causes the \fBSENA\fR subsystem to go out of the power-save mode, when this
568 subcommand is addressed to a \fBSENA.\fR. When this subcommand is addressed to
569 a drive the drive is set to its normal start-up state. This command does not
570 apply to the Sun Fire 880 internal storage subsystem.
576 \fB\fBprobe\fR [ \fB-p\fR ]\fR
580 Finds and displays information about all attached \fBSENA\fR subsystems, Sun
581 Fire 880 internal storage subsystems, and individual \fBFC_AL\fR devices,
582 including the logical pathname, the \fBWWNs,\fR and enclosure names. This
583 subcommand warns the user if it finds different \fBSENAs\fR with the same
591 Includes the physical pathname in the display.
599 \fB\fBqlgc_s_download\fR [ \fB-f\fR \fIfcode-file\fR ]\fR
603 Download the FCode contained in the file \fIfcode-file\fR into all the
604 \fBFC100/P\fR, \fBFC100/2P\fR \fBPCI\fR host adapter cards. This command is
605 interactive and expects user confirmation before downloading the FCode to each
606 device. Only use \fBqlgc_s_download\fR in single-user mode. Using
607 \fBqlgc_s_download\fR to update a host adapter while there is\fB I/O\fR
608 activity through that adapter will cause the adapter to reset. Newly updated
609 FCode will not be executed or visible until a system reboot.
613 \fB\fB-f\fR \fIfcode-file\fR\fR
616 When invoked without the \fB-f\fR option, the current version of the FCode in
617 each \fBFC100/P\fR,\fB FC100/2P PCI\fR card is printed.
625 \fB\fBrelease\fR \fIpathname\fR\fR
629 Release a reservation held on the specified disk. The pathname should be the
630 physical or logical pathname for the disk.
632 This subcommand is included for historical and diagnostic purposes only.
638 \fB\fBremove_device\fR [ \fB-F\fR ] \fIenclosure\fR[,\fIdev\fR]\|.\|.\|.\||
639 \fIpathname\fR\|.\|.\|.\fR
643 Assists the user in hot removing a device or a chain of devices. This
644 subcommand can also be used to remove entire enclosures. This subcommand
645 applies to the \fBSENA\fR, Sun Fire 880 internal storage subsystem, and
646 individual \fBFC_AL\fR drives. Refer to \fBNOTES\fR for limitations on hotplug
647 operations. For the \fBSENA\fR, Sun Fire 880 internal storage subsystem, and
648 individual \fBFC_AL\fR devices, this subcommand guides the user through the hot
649 removal of a device or devices. During execution it will ask the user to verify
650 the list of devices to be removed is correct, at which point the user can
651 continue or quit. It then prepares the disk(s) or enclosure(s) for removal and
652 interactively asks the user to remove the disk(s) or enclosure(s).
654 For Multi-Hosted disk, the steps taken are:
659 Issue the \fBluxadm\fR \fBremove_device\fR command on the first host. When
660 prompted to continue, wait.
666 Issue the \fBluxadm\fR \fBremove_device\fR command on the secondary hosts. When
667 prompted to continue, wait.
673 Continue with the \fBremove_device\fR command on the first host. Remove the
674 device when prompted to do so.
680 Complete the \fBluxadm\fR \fBremove_device\fR command on the additional hosts.
688 Instructs \fBluxadm\fR to attempt to hot plug one or more devices even if those
689 devices are being used by this host (and are, therefore, \fBbusy\fR or
690 \fBreserved\fR), to \fBforce\fR the hotplugging operation.
692 \fBWarning\fR: Removal of a device which has data that is currently being used
693 will cause unpredictable results. Users should attempt to hotplug normally
694 (without \fB-F\fR) first, only resorting to this option when sure of the
695 consequences of overriding normal hotplugging checks.
703 \fB\fBreserve\fR \fIpathname\fR\fR
707 Reserve the specified disk for exclusive use by the issuing host. The pathname
708 used should be the physical or logical pathname for the disk.
710 This subcommand is included for historical and diagnostic purposes only.
716 \fB\fBset_boot_dev\fR [ \fB-y\fR ] \fIpathname\fR\fR
720 Set the boot-device variable in the system \fBPROM\fR to the physical device
721 name specified by \fIpathname\fR, which can be a block special device or the
722 pathname of the directory on which the boot file system is mounted. The command
723 normally runs interactively requesting confirmation for setting the default
724 boot-device in the \fBPROM\fR. The \fB-y\fR option can be used to run it
725 non-interactively, in which case no confirmation is requested or required.
731 \fB\fBstart\fR \fIpathname\fR\fR
735 Spin up the specified disk(s) in a SENA.
741 \fB\fBstop\fR \fIpathname\fR...\fR
745 Spin down the specified disks in a SENA.
748 .SS "SENA, Sun Fire 880 Internal Storage Subsystem, and Individual FC_AL Drive Expert Mode Subcommands"
750 The following subcommands are for expert use only, and are applicable only to
751 the \fBSENA\fR, Sun Fire 880 internal storage subsystem, and fiber channel
752 loops. They should only be used by users that are knowledgeable about the
753 \fBSENA\fR subsystem and fiber channel loops.
756 If you specify a disk to an expert subcommand that operates on a bus, the
757 subcommand operates on the bus to which the specified disk is attached.
761 \fB\fB-e\fR \fBbypass\fR \fB[\fR\fB-ab\fR\fB]\fR \fIenclosure\fR,\fIdev\fR\fR
765 \fB\fB-e\fR \fBbypass\fR \fB-f\fR \fIenclosure\fR\fR
769 Request the enclosure services controller to set the LRC (Loop Redundancy
770 Circuit) to the bypassed state for the port and device specified.
772 This subcommand supports the following options:
779 Bypass port \fBa\fR of the device specified.
788 Bypass port \fBb\fR of the device specified.
796 \fB\fB-e\fR \fBdump_map\fR \fIfibre_channel_HBA_port\fR\fR
800 Display WWN data for a target device or host bus adapter on the specified fibre
801 channel port. If there are no target devices on the specified port, an error is
808 \fB\fB-e\fR \fBenable\fR \fB[\fR\fB-ab\fR\fB]\fR \fIenclosure\fR,\fIdev\fR\fR
812 \fB\fB-e\fR \fBenable\fR \fB-f\fR \fIenclosure\fR\fR
816 Request the enclosure services controller to set the LRC (Loop Redundancy
817 Circuit) to the enabled state for the port and device specified.
819 This subcommand supports the following options:
826 Enable port \fBa\fR of the device specified.
835 Enable port \fBb\fR of the device specified.
843 \fB\fB\fR\fB-e\fR \fBforcelip\fR \fIenclosure\fR[\fB,\fR\fIdev\fR] \|.\|.\|. |
844 \fIpathname\fR\|.\|.\|.\fR
848 Force the link to reinitialize, using the Loop Initialization Primitive
849 (\fBLIP\fR) sequence. The enclosure or pathname can specify any device on the
850 loop. Use the pathname to specify a specific path for multiple loop
853 This is an expert only command and should be used with caution. It will reset
854 all ports on the loop.
860 \fB\fB\fR\fB-e\fR \fBrdls\fR \fIenclosure\fR[\fB,\fR\fIdev\fR] \|.\|.\|. |
861 \fIpathname\fR\|.\|.\|.\fR
865 Read and display the link error status information for all available devices on
866 the loop that contains the device specified by the enclosure or pathname.
869 .SS "Other Expert Mode Subcommands"
871 See \fBNOTES\fR for limitations of these subcommands. They should only be used
872 by users that are knowledgeable about the systems they are managing.
875 These commands do not apply to the Sun Fire 880 internal storage subsystem.
879 \fB\fB\fR\fB-e\fR \fBbus_getstate\fR \fIpathname\fR\fR
882 Get and display the state of the specified bus.
888 \fB\fB\fR\fB-e\fR \fBbus_quiesce\fR \fIpathname\fR\fR
891 Quiesce the specified bus.
897 \fB\fB\fR\fB-e\fR \fBbus_reset\fR \fIpathname\fR\fR
900 Reset the specified bus only.
906 \fB\fB\fR\fB-e\fR \fBbus_resetall\fR \fIpathname\fR\fR
909 Reset the specified bus and all devices.
915 \fB\fB\fR\fB-e\fR \fBbus_unquiesce\fR \fIpathname\fR\fR
918 Unquiesce the specified bus. the specified device.
924 \fB\fB\fR\fB-e\fR \fBdev_getstate\fR \fIpathname\fR\fR
927 Get and display the state of the specified device.
933 \fB\fB\fR\fB-e\fR \fBdev_reset\fR \fIpathname\fR\fR
936 Reset the specified device.
942 \fB\fB\fR\fB-e\fR \fBoffline\fR \fIpathname\fR\fR
945 Take the specified device offline.
951 \fB\fB\fR\fB-e\fR \fBonline\fR \fIpathname\fR\fR
954 Put the specified device online.
959 \fBExample 1 \fRDisplaying the \fBSENA\fRs and Individual FC_AL Devices on a
963 The following example finds and displays all of the \fBSENA\fRs and individual
964 \fBFC_AL\fR devices on a system:
969 example% \fBluxadm probe\fR
975 \fBExample 2 \fRDisplaying a \fBSENA\fR or Sun Fire 880 Internal Storage
979 The following example displays a \fBSENA\fR or Sun Fire 880 internal storage
985 example% \fBluxadm display /dev/es/ses0\fR
991 \fBExample 3 \fRDisplaying Two Subsystems
994 The following example displays two subsystems using the enclosure names:
999 example% \fBluxadm display BOB system1\fR
1005 \fBExample 4 \fRDisplaying Information about the First Disk
1008 The following example displays information about the first disk in the front of
1009 the enclosure named \fBBOB.\fR Use \fBf\fR to specify the front disks. Use
1010 \fBr\fR to specify the rear disks.
1015 example% \fBluxadm display BOB,f0\fR
1021 \fBExample 5 \fRDisplaying Information on a Sun Fire 880 Internal Storage
1025 The Sun Fire 880 internal storage subsystem has only one set of disks. In this
1026 case, use \fIs\fR to specify the slot:
1031 example% \fBluxadm display BOB,s0\fR
1037 \fBExample 6 \fRDisplaying Information about a \fBSENA\fR disk, an Enclosure,
1038 or an Individual \fBFC_AL\fR Drive
1041 The following example displays information about a \fBSENA\fR disk, an
1042 enclosure, or an individual \fBFC_AL\fR drive with the port \fBWWN\fR of
1043 \fB2200002037001246\fR:
1048 example% \fBluxadm display 2200002037001246\fR
1054 \fBExample 7 \fRUsing Unique Characters to Issue a Subcommand
1057 The following example uses only as many characters as are required to uniquely
1058 identify a subcommand:
1063 example% \fBluxadm disp BOB\fR
1069 \fBExample 8 \fRDisplaying Error Information
1072 The following example displays error information about the loop that the
1073 enclosure \fBBOB\fR is on:
1078 example% \fBluxadm display \fR\fB-r\fR\fB BOB\fR
1084 \fBExample 9 \fRDownloading New Firmware into the Interface Board
1087 The following example downloads new firmware into the Interface Board in the
1088 enclosure named \fBBOB\fR (using the default path for the file to download):
1093 example% \fBluxadm download \fR\fB-s\fR\fB BOB\fR
1099 \fBExample 10 \fRDisplaying Information from the \fBSCSI\fR Inquiry Command
1102 The following example displays information from the \fBSCSI\fR inquiry command
1103 from all individual disks on the system, using only as many characters as
1104 necessary to uniquely identify the inquiry subcommand:
1109 example% \fBluxadm inq /dev/rdsk/c?t?d?s2\fR
1115 \fBExample 11 \fRHotplugging
1118 The following example hotplugs a new drive into the first slot in the front of
1119 the enclosure named \fBBOB:\fR
1124 example% \fBluxadm insert_device BOB,f0\fR
1131 The following example hotplugs a new drive into the first slot in the Sun Fire
1132 880 internal storage subsystem named SF880-1:
1137 example% \fBluxadm insert_device SF880-1,s0\fR
1143 \fBExample 12 \fRRunning an Expert Subcommand
1146 The following example runs an expert subcommand. The subcommand forces a loop
1147 initialization on the loop that the enclosure \fBBOB\fR is on:
1152 example% \fBluxadm \fR\fB-e\fR\fB forcelip BOB\fR
1158 \fBExample 13 \fRUsing the Expert Mode Hot Plugging Subcommands
1161 An example of using the expert mode hot plugging subcommands to hot remove a
1162 disk follows. See \fBNOTES\fR for hot plugging limitations.
1166 The first step reserves the SCSI device so that it can't be accessed by way of
1167 its second SCSI bus:
1172 example# \fBluxadm reserve /dev/rdsk/c1t8d0s2\fR
1178 \fBExample 14 \fRTaking the Disk to be Removed Offline
1181 The next two steps take the disk to be removed offline then quiesce the bus:
1186 example# \fBluxadm \fR\fB-e\fR\fB offline /dev/rdsk/c1t8d0s2\fR
1187 example# \fBluxadm -e bus_quiesce /dev/rdsk/c1t8d0s2\fR
1193 \fBExample 15 \fRUnquiescing the Bus
1196 The user then removes the disk and continues by unquiescing the bus, putting
1197 the disk back online, then unreserving it:
1202 example# \fBluxadm \fR\fB-e\fR\fB bus_unquiesce /dev/rdsk/c1t8d0s2\fR
1203 example# \fBluxadm \fR\fB-e\fR\fB online /dev/rdsk/c1t8d0s2\fR
1204 example# \fBluxadm release /dev/rdsk/c1t8d0s2\fR
1209 .SH ENVIRONMENT VARIABLES
1211 See \fBenviron\fR(5) for a description of the \fBLANG\fR environment variable
1212 that affects the execution of \fBluxadm\fR.
1215 The following exit values are returned:
1222 Successful completion.
1237 \fB\fBusr/lib/firmware/fc_s/fc_s_fcode\fR\fR
1247 \fB\fBusr/lib/locale/C/LC_MESSAGES/ibfirmware\fR\fR
1256 \fBdevlinks\fR(8), \fBdisks\fR(8), \fBattributes\fR(5), \fBenviron\fR(5),
1260 Currently, only some device drivers
1261 support hot plugging. If hot plugging is attempted on a disk or bus where it is
1262 not supported, an error message of the form:
1266 luxadm: can't acquire "PATHNAME": No such file or directory
1276 You must be careful not to quiesce a bus that contains the root or the
1277 \fB/usr\fR filesystems or any swap data. If you do quiesce such a bus a
1278 deadlock can result, requiring a system reboot.