Common SUSE Commands
Table 2-2 lists the common management commands used in SUSE hosts.
Command |
Function |
---|---|
df |
Views the file system size and usage. |
fdisk /dev/sd# |
Partitions sd# disks. |
cat /sys/class/scsi_host/host*/modelname |
Views the Fibre Channel HBA model. |
cat /sys/class/scsi_host/host*/fwrev |
Views the Fibre Channel HBA firmware. |
ifconfig |
Configures network port parameters. |
lsscsi |
Displays the hardware address, type, and manufacturer of each disk. |
lvdisplay -v /dev/vgname/lvname |
Views details about lvname. |
mount |
Mounts a logical volume. |
shutdown -h now |
Shuts down the host. |
shutdown –ry 0 |
Restarts the host. |
vgdisplay -v vgname |
Views details about vgname. |
vgscan |
Scans for volume groups in the system. |
The pound (#) in the table indicates a number that can be specified based on actual conditions.