Problem tring to expand a disc In linux

Fábio Leal Viana Bones 1 Reputation point
2021-05-21T08:14:19.1+00:00

Hi I increased my disc space by the portal in Azure, but I'm not been able to use the extra storage, I tried the allocate tutorials found in the documentation, but it not working to me.

df -Th returns this

Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 8.4G 0 8.4G 0% /dev
tmpfs tmpfs 1.7G 697k 1.7G 1% /run
/dev/sda1 ext4 267G 18G 250G 7% /
tmpfs tmpfs 8.4G 0 8.4G 0% /dev/shm
tmpfs tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs tmpfs 8.4G 0 8.4G 0% /sys/fs/cgroup
/dev/sda15 vfat 110M 7.0M 103M 7% /boot/efi
/dev/sdc1 ext4 34G 51M 32G 1% /mnt
tmpfs tmpfs 1.7G 0 1.7G 0% /run/user/1000

I wish those 250Gb in /dev/sda1, went to /dev/sdc1 which is my current working directory

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
600 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,556 Reputation points Microsoft Employee
    2021-05-21T20:13:32.79+00:00

    @Fábio Leal Viana Bones
    Unless you have a data disk attached to your vm /dev/sdc1 is likely the temporary disk for your VM. Since this is a physical drive attached to your VM, you will not be able to increase its size. Also any data on this volume should be considered temporary and can be lost at anytime due to hardware issue or if the VM is stopped. I recommend moving any persistent data off this disk by creating and attaching a data disk to your VM.

    Hope this helps. Let us know if you have further questions or issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments