Hello, I'm still struggling with this, but found a bit more logging (still not much I'm afraid) using the -v (verbose) and -d (debug) options of both MacFuse and EncFS. Any suggestions where I might find more? Or do any of you see any fatal errors in this logging?
So, my test script basically just continuously creates files (touch command), on a MacFuse drive with the EncFS filesystem. The test script output: ... Creating file no 7917 Creating file no 7918 Creating file no 7919 touch: /tmp/mount/random-dir-7/random-file.7919: Socket is not connected Before the error pops up, there is a long time where nothing happens and everything seems to hang (timeout?) Output from MacFuse/Encfs: (encfs lines start with timestamp, MacFuse output does not): (note that the file with name 7918 worked properly, it fails when attempting to create the file with name 7919) The ''No such file or directory" seem normal to me, as they also appear in all other (correctly created) files. MKNOD /random-dir-7/random-file.7918 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1: No such file or directory 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 13721226668822013149, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 16:52:23 (encfs.cpp:258) mknod on /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1, mode 33188, dev 0 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 13721226668822013149, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 NODEID: 67926 unique: 0, error: 0 (Unknown error: 0), outsize: 152 unique: 1, opcode: LOOKUP (1), nodeid: 60008, insize: 59 LOOKUP /random-dir-7/._random-file.7918 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1: No such file or directory 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 13170079601340108218, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1: No such file or directory 16:52:23 (encfs.cpp:138) getattr error: No such file or directory unique: 1, error: -2 (No such file or directory), outsize: 16 unique: 0, opcode: GETATTR (3), nodeid: 67926, insize: 40 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 13721226668822013149, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 unique: 0, error: 0 (Unknown error: 0), outsize: 128 unique: 1, opcode: OPEN (14), nodeid: 67926, insize: 48 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 13721226668822013149, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 16:52:23 (RawFileIO.cpp:129) open call for writable file 16:52:23 (RawFileIO.cpp:151) open file with flags 2, result = 4 16:52:23 (encfs.cpp:573) encfs_open for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1, flags 1 unique: 1, error: 0 (Unknown error: 0), outsize: 32 OPEN[40346368] flags: 0x1 /random-dir-7/random-file.7918 unique: 0, opcode: FLUSH (25), nodeid: 67926, insize: 64 FLUSH[40346368] 16:52:23 (encfs.cpp:134) flush /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1 16:52:23 (RawFileIO.cpp:129) open call for read only file 16:52:23 (RawFileIO.cpp:136) using existing file descriptor unique: 0, error: 0 (Unknown error: 0), outsize: 16 unique: 1, opcode: RELEASE (18), nodeid: 67926, insize: 64 RELEASE[40346368] flags: 0x1 unique: 1, error: 0 (Unknown error: 0), outsize: 16 unique: 0, opcode: LOOKUP (1), nodeid: 60008, insize: 57 LOOKUP /random-dir-7/random-file.7919 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No such file or directory 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 5367271293300729610, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No such file or directory 16:52:23 (encfs.cpp:138) getattr error: No such file or directory unique: 0, error: -2 (No such file or directory), outsize: 16 unique: 1, opcode: LOOKUP (1), nodeid: 60008, insize: 57 LOOKUP /random-dir-7/random-file.7919 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No such file or directory 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 5367271293300729610, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No such file or directory 16:52:23 (encfs.cpp:138) getattr error: No such file or directory unique: 1, error: -2 (No such file or directory), outsize: 16 unique: 0, opcode: MKNOD (8), nodeid: 60008, insize: 65 MKNOD /random-dir-7/random-file.7919 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:52:23 (FileNode.cpp:140) calling setIV on (null) 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No such file or directory 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 5367271293300729610, fileIV = 0 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:52:23 (encfs.cpp:258) mknod on /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-, mode 33188, dev 0 16:53:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8, randBytes = 0 16:53:23 (FileNode.cpp:140) calling setIV on (null) 16:53:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV = 5367271293300729610, fileIV = 0 16:53:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS- ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- 16:53:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/ jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh- NODEID: 67927 unique: 0, error: 0 (Unknown error: 0), outsize: 152 fuse: writing device: Socket is not connected 16:53:27 (openssl.cpp:48) Allocating 35 locks for OpenSSL Next things I'll try: Since I think there's some sort of timeout here, I'll try and put sleeps between the touch commands. Also, there seems to be some timeout option in Macfuse, so I'll try that as well. Then again, it seems weird to me, since this script doesn't give any problems on any of my 32 bit machines (both Leopard and Snow Leopard tested), but stops after a minute or 2 on the 64bit SL machine. Any other suggestions here? Is there a later/more stable version than the 2.1.9 (Tuxera) version we currently use? Patches? Known bugs? thanks! - Kenny On Jun 24, 10:38 am, Kenny <[email protected]> wrote: > Hello, thanks for the quick response. > > The Preference pane tells me that the version installed in 2.1.9 () > To my knowledge this is still the latest (semi-stable) version that > supports 64-bit? > Is there another version I should try out? > > When MacFuse is unmounted (crashed), the encfs process is gone too. > > In case it helps, this is the output from dmesg: > > ffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Locking node 0xffffff801acc7450... > fuse_biglock_vnop_fsync: node 0xffffff801acc7450 locked! > fuse_biglock_vnop_fsync: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_fsync: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Unlocking node 0xffffff801acc7450... > fuse_biglock_vnop_fsync: node 0xffffff801acc7450 unlocked! > fuse_biglock_vnop_reclaim: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_reclaim: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Locking node 0xffffff8018fc4c50... > fuse_biglock_vnop_fsync: node 0xffffff8018fc4c50 locked! > fuse_biglock_vnop_fsync: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_fsync: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Unlocking node 0xffffff8018fc4c50... > fuse_biglock_vnop_fsync: node 0xffffff8018fc4c50 unlocked! > fuse_biglock_vnop_reclaim: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_reclaim: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 released! > fuse_vfsop_unmount: Aquiring biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 aquired! > fuse_vfsop_unmount: Calling vflush(mp, fuse_rootvp, flags=0x0); > fuse_vfsop_unmount: Releasing biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 released! > fuse_vfsop_unmount: Aquiring biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 aquired! > fuse_vfsop_unmount: Done. > fuse_vfsop_unmount: Calling vnode_rele(fuse_rootp); > fuse_vfsop_unmount: Releasing biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_inactive: Locking node 0xffffff801acc3850... > fuse_biglock_vnop_inactive: node 0xffffff801acc3850 locked! > fuse_biglock_vnop_inactive: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_inactive: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_inactive: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_inactive: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_inactive: Unlocking node 0xffffff801acc3850... > fuse_biglock_vnop_inactive: node 0xffffff801acc3850 unlocked! > fuse_vfsop_unmount: Aquiring biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 aquired! > fuse_vfsop_unmount: Done. > fuse_vfsop_unmount: Calling vflush(mp, NULLVP, FORCECLOSE); > fuse_vfsop_unmount: Releasing biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Locking node 0xffffff801acc3850... > fuse_biglock_vnop_fsync: node 0xffffff801acc3850 locked! > fuse_biglock_vnop_fsync: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_fsync: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_fsync: biglock 0xffffff8014974120 released! > fuse_biglock_vnop_fsync: Unlocking node 0xffffff801acc3850... > fuse_biglock_vnop_fsync: node 0xffffff801acc3850 unlocked! > fuse_biglock_vnop_reclaim: Aquiring biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 aquired! > fuse_biglock_vnop_reclaim: Releasing biglock 0xffffff8014974120... > fuse_biglock_vnop_reclaim: biglock 0xffffff8014974120 released! > fuse_vfsop_unmount: Aquiring biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 aquired! > fuse_vfsop_unmount: Done. > fuse_vfsop_unmount: Releasing biglock 0xffffff8014974120... > fuse_vfsop_unmount: biglock 0xffffff8014974120 released! > > On Jun 23, 5:13 pm, Sam Moffatt <[email protected]> wrote: > > > > > > > > > If you're using one of the early 64-bit builds that didn't have some > > of the checks in place then it is entirely possible there is an access > > issue that is happening behind the scenes with the requests that is > > resulting in something getting terminated. What version of 64-bit > > compatible MacFUSE are you using? > > > When you get the socket not connected, does the encfs process still > > live on? Have you looked for any crash reporter files? It could be a > > bug in encfs as well, I've had incorrectly built semaphore code > > (*cough* e.g. my own) result in a state where the process gets > > terminated because the number of requests hitting it simultaneously > > overloaded the implementation and resulted in a failure. > > > Cheers, > > > Sam Moffatthttp://pasamio.id.au > > > On Thu, Jun 23, 2011 at 11:32 PM, Kenny <[email protected]> wrote: > > > Hi, > > > > We've been using MacFuse for a long time with EncFS, on multiple > > > machines. > > > It's never given me any problems. (on 32 bit machines with both > > > Leopard and Snow Leopard). > > > However, we've recently added a few new machines. They come standard > > > with Snow Leopard and 64 bit enabled now. > > > > On the 64bit machines, it seems the images are regularly unmounted > > > without notice. > > > I wrote a small script that can reproduce quite fast. > > > It doesn't do much, it just continuously creates new directories and > > > touches (creates) files in them. > > > This works fine for a long time, but after a while, the 'touch' seems > > > to take very long, and eventually 'times out' with the error: > > > > Socket is not connected. > > > > At this point, the drive is no longer mounted. > > > (mount doesn't display it anymore, mountpoint directory inode is no > > > longer the same as the data directory inode) > > > > It just disappeared.... > > > I looked at the logs in Console.app, and in /var/log/syslog, but > > > nothing is added in there. > > > In dmesg, I do see fuse references, but nothing that points to a bug/ > > > crash. > > > > Is this a known problem? Is there a fix/workaround? > > > Where should I look for more logging? > > > Is this a MacFuse error, or is this specific to EncFS and should I > > > report a bug there? > > > > Do you guys use 64bit macs? Have you encountered the same problems? > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "MacFUSE" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/macfuse?hl=en. -- You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macfuse?hl=en.
