Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

Disk and device management

Disk and device management

Check the hard disk usage.

To check the Linux hard disk information, use the "df command". The df command is used to set the hard disk's Used space Free space Percentage of usage The df command displays the following information In Linux, hard disks are treated as special files called device files. IDE drives have the names /dev/hda (primary star hard disk), /dev/hdb (primary slave hard disk), etc. on Linux systems. The results of the df command will also show the names of these files, so you can distinguish between them and check their usage even if you are using multiple hard disks.
Disk and device management

Display the partition table

Display the partition table To view the partition table, run...
Disk and device management

Show the available formatting formats.

Linux supports multiple file formats, and this tends to increase with each version upgrade. So, if you want to check what file formats are supported, you can run the fdisk command with the device as an argument, and then run the interactive command "l" to display the list of supported files.
Disk and device management

Inspect the file system.

If a problem is suspected in the file system, use the fsck command to inspect the file system. When the fsck command is executed, it will check the file system for abnormalities, and if any abnormalities are found, it will display a return value depending on the nature of the problem. If no abnormality is found, the number of files contained on the disk, the number of blocks in use, and the number of available blocks will be displayed. If the command is executed with no arguments, all devices described in /etc/fstab will be scanned, and if the command is executed with a device name specified as an argument, only the specified device will be scanned. Caution. Since disk access while the check is in progress may destroy the system, it is safe to unmount any volume that can be unmounted when executing the fsck command, and to run it in single-user mode if it contains a volume on which / is placed.
Disk and device management

Check for filesystem consistency.

Use the e2fsck command to check the consistency of the file system for ext2 (Linux 2nd extended file system) and ext3 (Linux 2nd extended file system with journal and automatic record keeping). Specify the device name of the volume to be checked as an argument. Caution. Since disk access while the inspection is in progress may destroy the system, it is safe to unmount any volume that can be unmounted when running the e2fsck command, and to run it in single-user mode if it contains a volume with / placed on it. Also, root privileges are required to run this e2fsck command.
Disk and device management

Check the status of the SCSI host adapter.

Check the status of the SCSI host adapter. To find out the manufacturer, model name, model number, and connection status of the SCSI card in a system with a SCSI card installed, you can check the status of the SCSI card by viewing the information in the "/proc/scsi/scsi" file.
Disk and device management

Displays information on I/O addresses.

I/O address information On Linux systems, you can display the memory map of the CPU reserved for I/O devices. To display the information, refer to the /proc/ioports file. You can use the more or less command to see the screen transition.
Disk and device management

Display PCI device information

Display PCI device information To check the information of a PCI device in Linux, use the lspci command. This lspci command can be executed with the option "-v" to display more detailed information. You will need super user (root) privileges to run this command.