Local disk space not showing

I have just commissioned a CentOS Linux VM on Azure and installed Virtualmin. First time for me using a virtual machine as opposed to a physical box.

Install went fine, but local disk space is showing as 46GB when I know there is a 500GB SSD volume, which Virtualmin is not seeing.

Running, fdisk -l I can see the problem, but I don’t know how to solve it. Disk /dev/sdc is listed but it reports “Partition 1 does not start on physical sector boundary.” How can I get this mounted so that Virtualmin can use it?

Output of fdisk -l:

Disk /dev/sdb: 16 GiB, 17179869184 bytes, 33554432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xd33f41c4

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 33552383 33550336 16G 7 HPFS/NTFS/exFAT

Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E31EB19C-4D03-41E8-91AB-97268ADB0062

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 62912511 62908416 30G Linux filesystem

Disk /dev/sdc: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x8abbfa70

Device Boot Start End Sectors Size Id Type
/dev/sdc1 1 1073741823 1073741823 512G 83 Linux

Partition 1 does not start on physical sector boundary.

Operating system: CentOS
**OS version:**8.2

I found the solution here. For anyone else with the same issue, it appears that on Azure linux VMs, datadisks are not mounted by default - only the OS disk.

Instructions to fix the issue here

Having followed those steps, I now have 544GB available in the Virtualmin dashboard.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.