Problem with resizing partitions on RPi

Michael Tuexen tuexen at freebsd.org
Tue May 6 17:35:29 UTC 2014


Dear all,

I just installed a freshly build rr265449 on a SD card for a RPi and wanted
to resize the filesystem, as I did a couple of times in the past.
However, it doesn't work anymore:

root at raspberry-pi:/home/tuexen # uname -a
FreeBSD raspberry-pi 11.0-CURRENT FreeBSD 11.0-CURRENT #49 r265449M: Tue May  6 17:25:18 CEST 2014     root at bsd5.fh-muenster.de:/usr/home/tuexen/obj/arm.armv6/usr/home/tuexen/head/sys/RPI-B  arm
root at raspberry-pi:/home/tuexen # gpart show
=>      63  31116225  mmcsd0  MBR  (15G)
        63     65520       1  !12  [active]  (32M)
     65583   2031561       2  freebsd  (992M)
   2097144  29019144          - free -  (14G)

=>      0  2031561  mmcsd0s2  BSD  (992M)
        0  2031561         1  freebsd-ufs  (992M)

root at raspberry-pi:/home/tuexen # gpart resize -i 2 mmcsd0
gpart: resizing will lead to unexpected shrinking due to alignment: Device busy

Any idea what is going wrong?

Best regards
Michael


More information about the freebsd-arm mailing list