Facing Issue in the VM - message No space left on device

sanath sunkad 21 Reputation points
2021-05-04T08:46:11.527+00:00

My present VM displays No space left when tried to install CUDA toolkit
I am running on ubuntu 16.04 OS Disk space has 30 GB and having access to K80 GPU wanted to install CUDA 11 and CuDNN 8 on the machine using TF2.4.1 I was unable to install the deb package. Can we get TF 2.4.1 running on this machine?

So I was planning to shift to ubuntu 18.04 which comes with python 3.6
And at present, I am having an hourly subscription so If I create a new VM having ubuntu 18 with an existing resource and subscription will it cost me the same as before hourly charges, or will they charge extra for this new VM?

End of the day need a VM running CUDA 11 and Tensorflow 2.4.1 GPU on the system, what would be the best approach?

Error : Error at Serial console : [ 108.153416] cloud-init[1525]: OSError: [Errno 28] No space left on device
[ 108.153509] cloud-init[1525]: Original exception was:
[ 108.153601] cloud-init[1525]: OSError: [Errno 28] No space left on device
[ 108.154038] cloud-init[1525]: During handling of the above exception, another exception occurred:
[ 108.154399] cloud-init[1525]: Traceback (most recent call last):
[ 108.154797] cloud-init[1525]: File "/usr/bin/cloud-init", line 9, in <module>
[ 108.155206] cloud-init[1525]: load_entry_point('cloud-init==19.1', 'console_scripts', 'cloud-init')()
[ 108.155592] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 893, in main
[ 108.155953] cloud-init[1525]: get_uptime=True, func=functor, args=(name, args))
[ 108.156376] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2521, in log_time
[ 108.156757] cloud-init[1525]: ret = func(*args, **kwargs)
[ 108.157153] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 648, in status_wrapper
[ 108.157540] cloud-init[1525]: atomic_helper.write_json(status_path, status)
[ 108.157920] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 40, in write_json
[ 108.158304] cloud-init[1525]: omode="w", mode=mode)
[ 108.158684] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 33, in write_file
[ 108.159086] cloud-init[1525]: raise e
[ 108.159358] cloud-init[1525]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 27, in write_file
[ 108.159451] cloud-init[1525]: tf.close()
[ 108.159543] cloud-init[1525]: File "/usr/lib/python3.5/tempfile.py", line 648, in close
[ 108.269152] cloud-init[1525]: self._closer.close()
[ 108.269511] cloud-init[1525]: File "/usr/lib/python3.5/tempfile.py", line 582, in close
[ 108.269908] cloud-init[1525]: self.file.close()
[ 108.270320] cloud-init[1525]: OSError: [Errno 28] No space left on device

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
357 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ramya Harinarthini_MSFT 5,351 Reputation points Microsoft Employee
    2021-05-06T06:05:32.753+00:00

    @sanath sunkad Welcome to Microsoft Q&A, Thank you for posting your here!!

    Option 1: Resize the OS Disk on the Ubuntu VM by following the steps here and resize the underlying partition and filesystem by following the steps here

    Additional Information : Make sure to take a snapshot of the OS disk before resizing the os disk from the portal and After successfully resizing restart the VM and ssh into the VM and check the disk size (df -h)

    option 2:There will not be any additional cost for running Ubuntu 18.04 VM and will be same as hourly charges.

    Hope this helps!
    Kindly let us know if the above helps or you need further assistance on this issue.

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

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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.