PoC-Consortium / scavenger

A fast Burstcoin miner written in Rust
GNU General Public License v3.0
107 stars 64 forks source link

It cannot find plotfiles on an external drive to my jetson nano runing ubuntu linux. #80

Closed Buerstenmacher closed 4 years ago

Buerstenmacher commented 4 years ago

nano@nano-desktop:~/.cargo/bin$ nano@nano-desktop:~/.cargo/bin$ nano@nano-desktop:~/.cargo/bin$ nano@nano-desktop:~/.cargo/bin$ sudo ./scavenger 21:59:49 [INFO] Scavenger v.1.7.6 21:59:49 [INFO] path=/media/nano/20burst_PMR/plots, files=0, size=0.0000 TiB 21:59:49 [WARN] no plots in /media/nano/20burst_PMR/plots 21:59:49 [INFO] plot files loaded: total drives=0, total capacity=0.0000 TiB 21:59:49 [INFO] reader-threads=0 CPU-threads=4 21:59:49 [INFO] CPU-buffer=4(+4) 21:59:49 [INFO] new block: height=775255, scoop=2580
^C nano@nano-desktop:~/.cargo/bin$ cd /media/nano/20burst_PMR/plots nano@nano-desktop:/media/nano/20burst_PMR/plots$ ls -l total 11718754304 -rwxrwxrwx 2 nano nano 3199998099456 Feb 24 23:54 13750024092017113601_20000000000_12207024 -rwxrwxrwx 2 nano nano 3199998099456 Feb 26 03:51 13750024092017113601_20012207024_12207024 -rwxrwxrwx 2 nano nano 3199998099456 Feb 27 07:49 13750024092017113601_20024414048_12207024 -rwxrwxrwx 2 nano nano 2400010108928 Feb 28 04:49 13750024092017113601_20036621072_9155312 nano@nano-desktop:/media/nano/20burst_PMR/plots$

Randomblock1 commented 4 years ago

Hey, this is very late but I had the same issue. I mounted some NTFS drives and it didn’t work. The reason was because hdd_use_direct_io was set to true. The solution was setting it to false. I guess it just doesn’t like directly reading from mounted drives? Either way, it works now.

Buerstenmacher commented 4 years ago

Thank you for your suggestion!!! I will give it a try within the next couple of days and report if it solves this problem.

JohnnyFFM commented 4 years ago

Hi, Linux NTFS drivers do not support direct i/o. For best performance, use a linux filesystem on linux and a windows filesystem on windows. Any mix is likely to degrade performance.

Buerstenmacher commented 4 years ago

setting hdd_use_direct_io to "false" has solved this problem. scavenger is now working on my nvidia jetson nano even if i use a mixture of ubuntu os and ntfs external drives.