logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

aoe-sancheck - verify storage network capabilities

Authors

       Justin Sanders (justin@coraid.com), Sam Hopkins (sah@coraid.com)

                                                                                                 aoe-sancheck(8)

Bugs

       The program may sometimes display inconsistent results between runs showing that a path is capable  of  a
       smaller  frame  size than it actually is.  If you see this behavior, please email one of the authors with
       your verbose output.

       The program probes only the first 32 ethernet interfaces found in the system.

Description

       The  aoe-sancheck  command collects information about the local interfaces and probes the network for ATA
       over Ethernet devices, validating the paths for each device. It does not use the aoe  kernel  module  but
       rather  the bpf interface to evaluate the network.  As such, the aoe module does not need to be loaded to
       perform the test.

       The output of the command is divided into two sections: information about the local  interfaces  followed
       by  a list of detected AoE devices.  The first section displays the local interfaces, if the interface is
       up or down, its configured MTU, and the PCI ID for the interface.

       The second section lists detected AoE devices, one per line, with the following information:

       Device The device name of the form eX.Y where X is the AoE device shelf address, and Y is the AoE  device
              slot address.

       Macs   The number of mac addresses detected for this device.

       Payload
              The  number  of  bytes of data the device can handle in a single AoE request. This number does not
              represent the total frame size as it does not include bytes from ethernet or AoE headers.

       LocalInterfaces
              The list of local interfaces from which the device is visible.

   Options-v     Prints out additional raw information.

Diagnosis

       For each device, aoe-sancheck may print out additional lines of suggestions or warnings.   The  following
       checks are made:

       TheMTUofthelocalinterfacesissethighenoughtohandletheAoEdevice'sreportedpayload.
              Depending  on  the  host  NIC's  capabilities  and  storage  network  switch's  capabilities, best
              performance may or may not be with local interface MTU set higher than a device's payload size.

       Thenumberoflocalinterfacesmatchesthenumberofinterfacesonthedevice.
              Best performance comes from having a host  and  device  with  comparable  bandwidth.  Aoe-sancheck
              simply  counts  the  number  of  interfaces  involved  and  does  not figure link bandwidth in its
              comparison.

       AlllocalinterfacesforanAoEdevicehavethesameMTU.
              If one interface for a device has a smaller MTU than the others,  the  AoE  driver  must  use  the
              smaller payload size for all interfaces.

       Eachpathtothedeviceiscapableoftheconfiguredpayloadsize.
              This  check  detects  the situation where a local interface is configured for jumbo frames and the
              AoE device is capable of jumbo frames, but some aspect of the  network  is  incapable  of  passing
              frames  that  size, for example, a misconfigured switch.  Aoe-sancheck reports the maximum payload
              size the path is capable of if less than the configured payload size.

Name

       aoe-sancheck - verify storage network capabilities

See Also

aoeping(8), aoetools(8)

Synopsis

aoe-sancheck[-v]

See Also