When releasing with secure erase disk enabled the disk failed to erase
Above was the log of the failed deletion
Does this mean that my disk’s firmware does not support this operation ?
Im using MAAS 3.5
The disk is SAMSUNG MZQL23T8HCLS-00A07 with the firmware GDC5A02Q
The image is the default Ubuntu 22.04
After running the script wipe-disks manually on a deployed node I found out that the virtual disk sda is detected and the script tried to wipe it resulting in the error below:
Traceback (most recent call last):
File "/root/maas_wipe.py", line 719, in <module>
main()
File "/root/maas_wipe.py", line 697, in main
zero_disk(kname, info)
File "/root/maas_wipe.py", line 517, in zero_disk
with open(DEV_PATH % kname, "rb") as fp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 123] No medium found: b'/dev/sda'
This disk seems to be a virtual hdisk
The log above I obtained from MaaS’s commission script 50-maas-01-commissioning
Is there a particular reason why this script is needed ?
Yes it’s the core of commissioning: gathering the data from your hardware and populate all the information in the MAAS inventory so that you can then configure the machine accordingly