Management Commands
Table 2-4 lists the management commands used for connecting an AIX host to a Huawei storage system.
Command |
Function |
---|---|
bootinfo -s hdisk# |
Displays the capacity of hdisk#. |
oslevel -s |
Displays the AIX version. |
cfgmgr -v |
Scans for physical hardware. |
chdev -l fcs# -a max_xfer_size=0x1000000 |
Changes the value of max_xfer_size in fcs#. |
chfs |
Changes the directory size. |
lsattr -EHl fcs# |
Displays the properties of fcs#. |
lsattr -EHl fscsi# |
Displays the properties of fscsi#. |
lsattr -El hdisk# |
Displays the properties of hdisk#. |
lsattr -Rl fcs# -a max_xfer_size |
Displays the available values of max_xfer_size in fcs#. |
lscfg -vpl fcs# |
Displays information about the adapters of fcs#. |
lscfg -vpl hdisk# |
Displays the properties of hdisk#. |
lscfg | grep scsi |
Displays the existing or system-defined SCSI I/O controllers. |
lsdev -Cc adapter |
Displays the information about adapters identified by the host. |
lsdev -Cc disk |
Displays information about disks identified by the host. |
rmdev -dl hdisk# |
Removes hdisk#. |
lslpp -l |
Displays the software installed in the host. |
shutdown -Fr |
Reboots the host. |
lsvg -l vgname |
Displays the specified volume group's logical volumes, file system type, logical partitions, physical partitions, and status. |
lsvg -o |
Displays all activated volume groups. |
mount |
Mounts a logical volume. |
varyonvg vgname |
Activates a volume group. |
varyoffvg vgname |
Deactivates a volume group. |
The pound (#) in this table indicates a numerical digit that can be specified based on your actual conditions.