growfs problem on current

tech-lists tech-lists at zyxst.net
Mon Mar 5 19:53:27 UTC 2018


On 05/03/2018 17:11, Bernd Walter wrote:
> Not sure if this is stricly current, but so far I could see this
> problem with current only.
> The filesystem expands and everything seems to be fine.
> But in fact the filesystem is broken and fails in a way, which can't
> be solved by fsck anymore.
> Somehow it tries to access data not reachable.
> I havn't had the time to investigate it further.
> Don't know if something in the partition tables or the filesystem is
> wrong.
> As a workaround I always expand the FS on my stable running desktop
> before booting on the ARM.

Not noticed any issue. I built arm6 for rpi2 just yesterday. From these
sources:

$ svnlite info fbsd-12-src/
Path: fbsd-12-src
Working Copy Root Path: /root/crochet/fbsd-12-src
URL: https://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 330287
Node Kind: directory
Schedule: normal
Last Changed Author: kevans
Last Changed Rev: 330287
Last Changed Date: 2018-03-02 17:07:08 +0000 (Fri, 02 Mar 2018)

The built image:

-rw-r--r--  1 root  wheel   7.3G  4 Mar 23:31
FreeBSD-armv6-12-GENERIC-NODEBUG-RaspberryPi2.img

written to a 32GB card:

Filesystem        Size    Used   Avail Capacity  Mounted on
/dev/mmcsd0s2a     28G    3.0G     23G    11%    /
devfs             1.0K    1.0K      0B   100%    /dev
/dev/mmcsd0s1      50M    8.7M     41M    17%    /boot/msdos
/dev/md1           14M     88K     13M     1%    /var/log
/dev/md2           11M     12K     10M     0%    /var/tmp
/dev/md3          242M    8.0K    222M     0%    /tmp

uname from installed system:

FreeBSD 12.0-CURRENT (GENERIC-NODEBUG) #0 f2f8a36(master): Sun Mar  4
23:30:06 GMT 2018

this is in /etc/rc.conf:

growfs_enable="YES"

I'm not seeing any errors at all.

What errors are you getting that make you think it's the filesystem, and
what sources (revision) did you build from, and what method did you use
to build? I used freebsd/crochet.
-- 
J.


More information about the freebsd-arm mailing list