azureubuntuazure-storageubuntu-16.04

How to use empty disk spaces under /dev/sdb1 on Azure?


I have a VM with 200GB local SSD on Windows Azure.

When I want to use 100GB of it, a "Disk Quote Exceed Error" message is appeared. I can see that my home ( or root) directory is 30GB from the table below ( which is output of df -Th )

So how can I make the disk space /dev/sdb1 available to use in my home directory?

Filesystem    Type      Size  Used Avail Use% Mounted on
------------------------------------------------------------
udev           devtmpfs  6.9G     0  6.9G   0% /dev
tmpfs          tmpfs     1.4G  8.6M  1.4G   1% /run
/dev/sda1      ext4       30G  1.6G   28G   6% /
tmpfs          tmpfs     6.9G     0  6.9G   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     6.9G     0  6.9G   0% /sys/fs/cgroup
/dev/sdb1      ext4      197G   60M  187G   1% /mnt
tmpfs          tmpfs     1.4G     0  1.4G   0% /run/user/1000

Solution

  • As David Makogon said, the /dev/sdb1 is temporary disk. This temporary disk must not be used to store data that you are not willing to lose. The temporary disk is present on the physical machine that is hosting your VM. enter image description here

    More information about Azure temporary disk, please refer to this blog.

    In your scenario, we can attach new disk to your VM, we can follow the link you mentioned in the comment.
    Windows VM
    Linux VM