Sunteți pe pagina 1din 1

STMF/ITADM COMMANDS FOR LUN MAPPINGS, TARGET AND INITIATOR stmfadm list-lu -v List All Luns (lu-name) stmfadm

list-view -l <lu-name> List Views/Mappings stmfadm list-hg -v List Host Groups stmfadm list-tg -v List Target Groups stmfadm list-target -v List Targets stmfadm list-state -v List Target State itadm list-target -v List Targets itadm list-initiator -v List Initiators itadm list-defaults List ITADM Defaults COMMANDS FOR POOL OR DISK CONFIGURATION AND HEALTH zpool list List All Pools zpool status -v <pool> List Pool Status and Errors zpool status -DDD <pool> List Dedup Tables zpool status -D <pool> View Pool Details zpool iostat -v View Meta and Cache Space zpool history -il View Changes in Pool History zpool add <pool> spare <disk> Add Hot Spare zpool remove <pool> <disk> Remove Hot Spare or Cache zpool replace <pool> <oldID> <newID> Replace Disk With Another zpool clear <pool> Clear Disk Faults zpool attach <pool> <disk1> <disk2> Attach a Disk to Mirror zpool detach <pool> <disk> Detach a Disk from Mirror zpool offline <pool> <disk> Offline a Disk zpool scrub -s <pool> Stop Disk Scrub on Pool zpool get all <pool> View All Pool Properties zfs get sync <pool-name> View ZFS Sync Properties zfs get all <pool> View All ZFS Properties zfs list List All ZFS Luns zfs list -o name,mountpoint List ZFS Luns and Mountpoint zfs list -t snapshot List All Snapshots zfs mount -a Mount All ZFS Mounts format < /dev/null List All Detected Disks

ZEBI HEALTH AND SYSTEM INFO cat /etc/zebi/env.sh Model and Version History uptime When Zebi Booted Last grep -i ZebiOS /var/adm/messages Check For Controller Reboots grep -i link /var/adm/messages Check for Network Link Events fmadm faulty View Hardware Faults fmdump -ev -t "31Oct2013" (also -eV) List Hardware Errors By Date svcs (also -xv for just errors) View Status of Services prtconf | head -3 |grep Mem Check Detected Memory ls -l /var/cores and ls -l /var/crash/* Check for Cores or Dumps tail /var/adm/messages View Latest System Errors View Latest WebUI Errors Check Fiber Channel Ports Check Network Link Errors Check Physical Link Status Show Aggregate Link Status View Route and Default GW View Network Address Config cat /etv/resolv.conf View DNS Servers ipmpstat -g (also -an and -i) View IPMP Groups and State ZEBI AND ZFS PERFORMANCE INFO top (Shift+S sort by memory, Q to quit) Check Process Statistics prstat -a Check Process Memory Levels mpstat 1 Monitor CPU Performance zvio -x ZFS Performance Statistics nfsv3io and nfszfsio NFS Performance Statistics zpool iostat -v 5 5 Disk and Pool IOPS and BW iostat -EnxcMCT d 2 Performance of Disks iopattern See IO Pattern Rand vs Seq sm_load.d '"<pool>"' 3 Spacemap and Alloc. Attempts spasync_more.d '"<pool>"' View Time Spent in Spa Sync arcstat.pl Watch Cache Hits and Misses echo "::arc" | mdb -k View Cache Statistics tail /var/log/tegile/zebi/zebiui.log fcinfo hba-port dladm show-link -s dladm show-phys dladm show-aggr netstat -rn ifconfig -a

S-ar putea să vă placă și