Check Linux Unmounted Disk Space

The following command can be used in a Linux system to view unmounted disk space:

  1. Firstly, run the following command to view information about all disks in the system:
sudo fdisk -l
  1. Next, locate the unmounted disk you wish to view, which will usually be displayed as a device name such as /dev/sdb.
  2. Next, you can use the following command to view the disk space information:
sudo df -h /dev/sdb

In this way, you can check the space usage of the unmounted disk.

bannerAds