Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 16:48:46 -0600
From:      Dutch Ingraham <stoa@gmx.us>
To:        freebsd-questions@freebsd.org
Subject:   Cannot mount ext2fs in read-write mode
Message-ID:  <20171201224845.GA1079@dutch.freebsd.net>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi everybody:

I cannot seem to mount a thumbdrive formatted to ext2fs in read-write mode on
my FreeBSD 11.1-RELEASE-p4 #0 system. The error is: 

/usr/home/dutch $ sudo mount -t ext2fs /dev/da0s1 /media/usb
mount: /dev/da0s1: Operation not permitted

It seems some years ago there was an inode limit of 128 on mounting ext2fs in
read-write mode; see this[1] thread for example.  There seems to have been a
patch that corrected this situation and allowed inodes of 256 (my case).

However, the advice in that thread is 9 years old.  The current manpage for
ext2fs(5) only states one requirement (build-in or load the ext2fs kernel
module) and indicates that the restriction on read-write mode only aplies to
the ext4 filesystem, and I am attempting to mount the ext2 filesystem.

A current forum post[2] seems to indicate there is still an issue (regardless
of the 2016 ext2fs manpage) mounting an ext2 filesystem read-write (although
it is somewhat ambiguous whether the OP was trying to mount an ext2 or ext4
filesystem).

Can someone please advise (1) if FreeBSD provides for mounting an ext2
filesystem in read-write mode, and if so, (2) what I am doing wrong?

Thanks for your help.

PS - I can mount read-only, but that doesn't help me much.


[1] https://forums.freebsd.org/threads/912/
[2] https://forums.freebsd.org/threads/60501/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20171201224845.GA1079>