-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find device path for /mnt #40
Comments
same question |
I made some updates today. Feel free to download latest source code, overwrite your existing unraid integration and restart home assistant. Let me know it if fixes the issue |
Issue still present on 2025.01.08 |
@tjorim @MountArarat Can you please run the following commands from unraid console and provide the output First, let's verify the mount points and disk structure:List all mount points under /mntls -la /mnt/ Show all mounted filesystems under /mnt with their device pathsfindmnt -t ext4,xfs,btrfs /mnt/ Check disk devices and their mappingslsblk -f Check the SMART status and disk states:For each disk (sdb, sdc, sdd, etc)smartctl -n standby -j /dev/sdb Alternative check using hdparmhdparm -C /dev/sdb Validate the disk mappings in Unraid:Check disk configurationcat /boot/config/disk.cfg Check disk mappingscat /var/local/emhttp/disks.ini Check current array statusmdcmd status Test the specific df command that's causing issues:Original problematic commanddf -B1 /mnt/disk* /mnt/cache /mnt/* 2>/dev/null New proposed commanddf -B1 /mnt/disk[0-9]* /mnt/cache* /mnt/pool* 2>/dev/null Test each pattern separatelydf -B1 /mnt/disk[0-9]* Debug the device path resolution:For each disk, test the findmnt commandfindmnt -n -o SOURCE /mnt/disk1 This will help verify:
|
@tjorim @MountArarat Can you also try to update the api/disk_operations.py code file. Find the Replace it with this code snippet
And then restart home assistant |
First, let's verify the mount points and disk structure: ls -la /mnt/
Show all mounted filesystems under /mnt with their device paths findmnt -t ext4,xfs,btrfs /mnt/
EMPTY RESPONSE Check disk devices and their mappings lsblk -f
Check the SMART status and disk states: smartctl -n standby -j /dev/sdb
smartctl -n standby -j /dev/sdc
smartctl -n standby -j /dev/sdd
smartctl -n standby -j /dev/sde
Alternative check using hdparm hdparm -C /dev/sdb
hdparm -C /dev/sdc
hdparm -C /dev/sdd
Validate the disk mappings in Unraid: cat /boot/config/disk.cfg
Check disk mappings cat /var/local/emhttp/disks.ini
Check current array status mdcmd status
Test the specific df command that's causing issues: df -B1 /mnt/disk* /mnt/cache /mnt/* 2>/dev/null
New proposed command df -B1 /mnt/disk[0-9]* /mnt/cache* /mnt/pool* 2>/dev/null
Test each pattern separately df -B1 /mnt/disk[0-9]*
df -B1 /mnt/cache*
df -B1 /mnt/pool*
Debug the device path resolution: findmnt -n -o SOURCE /mnt/disk1
findmnt -n -o SOURCE /mnt/disk2
findmnt -n -o SOURCE /mnt/cache
|
Describe the bug
Error in the HA logs
Expected behavior
No errors
Screenshots
No screenshot but copy of log
Unraid (please complete the following information):
Home Assistant (please complete the following information):
Home Assistant installation type (please complete the following information):
Home Assistant OS
Priority of Request
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: