Informations pratiques sur Netapp

jeudi 20 septembre 2012
par  Jerome ROBERT
popularité : 3%

Informations pratiques sur NEtapp :

 

* Le minimum vital : ==>  ? , help "nomDeLaCommande" et man "nomDeLaCommande"

netapp> ?
?                   fsecurity           options             smtape
acpadmin            ftp                 orouted             snap
aggr                halt                partner             snaplock
arp                 help                passwd              snapmirror
autosupport         hostname            ping                snapvault
backup              httpstat            ping6               snmp
bmc                 ic                  pktt                software
cdpd                ifconfig            portset             source
cf                  ifgrp               priority            sp
charmap             ifstat              priv                stats
cifs                igroup              qtree               storage
clone               ipsec               quota               sysconfig
config              ipspace             radius              sysstat
date                iscsi               rdate               system
dcb                 key_manager         rdfile              timezone
df                  keymgr              reallocate          traceroute
disk                license             reboot              traceroute6
disk_fw_update      lock                restore             ups
dns                 logger              revert_to           uptime
download            logout              rlm                 useradmin
du                  lun                 route               version
dump                man                 routed              vfiler
echo                maxfiles            rshstat             vlan
ems                 mt                  sasadmin            vmservices
environment         nbtstat             sasstat             vol
exportfs            ndmpcopy            savecore            vscan
fcadmin             ndmpd               sectrace            wcc
fcnic               ndp                 secureadmin         wrfile
fcp                 netdiag             setup               ypcat
fcstat              netstat             sftp                ypgroup
file                nfs                 shelfchk            ypmatch
flexcache           nfsstat             sis                 ypwhich
fpolicy             nis

netapp> help ?
?                    - print summary of commands and help strings
netapp> help help
help                 - print summary of commands and help strings
netapp> help man
man                  - print a manual page
netapp> man man
na_man(1)                                               na_man(1)

NAME
       man - locate and display reference manual pages

SYNOPSIS
       man [ -s section ] name

DESCRIPTION
       The  man  command prints reference manual pages located in
       /etc/man on the appliance's root volume.
....

netapp> help route
route                - manually manipulate the routing table



* Pour connaitre les agrégats configurés, leurs états et leur type de raid ==> aggr status

netapp> aggr status
           Aggr       State              Status         Options
          aggr0      online         raid_dp, aggr       root
                                    32-bit
          aggr1      online          raid_dp, aggr
                                    32-bit
          aggr2      online         raid_dp, aggr       raidsize=16
                                    32-bit
          aggr3      online         raid_dp, aggr       raidsize=16
                                    64-bit

 

* Pour connaitre les disques d’un agrégat avec leur emplacement ==> aggr status -r "nomAggr"

netapp> aggr  status  -r aggr2
Aggregate aggr2 (online, raid_dp) (block checksums)
  Plex /aggr2/plex0 (online, normal, active)
    RAID group /aggr2/plex0/rg0 (normal, block checksums)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- --------------    --------------
      dparity   3a.00.1         3a    0   1   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      parity    3a.01.2         3a    1   2   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.02.3         3a    2   3   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.00.2         3a    0   2   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.01.3         3a    1   3   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.02.4         3a    2   4   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.00.21        3a    0   21  SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.01.4         3a    1   4   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.02.5         3a    2   5   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.00.4         3a    0   4   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.01.5         3a    1   5   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.03.16        3a    3   16  SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.00.6         3a    0   6   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.01.6         3a    1   6   SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      3a.03.17        3a    3   17  SA:B   -  BSAS  7200 847555/1735794176 847884/1736466816
      data      0a.65           0a    4   1   FC:A   -   ATA  7200 847555/1735794176 847827/1736350304

 Pour obtenir la liste complète des agrégats et avec les disques de SPARE : ==> aggr status -r

 

* Pour connaître les disques de SPARE ==> vol status -s

netapp> vol status -s

Spare disks

RAID Disk       Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
---------       ------          ------------- ---- ---- ---- ----- --------------    --------------
Spare disks for block checksum
spare           0d.29           0d    1   13  FC:B   -  FCAL 15000 272000/557056000  280104/573653840
spare           0b.06.3         0b    6   3   SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.7         0b    6   7   SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.8         0b    6   8   SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.9         0b    6   9   SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.14        0b    6   14  SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.19        0b    6   19  SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.22        0b    6   22  SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.06.23        0b    6   23  SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           0b.07.21        0b    7   21  SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           4a.00.10        4a    0   10  SA:B   -   SAS 15000 272000/557056000  274845/562884296
spare           4a.00.11        4a    0   11  SA:B   -   SAS 15000 272000/557056000  274845/562884296
spare           5a.31.0         5a    31  0   SA:A   -   SAS 15000 272000/557056000  274845/562884296
spare           5a.31.1         5a    31  1   SA:A   -   SAS 15000 272000/557056000  274845/562884296

 

* Pour connaître toutes les informations sur un volume : ==> vol status -v "NomDuVolume"

 

netapp> vol status -v HOMES
         Volume State           Status            Options
          HOMES online          raid_dp, flex     nosnap=on, nosnapdir=off,
                                sis               minra=off, no_atime_update=off,
                                32-bit            nvfail=off,
                                                  ignore_inconsistent=off,
                                                  snapmirrored=off,
                                                  create_ucode=on,
                                                  convert_ucode=on,
                                                  maxdirsize=41861,
                                                  schedsnapname=ordinal,
                                                  fs_size_fixed=on,
                                                  guarantee=volume, svo_enable=off,
                                                  svo_checksum=off,
                                                  svo_allow_rman=off,
                                                  svo_reject_errors=off,
                                                  no_i2p=off, fractional_reserve=0,
                                                  extent=off,
                                                  try_first=volume_grow,
                                                  read_realloc=off,
                                                  snapshot_clone_dependency=off,
                                                  dlog_hole_reserve=off,
                                                  nbu_archival_snap=off
                         Volume UUID: 1bf8a690-6da1-11e0-a96a-00a098231736
                Containing aggregate: 'aggr_sata'

                Plex /aggr_sata/plex0: online, normal, active
                    RAID group /aggr_sata/plex0/rg0: normal, block checksums
                    RAID group /aggr_sata/plex0/rg1: normal, block checksums

        Snapshot autodelete settings for HOMES:
                                        state=off
                                        commitment=try
                                        trigger=volume
                                        target_free_space=20%
                                        delete_order=oldest_first
                                        defer_delete=user_created
                                        prefix=(not specified)
                                        destroy_list=none
        Volume autosize settings:
                                state=off

 Pour obtenir la liste de tout les volumes : vol status -v

 

* Pour connaître la version de DataOnTAP ou DOT de votre controleur ==> version

version -v

-v : mode verbose

-b : affiche le contenu de la PC Card du contoleur

netapp> version
NetApp Release 8.1P2 7-Mode: Tue Jun 12 17:53:00 PDT 2012

netapp> version -v
NetApp Release 8.1P2 7-Mode: Tue Jun 12 17:53:00 PDT 2012  <1O>

netapp> version -b
/cfcard/x86_64/freebsd/image1/kernel: OS 8.1P2
/cfcard/x86_64/freebsd/image2/kernel: OS 8.1P2
/cfcard/backup/x86_64/kernel/primary.krn: OS 7.3.3P5
/cfcard/x86_64/diag/diag.krn:  5.5.2
/cfcard/x86_64/firmware/excelsio/firmware.img: Firmware 1.9.0
/cfcard/x86_64/firmware/DrWho/firmware.img: Firmware 2.5.0
/cfcard/x86_64/firmware/SB_XV/firmware.img: Firmware 4.4.0
/cfcard/x86_64/firmware/SB_XVI/firmware.img: Firmware 5.1.1
/cfcard/x86_64/firmware/SB_XVIII/firmware.img: Firmware 7.1.2
/cfcard/x86_64/firmware/SB_XIX/firmware.img: Firmware 8.0.0
/cfcard/boot/loader: Loader 1.7
/cfcard/common/firmware/zdi/zdi_fw.zpk: Flash Cache Firmware 2.2 (Build 0x201012201350)
/cfcard/common/firmware/zdi/zdi_fw.zpk: PAM II Firmware 1.10 (Build 0x201012200653)
/cfcard/common/firmware/zdi/zdi_fw.zpk: X1936A FPGA Configuration PROM 1.0 (Build 0x200706131558)

* Pour surveiller la volumétrie ==> df

usage : df [ -i | -r | -S | -s | -x ] [ -h | -k | -m | -g | -t ] [ -A | -V | -L ] <pathname>
 

Liste des options :

-i : information sur les inodes

-r : information sur le pourcentage de l’espace du volume réservé mais compris dans l’espace utiliser

-h : Affichage de la volumétie en mode "human readable" ( en Ko, Mo, Go et To)

-k | -m | -g | -t : affiche en Ko, Mo, Go et To

-x : n’affiche pas les snapshot

netapp> df  /vol/HOMES/
Filesystem              kbytes       used      avail capacity  Mounted on
/vol/HOMES/          858993460  295044756  563948704      34%  /vol/HOMES/
/vol/HOMES/.snapshot  214748364   68342744  146405620      32%  /vol/HOMES/.snapshot

netapp> df -h  /vol/HOMES/
Filesystem               total       used      avail capacity  Mounted on
/vol/HOMES/              819GB      281GB      537GB      34%  /vol/HOMES/
/vol/HOMES/.snapshot      204GB       65GB      139GB      32%  /vol/HOMES/.snapshot
netapp> df -r /vol/HOMES/
Filesystem              kbytes       used      avail   reserved  Mounted on
/vol/HOMES/          858993460  295044756  563948704          0  /vol/HOMES/
/vol/HOMES/.snapshot  214748364   68342744  146405620          0  /vol/HOMES/.snapshot

netapp> df -x /vol/HOMES/
Filesystem              kbytes       used      avail capacity  Mounted on
/vol/HOMES/          858993460  295044756  563948704      34%  /vol/HOMES/

netapp> df -r /vol/HOMES/
Filesystem              kbytes       used      avail   reserved  Mounted on
/vol/HOMES/          858993460  295044756  563948704          0  /vol/HOMES/
/vol/HOMES/.snapshot  214748364   68342744  146405620          0  /vol/HOMES/.snapshot

netapp> df -s /vol/HOMES/
Filesystem                used      saved       %saved
/vol/HOMES/          295044756   88139492          23%

netapp> df -S /vol/HOMES/
Filesystem                used       total-saved    %total-saved    deduplicated    %deduplicated    compressed    %compressed
/vol/HOMES/          295044756          88139492             23%        88139492              23%             0             0%




 

 


Documents joints

Hardware_Universe.pd­f
NetApp_Hardware_Universe_Storage_Controllers.pdf

Navigation

Statistiques

Dernière mise à jour

mercredi 4 octobre 2023

Publication

273 Articles
Aucun album photo
Aucune brève
6 Sites Web
2 Auteurs

Visites

183 aujourd’hui
205 hier
864002 depuis le début
8 visiteurs actuellement connectés