question

FbioLealVianaBones-5462 avatar image
0 Votes"
FbioLealVianaBones-5462 asked deherman-MSFT answered

Problem tring to expand a disc In linux

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered FbioLealVianaBones-5462 commented

@FbioLealVianaBones-5462
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.