Page 1 of 1
exfat not handled correctly
Posted: October 5th, 2019, 2:58 pm
by Player73
It seems to me that exfat disks are not correctly recogized. Sabnzbd gives me the error message "Completed Download Folder /data/Downloads is on FAT file system, limiting maximum file size to 4GB", but it is an exfat partition and could actually store files bigger than 4GB if sabnzbd only tried.
I'm on Arch linux with exfat-linux-dkms installed.
Code: Select all
$ df -T /data
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda3 exfat 1638908928 10245632 1628663296 1% /data
$ ll /data/file.txt
-rwxrwxrwx 1 root root 9,8G Oct 5 21:32 file.txt
Re: exfat not handled correctly
Posted: October 6th, 2019, 5:42 am
by sander
Ah, nice catch.
A change to
https://github.com/sabnzbd/sabnzbd/blob ... dir.py#L40 should solve it.
pseudo-code:
if contains "FAT" and not contains "EXFAT" then
So ... are you willing and able to change that yourself?
PS: for Windows users, maybe a change is needed here:
https://github.com/sabnzbd/sabnzbd/blob ... dir.py#L55 ?
Re: exfat not handled correctly
Posted: October 6th, 2019, 11:48 am
by Player73
Thanks, I have my workaround (I disabled the FAT-check completely). I just thought I should let you know about the issue.
Re: exfat not handled correctly
Posted: October 11th, 2019, 8:40 am
by sander
I bought a 64GB SD card, put it into my Ubuntu Linux, and Ubuntu did not recognize it.
After
Code: Select all
sudo apt-get install exfat-fuse exfat-utils
the "df -T" tells the Type is fuseblk, not exfat (and thus not FAT and thus not a problem
)
Code: Select all
sander@witte:~$ df -T /media/sander/0123-4567/
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sdb1 fuseblk 60784640 16768 60767872 1% /media/sander/0123-4567
So Arch linux does it different? Which kernel do you use? I believe Microsoft was going to integrate exfat support into the linux kernel?
https://www.omgubuntu.co.uk/2019/08/mic ... nux-kernel