I'm trying to move a 258 MB video file (.mkv) to my NAS drive.
Windows reports "0 bytes is needed to move this item. Delete or move files so you have enough space."
The drive has roughly 1.7 TB of remaining space and is formatted as EXT4.
HaOS is running on a Raspberry Pi 4 4GB
df reports following:
Filesystem 1K-blocks Used Available Use% Mounted on
//172.30.32.1/INTENSO
1921722112 230332892 1691389220 12% /media/INTENSO
Out of 191 files that I tried to move, 12 files have this issue.
When I zip the file, then unzip it again, and then move it, it succesfully transfers to the NAS.
The only thing that visibly changed is the size on disk.
The file extension is seemingly irrelevant and the error appears with any file extension (or none).
Here a comparison with more working and breaking files:
I don't see any errors in the log.
Reproduction steps
1. Pick a random file on Window 11
2. Move it to your Samba NAS shared drive
3. Wait until error appears
Addon Logs
-----------------------------------------------------------
Add-on: Samba NAS
Expose Home Assistant disc with SMB/CIFS
-----------------------------------------------------------
Add-on version: 12.2.0-nas2
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.7.2
Home Assistant Supervisor: 2024.08.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-automount: starting
[13:04:06] INFO: Protection Mode is false
[13:04:06] INFO: MoreDisk or Automount option found!
---------------------------------------------------
Supported fs: ext3 ext2 ext4 squashfs vfat msdos f2fs fuseblk ntfs3 exfat btrfs xfs
Supported fusefs: apfs
---------------------------------------------------
[13:04:33] INFO: MediaLibrary option found!
---------------------------------------------------
[13:04:33] INFO: Available Disk Labels:
[13:04:33] INFO: INTENSO[ext4]
---------------------------------------------------
[13:04:33] INFO: No MoreDisks to mount
[13:04:33] INFO: Automount is Enabled!
---------------------------------------------------
[13:04:33] INFO: Checking Mounting disks for reserved names:
INTENSO
---------------------------------------------------
---------------------------------------------------
[13:04:34] INFO: Mounting disks:
INTENSO
---------------------------------------------------
[13:04:34] INFO: Mount INTENSO[ext4] Success!
s6-rc: info: service init-automount successfully started
s6-rc: info: service init-smartd: starting
s6-rc: info: service init-samba: starting
s6-rc: info: service hd-idle: starting
s6-rc: info: service hd-idle successfully started
[13:04:34] INFO: Hostname: homeassistant
[13:04:34] INFO: Interfaces: end0
[13:04:34] INFO: Enabling S.M.A.R.T for /dev/sda
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.6.31-haos-raspi] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
[13:04:34] INFO: Docker Interface: hassio 172.30.32.0/23
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user homeassistant.
SMART Automatic Offline Testing Enabled every four hours.
s6-rc: info: service init-smartd successfully started
Added user _ha_mount_user_.
---------------------------------------------------
[13:04:35] INFO: Exposed Disks Summary:
[CONFIG] path = /homeassistant # TM:false FS:native #
[ADDONS] path = /addons # TM:false FS:native #
[SSL] path = /ssl # TM:false FS:native #
[SHARE] path = /share # TM:false FS:native #
[BACKUP] path = /backup # TM:false FS:native #
[MEDIA] path = /media # TM:false FS:native #
[ADDON_CONFIGS] path = /addon_configs # TM:false FS:native #
[INTENSO] path = /mnt/INTENSO # TM:true USAGE:media FS:ext4 #
---------------------------------------------------
s6-rc: info: service init-samba successfully started
s6-rc: info: service init-mqtt: starting
s6-rc: info: service wsdd: starting
s6-rc: info: service smbd: starting
s6-rc: info: service nmbd: starting
s6-rc: info: service avahi: starting
s6-rc: info: service wsdd successfully started
s6-rc: info: service smbd successfully started
s6-rc: info: service avahi successfully started
s6-rc: info: service nmbd successfully started
s6-rc: info: service cifs-supervisor-mount: starting
[13:04:35] INFO: Starting the AVAHI for homeassistant...
nmbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
Waiting for daemon ...
[13:04:35] INFO: Automount Shares...
[13:04:35] INFO: MQTT support not enabled in config
s6-rc: info: service init-mqtt successfully started
[13:04:35] INFO: Starting the wsdd daemon for WORKGROUP/homeassistant...
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
[13:04:35] INFO: Interfaces from config: end0
[13:04:35] INFO: Wait Samba Server to going up..(max 30s)
[13:04:35] INFO: Interfaces: -i end0
2024-08-08 13:04:35,928:wsdd INFO(pid 374): using pre-defined UUID cb6a33a0-b841-531d-a34e-09ecec492eb1
2024-08-08 13:04:35,932:wsdd INFO(pid 374): joined multicast group 239.255.255.250 on 192.168.0.110%end0
2024-08-08 13:04:35,939:wsdd INFO(pid 374): scheduling Hello message via end0 to 239.255.255.250%end0
2024-08-08 13:04:36,029:wsdd INFO(pid 374): joined multicast group [ff02::c] on fe80::69e5:1aa7:e437:4cb1%end0
2024-08-08 13:04:36,032:wsdd INFO(pid 374): scheduling Hello message via end0 to ff02::c%end0
2024-08-08 13:04:36,083:wsdd INFO(pid 374): 192.168.0.108 - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
2024-08-08 13:04:36,088:wsdd INFO(pid 374): 192.168.0.123 - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
2024-08-08 13:04:36,102:wsdd INFO(pid 374): fe80::ce6b:f777:4a7:cb1c - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
No locked files
Samba version 4.18.9
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
s6-rc: info: service cifs-supervisor-mount successfully started
s6-rc: info: service mqtt-disk-handler: starting
s6-rc: info: service mqtt-disk-handler successfully started
s6-rc: info: service mqtt-handler: starting
s6-rc: info: service mqtt-handler successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
*****
Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.110
*****
*****
Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 172.30.32.1
*****
Addon
SambaNAS
Description
I'm trying to move a 258 MB video file (.mkv) to my NAS drive. Windows reports "0 bytes is needed to move this item. Delete or move files so you have enough space."
The drive has roughly 1.7 TB of remaining space and is formatted as EXT4. HaOS is running on a Raspberry Pi 4 4GB
df
reports following:Out of 191 files that I tried to move, 12 files have this issue.
When I zip the file, then unzip it again, and then move it, it succesfully transfers to the NAS. The only thing that visibly changed is the size on disk. The file extension is seemingly irrelevant and the error appears with any file extension (or none).
Here a comparison with more working and breaking files:
I don't see any errors in the log.
Reproduction steps
Addon Logs
Addon Config
Architecture
other
OS
HaOS