supervisor: Failed to to call /os/datadisk/move - Can't move data partition to ...

Describe the issue you are experiencing

I have just recived my Home Assistant yellow. So i tried to set it up.

I have follwed the guide, created a ha account and tried to move the storage under: Settings -> System -> Storage.

I selected the NVME and got an error, which i can also find in the logfile:

2023-03-30 20:11:59.126 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /os/datadisk/move - Can't move data partition to WD-Blue-SN570-500GB-22411Y464211: 

I tried again, and then a window appears: Screenshot_20230331_082136

But after a while the window disapeer and the storage is not moved.

There is no new message in the log file.

I have waited 5 h but the storage is not moved.

When i try a third time the errror message changed to

Fehler beim Verschieben der Datenträger
Another job is running

Another job is running

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Setup an HA Yellow with an NVME with the guide
  2. System -> Setting -> Storage -> Move Storage

Anything in the Supervisor logs that might be useful for us?

2023-03-30 20:11:59.126 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /os/datadisk/move - Can't move data partition to WD-Blue-SN570-500GB-22411Y464211:

System Health information

System Information

version core-2023.3.6
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.15.84-v8
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.5
update_channel stable
supervisor_version supervisor-2023.03.3
agent_version 1.4.1
docker_version 20.10.22
disk_total 6.4 GB
disk_used 2.4 GB
healthy true
supported true
board yellow
supervisor_api ok
version_api ok
installed_addons
Dashboards
dashboards 1
resources 0
mode auto-gen
Recorder
oldest_recorder_run 30. März 2023 um 18:09
current_recorder_run 30. März 2023 um 20:09
estimated_db_size 4.01 MiB
database_engine sqlite
database_version 3.38.5

Supervisor diagnostics

{ “home_assistant”: { “installation_type”: “Home Assistant OS”, “version”: “2023.3.6”, “dev”: false, “hassio”: true, “virtualenv”: false, “python_version”: “3.10.10”, “docker”: true, “arch”: “aarch64”, “timezone”: “Europe/Berlin”, “os_name”: “Linux”, “os_version”: “5.15.84-v8”, “supervisor”: “2023.03.3”, “host_os”: “Home Assistant OS 9.5”, “docker_version”: “20.10.22”, “chassis”: “embedded”, “run_as_root”: true }, “custom_components”: {}, “integration_manifest”: { “domain”: “hassio”, “name”: “Home Assistant Supervisor”, “codeowners”: [ “@home-assistant/supervisor” ], “dependencies”: [ “http” ], “documentation”: “https://www.home-assistant.io/integrations/hassio”, “iot_class”: “local_polling”, “quality_scale”: “internal”, “is_built_in”: true }, “data”: { “coordinator_data”: { “addons”: {}, “os”: { “version”: “9.5”, “version_latest”: “9.5”, “update_available”: false, “board”: “yellow”, “boot”: “A”, “data_disk”: “/dev/mmcblk0p8” }, “core”: { “version”: “2023.3.6”, “version_latest”: “2023.3.6”, “update_available”: false, “machine”: “yellow”, “ip_address”: “172.30.32.1”, “arch”: “aarch64”, “image”: “ghcr.io/home-assistant/yellow-homeassistant”, “boot”: true, “port”: 8123, “ssl”: false, “watchdog”: true, “audio_input”: null, “audio_output”: null }, “supervisor”: { “version”: “2023.03.3”, “version_latest”: “2023.03.3”, “update_available”: false, “channel”: “stable”, “arch”: “aarch64”, “supported”: true, “healthy”: true, “ip_address”: “172.30.32.2”, “wait_boot”: 5, “timezone”: “Europe/Berlin”, “logging”: “info”, “debug”: false, “debug_block”: false, “diagnostics”: true, “auto_update”: true, “addons”: [], “addons_repositories”: [ { “name”: “Local add-ons”, “slug”: “local” }, { “name”: “ESPHome”, “slug”: “5c53de3b” }, { “name”: “Home Assistant Community Add-ons”, “slug”: “a0d7b954” }, { “name”: “Official add-ons”, “slug”: “core” } ] } }, “devices”: [ { “device”: { “area_id”: null, “config_entries”: [ “b889a9e5b5ef8685dce9aa1533baa98a” ], “configuration_url”: null, “connections”: [], “disabled_by”: null, “entry_type”: “service”, “hw_version”: null, “id”: “57392a9e97804354d47b529da328ffba”, “identifiers”: [ [ “hassio”, “core” ] ], “manufacturer”: “Home Assistant”, “model”: “Home Assistant Core”, “name_by_user”: null, “name”: “Home Assistant Core”, “suggested_area”: null, “sw_version”: “2023.3.6”, “via_device_id”: null, “is_new”: false, “_json_repr”: “{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"57392a9e97804354d47b529da328ffba","identifiers":[["hassio","core"]],"manufacturer":"Home Assistant","model":"Home Assistant Core","name_by_user":null,"name":"Home Assistant Core","sw_version":"2023.3.6","via_device_id":null}” }, “entities”: [ { “entry”: { “entity_id”: “update.home_assistant_core_update”, “unique_id”: “home_assistant_core_version_latest”, “platform”: “hassio”, “aliases”: [], “area_id”: null, “capabilities”: null, “config_entry_id”: “b889a9e5b5ef8685dce9aa1533baa98a”, “device_class”: null, “device_id”: “57392a9e97804354d47b529da328ffba”, “domain”: “update”, “disabled_by”: null, “entity_category”: “config”, “hidden_by”: null, “icon”: null, “id”: “2cda04b95ace984b642fbdee48174110”, “has_entity_name”: true, “name”: null, “options”: {}, “original_device_class”: null, “original_icon”: null, “original_name”: “Update”, “supported_features”: 11, “translation_key”: null, “unit_of_measurement”: null, “_partial_repr”: “{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"57392a9e97804354d47b529da328ffba","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_core_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"2cda04b95ace984b642fbdee48174110","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_core_version_latest"}”, “_display_repr”: “{"ei":"update.home_assistant_core_update","pl":"hassio","di":"57392a9e97804354d47b529da328ffba","ec":0,"en":"Update"}” }, “state”: { “entity_id”: “update.home_assistant_core_update”, “state”: “off”, “attributes”: { “auto_update”: false, “installed_version”: “2023.3.6”, “in_progress”: false, “latest_version”: “2023.3.6”, “release_summary”: null, “release_url”: “https://www.home-assistant.io/latest-release-notes/”, “skipped_version”: null, “title”: “Home Assistant Core”, “entity_picture”: “https://brands.home-assistant.io/homeassistant/icon.png”, “friendly_name”: “Home Assistant Core Update”, “supported_features”: 11 }, “last_changed”: “2023-03-30T18:09:26.826547+00:00”, “last_updated”: “2023-03-30T18:09:26.826547+00:00” } } ] }, { “device”: { “area_id”: null, “config_entries”: [ “b889a9e5b5ef8685dce9aa1533baa98a” ], “configuration_url”: null, “connections”: [], “disabled_by”: null, “entry_type”: “service”, “hw_version”: null, “id”: “869fe80721bca1f42e2dd399e0b5c060”, “identifiers”: [ [ “hassio”, “supervisor” ] ], “manufacturer”: “Home Assistant”, “model”: “Home Assistant Supervisor”, “name_by_user”: null, “name”: “Home Assistant Supervisor”, “suggested_area”: null, “sw_version”: “2023.03.3”, “via_device_id”: null, “is_new”: false, “_json_repr”: “{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"869fe80721bca1f42e2dd399e0b5c060","identifiers":[["hassio","supervisor"]],"manufacturer":"Home Assistant","model":"Home Assistant Supervisor","name_by_user":null,"name":"Home Assistant Supervisor","sw_version":"2023.03.3","via_device_id":null}” }, “entities”: [ { “entry”: { “entity_id”: “update.home_assistant_supervisor_update”, “unique_id”: “home_assistant_supervisor_version_latest”, “platform”: “hassio”, “aliases”: [], “area_id”: null, “capabilities”: null, “config_entry_id”: “b889a9e5b5ef8685dce9aa1533baa98a”, “device_class”: null, “device_id”: “869fe80721bca1f42e2dd399e0b5c060”, “domain”: “update”, “disabled_by”: null, “entity_category”: “config”, “hidden_by”: null, “icon”: null, “id”: “3597792780abee3cd3480642449a2175”, “has_entity_name”: true, “name”: null, “options”: {}, “original_device_class”: null, “original_icon”: null, “original_name”: “Update”, “supported_features”: 1, “translation_key”: null, “unit_of_measurement”: null, “_partial_repr”: “{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"869fe80721bca1f42e2dd399e0b5c060","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_supervisor_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"3597792780abee3cd3480642449a2175","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_supervisor_version_latest"}”, “_display_repr”: “{"ei":"update.home_assistant_supervisor_update","pl":"hassio","di":"869fe80721bca1f42e2dd399e0b5c060","ec":0,"en":"Update"}” }, “state”: { “entity_id”: “update.home_assistant_supervisor_update”, “state”: “off”, “attributes”: { “auto_update”: true, “installed_version”: “2023.03.3”, “in_progress”: false, “latest_version”: “2023.03.3”, “release_summary”: null, “release_url”: “https://github.com/home-assistant/supervisor/releases/tag/2023.03.3”, “skipped_version”: null, “title”: “Home Assistant Supervisor”, “entity_picture”: “https://brands.home-assistant.io/hassio/icon.png”, “friendly_name”: “Home Assistant Supervisor Update”, “supported_features”: 1 }, “last_changed”: “2023-03-30T18:09:26.824918+00:00”, “last_updated”: “2023-03-30T18:09:26.824918+00:00” } } ] }, { “device”: { “area_id”: null, “config_entries”: [ “b889a9e5b5ef8685dce9aa1533baa98a” ], “configuration_url”: null, “connections”: [], “disabled_by”: null, “entry_type”: “service”, “hw_version”: null, “id”: “470b19b682d6fca8c627262637ee96a7”, “identifiers”: [ [ “hassio”, “OS” ] ], “manufacturer”: “Home Assistant”, “model”: “Home Assistant Operating System”, “name_by_user”: null, “name”: “Home Assistant Operating System”, “suggested_area”: null, “sw_version”: “9.5”, “via_device_id”: null, “is_new”: false, “_json_repr”: “{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"470b19b682d6fca8c627262637ee96a7","identifiers":[["hassio","OS"]],"manufacturer":"Home Assistant","model":"Home Assistant Operating System","name_by_user":null,"name":"Home Assistant Operating System","sw_version":"9.5","via_device_id":null}” }, “entities”: [ { “entry”: { “entity_id”: “update.home_assistant_operating_system_update”, “unique_id”: “home_assistant_os_version_latest”, “platform”: “hassio”, “aliases”: [], “area_id”: null, “capabilities”: null, “config_entry_id”: “b889a9e5b5ef8685dce9aa1533baa98a”, “device_class”: null, “device_id”: “470b19b682d6fca8c627262637ee96a7”, “domain”: “update”, “disabled_by”: null, “entity_category”: “config”, “hidden_by”: null, “icon”: null, “id”: “7a1e9686b588d05ef7453018f5f5232b”, “has_entity_name”: true, “name”: null, “options”: {}, “original_device_class”: null, “original_icon”: null, “original_name”: “Update”, “supported_features”: 3, “translation_key”: null, “unit_of_measurement”: null, “_partial_repr”: “{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_operating_system_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"7a1e9686b588d05ef7453018f5f5232b","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version_latest"}”, “_display_repr”: “{"ei":"update.home_assistant_operating_system_update","pl":"hassio","di":"470b19b682d6fca8c627262637ee96a7","ec":0,"en":"Update"}” }, “state”: { “entity_id”: “update.home_assistant_operating_system_update”, “state”: “off”, “attributes”: { “auto_update”: false, “installed_version”: “9.5”, “in_progress”: false, “latest_version”: “9.5”, “release_summary”: null, “release_url”: “https://github.com/home-assistant/operating-system/releases/tag/9.5”, “skipped_version”: null, “title”: “Home Assistant Operating System”, “entity_picture”: “https://brands.home-assistant.io/homeassistant/icon.png”, “friendly_name”: “Home Assistant Operating System Update”, “supported_features”: 3 }, “last_changed”: “2023-03-30T18:09:26.827152+00:00”, “last_updated”: “2023-03-30T18:09:26.827152+00:00” } }, { “entry”: { “entity_id”: “sensor.home_assistant_operating_system_version”, “unique_id”: “home_assistant_os_version”, “platform”: “hassio”, “aliases”: [], “area_id”: null, “capabilities”: null, “config_entry_id”: “b889a9e5b5ef8685dce9aa1533baa98a”, “device_class”: null, “device_id”: “470b19b682d6fca8c627262637ee96a7”, “domain”: “sensor”, “disabled_by”: “integration”, “entity_category”: null, “hidden_by”: null, “icon”: null, “id”: “e218a363a170fb15ad26e8e9bce9af42”, “has_entity_name”: true, “name”: null, “options”: {}, “original_device_class”: null, “original_icon”: null, “original_name”: “Version”, “supported_features”: 0, “translation_key”: null, “unit_of_measurement”: null, “_partial_repr”: “{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":"integration","entity_category":null,"entity_id":"sensor.home_assistant_operating_system_version","has_entity_name":true,"hidden_by":null,"icon":null,"id":"e218a363a170fb15ad26e8e9bce9af42","name":null,"options":{},"original_name":"Version","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version"}”, “_display_repr”: { “__type”: “<enum ‘UndefinedType’>”, “repr”: “<UndefinedType._singleton: 0>” } }, “state”: null }, { “entry”: { “entity_id”: “sensor.home_assistant_operating_system_newest_version”, “unique_id”: “home_assistant_os_version_latest”, “platform”: “hassio”, “aliases”: [], “area_id”: null, “capabilities”: null, “config_entry_id”: “b889a9e5b5ef8685dce9aa1533baa98a”, “device_class”: null, “device_id”: “470b19b682d6fca8c627262637ee96a7”, “domain”: “sensor”, “disabled_by”: “integration”, “entity_category”: null, “hidden_by”: null, “icon”: null, “id”: “08585ebb2aa26ecb68bd448844a4ace6”, “has_entity_name”: true, “name”: null, “options”: {}, “original_device_class”: null, “original_icon”: null, “original_name”: “Newest version”, “supported_features”: 0, “translation_key”: null, “unit_of_measurement”: null, “_partial_repr”: “{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":"integration","entity_category":null,"entity_id":"sensor.home_assistant_operating_system_newest_version","has_entity_name":true,"hidden_by":null,"icon":null,"id":"08585ebb2aa26ecb68bd448844a4ace6","name":null,"options":{},"original_name":"Newest version","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version_latest"}”, “_display_repr”: { “__type”: “<enum ‘UndefinedType’>”, “repr”: “<UndefinedType._singleton: 0>” } }, “state”: null } ] } ] } }

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 21 (4 by maintainers)

Most upvoted comments

When you call gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" directly from debug SSH, then reboot it manually, everything works.

This code should do the same (but it doesn’t): https://github.com/home-assistant/supervisor/blob/de1f3555b1bcdc1d67e6636264bbd2e225f229a8/supervisor/os/data_disk.py#L189

One suspicious thing I’ve noticed is that dev_path has a trailing NULL-character in ha os datadisk list output, e.g.:

devices:
- JetFlash-Transcend-8GB-2330171278
disks:
- dev_path: "/dev/sda\0"
  id: JetFlash-Transcend-8GB-2330171278
...

Ok I just published 2022.04.0. That will go to beta soon (takes a bit to build and publish the image). You can switch to the beta channel by doing ha supervisor options --channel beta in the CLI or by switching to the beta channel in the Home Assistant UI by going to Settings -> System -> Updates and then selecting the beta channel in the 3 dot menu in the top right. It should work in 2022.04.0 of supervisor.

If you don’t want to do that then you’ll have to wait for a new stable release. Since supervisor auto-updates that’s usually a day or two after the beta comes out assuming there’s no issues identified.

@mdegat01 I can also confirm that the datadisk can be moved now.

@quartstudio If you go to Open your Home Assistant instance and show storage information. you should see the new low percentage. The reference the the eMMC is gone. No lifetime prediction anymore. There should also be no option to move to another datadisk unless there is addittional mass storage available.

I am also receiving the same issue. I’ve tried to move data disk via UI and CLI but both fail.

I have just received the HA yellow and I have the same issue. Failed to to call /os/datadisk/move - Another job is running ? with a Samsung-SSD-970-EVO-Plus-250GB-S4EUNM0TB09223L

One suspicious thing I’ve noticed is that dev_path has a trailing NULL-character in ha os datadisk list output, e.g.:

Perhaps related to this? https://github.com/home-assistant/supervisor/pull/4215