LinuxCommandLibrary

fc-scan

List available fonts on the system

SYNOPSIS

fc-scan [options]

PARAMETERS

-h
    Display help text.

-v
    Verbose output.

-V
    Display version information.

DESCRIPTION

The `fc-scan` command is a utility used in Linux to discover and enumerate Fibre Channel Host Bus Adapters (HBAs) and their associated devices. It scans the system for available Fibre Channel interfaces, retrieves information about connected targets (devices), and displays details such as World Wide Names (WWNs), device paths, and link states. This tool is invaluable for administrators configuring and troubleshooting Fibre Channel storage environments.

`fc-scan` helps in verifying proper connectivity, identifying potential issues with cabling or zoning, and ensuring that the operating system recognizes and can communicate with Fibre Channel storage devices. It simplifies the process of identifying connected devices without requiring manual investigation of device files and sysfs entries. The output of `fc-scan` can be used to cross-reference with storage array configuration and zoning settings to ensure correct mapping.

CAVEATS

The `fc-scan` command typically requires root privileges to access and enumerate Fibre Channel devices. The output may vary depending on the specific Fibre Channel driver and hardware configuration.

USAGE EXAMPLES

Basic Scan:
`fc-scan` - This will scan all Fibre Channel adapters and display the discovered devices.

Verbose Output:
`fc-scan -v` - This option will enable more detailed output for the adapters and their associated devices. This includes additional diagnostic information.

HISTORY

The `fc-scan` command has evolved alongside the development and increasing adoption of Fibre Channel technology in enterprise storage environments. While specific version history is not readily available within standard man pages, it has been part of the Fibre Channel utilities package for a considerable time, adapting to new HBA hardware and kernel interfaces. Its purpose has remained consistent: providing a straightforward way to discover and identify Fibre Channel devices.

SEE ALSO

lsscsi(8), systool(1)

Copied to clipboard