Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 15:20:17 +0200
From:      Georg Bege <georg@bege.email>
To:        freebsd-amd64@freebsd.org
Subject:   Re: mount information intermixing on 11.1-RELEASE (ZFS)
Message-ID:  <cd7cc84e-651d-6d4d-663b-f157fd629e9b@bege.email>
In-Reply-To: <14616369-42f9-4b39-7337-aaaec65d90f9@bege.email>
References:  <14616369-42f9-4b39-7337-aaaec65d90f9@bege.email>

next in thread | previous in thread | raw e-mail | index | archive | help
Supplement:
After a reboot, the flawed output of mount(8) (and df(1)) disappeared.

Am 09.06.2018 um 12:54 schrieb Georg Bege:
> Hello folks,
>=20
> I just spotted a very strange bug on 11.1-RELEASE.
> (It might be fixed already?)
>=20
> While working with my ZFS (mirrored pool / 2 SSDs), I wanted to=20
> originally track 11-STABLE and moved my original /usr/src around.
>=20
> The original steps were:
> 1) zfs snapshot lazarus/usr/src@RELENG_11.1
> 2) zfs clone lazarus/usr/src@RELENG_11.1=C2=A0 lazarus/usr/src-RELENG_1=
1.1
> 3) zfs promote lazarus/usr/src-RELENG_11.1
> 4) zfs destroy lazarus/usr/src
> ...
>=20
> So nothing too fancy (lazarus is the name of my pool).
> I didnt first notice, but after doing this I get now intermixed output=20
> while using mount(8) and df(1).
>=20
> EXCERPT
> -----------------------------------------------------------------------
> lazarus/usr/src-RELENG_11.1@RELENG_11.1/dev/ada3p3 on=20
> /virtuals/therion/images (ufs, local, journaled soft-updates)
> lazarus/usr/src-RELENG_11.1@RELENG_11.1/dev/zvol/lazarus/home/therion.e=
li on=20
> /home/therion (ufs, local, journaled soft-updates)
> lazarus/usr/src-RELENG_11.1@RELENG_11.1/dev/fuse on /home/therion/.gvfs=
=20
> (fusefs, local, nosuid, synchronous, mounted by therion)
> -----------------------------------------------------------------------
>=20
> So what is happening here is that the=20
> "lazarus/usr/src-RELENG_11.1@RELENG_11.1" is prepended to the original=20
> lines, which would normally *not* include this.
>=20
> This doesnt happen with all lines.... only these ones - after the last=20
> line it continues with:
>=20
> 192.168.0.5:/warehouse on /warehouse (nfs, nosuid, nfsv4acls, mounted b=
y=20
> therion)
> lazarus/usr/src on /usr/src (zfs, local, nfsv4acls)
>=20
> so just normally...
> The RELENG_11.1 dataset I've created is not mounted:
>=20
> EXCERPT
> -----------------------------------------------------------------------
> root@lazarus:~ # zfs get mounted lazarus/usr/src-RELENG_11.1
> NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 PROPERTY=C2=A0 VALUE=C2=A0=C2=A0=C2=A0 SOURCE
> lazarus/usr/src-RELENG_11.1=C2=A0 mounted=C2=A0=C2=A0 no=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 -
> -----------------------------------------------------------------------
>=20
> Has anyone ever spotted this?
> I suspect a parsing error while consuming the information mount(8)=20
> needs, wherever this information comes from.
>=20
> regards,
> Georg

--=20
Georg Bege
Mail: georg@bege.email
XMPP: therion@ninth-art.de
IRC: megaTherion @ Freenode



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd7cc84e-651d-6d4d-663b-f157fd629e9b>