Re: ZFS problems since recently ?

2024-01-02 Thread John Kennedy
On Tue, Jan 02, 2024 at 05:51:32PM -0500, Alexander Motin wrote:
> On 01.01.2024 08:59, John Kennedy wrote:
> >  ...
> >My poudriere build did eventually fail as well:
> > ...
> > [05:40:24] [01] [00:17:20] Finished devel/gdb@py39 | gdb-13.2_1: Success
> > [05:40:24] Stopping 2 builders
> > panic: VERIFY(BP_GET_DEDUP(bp)) failed
> 
> Please see/test: https://github.com/openzfs/zfs/pull/15732 .

  It came back today at the end of my poudriere build.  Your patch has fixed
it, so far at least.




Re: ZFS problems since recently ?

2024-01-02 Thread Alexander Motin

On 01.01.2024 08:59, John Kennedy wrote:

On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote:

markj@ pointed me in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039
to
https://github.com/openzfs/zfs/pull/15719

So it will probably be fixed sooner or later.

The other ZFS crashes I've seen are still an issue.


   My poudriere build did eventually fail as well:

...
[05:40:24] [01] [00:17:20] Finished devel/gdb@py39 | gdb-13.2_1: Success
[05:40:24] Stopping 2 builders
panic: VERIFY(BP_GET_DEDUP(bp)) failed


Please see/test: https://github.com/openzfs/zfs/pull/15732 .

--
Alexander Motin



Re: bridge(4) and IPv6 broken?

2024-01-02 Thread Patrick M. Hausen
Hi all,

> Am 02.01.2024 um 13:56 schrieb Jan Bramkamp :
> 
> IPv6 enabled interfaces need a link-local address for normal operation. 
> Please set the auto-linklocal flag on the bridge and try again.

And remove the link-local address from alc0. A bridge member must not have
any layer 3 addresses configured. If you are using the standard rc.conf 
variables
just use:

ifconfig_alc0="up"

Kind regards,
Patrick


Re: bridge(4) and IPv6 broken?

2024-01-02 Thread Jan Bramkamp



On 02.01.24 00:40, Lexi Winter wrote:

hello,

i'm having an issue with bridge(4) and IPv6, with a configuration which
is essentially identical to a working system running releng/14.0.

ifconfig:

lo0: flags=1008049 metric 0 mtu 16384
options=680003
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
groups: lo
nd6 options=21
pflog0: flags=1000141 metric 0 mtu 33152
options=0
groups: pflog
alc0: flags=1008943 
metric 0 mtu 1500

options=c3098
ether 30:9c:23:a8:89:a0
inet6 fe80::329c:23ff:fea8:89a0%alc0 prefixlen 64 scopeid 0x3
media: Ethernet autoselect (1000baseT )
status: active
nd6 options=1
wg0: flags=10080c1 metric 0 mtu 1420
options=8
inet 172.16.145.21 netmask 0x
inet6 fd00:0:1337:cafe:::829a:595e prefixlen 128
groups: wg
tunnelfib: 1
nd6 options=101
bridge0: flags=1008843 metric 
0 mtu 1500
options=0
ether 58:9c:fc:10:ff:b6
inet 10.1.4.101 netmask 0xff00 broadcast 10.1.4.255
inet6 2001:8b0:aab5:104:3::101 prefixlen 64
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap0 flags=143
ifmaxaddr 0 port 6 priority 128 path cost 200
member: alc0 flags=143
ifmaxaddr 0 port 3 priority 128 path cost 55
groups: bridge
nd6 options=1
tap0: flags=9903 metric 0 mtu 1500
options=8
ether 58:9c:fc:10:ff:89
groups: tap
media: Ethernet 1000baseT 
status: no carrier
nd6 options=29
IPv6 enabled interfaces need a link-local address for normal operation. 
Please set the auto-linklocal flag on the bridge and try again.




Re: ZFS problems since recently ?

2024-01-02 Thread Alexander Leidinger

Am 2024-01-02 08:22, schrieb Kurt Jaeger:

Hi!


The sysctl for block cloning is vfs.zfs.bclone_enabled.
To check if a pool has made use of block cloning:
zpool get all poolname | grep bclone


One more thing:

I have two pools on that box, and one of them has some bclone files:

# zpool get all ref | grep bclone
ref   bcloneused 21.8M  -
ref   bclonesaved24.4M  -
ref   bcloneratio2.12x  -
# zpool get all pou | grep bclone
pou   bcloneused 0  -
pou   bclonesaved0  -
pou   bcloneratio1.00x  -

The ref pool contains the system and some files.
The pou pool is for poudriere only.

How do I find which files on ref are bcloned and how can I remove the
bcloning from them ?


No idea about the detection (I don't expect an easy way), but the answer 
to the second part is to copy the files after disabling block cloning. 
As this is system stuff, I would expect it is not much data, and you 
could copy everything and then move back to the original place. I would 
also assume original log files are not affected, and only files which 
were copied (installworld or installkernel or backup files or manual 
copies or port install (not sure about pkg install)) are possible 
targets.


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


signature.asc
Description: OpenPGP digital signature


Re: ZFS problems since recently ?

2024-01-02 Thread Kurt Jaeger
Hi!

> The sysctl for block cloning is vfs.zfs.bclone_enabled.
> To check if a pool has made use of block cloning:
> zpool get all poolname | grep bclone

One more thing:

I have two pools on that box, and one of them has some bclone files:

# zpool get all ref | grep bclone
ref   bcloneused 21.8M  -
ref   bclonesaved24.4M  -
ref   bcloneratio2.12x  -
# zpool get all pou | grep bclone
pou   bcloneused 0  -
pou   bclonesaved0  -
pou   bcloneratio1.00x  -

The ref pool contains the system and some files.
The pou pool is for poudriere only.

How do I find which files on ref are bcloned and how can I remove the
bcloning from them ?

-- 
p...@freebsd.org +49 171 3101372  Now what ?