fcstat
*> fcstat
Usage: fcstat link_stats [<channel_name>]
fcstat fcal_stats [<channel_name>]
fcstat device_map [<channel_name>]
*> fcstat
Usage: fcstat link_stats [<channel_name>]
fcstat fcal_stats [<channel_name>]
fcstat device_map [<channel_name>]
*> fcdiag
The fcdiag command has been removed. Please use disktest command
or run Diagnostics from floppy disk, PC card or flash in order to
diagnose FC-AL related problems.
*> fcadmin
Usage: fcadmin config [-?] [-e | -d] [-t {target|initiator|unconfigured}][<adapter_name> ... ]
fcadmin link_stats [<channel_name>]
fcadmin fcal_stats [<channel_name>]
fcadmin device_map [<channel_name>]
fcadmin reset_adapter <adapter_name>
fcadmin reset_dev <channel_name>[.<dev_name>]
fcadmin lip <channel_name>
fcadmin offline <adapter_name>
fcadmin online <adapter_name>
fcadmin link_state [<adapter_name>]
fcadmin channels
fcadmin rescan [<adapter_name>]
*> environment
Usage: environment status |
[status] [shelf [<adapter>]] |
[status] [shelf_log] |
[status] [shelf_stats] |
[status] [shelf_power_status] |
[status] [chassis [all | list-sensors | Voltage | Temperature | Power Supplies | Battery]]
*> disktest
SEQUENTIAL_ALTERNATING using [1024kb I/O - timeout: 300s queuedepth: 3 ] — Max LBA Range 6MBdisktest: will use both A and B loops for FC disks.
Disks selected: 0b.20 0b.19 0b.18 0b.17 0b.16
This test will take about 5 minutes to complete.disktest performs reads and writes to the savecore area of
the selected disk(s). Ensure savecore has been run prior
to executing disktest to avoid losing a corefile.Do you wish to continue?
*> diskcopy
usage:
diskcopy -s <source-disk-name> -d <destination-disk-name>
diskcopy -i -s <source-disk-name> -d <destination-disk-name> to invoke skip mode immediately
use -n <sectors> option to use a default size different than 4096 sectors
use -o to do no retries of I/O’s at the SCSI layer (USE WITH CAUTION!)
This is useful primarily for changing ownership when you move disks around between systems (disk assign / disk reassign / disk remove_ownership)
*> disk
usage: disk <options>
Options are:
unfail [ -s ] <disk_name> – unfail a disk
power_cycle [ -f ] { [-d <disk_list>] | [ -c <channel_name> [ -s <shelf_number> ] ] } – power-cycle one or more disks
assign {<disk_name> | all | -n <count> | auto} [-p <pool>] [-o <ownername>] [-s <sysid>] [-c block|zoned] [-f] – assign a disk to a filer or all unowned disks by specifying “all” or <count> number of unowned disks
show [-o <ownername> | -s <sysid> | -n | -v | -a] – lists disks and owners
reassign {-o <old_name> | -s <old_sysid>} [-n <new_name>] [-d <new_sysid>] – reassign disks from old filer
remove_ownership [<disk_name> | all | -s <sysid>] [-f] – revert/remove disk ownership
upgrade_ownership – upgrade disks to new ownership scheme
checksum {<disk_name> | all} [-c block | zoned]
*> disk show -v
Local System ID: 84197978DISK OWNER POOL SERIAL NUMBER
———— ————- —– ————-
0b.18 (84197978) Pool0 3HX2NLV9000075048S18
0b.16 (84197978) Pool0 3HX2NYFW00007502E16L
0b.17 (84197978) Pool0 3HX2NYNY00007504JERY
0b.19 (84197978) Pool0 3HX2NW4H000075048SEU
0b.20 (84197978) Pool0 3HX2P9KZ000075049G0X
*> disk_list
DISK CHAN VENDOR PRODUCT ID REV SERIAL# HW (BLOCKS BPS) DQ
———— —– ——– —————- —- ——————– — ————– –
0b.20 FC:A NETAPP X271_S15K3036F15 NA08 3HX2P9KZ000075049G0X ff 70197546 520 N
0b.19 FC:A NETAPP X271_S15K3036F15 NA08 3HX2NW4H000075048SEU ff 70197546 520 N
0b.18 FC:A NETAPP X271_S15K3036F15 NA08 3HX2NLV9000075048S18 ff 70197546 520 N
0b.17 FC:A NETAPP X271_S15K3036F15 NA08 3HX2NYNY00007504JERY ff 70197546 520 N
0b.16 FC:A NETAPP X271_S15K3036F15 NA08 3HX2NYFW00007502E16L ff 70197546 520 N
Fairly basic options with aggr. It’s useful if you have a foreign aggregate, or you need to change the boot aggregate without booting first (aggr options aggr_name root).
*> aggr
The following commands are available; for more information
type “aggr help <command>”
clear_rpbits online read_fsid rewrite_fsid
destroy options rename snaprestore_cancel
migrate quota_off restrict status
offline raidlabel
*> aggr clear_rpbits
usage:
aggr clear_rpbits <aggr-name> – clear reparity bits on aggregate <aggr-name>*> aggr read_fsid aggr0
Aggregate aggr0 has an FSID of 0×4c4e6.
*> aggr rewrite_fsid aggr0
Aggregate ‘aggr0′ has had its FSID changed from 0×4c4e6 to 0×49b1e050.
*> aggr migrate
aggr migrate: No aggregate name supplied.
usage:
aggr migrate [-f] <atv-name> <recipient_name> <recipient_sysid>
– migrates aggregate or traditional volume <atv-name>
to the specified filer.
This is a very useful area, and is the only way of doing certain tasks. When you do system upgrades or move storage between systems, this is where you reconfigure the disk ownership or change the boot aggregates.
When the system boots, it says “CTRL+C for Special Boot Options”, do this, and you will later be given 6 choices.
Normal boot.
(2) Boot without /etc/rc.
(3) Change password.
(4) Initialize owned disks (5 disks are owned by this filer).
(4a) Same as option 4, but create a flexible root volume.
(5) Maintenance mode boot.
Option (5) gives us the Maintenance Mode command line. There are several commands available here, and I will post on each one separately to allow people to comment on each, and for me to update with ways of doing things under each command.
I may not have chance to go through all the commands, but I will pull them apart as I have time. These pages should be useful as a reference to what might be available to you.
Bad Behavior has blocked 710 access attempts in the last 7 days.
© 2009-2010 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.