TOS 6 SMB unable to write, still gets (sys_get_quota) error
Posted: 03 Oct 2025, 00:40
This goes back to a topic from 5 years ago, but shows up as well for 2023, and 2024... indicating that this issue isn't really being addressed at all:
2020: viewtopic.php?p=2581&hilit=sys_get_quota#p2581
2023: viewtopic.php?p=27298&hilit=sys_get_quota#p27298
2024: viewtopic.php?p=36459&hilit=sys_get_quota#p36459
On a moderately freshly installed TOS 6 installation on an F4-424 - I use it as a NAS sharing and storing files via SMB to Macs and Windows PCs. It has the latest version of TOS 6 (v6.0.783) installed.
Recently, when copying files to the F4-424, it kept giving errors and aborting the copy - sometimes right away, sometimes after copying a few files.
When checking the logs, this is the consistent error:
../../source3/lib/sysquotas.c:566(sys_get_quota) sys_path_to_bdev() failed for path [.]
After some digging around, this is an SMB error related to BTRFS and quotas. Quotas aren't possible under BTRFS (as the TOS 6 control panel tells me), but this is a persistent SMB issue related to BTRFS.
Unfortunately, TOS 6 formats the drives with BTRFS by default, and nothing has been done in terms of code to compensate for this issue - which essentially leaves the NAS in a more or less unusable state.
While the Terramaster hardware is solid, this makes TOS 6 (or TOS 5, which has the same issue), completely useless and unusable.
My only options left at this point are to attach a fast USB drive to the F4-424, and copy all my files over via a regular Linux file copy, or to backup via SCP or an FTP solution - then, reformat (since you can not really convert BTRFS to ZFS or EXT4, but need to reformat)
At which point I can put TOS 6 back and format as EXT4 (which allegedly doesn't have the issue), or bail on TOS altogether and install another NAS software like UNRAID, TRUENAS, or OpenMediaVault (which I am leaning towards right now, considering that this bug has been completely ignored by Terramaster, it appears, for 5 years - and it is rather fatal once it hits).
2020: viewtopic.php?p=2581&hilit=sys_get_quota#p2581
2023: viewtopic.php?p=27298&hilit=sys_get_quota#p27298
2024: viewtopic.php?p=36459&hilit=sys_get_quota#p36459
On a moderately freshly installed TOS 6 installation on an F4-424 - I use it as a NAS sharing and storing files via SMB to Macs and Windows PCs. It has the latest version of TOS 6 (v6.0.783) installed.
Recently, when copying files to the F4-424, it kept giving errors and aborting the copy - sometimes right away, sometimes after copying a few files.
When checking the logs, this is the consistent error:
../../source3/lib/sysquotas.c:566(sys_get_quota) sys_path_to_bdev() failed for path [.]
After some digging around, this is an SMB error related to BTRFS and quotas. Quotas aren't possible under BTRFS (as the TOS 6 control panel tells me), but this is a persistent SMB issue related to BTRFS.
Unfortunately, TOS 6 formats the drives with BTRFS by default, and nothing has been done in terms of code to compensate for this issue - which essentially leaves the NAS in a more or less unusable state.
While the Terramaster hardware is solid, this makes TOS 6 (or TOS 5, which has the same issue), completely useless and unusable.
My only options left at this point are to attach a fast USB drive to the F4-424, and copy all my files over via a regular Linux file copy, or to backup via SCP or an FTP solution - then, reformat (since you can not really convert BTRFS to ZFS or EXT4, but need to reformat)
At which point I can put TOS 6 back and format as EXT4 (which allegedly doesn't have the issue), or bail on TOS altogether and install another NAS software like UNRAID, TRUENAS, or OpenMediaVault (which I am leaning towards right now, considering that this bug has been completely ignored by Terramaster, it appears, for 5 years - and it is rather fatal once it hits).


