NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hangs when trying to read a NTFS disk with 3g (No buffer space?)



On Tue, 28 Nov 2023, Riccardo Mottola wrote:

Hi!

I installed fuse-ntfs-3g-2022.10.3 to read&write on an external HD.

I did this on an i386 laptop and an amd64 one, to double check.. and
because I need it on both!

I try to read this disk
[  7080.368720] sd0 at scsibus0 target 0 lun 0: <TOSHIBA, STOR.E ALU 2S, 0001> disk fixed
[  7080.378727] sd0: fabricating a geometry
[  7080.378727] sd0: 1397 GB, 1430799 cyl, 64 head, 32 sec, 512 bytes/sect x 2930277168 sectors
[  7080.388733] sd0: fabricating a geometry

I mount the disk this way and get the following messages:

isengard$ sudo mount.ntfs-3g /dev/sd0e /mnt
mount.ntfs-3g: perfuse_open: setsockopt SO_SNDBUF to 2162688 failed: No
buffer space available
mount.ntfs-3g: perfuse_open: setsockopt SO_RCVBUF to 2162688 failed: No
buffer space available
mount.ntfs-3g: perfuse_open: setsockopt SO_SNDBUF to 2162688 failed: No
buffer space available
mount.ntfs-3g: perfuse_open: setsockopt SO_RCVBUF to 2162688 failed: No
buffer space available
mount.ntfs-3g: perfuse_open: setsockopt SO_SNDBUF to 2162688 failed: No
buffer space available
mount.ntfs-3g: perfuse_open: setsockopt SO_RCVBUF to 2162688 failed: No
buffer space available

A quick check with "ls /mnt" shows the expected directories, but if I
try to read into a subdirectory, I get a hang.
In one attempt, the system did hang, I could not kill applications, only
a (soft) power-down helped.
Right now I could quit with crl-c,  I see that I can't list several
first-level directories, but some *do* work. I tried to copy some
files... I get a hang. After a second attempt I get a hang I cannot
ctrl-c. I see no output nor dmesg with a clue.

Ideas? Experiences with 3f NTFS?


Did you try the workaround from MESSAGE.NetBSD? (which should've been displayed
when you installed the package):

```
Make sure the PERFUSE_BUFSIZE is lowered for NTFS:

env PERFUSE_BUFSIZE=135168 ntfs-3g /dev/dk1 /mnt
```

-RVP


Home | Main Index | Thread Index | Old Index