Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2016 21:48:07 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Matthew Grooms <mgrooms@shrew.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: CURRENT: [USB] : GEOM_PART: da4 was automatically resized.
Message-ID:  <20160801214807.332baebf.ohartman@zedat.fu-berlin.de>
In-Reply-To: <0b4f142a-7c44-832d-5fe2-c2a6264383cc@shrew.net>
References:  <20160801110554.289d040d@freyja.zeit4.iv.bundesimmobilien.de> <20160801174035.GI74453@gmail.com> <0b4f142a-7c44-832d-5fe2-c2a6264383cc@shrew.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/bRiTF5.u2RgqxY0u5Kn3oG.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Mon, 1 Aug 2016 13:55:13 -0500
Matthew Grooms <mgrooms@shrew.net> schrieb:

> On 8/1/2016 12:40 PM, Randy Westlund wrote:
> > On Mon, Aug 01, 2016 at 11:05:54AM +0200, O. Hartmann wrote: =20
> >> On every(!) USB drive which worked well with 11-CURRENT up to 11-BETA,=
 I fail
> >> to access with 12-CURRENT (12.0-CURRENT FreeBSD 12.0-CURRENT #14 r3034=
75: Fri
> >> Jul 29 11:59:11 CEST 2016) with the error shown below.
> >>
> >> On USB flash drives I created myself, the suggested gpart command solv=
ed the
> >> problem, but I can not do this with drives I was given by a vendor or =
supplier.
> >>
> >> What is wrong?
> >>
> >> Kind regards and thank you very much in advance,
> >>
> >> O. Hartmann
> >>
> >>
> >> On console, I get the report:
> >>
> >> [...]
> >> GEOM_PART: da4 was automatically resized.
> >>   Use `gpart commit da4` to save changes or `gpart undo da4` to revert=
 them. =20
> >
> > I noticed something similar when I was trying to dd a more recent
> > memstick installer to a USB drive on 12-CURRENT.  When I plugged in the
> > flash drive I couldn't dd to it until I noticed that message in syslog
> > and ran 'gpart undo da0'.  Looks like something is unhelpfully
> > auto-resizing partitions.
> > =20
>=20
> Do you have growfs_enable in your rc.conf file? I think this is added to=
=20
> certain flash images by default so it will automatically grow to your=20
> device capacity. See ...
>=20
> /etc/rc.d/growfs
>=20
> ... and ...
>=20
> https://lists.freebsd.org/pipermail/freebsd-rc/2014-May/003497.html


No, I do not. This weird dmesg output occured immediately after the 12-CURR=
ENT branch was
created - somehow. 11-ALPHA3 doesn't show up this problem. I haven't tested=
 ALPHA6 or the
most recent BETA.

The nasty thing is that I can't write to the USB flash drive in some cases =
- although
this worked flawless before.

I did not change anything in the config (rc.conf[.XXX]). The problem occure=
d with one of
the patchesets placed via svn in the strain of moving to 12-CURRENT.

And it occurs an ALL CURRENT systems I run.

Oliver

--Sig_/bRiTF5.u2RgqxY0u5Kn3oG.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXn6d3AAoJEOgBcD7A/5N8goEIAIvVPeYkG+dzUY3/Xq0pEfnM
GorQZlKV2ZQnMvHAItrtzOF5r4uJQeMvDuYavjwuDQYZIYrBGZEBue1g0ZifG6gs
F0e6prjop6PLOhX8X7J1LdFLP+qPAcYIgNLb93md9IrcvP5PQGoanxgblywbeOAS
WsFjVumntNBM+SNrv8fWowHVkVXEzzx84SI9Bf1dlf5bU/JsYQOt/7wUCVjWlNwe
VqHsTjmr4fwYKcSgjrqYLx/II9/BUv84al/bvGY14aidnaUTqaNzG92slrzlBxgX
HE9i1CQRZ7o8QpFEPWxxsEpUC/edO+E/hBCPoUNbMhRyl8+L1X+IV5n3EGe3tIA=
=NhMk
-----END PGP SIGNATURE-----

--Sig_/bRiTF5.u2RgqxY0u5Kn3oG.--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160801214807.332baebf.ohartman>