The External Storage Support application enables you to mount external storage services and devices as secondary HA storage devices. 

 

To use a Windows 10 shared folder as network storage  for Home Assistant (docker), you need to set up a shared folder on Windows 10 and mount it inside debian.

 

storage server and protocol

 

storage client and protocol

# protocol:
# - SMB: smb://192.168.1.100/PhoneShare
# - FTP: ftp://192.168.1.100:21
# - WebDAV: http://192.168.1.100:8080/
# - SFTP: sftp://192.168.1.100:22
# - NFS: smount -t nfs 192.168.1.10:/home/share /mnt

 

 

all kind of serverha on rpi5Scene
ServerClient 
OS TypeInside OSsharing protocolStorageInside OSInside HA 
local storage server        
windows 10Install IIS WebDAV ServerWeb serverwebdav Storage webdav integration   
         
windows 10Install NFS server NFS StorageInsall nfs-common    
windows 10SMB StorageSMBSMB StorageInstall smbclient cifs-utils   ha Use windows share folder as data storage
         
  FTP/FTPS      
linuxSFTP Server  SFTP over SSH(SSH File transfer protocol)SFTP Storage     
linuxInstall NFS server  
sudo mount -t nfs 192.168.1.10:/home/share /mnt
    
         
Usb external storage       buy
remote cloud storage  Amazon S3,Dropbox, Google Drive, Amazon      

 

 

 

SMB Client

Client on rpi5(OS)

rpi5 -> smb folder share on windows 10

SMB - use cifs

sudo mount -t cifs -o username=your_username,password=your_password //server_ip/share_name /mnt/smb_share

 

SMB - not use cifs

smbclient -L //192.168.2.21 -U test2

output

	Sharename       Type      Comment
	---------       ----      -------

	nextcloud       Disk      
	shareforgiteagitserver Disk     

 

 

smbclient //192.168.2.21/nextcloud -U username

output

smb: \> l
  .                                   D        0  Mon Dec 15 03:50:39 2025
  ..                                  D        0  Mon Dec 15 03:50:39 2025
  data                                D        0  Mon Dec 15 03:55:30 2025

		732562175 blocks of size 4096. 91858085 blocks available
smb: \> 

 

Windows 10 shared folder as network storage for Home Assistant (docker)

Mount the SMB/CIFS share directly into the host file system using fstab or a mount point, then pass that directory into your docker-compose.yml

services:
  homeassistant:
    image: "ghcr.io/home-assistant/home-assistant:latest"
    volumes:
      - /opt/homeassistant/config:/config
      - /mnt/ha_windows_share:/backup   # or /media
    restart: unless-stopped
    network_mode: host

Access a Shared Folder on Windows 10

Comments


Comments are closed