Perhaps it easier to help you if you give the exact command line you
invoked, and also the device of the exFAT volume. You can see the device
graphically with the volume manager in the system panels.
Best regards,
-Stephan
I assume /mnt/storagejet exists. I don't know if the trailing / could be
a problem, and I would try to remove the -d option as well. After those
changes you end up with a command line that works for me.
Best regards,
-Stephan
> it's not the traling /.
> it's not the -d option I put it just to see if it will bring more output.
> the directory exists /mnt/storagejet exists.
--
Andrew Nayenko <res...@gmail.com>
mount arguments look OK...
Try to compile and run helloworld from FUSE documentation:
http://fuse.sourceforge.net/helloworld.html (copy-paste the code to a
file with hello.c name).
Compile:
gcc -Wall -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 -lfuse hello.c -o hello
Run:
./hello /mnt/storagejet
Did it work?
--
Andrew Nayenko <res...@gmail.com>
BTW, what's the HDD model?
--
Andrew Nayenko <res...@gmail.com>
That was just a dirty hack.
I think I've found the reason of the error. When fuseblk device is
mounted, it sets block size (512 bytes by default). Kernel requires
this size to be not less than device sector size and not more than
page size (set_blocksize() in fs/block_dev.c). In our case fuse-exfat
didn't specify blksize option and fuseblk defaulted to 512 bytes. But
your HDD sector size is 4 KB and for this reason set_blocksize()
returned -EINVAL.
Please check this new patch. It's intended to fix this issue
gracefully. Do not forget to revert previous patch.
--
Andrew Nayenko <res...@gmail.com>
Great! Thanks.
--
Andrew Nayenko <res...@gmail.com>
It's difficult to say anything from those errors. This is definitely not
an attempt to read beyond the device boundary because offsets are too
small. Most probably it failed to read the root directory.
1. What does Windows' chkdsk say about those volumes?
2. Did you create FS using Windows? If yes, which Windows version did
you use?
3. What are the exact sizes of those volumes in bytes?
--
Andrew Nayenko <res...@gmail.com>
The problem is that pread() fails. Please apply the attached patch and
send me the output of mount command.
--
Andrew Nayenko <res...@gmail.com>
I'll try to reproduce this issue.
--
Andrew Nayenko <res...@gmail.com>
Looks like Solaris-specific (most probably block layer related) problem.
Try unaligned read of 4 bytes from exFAT partition:
sudo dd if=/dev/your_exfat_volume of=/dev/zero bs=4 count=1 skip=16388
Does this fail with the same error message?
--
Andrew Nayenko <res...@gmail.com>