T3 – Three Disk Mirror (WTF?)

SO, HOW DOES THIS WORK? WHAT’S REALLY GOING ON?

Assuming a 3-disk mirror, when one writes 6 blocks of data to the
mirror LUN, the 6 blocks (and likewise, subsequent blocks) will be
arranged on the 3 disks as shown below. The "D" refers to data, and
the "M" refers to mirror.

With the data arranged in this fashion, it is easy to see that if a
disk fails, the data will still be available.

disk-1 disk-2 disk-3
+—————————
Data -> | blk1 blk2 blk3
Mirror -> | blk3 blk1 blk2
Data -> | blk4 blk5 blk6
Mirror -> | blk6 blk4 blk5

Note that a 3-disk mirror of 18GB (actually 17.9GB) disks yields 26.8GB
of usable space. That’s 17.9GB times 3, then divided by 2 because the
data is mirrored.

17.9 x 3
——– = 26.8
2

CREATING THE VOLUME:

Here is how one can create, via the CLI, a 3-disk RAID-1 (mirror).
Each of the disks used here are 18GB.

t3a:/:<10> vol add v1 data u1d1-3 raid 1

t3a:/:<11> vol init v1 data
WARNING – Volume data will be initialized to zero.
WARNING – Volume initialization can take a significant amount of time.
Continue ? [N]: Y

t3a:/:<12> vol list
volume capacity raid data standby
v1 26.8 GB 1 u1d1-3 none

T3 commands

Disable disk enable ep fru help lpc port
proc refresh reset sync sys tail ver vol

disable
usage: disable u
disable ul[1|2]

disk
usage: disk version
disk download

enable
usage: enable u
enable ul[1|2]

ep
usage: ep download

fru
usage: fru l[ist]
fru list sys
fru list [u<1-8>]
fru list [u<1-8>]c[1]
fru list [u<1-8>]d[<1-9>]
fru list [u<1-8>]l[<1-2>]
fru list [u<1-8>]pcu[<1-2>]
fru list [u<1-8>]mpn[1]
fru s[tat]
fru stat sys
fru stat [u<1-8>]
fru stat [u<1-8>]c[1]
fru stat [u<1-8>]d[<1-9>]
fru stat [u<1-8>]l[<1-2>]
fru stat [u<1-8>]pcu[<1-2>]
fru st[atistic]
fru statistic sys
fru statistic [u<1-8>]
fru statistic [u<1-8>]d[<1-9>]
fru statistic [u<1-8>]p[1][clear]
fru statistic [u<1-8>]v[<1-2>] [clear]
fru myuid

help
arp cat cd cmpcp dateecho head helpls
mkdir mv pingpwd rmrmdir tail touch boot
disable disk enable fruidlogger lpc more
passwd portproc reset set shutdown sync sys
tzset ver vol ep refresh route ofdg

lpc
usage: lpc version
lpc download ul{1|2}
lpc reboot ul{1|2}
lpc rsn ul{1|2}
lpc rid ul{1|2}
lpc ledtest ul{1|2}

port
usage: port list
port set |s[oft]>
port host
port listmap []

proc
usage: proc list [ | ]
proc kill |

refresh
usage: refresh -c —-> start refresh
refresh -s —-> get status
refresh -i —-> re-init command file
refresh -k —-> kill current refreshing task

reset
usage: exactly that…you will be prompted to confirm your
desire to reset the controller

sync
usage: same deal…system will sync data from cache to disk

sys
usage: sys list
sys stat
sys blocksize <16k | 32k | 64k>
sys cache
sys mirror
sys mp_support
sys rd_ahead
sys recon_rate

tail
usage: tail [+|-number[lc]] filename

ver
usage: ver….returns the following version information:
T300 Release 1.16 2000/08/21 19:42:08 (10.0.0.1)
Copyright (C) 1997-2000 Sun Microsystems, Inc.
All Rights Reserved.

vol
usage: vol list []
vol stat []
vol mode []
vol add data raid <0 | 1 | 5> [standby ]
vol init [rate <1-16>]
vol mount
vol unmount
vol remove
vol verify [fix] [rate <1-8>]
vol recon [to_standby | from_standby]
vol disable [to_standby]

With the Sun StorEdge T3B or T3+ array, and PSOS Version 2.1 and above,
new features and commands have been added.

Sys variable volslice_enable enables volume slicing, lun masking and lun mapping.

volslice

volslice list

volslice create -z

volslice rm | -v

lun mapping, map slices to lun’s

lun

lun map add lun slice

lun map list [lun |slice ]

lun map rm lun |slice

lun map rm all

lun masking, set lun permissions or access

lun perm

lun perm list

lun default

lun wwn list

lun wwn rm all

lun wwn rm wwn

wwn groups, allows groups of wwns to share permissions

hwwn

hwwn add wwn

hwwn rm wwn

hwwn list

hwwn rmgrp

hwwn listgrp

Reset A1000 battery age

Sun StorEdge[TM] A1000 Battery lifespan is documented as 24 months. However, field engineers frequently experience battery failure after periods much shorter than two years.

/usr/lib/osa/bin/healthck -a
Health Check Summary Information
lab_A1000: Failed Battery
healthck succeeded!

Reset the battery age using raidutil -c c2t5d0s2 -R

T3 dot commands

Dot commands are only available after using the "sun" command and providing the correct password located in infodoc 81414

Care must be taken as many of these commands can be destructive; they should only be used by experienced engineers.
Document Body: Top

.bat
Synopsis: .bat -i u[12]pcu[12]

The -i option will initialize the battery warranty start date.
( For T3+ ; not required for T4.)

.disp
Synopsis: .disp pos
.disp ts
.disp type

The ‘pos’ command will show the physical slots and the
system’s view of those drives. A perfect match should be
seen, otherwise the system believes a drive is in a location
that it’s not.

array00:/:<10>.disp pos
U1 U2 U3 U4
——- ——- ——- ——-
s01: u1d01 u2d01 u3d01 u4d01
s02: u1d02 u2d02 u3d02 u4d02
s03: u1d03 u2d03 u3d03 u4d03
s04: u1d04 u2d04 u3d04 u4d04
s05: u1d05 u2d05 u3d05 u4d05
s06: u1d06 u2d06 u3d06 u4d06
s07: dummy dummy dummy dummy
s08: dummy dummy dummy dummy
s09: dummy dummy dummy dummy
s10: dummy dummy dummy dummy
s11: dummy dummy dummy dummy
s12: dummy dummy dummy dummy
s13: dummy dummy dummy dummy
s14: u1d14 u2d14 u3d14 u4d14

‘ts’ will show the timestamps that are stored in the label
area of each drive.

array00:/:<15>.disp ts
U1 U2 U3 U4
——————– ——————–
——————– ——————–
d01: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d02: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d03: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d04: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d05: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d06: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d07: dummy dummy dummy
dummy
d08: dummy dummy dummy
dummy
d09: dummy dummy dummy
dummy
d10: dummy dummy dummy
dummy
d11: dummy dummy dummy
dummy
d12: dummy dummy dummy
dummy
d13: dummy dummy dummy
dummy
d14: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42

‘type’ indicates if the drive has a valid label with
‘Labeled’. If the sysarea is valid, it must also have
a valid label, then ‘Sysarea’ will be displayed.

array00:/:<16>.disp type
U1 U2 U3 U4
—————- —————- —————-
—————-
d01: Sysarea Sysarea Sysarea Sysarea
d02: Sysarea Sysarea Sysarea Sysarea
d03: Sysarea Sysarea Sysarea Sysarea
d04: Sysarea Sysarea Sysarea Sysarea
d05: Sysarea Sysarea Sysarea Sysarea
d06: Sysarea Sysarea Sysarea Sysarea
d07: dummy dummy dummy dummy
d08: dummy dummy dummy dummy
d09: dummy dummy dummy dummy
d10: dummy dummy dummy dummy
d11: dummy dummy dummy dummy
d12: dummy dummy dummy dummy
d13: dummy dummy dummy dummy
d14: Sysarea Sysarea Sysarea Sysarea

.ondg

Synopsis: .ondg [-y] test u{12}l{12} [count n]
.ondg [-y] find u{12}l{12}

Online version of diagnostic checks

.ofdg

Synopsis: .ofdg [-y] health_check
.ofdg [-y] fast_test u{12}l{12}
.ofdg [-y] fast_find u{12}l{12}
.ofdg [-y] find u{12}l{12}

Offline version of diagnostic checks

.pfstart

Synopsis: .pfstart nccb [nscb [nset]]
.pfstart -1 nccb
.pfstart -2 nccb [nscb]
.pfstart -3 nccb [nscb [nset]]

Performance tracing. Level 1 traces Command Control Blocks,
level 2 adds Stripe Control Blocks to the mix, and level 3 adds
Command Sets.

There must be at least twice as many nsets as nscbs. That also
applies to the ratio between nscbs and nccbs.

The Performance tracing commands are not enabled by default and
require a special engineering build to actually do anything.

.pfstop

Synopsis: .pfstop

Stop PF tracing.

.pffree

Synopsis: .pffree

Frees dynamic memory allocated for PF tracing

.pfdisp

Synopsis: .pfdisp -1
.pfdisp -2
.pfdisp -3

Displays the tracing information. At this time the arguments
are no-ops.

.probe

Synopsis: .probe

Calls low level pPROBE entry point in pSOS kernel.

.loc
Synopsis: .loc list
.loc rm dev 0|[1-14]

The ‘list’ option will dump some internal state information
about the mirrored configuration block. The ‘rm’ command removes
the label by writing zero across the information present.

auggie:/:<6>.loc list

Local Volume
——————————-
Enclosure Id : 1
Slice : 2
Raid Level : 1
Stripe Unit Size: 512
Block Size : 512
Mounted : Yes
Start Block : 16493
End Block : 57453
Partition Size : 40960

.sim

Synopsis: .sim -f|-s num 0|1|2 pause
.sim -f|-s num 0|1|2 resume
.sim -f|-s num 0|1|2 rd
.sim -f|-s num 0|1|2 wt [data ]
.sim -f|-s num 0|1|2 mb <#0 [#1 #2 #3]>
.sim -f|-s num 0|1|2 mbx <#0 [#1 #2 #3 #4 #5 #6 #7]>
.sim -f|-s num 0|1|2 getmode
.sim -f num 0|1|2 getmap
.sim -f num 0|1|2 linkstat
.sim -f num 0|1|2 getrniddata
.sim -f num 0|1|2 dump
.sim -f num 0|1|2 offline
.sim -f num 0|1|2 online
.sim -f num 0|1|2 reset
.sim -f num 0|1|2 simstat
.sim -f num 0|1|2 alpa2id
.sim -f num 0|1|2 getpdg

.cfg

Synopsis: .cfg use buff|dram
.cfg log 0|1|2|3|4
.cfg bypass 0|1
.cfg fhs 0|1
.cfg fatalreset 0|1
.cfg flushes
.cfg open|close u1p{1|2|3}c{1|2}
.cfg perf 0|1

The ‘use’ subcommand causes disk read and writes to the
cache when ‘buff’ is used as an argument. The I/O occurs to
the CPU memory if ‘dram’ is given. There are internal checks
which will panic the system if the wrong value is given.
Under most conditions ‘buff’ is the desired result.

log allows control over the level of messages which are
added to the syslog. The higher the value, the more verbose
the messages become. Here is what the values mean:

0 = no messages
1 = only error messages
2 = add warning messages
3 = plus notice messages
4 = debug messages

The ‘bypass’ command can be used to prevent any disk drive
reads or writes.

‘fhs’ is Fast Host Sim. Used to pick the correct
configuration table when issuing commands. "1" will enable the
FHS functions, otherwise the default is used.

Normally on a fatal error the system will reset itself.
If fatalreset is set to 0 the pSOS probe entry point will be called.

Normally 20 stripes can be flushed from the cache in between
commands.

The ‘flushes’ subcommand can change this value. No bounds
checking is done.

The open and close commands allow modification of the access
to either channel on one of the three QLogic ports.

‘perf’ set to "1" will start the testing of the ISP2100
target mode using fake I/O. ‘perf’ with "0" stops the testing.

.id

Synopsis: .id read [options]
.id write [options]
.id range

has one of the following patterns:
u{1-8}c1

u{1-8}l{1|2}
u{1-8}pcu{1|2}
u{1-8}b{1|2}

[options] are one of the following:
static, dynamic, all, config
with an optional filename added at the end.

are:
-g : get, no arguments
-s : set, no arguments
-a : alternate prom, local only,
no args

-f : same as above
-o : 0x1800, strtol(..base=0) format
-l : 0x200, strtol(..base=0) format
-v : l0x1234abcd for long, or
: w0x1234 for word, or
: b0xab for byte
examples:
.id range -sfg u1c1 -o 0x200 -l 0x40 -v l0x1234abcd
.id range -gaf u1c1 -o 0x0 -l 0x40

This command either reads or writes the FRUID information
from the SEEPROM. Here is a typical display of the
information provided:

auggie:/:<14>.id read u1c1
Description: ASSY, PURPLE2, CONTROLLER BD
Short Name: T3B-Cntlr
Serial Number: 110457
Part Number: 5015710
Dash Level: 02
Rev Level: 51
Vendor Name: 0x301
Manufacture Loc: SOLECTRON,MILPITAS,CA
Timestamp: Tue Mar 05 03:47:56 GMT 2002

The options of static, dynamic, all, and config dump the
information in ASCII and hex.

auggie:/:<12>.id read u1c1 config
0x0000 20 45 10 00 74 66 74 70 – 00 00 00 03 00 00 25 80
E..tftp……%.
0x0010 00 00 5D 40 AC 14 39 1E – FF FF FC 00 AC 14 3B F8
..]@..9…….;.

0x1FD0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….
0x1FE0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….
0x1FF0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….

.size

Synopsis: .size recon

Set the reconstruction size of any volumes created. By
using a small size, commands like ‘vol init’ complete in
a much shorter time. This command is dangerous to use in
anything except a test environment.

.stat

Synopsis: .stat cache
.stat xfer
.stat port
.stat sys
.stat prog

Display statistics about the cache and transfers based on
the FAC. The FAC value is comprised of two groups of 10 for
the T3B or two groups of 16 for the T4. In either case, the
group number is encoded in the upper nibble with group 1 being
encoded as 0x10 ( not 0x00 as you might think ).

The ‘port’ option gives statistics on the incoming requests
from the Fibre Channel.

The option ‘sys’ while enabled does not do anything.

The ‘prog’ option returns the number of commands in
progress on port 0.

.disk

Synopsis: .disk spindown
.disk spinup
.disk -f format
.disk version
.disk download
.disk mkhard lba
.disk mksoft lba
.disk reassign lba
.disk glist
.disk plist
.disk softerr
.disk harderr
.disk gettune
.disk settune stack {num}
.disk setpath 0|1
.disk setfail 0|1
.disk pathstat
.disk failover
.disk failback
.disk loopdown path
.disk loopup path
.disk linkstat path
.disk tmon_list
.disk tmon_over
.disk tmon_warn
.disk tmon_ref
.disk bypass path
.disk unbypass path

The is of the format uXdX or uXdX-Y.

‘spindown’ attempts to remove power from the drive motor,
such that when the device is pulled from the system the
user isn’t holding a gyroscope in their hands.

‘spinup’ attempts to enable the motor on the drive so that
disk access can occur.

‘format’ performs a track level formatting of the drive. The
-f option is used on drives which don’t appear to be valid, but
do exist in the system.

‘version’ shows the firmware version of the drives. This is
the same as the normal ‘disk version’ command.

‘download’ allows system administrators to load new versions
of drive firmware. Same as the ‘disk download’ command.

‘mkhard’ creates a hard disk error at the given block number
on the disk(s).

‘mksoft’ creates a soft disk error at the given block number
on the disk(s).

‘reassign’ uses the SCSI reassign command to deal with the
given block.

‘plist’ and ‘glist’ display their respective error lists in
the following format.

auggie:/:<5>.disk plist u1d1

DISK PLIST
—————————————————–
u1d01 836

‘softerr’ and ‘harderr’ show two different error lists in
the following format:

auggie:/:<9>.disk harderr u1d1

DISK HARDERR
—————————————————–
u1d01 0x0

‘gettune’ displays the tunable SCSI disk parameters such as
queue depth (stack) and path policy.

auggie:/:<25>.disk gettune u1d1

DISK STACK_LEVEL PATH_POLICY FAIL_POLICY
——————————————
u1d01 8 APATH PATH

‘settune’ allows you to change the depth of the queue of
commands which can be fired at one time.

‘setpath’ controls which path is used to the disk – the
primary (0) or the alternate (1).

‘setfail’ controls if a failover can occur. If set to 1,
normal failover is used. If 0, no failover will occur.

‘pathstat’ displays information about the current path
policy to the disk drive.

auggie:/:<26>.disk pathstat u1d1

DISK PPATH APATH CPATH PATH_POLICY FAIL_POLICY
—————————————————
u1d01 [0 U] [1 U] APATH APATH PATH

‘failover’ cause a failover from primary to alternate path.

‘failback’ return to primary path.

‘loopdown’ causes the loop for the drive to drop which uses
the given path.

‘loopup’ enables the loop which was previously down.

‘linkstat’ provides information about the link to a given
disk.

auggie:/:<27>.disk linkstat u1d1 path 0

DISK LINKFAIL LOSSSYNC LOSSSIG PROTOERR INVTXWORD INVCRC
——————————————————–
u1d01 1 5 0 0 1078 0

‘tmon_list’ gives information about the temperature
monitoring for the drives.

auggie:/:<28>.disk tmon_list u1d1-2

DISK REF WARN OVER
—————————————-
u1d01 0 0 0
u1d02 0 0 0

‘tmon_over’ sets the over temperature limit.

‘tmon_warn’ sets the warning temperature limit.

‘tmon_ref’ sets the reference temperature.

‘bypass’ causes the path of the specific drive to be
bypassed.

‘unbypass’ reverses the bypass command.

.port

Synopsis: .port list
.port set u{1|2}p{1|2|3} |soft>
.port host u{1|2}p{1|2|3} sun|other
.port map u{1|2}p{1|2|3} lun {0-15}
primary|failover [sun]
.port unmap u{1|2}p{1|2|3} lun {0-15}
.port listmap [u{1|2}p{1|2|3}]

This command is the same as the port command, with the
exception of the ‘map’ and ‘unmap’ options. The ‘map’
option changes the mode of a LUN to be either the primary
or the failover path.

.vol
Synopsis: .vol list []
.vol stat []
.vol mode []
.vol add data raid 0|1|5 [standby]
.vol init data|sysarea|fast [rate <1-16>]
.vol mount
.vol unmount
.vol [-y] remove
.vol verify [fix] [rate <1-8>]
.vol recon [to_standby | from_standby]
.vol disable [to_standby]

The options are the same with the .vol command as they are
with the normal vol command. The difference is that when using
the ‘init’ option ‘fast’ can be specified on all RAID levels,
not just RAID 0.

.ep
Synopsis: .ep netload1
.ep netload2
.ep netload3
.ep netloadp
.ep invalidate l 2|3|p s 1|2
.ep info

The netload options read a file from the network using TFTP
and directly program the flash PROM of the particular level
that is specified by the option name.

There are two images of each level stored in the flash. The
‘invalidate’ options sets the code signature so that the
system will not use that copy to boot from.

‘info’ provides version information for all levels of
firmware.

P2L1 section 1:
Code size=000008ec chksum=fb920489 base=fff00000
start=fff00100
Code version=0200 subrevision= date=20010420
time=16184000
Header counter=fffffffb chksum=7e425f44

.sys
Synopsis: .sys stat
.sys blocksize 16k|32k|64k
.sys cache auto|writebehind|writethrough|off
.sys mirror auto|off
.sys naca on|off
.sys mp_support none|rw|mpxio|std
.sys rd_ahead on|off
.sys recon_rate high|med|low
.sys enable_volslice
.sys fc_topology auto|loop|fabric_p2p
.sys autodisable on|off
.sys autorecon on|off
.sys loop1_split auto|off
.sys idle_disk_timeout <0-24>
.sys tmon_over <0-80>
.sys tmon_warn <0-80>
.sys tmon_ref <0-80>
.sys tmon_poll_interval <0-10>
.sys tmon_warn_interval <0-24>
.sys offline
.sys online
.sys list

The following have the same usage as the normal sys command.
stat, blocksize, cache, mirror, naca, mp_support,
rd_ahead, recon_rate, enable_volslice, fc_topology

‘autodisable’ is used with the online diagnostics to
automatically fail a drives if certain failure thresholds
have been exceeded. It is also used to disable the software
if a disable event has been seen.

‘autorecon’ controls the automatic reconstruction of a drive
when it has been inserted into the system.

‘loop1_split’ controls the system’s ability to split the
loop.

‘idle_disk_timeout’ is set to some number of hours. If the
drive hasn’t been used within that time period, a read and seek
operation is done to see if the drive is still healthy.

‘tmon_over’ is the over-temperature setting used for all
disks, if there is not a specific one set for an individual
disk.

‘tmon_warn’ is the warning threshold at the general level for
disks.

‘tmon_ref’ is the reference temperature.

‘tmon_poll_interval’ is used by the ondg subsystem when
polling for temperatures. The value is in minutes.

‘tmon_warn_interval’ indicates how often the system should
print a warning message about temperature thresholds being
exceeded.

‘offline’ turns off the heartbeat checking.

‘online’ turns on the heartbeat checking.

array00:/:<140>.sys list
controller : 2.5
blocksize : 64k
cache : auto
mirror : auto
mp_support : mpxio
naca : off
rd_ahead : 2
recon_rate : 8
sys memsize : 128 MBytes
cache memsize : 1024 MBytes
fc_topology : fabric_p2p
fc_speed : 2Gb
autodisable : on
autorecon : on
loop1_split : auto
idle_disk_timeout : 8
ondg : off
ondg_tm_slice : 5
tmon_over_temp : 60
tmon_warn_temp : 55
tmon_ref_temp : 50
tmon_poll_interval : 1
tmon_warn_interval : 8

.set

Synopsis: .set bootmode auto|tftp|none
.set bootdelay
.set tip
.set netmask
.set gateway
.set tftphost
.set tftpfile
.set hostname
.set timezone
.set spindelay <0..>
.set logto 1|*|filename
.set loglevel 0|1|2|3|4
.set logmask
.set rarp on|off

The only difference between the dot command and the normal
version are the spindelay and logmask options.

spindelay is the number of seconds for the driver to wait
during initialization for the drive to come online.

It is possible to use the logmask to only enable certain
messages to be sent to the syslog daemon. Knowledge of the code
is required to understand what bits will indicate which messages
are displayed.

margin

Synopsis: margin -e encid -l low|off|high

Adjusts the power supply margin feature on the T4.
This command may not be part of the 3.0 release.
( Engineering is still deciding if the feature should continue
to be available.)

rnid
Synopsis: rnid [-i ip_addr] [-p port] [-n host] [-l]

The -l option will list the ip, port, and hostname stored in
NVRAM which make up a RNID packet. The other options set the
corresponding fields.

.lpcrd

Synopsis: .lpcrd [ [ []]]

Issues a low level Loop Card register read. This command is a
debugging aid for the Loop Card engineers.

.lpcwr
Synopsis: .lpcwr []

Performs a register write operation to both paths. Debugging
command.

.lpcmrd

Synopsis: .lpcmrd [ ]

Command currently is a no-op on T4 arrays. Issues a memory
read operation to the Loop Card.

.lpc

Synopsis: .lpc version
.lpc start
.lpc stop
.lpc download u{1-8}l{1|2}
.lpc reboot u{1-8}l{1|2}
.lpc rsterr u{1-8}l{1|2}
.lpc fread u{1-8}l{1|2}
.lpc fwrite u{1-8}l{1|2} …

.lpc finvalid u{1-8}l{1|2} 0x8000|0xc000
.lpc ferase u{1-8}l{1|2}
.lpc property u{1-8}l{1|2}
.lpc rtemp u{1-8}l{1|2}
.lpc ledtest u{1-8}l{1|2}
.lpc preset u{1-8}l{1|2}
.lpc test l{1|2}

‘version’ displays the version information of the Loop Card.

auggie:/:<31>.lpc version
LOOP A LOOP B
Enclosure 1 5.2 5.2
Enclosure 2 5.2 5.2

‘start’ and ‘stop’ are obvious in their function.

‘download’ updates the firmware on the Loop Card.

‘reboot’ causes the Loop Card to reboot.

‘rsterr’ resets the error counters.

‘fread’, ‘fwrite’, ‘finvalid’, ‘ferase’, and ‘property’ are
currently disabled and do nothing.

‘rtemp’ reads the temperature sensors on the Loop Card.

auggie:/:<35>.lpc rtemp u1l1
Temperature = 0.0 C
Temperature = 0.0 C

‘ledtest’ causes the Loop Card to run through a LED test.

‘preset’ sends a extended preset command to the Loop Card.
Unknown functionality.

‘test’ causes the Loop Card to enter a special test mode.

.lpctest

Synopsis: .lpctest l{1|2}

Current test is a no-op on T4 arrays. Runs a set of simple
diagnostic commands on the Loop Card. The array must be configured
as a single brick, because a loopback cable must be attached to
run the tests.

.lpcstat

Synopsis: .lpcstat

No-op on T4 arrays.

.loop

Synopsis: .loop stat
.loop set

.peek

Synopsis: .peek

.philechk

Synopsis: .philechk

pSOS file system checking utility.

.poke

Synopsis: .poke [ []]

Poke the hex pattern into cache memory. The pattern is a
32bit value and the size is in bytes. Size defaults to
four bytes. If a pattern is not given then the location
address is stored in the location.

.mcdk

Synopsis: .mcdk

There are four commands which can be sent to a slot (aka
disk) in each enclosure.

1 = bypass the drive
2 = enable drive
3 = set busy LED
4 = set OK LED

.mclp

Synopsis: .mclp

The valid command numbers are the following:

6 = Set the MUX which uses the fourth argument in the following manner:
0 = Isolated
1 = Bottom
2 = Top
3 = Middle
7 = Force bypass of a controller.
8 = Disable bypass of a controller.
14 = Set a controller as master
15 = Execute a poll of Loop Card to check status.

.mcps

Synopsis: .mcps

Executes PCU commands to LPC. The following are valid commands:
1 = Start a battery refresh cycle
2 = Stop a battery refresh cycle
3 = Enable PCU
4 = Disable PCU

The ps_id is the PCU number, with valid values being 1 and 2.

.mclc

Synopsis: .mclc

Executes Loop Card commands to LPC. Commands available are:
1 = Start Loop Card communication
2 = Disable Loop Card
3 = Enable Loop Card

.mcct

Synopsis: .mcct

Executes controller commands to LPC. Commands available are:
3 = Assert Watchdog Timer
4 = Disable Watchdog Timer
5 = Set SCSI address using

.wwn

Synopsis: .wwn

Displays the various World Wide Numbers available on the
array.

auggie:/:<11>.wwn
Master(u1) WWN : 0x50 0x02 0x0f 0x23 0x00 0x01 0xaf 0x79
Alternate(u2) WWN: 0x50 0x02 0x0f 0x23 0x00 0x01 0xaf 0x79
System WWN : 0x60 0x02 0x0f 0x20 0x00 0x00 0x5d 0x40

.diag

Synopsis: .diag

Allow various tests to be run. Here is the menu which is
displayed.

auggie:/:<37>.diag

DIAGNOSTICS MENU

CO: Configure options for Diagnosis
MM: Memory Diagnostic Menu
DM: Data Path Diagnostic Menu
XM: Xor Diagnostic Menu
XB: Xor BringUp Menu
IM: QLOGIC ISP Chip Diagnostic Menu
RS: Reset System
QC: Quit but go into Label Control Menu
QT: Quit Diagnostic Menu

Enter command [HE]: qt

.sysdiag

Synopsis: .sysdiag

Runs the following tests in a loop until a Cntrl-T is
pressed on the keyboard: DRAM, Data Path, and ISP2100.

.tdl
Synopsis: .tdl list
.tdl remove
.tdl trap

Transaction Data Log commands are used to view and modify
the systems command transaction data which may not have
completed before a reset or error condition. The ‘list’
function shows what is currently in the log:

Disk Log List
index next operation cu
cmd ref

The ‘remove’ function is used to completely reset the log to
its default state which is empty.

‘trap’ will call the pSOS probe function when any one of 256
possible TDL’s occur. See src/common/msc/ri_util.h for a valid
list of traps.

.ecc

Synopsis: .ecc s
.ecc v {value}
.ecc i {value}

‘s’ shows the status of ECC errors:

auggie:/:<24>.ecc s

Num of single-bit ECC errors
————————————————–
Unit-01 0
Unit-02 0

Note: ECC threshold is 0.
The syslog of single-bit ECC error is disabled

‘v’ sets the threshold of ECC errors before a syslog message
is written.
‘i’ sets the disk number to initialize MCB file system.

.ref

Synopsis: .ref r
.ref v {value}

Battery threshold information. The ‘r’ option gets the
minimum battery hold time in seconds. The ‘v’ option sets
the threshold of the minimum battery hold time in seconds.

.devtree

Synopsis: .devtree {encid} [{encid}…]

Prints the data from the internal device tree in a raw
ASCII format.

array00:/:<179>.devtree 1
ENCLOSURE[1]:
Present: true
Id: 1
DRIVE[1]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 23
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QYDR
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[2]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1P2JC
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[3]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q7KP
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[4]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 65535
State: unknown
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QXFN
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[5]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 23
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QZP2
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[6]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q61B
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[7]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[8]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[9]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[10]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[11]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[12]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[13]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE14]:
Present: true
[Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 25
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q6RP
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
CONTROLLER[1]:
Present: true
Is dummy: false
L3 Version: 3.0.5
L2 Version: 3.0.5
L1 Version: 3.0.5
LP Version: 3.0.5
Detect[0]: false
Detect[1]: false
alt_loop: true
Bypass[0]: false
Bypass[1]: false
Sensor[1]:
Temperature: 22
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Thu Dec 26 10:04:00 PST 2002
Description: ASSY, T4 CONTROLLER, 14 SLOT
Manufacture Loc: Milpitas,CA,USA
Part Number: 5405559
Serial Number: 000636
Vendor Name: 0x301
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Ctlr
Extended Record
Mac: 00:03:ba:27:c8:81
PCU[1]:
Present: true
Off: false
Enable: true
ACOK: true
DCOK: true
Switch: true
FAN[1]:
Fault: false
Speed: unknown
FAN[2]:
Fault: false
Speed: unknown
BATTERY:
Present: true
State: true
Refresh: false
Charger: false
Manufacture Record:
Timestamp: Tue Nov 19 09:46:54 PST 2002
Description: ASSY, T4 BATTERY, 14 SLOT
Manufacture Loc: TIJUANA,MEXICO
Part Number: 3704861
Serial Number: 000905
Vendor Name: 0x076
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Bat
Battery Warranty Record:
Shelf Life: 20736000 seconds
Refresh Cycle: 2419200 seconds
Warranty Duration: 63072000 seconds
Battery Status Record:
Warranty Date: Tue Apr 15 04:15:21 ST 2003
Last Recharge Date: Sun May 25 04:42:45 ST 2003
Last Health Check Date: Sun May 25 02:06:45 ST 2003
Battery Status: 0
Over Current: false
3V Status: OK
5V Status: OK
12V Status: OK
On Battery: false
PS margin: Off
Sensor[1]:
Temperature: 15
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Sensor[2]:
Temperature: 18
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Sensor[3]:
Temperature: 15
State: ok
Age: 759
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Sat Nov 09 04:57:42 PST 2002
Description: POWER SUPPLY, 400W, 14 SLOT
Manufacture Loc: DELTA ELECTRONICS THAILAND
Part Number: 3001562
Serial Number: Q01215

Vendor Name: 0x3AD
Dash Level: 01
Rev Level: 16
Short Name: T4-14_PCU
PCU[2]:
Present: true
Off: false
Enable: true
ACOK: true
DCOK: true
Switch: true
FAN[1]:
Fault: false
Speed: unknown
FAN[2]:
Fault: false
Speed: unknown
BATTERY:
Present: true
State: true
Refresh: false
Charger: false
Manufacture Record:
Timestamp: Tue Nov 19 09:50:48 PST 2002
Description: ASSY, T4 BATTERY, 14 SLOT
Manufacture Loc: TIJUANA,MEXICO
Part Number: 3704861
Serial Number: 000909
Vendor Name: 0x076
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Bat
Battery Warranty Record:
Shelf Life: 20736000 seconds
Refresh Cycle: 2419200 seconds
Warranty Duration: 63072000 seconds
Battery Status Record:
Warranty Date: Tue Apr 15 04:15:21 ST 2003
Last Recharge Date: Sun May 25 07:06:46 ST 2003
Last Health Check Date: Sun May 25 04:49:45 ST 2003
Battery Status: 0
Over Current: false
3V Status: OK
5V Status: OK
12V Status: OK
On Battery: false
PS margin: Off
Sensor[1]:
Temperature: 20
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Sensor[2]:
Temperature: 22
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Sensor[3]:
Temperature: 19
State: ok
Age: 759
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Sat Nov 09 04:59:34 PST 2002
Description: POWER SUPPLY, 400W, 14 SLOT
Manufacture Loc: DELTA ELECTRONICS THAILAND
Part Number: 3001562
Serial Number: Q01216
Vendor Name: 0x3AD
Dash Level: 01
Rev Level: 16
Short Name: T4-14_PCU
LPC[1]:
Present: true
Version: 6.27

Fail Loop: false
Power On Reset: false
Watchdog: false
LC Attention: false
Up Loop:
Cable Present: true
Bypass: false
Detect: false
Down Loop:
Cable Present: false
Bypass: true
Detect: false
Offline: false
Master: true
Qlogic Ready: false
Port C Status: true
Disabled: false
New: false
Sensor[1]:
Temperature: 28
State: ok
Age: 759
Warning threshold: 58
Shutdown threshold: 65
Manufacture Record:
Timestamp: Wed Apr 16 15:46:55 ST 2003
Description: ASSY, T4 LOOP, 14 SLOT
Manufacture Loc: Purple Lab, Newark, CA
Part Number: 5405384
Serial Number: 910045
Vendor Name: 0xBEEF
Dash Level: 01
Rev Level: 50
Short Name: T4-14_Loop
LPC[2]:
Present: true
Version: 6.27
Fail Loop: false
Power On Reset: false
Watchdog: false
LC Attention: false
Up Loop:
Cable Present: true
Bypass: false
Detect: false
Down Loop:
Cable Present: false
Bypass: true
Detect: false
Offline: false
Master: false
Qlogic Ready: false
Port C Status: true
Disabled: false
New: false
Sensor[1]:
Temperature: 26
State: ok
Age: 759
Warning threshold: 58
Shutdown threshold: 65
Manufacture Record:
Timestamp: Wed Apr 16 15:46:55 ST 2003
Description: ASSY, T4 LOOP, 14 SLOT
Manufacture Loc: Purple Lab, Newark, CA
Part Number: 5405384
Serial Number: 910041
Vendor Name: 0xBEEF
Dash Level: 01
Rev Level: 50
Short Name: T4-14_Loop
MIDPLANE:
Sensor[1]:
Temperature: 65535
State: unknown
Age: 0
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Fri Jan 31 11:40:08 PST 2003
Description: ASSY, T4 MIDPLANE, 14 SLOT
Manufacture Loc: Milpitas,CA,USA
Part Number: 5405318
Serial Number: 400414
Vendor Name: 0x301
Dash Level: 02
Rev Level: 02
Short Name: T4-14_MdPn
Extended Record
Mac: 00:03:ba:27:d7:ab
Wwn: 10:00:00:03:ba:27:d7:ab

.boot

Synopsis: .boot -c

Clears all configuration information and sets the system
to initial state.

.lun

Synopsis: .lun map add lun slice
.lun map rm lun [slice ]
.lun map rm all
.lun map list [lun | slice ]
.lun perm {all_lun|lun } {rw|ro|none}
{all_wwn|wwn |grp }
.lun perm list [lun |wwn |grp
]
.lun map default

This command is almost the same as the normal admistrator
command ‘lun’. There are two differences. First is the ‘map
default’ which is only available when using the dot version.
The second is the information displayed when using the
‘list’ option. The volume number which this LUN is associated
with is also displayed.

T3 extractor

Sun StorEdge T3/T3+/T4/6120 Array T3extractor (t3xtr) is a simple perl script
that gathers configuration data from T3 family arrays via their Ethernet
connection. A perl interpreter is included, so perl does not need to be
installed.

It can be run from any host that has access to the T3s’ administrative network
and does not require root access on the host executing the program. Root access
for the T3s being queried is required, however. Data is collected and stored in
a compressed tarfile (t3data.hostid.hostname-YYYY.MM.DD.HH.MM-tar.Z) which
contains a subdirectory for each T3 unit or partner group queried.

T3 array hostnames are passed to the program using the "t3hosts" file. If this
file does not exist, the program prompts the user to enter the T3 array
hostnames. The T3 array hostnames can also be included on the command line as
comma separated arguments to the program.

To install and execute the program, perform the following steps:
1. # zcat T3extractor-1.10.tar.Z | tar xf –
2. # cd T3extractor-1.10
3. (optional) edit the t3hosts file (see t3hosts.example)
4. # ./t3xtr

T3 Battery

telnet into the T3 or connect with a serial cable

fru stat
id read u1pcu1
id read u2pcu1

battery age between 630 and 720 days – near expiration
battery refresh

refresh -s will show when the battery is scheduled to recharge
refresh -c will start the charge cycle and schedule the next one in 28 days

after replacing the battery use the .bat ? command to reset the system

T3 dot commands

Dot commands are only available after using the "sun" command and providing the correct password located in infodoc 81414

Care must be taken as many of these commands can be destructive; they should only be used by experienced engineers.
Document Body: Top

.bat
Synopsis: .bat -i u[12]pcu[12]

The -i option will initialize the battery warranty start date.
( For T3+ ; not required for T4.)

.disp
Synopsis: .disp pos
.disp ts
.disp type

The ‘pos’ command will show the physical slots and the
system’s view of those drives. A perfect match should be
seen, otherwise the system believes a drive is in a location
that it’s not.

array00:/:<10>.disp pos
U1 U2 U3 U4
——- ——- ——- ——-
s01: u1d01 u2d01 u3d01 u4d01
s02: u1d02 u2d02 u3d02 u4d02
s03: u1d03 u2d03 u3d03 u4d03
s04: u1d04 u2d04 u3d04 u4d04
s05: u1d05 u2d05 u3d05 u4d05
s06: u1d06 u2d06 u3d06 u4d06
s07: dummy dummy dummy dummy
s08: dummy dummy dummy dummy
s09: dummy dummy dummy dummy
s10: dummy dummy dummy dummy
s11: dummy dummy dummy dummy
s12: dummy dummy dummy dummy
s13: dummy dummy dummy dummy
s14: u1d14 u2d14 u3d14 u4d14

‘ts’ will show the timestamps that are stored in the label
area of each drive.

array00:/:<15>.disp ts
U1 U2 U3 U4
——————– ——————–
——————– ——————–
d01: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d02: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d03: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d04: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d05: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d06: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42
d07: dummy dummy dummy
dummy
d08: dummy dummy dummy
dummy
d09: dummy dummy dummy
dummy
d10: dummy dummy dummy
dummy
d11: dummy dummy dummy
dummy
d12: dummy dummy dummy
dummy
d13: dummy dummy dummy
dummy
d14: 17-Apr-2003 09:47:53 27-Nov-2002 16:04:42 14-Jan-2003
12:18:17 27-Nov-2002 16:04:42

‘type’ indicates if the drive has a valid label with
‘Labeled’. If the sysarea is valid, it must also have
a valid label, then ‘Sysarea’ will be displayed.

array00:/:<16>.disp type
U1 U2 U3 U4
—————- —————- —————-
—————-
d01: Sysarea Sysarea Sysarea Sysarea
d02: Sysarea Sysarea Sysarea Sysarea
d03: Sysarea Sysarea Sysarea Sysarea
d04: Sysarea Sysarea Sysarea Sysarea
d05: Sysarea Sysarea Sysarea Sysarea
d06: Sysarea Sysarea Sysarea Sysarea
d07: dummy dummy dummy dummy
d08: dummy dummy dummy dummy
d09: dummy dummy dummy dummy
d10: dummy dummy dummy dummy
d11: dummy dummy dummy dummy
d12: dummy dummy dummy dummy
d13: dummy dummy dummy dummy
d14: Sysarea Sysarea Sysarea Sysarea

.ondg

Synopsis: .ondg [-y] test u{12}l{12} [count n]
.ondg [-y] find u{12}l{12}

Online version of diagnostic checks

.ofdg

Synopsis: .ofdg [-y] health_check
.ofdg [-y] fast_test u{12}l{12}
.ofdg [-y] fast_find u{12}l{12}
.ofdg [-y] find u{12}l{12}

Offline version of diagnostic checks

.pfstart

Synopsis: .pfstart nccb [nscb [nset]]
.pfstart -1 nccb
.pfstart -2 nccb [nscb]
.pfstart -3 nccb [nscb [nset]]

Performance tracing. Level 1 traces Command Control Blocks,
level 2 adds Stripe Control Blocks to the mix, and level 3 adds
Command Sets.

There must be at least twice as many nsets as nscbs. That also
applies to the ratio between nscbs and nccbs.

The Performance tracing commands are not enabled by default and
require a special engineering build to actually do anything.

.pfstop

Synopsis: .pfstop

Stop PF tracing.

.pffree

Synopsis: .pffree

Frees dynamic memory allocated for PF tracing

.pfdisp

Synopsis: .pfdisp -1
.pfdisp -2
.pfdisp -3

Displays the tracing information. At this time the arguments
are no-ops.

.probe

Synopsis: .probe

Calls low level pPROBE entry point in pSOS kernel.

.loc
Synopsis: .loc list
.loc rm dev 0|[1-14]

The ‘list’ option will dump some internal state information
about the mirrored configuration block. The ‘rm’ command removes
the label by writing zero across the information present.

auggie:/:<6>.loc list

Local Volume
——————————-
Enclosure Id : 1
Slice : 2
Raid Level : 1
Stripe Unit Size: 512
Block Size : 512
Mounted : Yes
Start Block : 16493
End Block : 57453
Partition Size : 40960

.sim

Synopsis: .sim -f|-s num 0|1|2 pause
.sim -f|-s num 0|1|2 resume
.sim -f|-s num 0|1|2 rd
.sim -f|-s num 0|1|2 wt [data ]
.sim -f|-s num 0|1|2 mb <#0 [#1 #2 #3]>
.sim -f|-s num 0|1|2 mbx <#0 [#1 #2 #3 #4 #5 #6 #7]>
.sim -f|-s num 0|1|2 getmode
.sim -f num 0|1|2 getmap
.sim -f num 0|1|2 linkstat
.sim -f num 0|1|2 getrniddata
.sim -f num 0|1|2 dump
.sim -f num 0|1|2 offline
.sim -f num 0|1|2 online
.sim -f num 0|1|2 reset
.sim -f num 0|1|2 simstat
.sim -f num 0|1|2 alpa2id
.sim -f num 0|1|2 getpdg

.cfg

Synopsis: .cfg use buff|dram
.cfg log 0|1|2|3|4
.cfg bypass 0|1
.cfg fhs 0|1
.cfg fatalreset 0|1
.cfg flushes
.cfg open|close u1p{1|2|3}c{1|2}
.cfg perf 0|1

The ‘use’ subcommand causes disk read and writes to the
cache when ‘buff’ is used as an argument. The I/O occurs to
the CPU memory if ‘dram’ is given. There are internal checks
which will panic the system if the wrong value is given.
Under most conditions ‘buff’ is the desired result.

log allows control over the level of messages which are
added to the syslog. The higher the value, the more verbose
the messages become. Here is what the values mean:

0 = no messages
1 = only error messages
2 = add warning messages
3 = plus notice messages
4 = debug messages

The ‘bypass’ command can be used to prevent any disk drive
reads or writes.

‘fhs’ is Fast Host Sim. Used to pick the correct
configuration table when issuing commands. "1" will enable the
FHS functions, otherwise the default is used.

Normally on a fatal error the system will reset itself.
If fatalreset is set to 0 the pSOS probe entry point will be called.

Normally 20 stripes can be flushed from the cache in between
commands.

The ‘flushes’ subcommand can change this value. No bounds
checking is done.

The open and close commands allow modification of the access
to either channel on one of the three QLogic ports.

‘perf’ set to "1" will start the testing of the ISP2100
target mode using fake I/O. ‘perf’ with "0" stops the testing.

.id

Synopsis: .id read [options]
.id write [options]
.id range

has one of the following patterns:
u{1-8}c1

u{1-8}l{1|2}
u{1-8}pcu{1|2}
u{1-8}b{1|2}

[options] are one of the following:
static, dynamic, all, config
with an optional filename added at the end.

are:
-g : get, no arguments
-s : set, no arguments
-a : alternate prom, local only,
no args

-f : same as above
-o : 0x1800, strtol(..base=0) format
-l : 0x200, strtol(..base=0) format
-v : l0x1234abcd for long, or
: w0x1234 for word, or
: b0xab for byte
examples:
.id range -sfg u1c1 -o 0x200 -l 0x40 -v l0x1234abcd
.id range -gaf u1c1 -o 0x0 -l 0x40

This command either reads or writes the FRUID information
from the SEEPROM. Here is a typical display of the
information provided:

auggie:/:<14>.id read u1c1
Description: ASSY, PURPLE2, CONTROLLER BD
Short Name: T3B-Cntlr
Serial Number: 110457
Part Number: 5015710
Dash Level: 02
Rev Level: 51
Vendor Name: 0x301
Manufacture Loc: SOLECTRON,MILPITAS,CA
Timestamp: Tue Mar 05 03:47:56 GMT 2002

The options of static, dynamic, all, and config dump the
information in ASCII and hex.

auggie:/:<12>.id read u1c1 config
0x0000 20 45 10 00 74 66 74 70 – 00 00 00 03 00 00 25 80
E..tftp……%.
0x0010 00 00 5D 40 AC 14 39 1E – FF FF FC 00 AC 14 3B F8
..]@..9…….;.

0x1FD0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….
0x1FE0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….
0x1FF0 FF FF FF FF FF FF FF FF – FF FF FF FF FF FF FF FF
…………….

.size

Synopsis: .size recon

Set the reconstruction size of any volumes created. By
using a small size, commands like ‘vol init’ complete in
a much shorter time. This command is dangerous to use in
anything except a test environment.

.stat

Synopsis: .stat cache
.stat xfer
.stat port
.stat sys
.stat prog

Display statistics about the cache and transfers based on
the FAC. The FAC value is comprised of two groups of 10 for
the T3B or two groups of 16 for the T4. In either case, the
group number is encoded in the upper nibble with group 1 being
encoded as 0x10 ( not 0x00 as you might think ).

The ‘port’ option gives statistics on the incoming requests
from the Fibre Channel.

The option ‘sys’ while enabled does not do anything.

The ‘prog’ option returns the number of commands in
progress on port 0.

.disk

Synopsis: .disk spindown
.disk spinup
.disk -f format
.disk version
.disk download
.disk mkhard lba
.disk mksoft lba
.disk reassign lba
.disk glist
.disk plist
.disk softerr
.disk harderr
.disk gettune
.disk settune stack {num}
.disk setpath 0|1
.disk setfail 0|1
.disk pathstat
.disk failover
.disk failback
.disk loopdown path
.disk loopup path
.disk linkstat path
.disk tmon_list
.disk tmon_over
.disk tmon_warn
.disk tmon_ref
.disk bypass path
.disk unbypass path

The is of the format uXdX or uXdX-Y.

‘spindown’ attempts to remove power from the drive motor,
such that when the device is pulled from the system the
user isn’t holding a gyroscope in their hands.

‘spinup’ attempts to enable the motor on the drive so that
disk access can occur.

‘format’ performs a track level formatting of the drive. The
-f option is used on drives which don’t appear to be valid, but
do exist in the system.

‘version’ shows the firmware version of the drives. This is
the same as the normal ‘disk version’ command.

‘download’ allows system administrators to load new versions
of drive firmware. Same as the ‘disk download’ command.

‘mkhard’ creates a hard disk error at the given block number
on the disk(s).

‘mksoft’ creates a soft disk error at the given block number
on the disk(s).

‘reassign’ uses the SCSI reassign command to deal with the
given block.

‘plist’ and ‘glist’ display their respective error lists in
the following format.

auggie:/:<5>.disk plist u1d1

DISK PLIST
—————————————————–
u1d01 836

‘softerr’ and ‘harderr’ show two different error lists in
the following format:

auggie:/:<9>.disk harderr u1d1

DISK HARDERR
—————————————————–
u1d01 0x0

‘gettune’ displays the tunable SCSI disk parameters such as
queue depth (stack) and path policy.

auggie:/:<25>.disk gettune u1d1

DISK STACK_LEVEL PATH_POLICY FAIL_POLICY
——————————————
u1d01 8 APATH PATH

‘settune’ allows you to change the depth of the queue of
commands which can be fired at one time.

‘setpath’ controls which path is used to the disk – the
primary (0) or the alternate (1).

‘setfail’ controls if a failover can occur. If set to 1,
normal failover is used. If 0, no failover will occur.

‘pathstat’ displays information about the current path
policy to the disk drive.

auggie:/:<26>.disk pathstat u1d1

DISK PPATH APATH CPATH PATH_POLICY FAIL_POLICY
—————————————————
u1d01 [0 U] [1 U] APATH APATH PATH

‘failover’ cause a failover from primary to alternate path.

‘failback’ return to primary path.

‘loopdown’ causes the loop for the drive to drop which uses
the given path.

‘loopup’ enables the loop which was previously down.

‘linkstat’ provides information about the link to a given
disk.

auggie:/:<27>.disk linkstat u1d1 path 0

DISK LINKFAIL LOSSSYNC LOSSSIG PROTOERR INVTXWORD INVCRC
——————————————————–
u1d01 1 5 0 0 1078 0

‘tmon_list’ gives information about the temperature
monitoring for the drives.

auggie:/:<28>.disk tmon_list u1d1-2

DISK REF WARN OVER
—————————————-
u1d01 0 0 0
u1d02 0 0 0

‘tmon_over’ sets the over temperature limit.

‘tmon_warn’ sets the warning temperature limit.

‘tmon_ref’ sets the reference temperature.

‘bypass’ causes the path of the specific drive to be
bypassed.

‘unbypass’ reverses the bypass command.

.port

Synopsis: .port list
.port set u{1|2}p{1|2|3} |soft>
.port host u{1|2}p{1|2|3} sun|other
.port map u{1|2}p{1|2|3} lun {0-15}
primary|failover [sun]
.port unmap u{1|2}p{1|2|3} lun {0-15}
.port listmap [u{1|2}p{1|2|3}]

This command is the same as the port command, with the
exception of the ‘map’ and ‘unmap’ options. The ‘map’
option changes the mode of a LUN to be either the primary
or the failover path.

.vol
Synopsis: .vol list []
.vol stat []
.vol mode []
.vol add data raid 0|1|5 [standby]
.vol init data|sysarea|fast [rate <1-16>]
.vol mount
.vol unmount
.vol [-y] remove
.vol verify [fix] [rate <1-8>]
.vol recon [to_standby | from_standby]
.vol disable [to_standby]

The options are the same with the .vol command as they are
with the normal vol command. The difference is that when using
the ‘init’ option ‘fast’ can be specified on all RAID levels,
not just RAID 0.

.ep
Synopsis: .ep netload1
.ep netload2
.ep netload3
.ep netloadp
.ep invalidate l 2|3|p s 1|2
.ep info

The netload options read a file from the network using TFTP
and directly program the flash PROM of the particular level
that is specified by the option name.

There are two images of each level stored in the flash. The
‘invalidate’ options sets the code signature so that the
system will not use that copy to boot from.

‘info’ provides version information for all levels of
firmware.

P2L1 section 1:
Code size=000008ec chksum=fb920489 base=fff00000
start=fff00100
Code version=0200 subrevision= date=20010420
time=16184000
Header counter=fffffffb chksum=7e425f44

.sys
Synopsis: .sys stat
.sys blocksize 16k|32k|64k
.sys cache auto|writebehind|writethrough|off
.sys mirror auto|off
.sys naca on|off
.sys mp_support none|rw|mpxio|std
.sys rd_ahead on|off
.sys recon_rate high|med|low
.sys enable_volslice
.sys fc_topology auto|loop|fabric_p2p
.sys autodisable on|off
.sys autorecon on|off
.sys loop1_split auto|off
.sys idle_disk_timeout <0-24>
.sys tmon_over <0-80>
.sys tmon_warn <0-80>
.sys tmon_ref <0-80>
.sys tmon_poll_interval <0-10>
.sys tmon_warn_interval <0-24>
.sys offline
.sys online
.sys list

The following have the same usage as the normal sys command.
stat, blocksize, cache, mirror, naca, mp_support,
rd_ahead, recon_rate, enable_volslice, fc_topology

‘autodisable’ is used with the online diagnostics to
automatically fail a drives if certain failure thresholds
have been exceeded. It is also used to disable the software
if a disable event has been seen.

‘autorecon’ controls the automatic reconstruction of a drive
when it has been inserted into the system.

‘loop1_split’ controls the system’s ability to split the
loop.

‘idle_disk_timeout’ is set to some number of hours. If the
drive hasn’t been used within that time period, a read and seek
operation is done to see if the drive is still healthy.

‘tmon_over’ is the over-temperature setting used for all
disks, if there is not a specific one set for an individual
disk.

‘tmon_warn’ is the warning threshold at the general level for
disks.

‘tmon_ref’ is the reference temperature.

‘tmon_poll_interval’ is used by the ondg subsystem when
polling for temperatures. The value is in minutes.

‘tmon_warn_interval’ indicates how often the system should
print a warning message about temperature thresholds being
exceeded.

‘offline’ turns off the heartbeat checking.

‘online’ turns on the heartbeat checking.

array00:/:<140>.sys list
controller : 2.5
blocksize : 64k
cache : auto
mirror : auto
mp_support : mpxio
naca : off
rd_ahead : 2
recon_rate : 8
sys memsize : 128 MBytes
cache memsize : 1024 MBytes
fc_topology : fabric_p2p
fc_speed : 2Gb
autodisable : on
autorecon : on
loop1_split : auto
idle_disk_timeout : 8
ondg : off
ondg_tm_slice : 5
tmon_over_temp : 60
tmon_warn_temp : 55
tmon_ref_temp : 50
tmon_poll_interval : 1
tmon_warn_interval : 8

.set

Synopsis: .set bootmode auto|tftp|none
.set bootdelay
.set tip
.set netmask
.set gateway
.set tftphost
.set tftpfile
.set hostname
.set timezone
.set spindelay <0..>
.set logto 1|*|filename
.set loglevel 0|1|2|3|4
.set logmask
.set rarp on|off

The only difference between the dot command and the normal
version are the spindelay and logmask options.

spindelay is the number of seconds for the driver to wait
during initialization for the drive to come online.

It is possible to use the logmask to only enable certain
messages to be sent to the syslog daemon. Knowledge of the code
is required to understand what bits will indicate which messages
are displayed.

margin

Synopsis: margin -e encid -l low|off|high

Adjusts the power supply margin feature on the T4.
This command may not be part of the 3.0 release.
( Engineering is still deciding if the feature should continue
to be available.)

rnid
Synopsis: rnid [-i ip_addr] [-p port] [-n host] [-l]

The -l option will list the ip, port, and hostname stored in
NVRAM which make up a RNID packet. The other options set the
corresponding fields.

.lpcrd

Synopsis: .lpcrd [ [ []]]

Issues a low level Loop Card register read. This command is a
debugging aid for the Loop Card engineers.

.lpcwr
Synopsis: .lpcwr []

Performs a register write operation to both paths. Debugging
command.

.lpcmrd

Synopsis: .lpcmrd [ ]

Command currently is a no-op on T4 arrays. Issues a memory
read operation to the Loop Card.

.lpc

Synopsis: .lpc version
.lpc start
.lpc stop
.lpc download u{1-8}l{1|2}
.lpc reboot u{1-8}l{1|2}
.lpc rsterr u{1-8}l{1|2}
.lpc fread u{1-8}l{1|2}
.lpc fwrite u{1-8}l{1|2} …

.lpc finvalid u{1-8}l{1|2} 0x8000|0xc000
.lpc ferase u{1-8}l{1|2}
.lpc property u{1-8}l{1|2}
.lpc rtemp u{1-8}l{1|2}
.lpc ledtest u{1-8}l{1|2}
.lpc preset u{1-8}l{1|2}
.lpc test l{1|2}

‘version’ displays the version information of the Loop Card.

auggie:/:<31>.lpc version
LOOP A LOOP B
Enclosure 1 5.2 5.2
Enclosure 2 5.2 5.2

‘start’ and ‘stop’ are obvious in their function.

‘download’ updates the firmware on the Loop Card.

‘reboot’ causes the Loop Card to reboot.

‘rsterr’ resets the error counters.

‘fread’, ‘fwrite’, ‘finvalid’, ‘ferase’, and ‘property’ are
currently disabled and do nothing.

‘rtemp’ reads the temperature sensors on the Loop Card.

auggie:/:<35>.lpc rtemp u1l1
Temperature = 0.0 C
Temperature = 0.0 C

‘ledtest’ causes the Loop Card to run through a LED test.

‘preset’ sends a extended preset command to the Loop Card.
Unknown functionality.

‘test’ causes the Loop Card to enter a special test mode.

.lpctest

Synopsis: .lpctest l{1|2}

Current test is a no-op on T4 arrays. Runs a set of simple
diagnostic commands on the Loop Card. The array must be configured
as a single brick, because a loopback cable must be attached to
run the tests.

.lpcstat

Synopsis: .lpcstat

No-op on T4 arrays.

.loop

Synopsis: .loop stat
.loop set

.peek

Synopsis: .peek

.philechk

Synopsis: .philechk

pSOS file system checking utility.

.poke

Synopsis: .poke [ []]

Poke the hex pattern into cache memory. The pattern is a
32bit value and the size is in bytes. Size defaults to
four bytes. If a pattern is not given then the location
address is stored in the location.

.mcdk

Synopsis: .mcdk

There are four commands which can be sent to a slot (aka
disk) in each enclosure.

1 = bypass the drive
2 = enable drive
3 = set busy LED
4 = set OK LED

.mclp

Synopsis: .mclp

The valid command numbers are the following:

6 = Set the MUX which uses the fourth argument in the following manner:
0 = Isolated
1 = Bottom
2 = Top
3 = Middle
7 = Force bypass of a controller.
8 = Disable bypass of a controller.
14 = Set a controller as master
15 = Execute a poll of Loop Card to check status.

.mcps

Synopsis: .mcps

Executes PCU commands to LPC. The following are valid commands:
1 = Start a battery refresh cycle
2 = Stop a battery refresh cycle
3 = Enable PCU
4 = Disable PCU

The ps_id is the PCU number, with valid values being 1 and 2.

.mclc

Synopsis: .mclc

Executes Loop Card commands to LPC. Commands available are:
1 = Start Loop Card communication
2 = Disable Loop Card
3 = Enable Loop Card

.mcct

Synopsis: .mcct

Executes controller commands to LPC. Commands available are:
3 = Assert Watchdog Timer
4 = Disable Watchdog Timer
5 = Set SCSI address using

.wwn

Synopsis: .wwn

Displays the various World Wide Numbers available on the
array.

auggie:/:<11>.wwn
Master(u1) WWN : 0x50 0x02 0x0f 0x23 0x00 0x01 0xaf 0x79
Alternate(u2) WWN: 0x50 0x02 0x0f 0x23 0x00 0x01 0xaf 0x79
System WWN : 0x60 0x02 0x0f 0x20 0x00 0x00 0x5d 0x40

.diag

Synopsis: .diag

Allow various tests to be run. Here is the menu which is
displayed.

auggie:/:<37>.diag

DIAGNOSTICS MENU

CO: Configure options for Diagnosis
MM: Memory Diagnostic Menu
DM: Data Path Diagnostic Menu
XM: Xor Diagnostic Menu
XB: Xor BringUp Menu
IM: QLOGIC ISP Chip Diagnostic Menu
RS: Reset System
QC: Quit but go into Label Control Menu
QT: Quit Diagnostic Menu

Enter command [HE]: qt

.sysdiag

Synopsis: .sysdiag

Runs the following tests in a loop until a Cntrl-T is
pressed on the keyboard: DRAM, Data Path, and ISP2100.

.tdl
Synopsis: .tdl list
.tdl remove
.tdl trap

Transaction Data Log commands are used to view and modify
the systems command transaction data which may not have
completed before a reset or error condition. The ‘list’
function shows what is currently in the log:

Disk Log List
index next operation cu
cmd ref

The ‘remove’ function is used to completely reset the log to
its default state which is empty.

‘trap’ will call the pSOS probe function when any one of 256
possible TDL’s occur. See src/common/msc/ri_util.h for a valid
list of traps.

.ecc

Synopsis: .ecc s
.ecc v {value}
.ecc i {value}

‘s’ shows the status of ECC errors:

auggie:/:<24>.ecc s

Num of single-bit ECC errors
————————————————–
Unit-01 0
Unit-02 0

Note: ECC threshold is 0.
The syslog of single-bit ECC error is disabled

‘v’ sets the threshold of ECC errors before a syslog message
is written.
‘i’ sets the disk number to initialize MCB file system.

.ref

Synopsis: .ref r
.ref v {value}

Battery threshold information. The ‘r’ option gets the
minimum battery hold time in seconds. The ‘v’ option sets
the threshold of the minimum battery hold time in seconds.

.devtree

Synopsis: .devtree {encid} [{encid}…]

Prints the data from the internal device tree in a raw
ASCII format.

array00:/:<179>.devtree 1
ENCLOSURE[1]:
Present: true
Id: 1
DRIVE[1]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 23
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QYDR
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[2]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1P2JC
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[3]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q7KP
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[4]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 65535
State: unknown
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QXFN
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[5]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 23
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1QZP2
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[6]:
Present: true
Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 24
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q61B
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
DRIVE[7]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[8]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[9]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[10]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[11]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[12]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE[13]:
Present: true
Bypass[0]: true
Bypass[1]: true
Detect[0]: false
Detect[1]: false
Sensor[1]:
Temperature: 65535
State: unknown
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: unknown
Serial Number: unknown
Vendor Name: unknown
Dash Level: unknown
Rev Level: unknown
Short Name: unknown
DRIVE14]:
Present: true
[Bypass[0]: false
Bypass[1]: false
Detect[0]: true
Detect[1]: true
Sensor[1]:
Temperature: 25
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Manufacture Record:
Timestamp: unknown
Description: unknown
Manufacture Loc: unknown
Part Number: ST373405FSUN72G
Serial Number: 3EK1Q6RP
Vendor Name: SEAGATE
Dash Level: unknown
Rev Level: A538
Short Name: unknown
CONTROLLER[1]:
Present: true
Is dummy: false
L3 Version: 3.0.5
L2 Version: 3.0.5
L1 Version: 3.0.5
LP Version: 3.0.5
Detect[0]: false
Detect[1]: false
alt_loop: true
Bypass[0]: false
Bypass[1]: false
Sensor[1]:
Temperature: 22
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Thu Dec 26 10:04:00 PST 2002
Description: ASSY, T4 CONTROLLER, 14 SLOT
Manufacture Loc: Milpitas,CA,USA
Part Number: 5405559
Serial Number: 000636
Vendor Name: 0x301
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Ctlr
Extended Record
Mac: 00:03:ba:27:c8:81
PCU[1]:
Present: true
Off: false
Enable: true
ACOK: true
DCOK: true
Switch: true
FAN[1]:
Fault: false
Speed: unknown
FAN[2]:
Fault: false
Speed: unknown
BATTERY:
Present: true
State: true
Refresh: false
Charger: false
Manufacture Record:
Timestamp: Tue Nov 19 09:46:54 PST 2002
Description: ASSY, T4 BATTERY, 14 SLOT
Manufacture Loc: TIJUANA,MEXICO
Part Number: 3704861
Serial Number: 000905
Vendor Name: 0x076
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Bat
Battery Warranty Record:
Shelf Life: 20736000 seconds
Refresh Cycle: 2419200 seconds
Warranty Duration: 63072000 seconds
Battery Status Record:
Warranty Date: Tue Apr 15 04:15:21 ST 2003
Last Recharge Date: Sun May 25 04:42:45 ST 2003
Last Health Check Date: Sun May 25 02:06:45 ST 2003
Battery Status: 0
Over Current: false
3V Status: OK
5V Status: OK
12V Status: OK
On Battery: false
PS margin: Off
Sensor[1]:
Temperature: 15
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Sensor[2]:
Temperature: 18
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Sensor[3]:
Temperature: 15
State: ok
Age: 759
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Sat Nov 09 04:57:42 PST 2002
Description: POWER SUPPLY, 400W, 14 SLOT
Manufacture Loc: DELTA ELECTRONICS THAILAND
Part Number: 3001562
Serial Number: Q01215

Vendor Name: 0x3AD
Dash Level: 01
Rev Level: 16
Short Name: T4-14_PCU
PCU[2]:
Present: true
Off: false
Enable: true
ACOK: true
DCOK: true
Switch: true
FAN[1]:
Fault: false
Speed: unknown
FAN[2]:
Fault: false
Speed: unknown
BATTERY:
Present: true
State: true
Refresh: false
Charger: false
Manufacture Record:
Timestamp: Tue Nov 19 09:50:48 PST 2002
Description: ASSY, T4 BATTERY, 14 SLOT
Manufacture Loc: TIJUANA,MEXICO
Part Number: 3704861
Serial Number: 000909
Vendor Name: 0x076
Dash Level: 01
Rev Level: 01
Short Name: T4-14_Bat
Battery Warranty Record:
Shelf Life: 20736000 seconds
Refresh Cycle: 2419200 seconds
Warranty Duration: 63072000 seconds
Battery Status Record:
Warranty Date: Tue Apr 15 04:15:21 ST 2003
Last Recharge Date: Sun May 25 07:06:46 ST 2003
Last Health Check Date: Sun May 25 04:49:45 ST 2003
Battery Status: 0
Over Current: false
3V Status: OK
5V Status: OK
12V Status: OK
On Battery: false
PS margin: Off
Sensor[1]:
Temperature: 20
State: ok
Age: 760
Warning threshold: 55
Shutdown threshold: 60
Sensor[2]:
Temperature: 22
State: ok
Age: 759
Warning threshold: 60
Shutdown threshold: 65
Sensor[3]:
Temperature: 19
State: ok
Age: 759
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Sat Nov 09 04:59:34 PST 2002
Description: POWER SUPPLY, 400W, 14 SLOT
Manufacture Loc: DELTA ELECTRONICS THAILAND
Part Number: 3001562
Serial Number: Q01216
Vendor Name: 0x3AD
Dash Level: 01
Rev Level: 16
Short Name: T4-14_PCU
LPC[1]:
Present: true
Version: 6.27

Fail Loop: false
Power On Reset: false
Watchdog: false
LC Attention: false
Up Loop:
Cable Present: true
Bypass: false
Detect: false
Down Loop:
Cable Present: false
Bypass: true
Detect: false
Offline: false
Master: true
Qlogic Ready: false
Port C Status: true
Disabled: false
New: false
Sensor[1]:
Temperature: 28
State: ok
Age: 759
Warning threshold: 58
Shutdown threshold: 65
Manufacture Record:
Timestamp: Wed Apr 16 15:46:55 ST 2003
Description: ASSY, T4 LOOP, 14 SLOT
Manufacture Loc: Purple Lab, Newark, CA
Part Number: 5405384
Serial Number: 910045
Vendor Name: 0xBEEF
Dash Level: 01
Rev Level: 50
Short Name: T4-14_Loop
LPC[2]:
Present: true
Version: 6.27
Fail Loop: false
Power On Reset: false
Watchdog: false
LC Attention: false
Up Loop:
Cable Present: true
Bypass: false
Detect: false
Down Loop:
Cable Present: false
Bypass: true
Detect: false
Offline: false
Master: false
Qlogic Ready: false
Port C Status: true
Disabled: false
New: false
Sensor[1]:
Temperature: 26
State: ok
Age: 759
Warning threshold: 58
Shutdown threshold: 65
Manufacture Record:
Timestamp: Wed Apr 16 15:46:55 ST 2003
Description: ASSY, T4 LOOP, 14 SLOT
Manufacture Loc: Purple Lab, Newark, CA
Part Number: 5405384
Serial Number: 910041
Vendor Name: 0xBEEF
Dash Level: 01
Rev Level: 50
Short Name: T4-14_Loop
MIDPLANE:
Sensor[1]:
Temperature: 65535
State: unknown
Age: 0
Warning threshold: 55
Shutdown threshold: 60
Manufacture Record:
Timestamp: Fri Jan 31 11:40:08 PST 2003
Description: ASSY, T4 MIDPLANE, 14 SLOT
Manufacture Loc: Milpitas,CA,USA
Part Number: 5405318
Serial Number: 400414
Vendor Name: 0x301
Dash Level: 02
Rev Level: 02
Short Name: T4-14_MdPn
Extended Record
Mac: 00:03:ba:27:d7:ab
Wwn: 10:00:00:03:ba:27:d7:ab

.boot

Synopsis: .boot -c

Clears all configuration information and sets the system
to initial state.

.lun

Synopsis: .lun map add lun slice
.lun map rm lun [slice ]
.lun map rm all
.lun map list [lun | slice ]
.lun perm {all_lun|lun } {rw|ro|none}
{all_wwn|wwn |grp }
.lun perm list [lun |wwn |grp
]
.lun map default

This command is almost the same as the normal admistrator
command ‘lun’. There are two differences. First is the ‘map
default’ which is only available when using the dot version.
The second is the information displayed when using the
‘list’ option. The volume number which this LUN is associated
with is also displayed.

T3 Battery

telnet into the T3 or connect with a serial cable

fru stat
id read u1pcu1
id read u2pcu1

battery age between 630 and 720 days – near expiration
battery refresh

refresh -s will show when the battery is scheduled to recharge
refresh -c will start the charge cycle and schedule the next one in 28 days

after replacing the battery use the .bat ? command to reset the system