Where Is Unused Disk in Linux?
Contents Where Is Unused Disk Space in Linux? While Also Finding the Unallocated Space in a Hard Disk Using Command Line # Fdisk /Dev/Sda Will Display the...
Where is unused disk space in Linux?
While also finding the unallocated space in a hard disk using command line # fdisk /dev/sda will display the total space and total cylinder value. Now check the last cylinder value and subtract it from the total cylinder value. Hence the final value * 1000 gives you the unallocated disk space.
Must Read
How do I find unused LUNs in Linux?
If you are sure that all of active LUNs are used in a volume group, you can use pvdisplay on each LUN to see if it is assigned to a VG. The most 5 recently created disk devices will be displayed at the top. You can use pvdisplay on the most recent device file to confirm that it is unused.