SSD data disk move - not actually moved

Hi, Home Assistant 2023.4.5, Supervisor 2023.04.0, Operating System 10.0, Frontend 20230411.1 - latest running on Rpi4.

“Move data disk” concludes (I am able to select my 120GB SSD fine) --and nothing happens. Everything is still on the SD card. Storage is still displaying 80% full, same as before (it’s a 32GB SD card). I can pick my SSD in the migration dialogue again.

I don’t see anything in log. What to check? Thanks.

This is “sda” in Hardware - All devices:

`/dev/disk/by-id/ata-Patriot_Burst_E0CD0799032200919475`

DEVLINKS: >-
  /dev/disk/by-diskseq/29 /dev/disk/by-id/ata-Patriot_Burst_E0CD0799032200919475
  /dev/disk/by-id/usb-ASMT_2115_1234567923CE-0:0
  /dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME: /dev/sda
DEVPATH: >-
  /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda
DEVTYPE: disk
DISKSEQ: '29'
ID_ATA: '1'
ID_ATA_DOWNLOAD_MICROCODE: '1'
ID_ATA_FEATURE_SET_HPA: '1'
ID_ATA_FEATURE_SET_HPA_ENABLED: '1'
ID_ATA_FEATURE_SET_PM: '1'
ID_ATA_FEATURE_SET_PM_ENABLED: '1'
ID_ATA_FEATURE_SET_SECURITY: '1'
ID_ATA_FEATURE_SET_SECURITY_ENABLED: '0'
ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN: '60'
ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN: '20'
ID_ATA_FEATURE_SET_SMART: '1'
ID_ATA_FEATURE_SET_SMART_ENABLED: '1'
ID_ATA_ROTATION_RATE_RPM: '0'
ID_ATA_SATA: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN1: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN2: '1'
ID_ATA_WRITE_CACHE: '1'
ID_ATA_WRITE_CACHE_ENABLED: '1'
ID_BUS: ata
ID_MODEL: Patriot_Burst
ID_MODEL_ENC: >-
  Patriot\x20Burst\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PART_TABLE_TYPE: gpt
ID_PART_TABLE_UUID: 3314cda2-5b76-46c1-a455-ae9dff8d7187
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION: SBFM61.3
ID_SERIAL: Patriot_Burst_E0CD0799032200919475
ID_SERIAL_SHORT: E0CD0799032200919475
ID_TYPE: disk
ID_USB_DRIVER: usb-storage
ID_USB_INSTANCE: '0:0'
ID_USB_INTERFACES: ':080650:080662:'
ID_USB_INTERFACE_NUM: '00'
ID_USB_MODEL: '2115'
ID_USB_MODEL_ENC: 2115\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_USB_MODEL_ID: 55aa
ID_USB_REVISION: '0'
ID_USB_SERIAL: ASMT_2115_1234567923CE-0:0
ID_USB_SERIAL_SHORT: 1234567923CE
ID_USB_TYPE: disk
ID_USB_VENDOR: ASMT
ID_USB_VENDOR_ENC: ASMT\x20\x20\x20\x20
ID_USB_VENDOR_ID: 174c
MAJOR: '8'
MINOR: '0'
SUBSYSTEM: block
TAGS: ':systemd:'
USEC_INITIALIZED: '4739905'
sda1
/dev/disk/by-id/ata-Patriot_Burst_E0CD0799032200919475-part1
system
timer
ttyAMA0
ttyUSB0
/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_22_98_A6_AC-if00-port0
tun
urandom
usb1
usb2
vc-mem
vcio
vcsm-cma
vga_arbiter
vchiq
video10
video11
video12
video13
video14
video15
video16
video18
video19
video20
video21
video22
video23
video31
watchdog
watchdog0
zero

and this is sda1:
/dev/disk/by-id/ata-Patriot_Burst_E0CD0799032200919475-part1

DEVLINKS: >-
  /dev/disk/by-id/ata-Patriot_Burst_E0CD0799032200919475-part1
  /dev/disk/by-id/usb-ASMT_2115_1234567923CE-0:0-part1
  /dev/disk/by-label/hassos-data /dev/disk/by-partlabel/hassos-data-external
  /dev/disk/by-partuuid/bc3d35e3-8fb5-49a8-b0ce-698d820514a2
  /dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0-part1
  /dev/disk/by-uuid/34eda77e-f37e-4ae6-a2df-049cb858f8e3
DEVNAME: /dev/sda1
DEVPATH: >-
  /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
DEVTYPE: partition
DISKSEQ: '29'
ID_ATA: '1'
ID_ATA_DOWNLOAD_MICROCODE: '1'
ID_ATA_FEATURE_SET_HPA: '1'
ID_ATA_FEATURE_SET_HPA_ENABLED: '1'
ID_ATA_FEATURE_SET_PM: '1'
ID_ATA_FEATURE_SET_PM_ENABLED: '1'
ID_ATA_FEATURE_SET_SECURITY: '1'
ID_ATA_FEATURE_SET_SECURITY_ENABLED: '0'
ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN: '60'
ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN: '20'
ID_ATA_FEATURE_SET_SMART: '1'
ID_ATA_FEATURE_SET_SMART_ENABLED: '1'
ID_ATA_ROTATION_RATE_RPM: '0'
ID_ATA_SATA: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN1: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN2: '1'
ID_ATA_WRITE_CACHE: '1'
ID_ATA_WRITE_CACHE_ENABLED: '1'
ID_BUS: ata
ID_FS_LABEL: hassos-data
ID_FS_LABEL_ENC: hassos-data
ID_FS_TYPE: ext4
ID_FS_USAGE: filesystem
ID_FS_UUID: 34eda77e-f37e-4ae6-a2df-049cb858f8e3
ID_FS_UUID_ENC: 34eda77e-f37e-4ae6-a2df-049cb858f8e3
ID_FS_VERSION: '1.0'
ID_MODEL: Patriot_Burst
ID_MODEL_ENC: >-
  Patriot\x20Burst\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PART_ENTRY_DISK: '8:0'
ID_PART_ENTRY_NAME: hassos-data-external
ID_PART_ENTRY_NUMBER: '1'
ID_PART_ENTRY_OFFSET: '2048'
ID_PART_ENTRY_SCHEME: gpt
ID_PART_ENTRY_SIZE: '234438656'
ID_PART_ENTRY_TYPE: 0fc63daf-8483-4772-8e79-3d69d8477de4
ID_PART_ENTRY_UUID: bc3d35e3-8fb5-49a8-b0ce-698d820514a2
ID_PART_TABLE_TYPE: gpt
ID_PART_TABLE_UUID: 3314cda2-5b76-46c1-a455-ae9dff8d7187
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION: SBFM61.3
ID_SERIAL: Patriot_Burst_E0CD0799032200919475
ID_SERIAL_SHORT: E0CD0799032200919475
ID_TYPE: disk
ID_USB_DRIVER: usb-storage
ID_USB_INSTANCE: '0:0'
ID_USB_INTERFACES: ':080650:080662:'
ID_USB_INTERFACE_NUM: '00'
ID_USB_MODEL: '2115'
ID_USB_MODEL_ENC: 2115\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_USB_MODEL_ID: 55aa
ID_USB_REVISION: '0'
ID_USB_SERIAL: ASMT_2115_1234567923CE-0:0
ID_USB_SERIAL_SHORT: 1234567923CE
ID_USB_TYPE: disk
ID_USB_VENDOR: ASMT
ID_USB_VENDOR_ENC: ASMT\x20\x20\x20\x20
ID_USB_VENDOR_ID: 174c
MAJOR: '8'
MINOR: '1'
PARTN: '1'
PARTNAME: hassos-data-external
SUBSYSTEM: block
TAGS: ':systemd:'
USEC_INITIALIZED: '4924616'

I see many disk-related issues with HA OS 10 on the HA OS github, maybe this is another one?

Hello,

I have the exact same issue, I can pick the disk, the process seems to start / complete (the raspi3 takes a while to come back).

But when I ceck the data disk location after booting up, it still shows as the SD card.

I also have a warning saying that /dev/sda1 is a filesystem named hassos-data and not the active data disk, so HA might chose the wrong data disk on boot.

It suggests, overwriting the partition or moving the data disk (??) or removing the disk from the system?

How can I find out what’s going on during and immediately after the data disk migration process, short of connecting a display to the pi and checking out?

Having the same issue on HAOS 2024.4.4, nothing gets actually moved.

@fcmircea @Stooovie could you guys fix the issue?
Might this be power related issue on the raspberry pi?

I swapped the SSD, thinking it was incompatible but HA doesn’t even boot now.
I can ping it but neither SSH nor the Web interface come up…
I waited a few hours for it to go up but seems like its bricked as detaching the SSD doesn’t seems to solve the issue.

Luckily I made a backup beforehand, normally I skip on those :crazy_face:

I got it to work.
Raspberry Pi 4 USB 3.0 drivers (xhci) seem to be buggy, using the USB 2.0 ports have resolved all issues.