So far so good I’ve succesfully migrated my 4tb drives to zfs.
The only “problem” if have is that windows doesn’t report the used space of the pool:
I think it’s because I used datasets but mount the “root” pool
I’ve already found a way to potentially fix this. Editing the samba.conf with this: dfree command = /boot/config/plugins/user.scripts/scripts/dfree/script
and the script that would be executed is something like this:
#!/bin/bash
CUR_PATH=`pwd`
USED=$((`zfs get -o value -Hp used $CUR_PATH` / 1024)) > /dev/null
AVAIL=$((`zfs get -o value -Hp available $CUR_PATH` / 1024)) > /dev/null
TOTAL=$(($USED+$AVAIL)) > /dev/null
echo $TOTAL $AVAIL
which gives me this output:
root@Unraid-Ryzen:/mnt/zfs# sh /boot/config/plugins/user.scripts/scripts/dfree/script
10993962589 724870574
So the script is working fine. But still the same problem with windows.
Have any of you the same problem and an idea on how to fix this?
Help much appreciated
I’m assuming you didnt change anything in the samba file that has your globals. looks like unraid uses separate samba files for the shares. I’m also assuming your other shares do display their usage correctly. If these are incorrect then feel free to correct me.