question

sanathsunkad-8705 avatar image
0 Votes"
sanathsunkad-8705 asked sanathsunkad-8705 commented

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

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
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

RamyaHarinarthini-MSFT avatar image
1 Vote"
RamyaHarinarthini-MSFT answered sanathsunkad-8705 commented

@sanathsunkad-8705 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.


· 2
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.

@sanathsunkad-8705 Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·

Thank you It was very helpful

0 Votes 0 ·