Check Linux Unmounted Disk Space
The following command can be used in a Linux system to view unmounted disk space:
- Firstly, run the following command to view information about all disks in the system:
sudo fdisk -l
- Next, locate the unmounted disk you wish to view, which will usually be displayed as a device name such as /dev/sdb.
- 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.