how to write on a ext3 disk

6946 views
Skip to first unread message

Mario Abbiate

unread,
Jan 29, 2012, 3:56:26 AM1/29/12
to osxfus...@googlegroups.com
Hello,
I just installed osxfuse on my mac. I can finally access all my ext3 disks but they get auto mounted as read only.
How can I mount them read and write.
Thanks
Mario

Benjamin Fleischer

unread,
Jan 29, 2012, 5:55:31 AM1/29/12
to osxfus...@googlegroups.com
Hi Mario,

Am 29.01.2012 um 09:56 schrieb Mario Abbiate:

I just installed osxfuse on my mac. I can finally access all my ext3 disks but they get auto mounted as read only.
How can I mount them read and write.

Basically you need OSXFUSE and fuse-ext2. OSXFUSE has to be installed with the "MacFUSE compatibility layer" option checked. fuse-ext2 can be obtained from [1]. Since your ext3 disks already get auto-mounted you seem to be ok on this front.

fuse-ext2 comes with write support, but it is disabled by default. The README file states:

there are no known bugs for read-only mode, read only mode should be ok for every one.

altough, write support is available (and it is pretty stable) please do not mount your
filesystems with write support unless you do not have anything to loose.

To enable fuse-ext2 write functionality run the following command in Terminal (one line). You will be asked to enter your admin password.

sudo sed -e 's/OPTIONS="auto_xattr,defer_permissions"/OPTIONS="auto_xattr,defer_permissions,rw+"/' -i .orig /System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util

To restore the default read-only behavior run (one line):

sudo mv /System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util.orig /System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util


Regards,
Benjamin

Aki Hoji

unread,
Jul 15, 2013, 4:37:24 PM7/15/13
to osxfus...@googlegroups.com
Hi Ben, 

I tried this trick to auto-mount an external Ext3 disk but I have not been able to automount the volume.  The disk is listed as disk2 and has a mnt  point in /Volume but I see the only .autodiskmounted in the volume mounted.  I get the following in a syslog:

kernel[0]: OSXFUSE: force ejecting (no response from user space 5)
kernel[0]: OSXFUSE: user-space initialization failed (57)

Any help on this ? 

Thanks. 

Aki

ProductName: Mac OS X
ProductVersion: 10.8.4
BuildVersion: 12E55

Benjamin Fleischer

unread,
Jul 15, 2013, 5:29:16 PM7/15/13
to osxfus...@googlegroups.com
Hi Aki,

It seems the fuse-ext2 user space daemon has died unexpectedly or did not responds to file system requests in a timely fashion. What happens if you mount the volume manually?

Regards,
Benjamin

--
You received this message because you are subscribed to the Google Groups "OSXFUSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osxfuse-grou...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Aki Hoji

unread,
Jul 16, 2013, 10:05:12 AM7/16/13
to osxfus...@googlegroups.com
Hi Ben, 

So, I mounted the drive with read-only automount,  unmounted and did sudo fuse-ext2 -o force /dev/disk2 /Volumes/Lacie as follows;

fuse-ext2: version:'0.0.7', fuse_version:'27' [main (../../fuse-ext2/fuse-ext2.c:324)]
fuse-ext2: enter [do_probe (../../fuse-ext2/do_probe.c:30)]
fuse-ext2: leave [do_probe (../../fuse-ext2/do_probe.c:55)]
fuse-ext2: opts.device: /dev/disk2 [main (../../fuse-ext2/fuse-ext2.c:351)]
fuse-ext2: opts.mnt_point: /Volumes/Lacie [main (../../fuse-ext2/fuse-ext2.c:352)]
fuse-ext2: opts.volname: Lacie [main (../../fuse-ext2/fuse-ext2.c:353)]
fuse-ext2: opts.options: force [main (../../fuse-ext2/fuse-ext2.c:354)]
fuse-ext2: parsed_options: force,allow_other,local,noappledouble,fsname=/dev/disk2,fstypename=ext2,volname=Lacie [main (../../fuse-ext2/fuse-ext2.c:355)]
fuse-ext2: mounting read-write [main (../../fuse-ext2/fuse-ext2.c:369)]

At the moment, I thought it was working but then 20 or so seconds later, I got this;

mount_osxfusefs: failed to mount /Volumes/Lacie@/dev/osxfuse0: Socket is not connected

In syslog;

kernel[0]: OSXFUSE: force ejecting (no response from user space 5)
kernel[0]: OSXFUSE: user-space initialization failed (57)


As suggested, fuse can't seem to establish a dev socket to mount the disk and it gets a timeout .  I attached the sampling result of ext-fuse2 if it helps.  

Aki   
Sample of fuse-ext2.txt

Erich Foster

unread,
Aug 15, 2013, 9:43:37 AM8/15/13
to osxfus...@googlegroups.com
I am having the exact same issue on OS X 10.7.5 with OSXFUSE 2.6.1 and fuse-ext2 0.0.7

Benjamin Fleischer

unread,
Aug 17, 2013, 9:51:56 AM8/17/13
to osxfus...@googlegroups.com
You might want to post this issue in the fuse-ext2 forum https://sourceforge.net/p/fuse-ext2/discussion/. In my opinion there is nothing, that can be done from the osxfuse end to fix this.

kernel[0]: OSXFUSE: force ejecting (no response from user space 5)
kernel[0]: OSXFUSE: user-space initialization failed (57)

This means fuse-ext2 did not respond to the FUSE_INIT request.

Regards,
Benjamin
Reply all
Reply to author
Forward
0 new messages