after restarting memcache I could list the mount, but then this happened
user@laptop:~$ sudo ls -l /mnt/mc-11212
ls: cannot access /mnt/mc-11212/d0f0e7dc0c93c78f979d24a02ce1dfd9: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/2ac0070d6ee41fa0e37a9b0221b5f233: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/fac21a3f9a0114b1be5e3373f8a7f66b: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/8375ab730017c16595b9b50f0ad7bc6f: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/d7f203848fd7bf2adf4d2143f9e09da1: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/6fc3d1a4f5c1161693ba4d981f61e566: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/92310fa7e5d1031a14469d14195d435b: Transport endpoint is not connected
ls: reading directory /mnt/mc-11212: Transport endpoint is not connected
total 0
?????????? ? ? ? ? ? 2ac0070d6ee41fa0e37a9b0221b5f233
?????????? ? ? ? ? ? 6fc3d1a4f5c1161693ba4d981f61e566
?????????? ? ? ? ? ? 8375ab730017c16595b9b50f0ad7bc6f
?????????? ? ? ? ? ? 92310fa7e5d1031a14469d14195d435b
?????????? ? ? ? ? ? d0f0e7dc0c93c78f979d24a02ce1dfd9
?????????? ? ? ? ? ? d7f203848fd7bf2adf4d2143f9e09da1
?????????? ? ? ? ? ? fac21a3f9a0114b1be5e3373f8a7f66b
user@laptop:~$
user@laptop:~$ sudo ls -l /mnt/mc-11212
ls: cannot access /mnt/mc-11212: Transport endpoint is not connected
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
more insight:
after restarting memcache I could list the mount, but then this happened
user@laptop:~$ sudo ls -l /mnt/mc-11212
ls: cannot access /mnt/mc-11212/d0f0e7dc0c93c78f979d24a02ce1dfd9: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/2ac0070d6ee41fa0e37a9b0221b5f233: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/fac21a3f9a0114b1be5e3373f8a7f66b: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/8375ab730017c16595b9b50f0ad7bc6f: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/d7f203848fd7bf2adf4d2143f9e09da1: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/6fc3d1a4f5c1161693ba4d981f61e566: Transport endpoint is not connected
ls: cannot access /mnt/mc-11212/92310fa7e5d1031a14469d14195d435b: Transport endpoint is not connected
ls: reading directory /mnt/mc-11212: Transport endpoint is not connected
total 0
?????????? ? ? ? ? ? 2ac0070d6ee41fa0e37a9b0221b5f233
?????????? ? ? ? ? ? 6fc3d1a4f5c1161693ba4d981f61e566
?????????? ? ? ? ? ? 8375ab730017c16595b9b50f0ad7bc6f
?????????? ? ? ? ? ? 92310fa7e5d1031a14469d14195d435b
?????????? ? ? ? ? ? d0f0e7dc0c93c78f979d24a02ce1dfd9
?????????? ? ? ? ? ? d7f203848fd7bf2adf4d2143f9e09da1
?????????? ? ? ? ? ? fac21a3f9a0114b1be5e3373f8a7f66b
user@laptop:~$
user@laptop:~$ sudo ls -l /mnt/mc-11212
ls: cannot access /mnt/mc-11212: Transport endpoint is not connected
Hello,
I encountered similar issues (memcachefs process segfaulting, ls stating "reading directory <dir_name>/: Software caused connection abort" then " cannot access <dir_name>: Transport endpoint is not connected") and ended up with the following fix:
--- memcachefs-0.5/memcachefs.c 2007-08-10 19:23:21.000000000 +0200
+++ memcachefs-0.5-patched/memcachefs.c 2012-07-28 22:59:25.000000000 +0200
@@ -239,8 +239,13 @@
line_end = buf_items;
while(*line_start != '\0'){
line_end = strchr(line_start, '\n');
- len = line_end - line_start;
- len = (len >= 256)?256:len;
+ if (line_end == NULL) {
+ len = strlen(line_start);
+ line_end = line_start + len;
+ } else {
+ len = line_end - line_start;
+ len = (len >= 256)?256:len;
+ }
memcpy(line, line_start, len);
line[len] = '\0';
line_start = line_end + 1;