Check Disk Mount Status in Ubuntu

To check the mounting status of a hard drive in the Ubuntu system, you can use the following methods:

  1. View the mount situation using the df command:
    Enter the following command in the terminal:
df -h

This command will display all file systems in the system along with their mount status, including mount points, capacity, used space, and available space.

  1. Use the “mount” command to check the mount situation:
    Input the following command in the terminal:
mount

This command will list all devices and file systems currently mounted on the system, including information such as mount points, file system types, and mount options.

  1. To view the /etc/fstab file:
    Enter the following command in the terminal to view the fstab file:
cat /etc/fstab

This file contains information about all devices and file systems that need to be mounted when the system starts up. By viewing this file, you can learn about the mounting status of all disks in the system.

You can easily check the mounting situation of the hard drive in Ubuntu system using the above method.

bannerAds