NetBSD Problem Report #59906
From www@netbsd.org Sun Jan 11 12:16:00 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 00E811A9241
for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Jan 2026 12:16:00 +0000 (UTC)
Message-Id: <20260111121559.33B651A9242@mollari.NetBSD.org>
Date: Sun, 11 Jan 2026 12:15:59 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: lfs wedges when running "ls" in a full file system
X-Send-Pr-Version: www-1.0
X-From4GNATS: "nia@pkgsrc.org via gnats" <gnats-admin@NetBSD.org>
>Number: 59906
>Category: kern
>Synopsis: lfs wedges when running "ls" in a full file system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 11 12:20:00 +0000 2026
>Originator: nia
>Release: current
>Organization:
The NetLFS Fulldation
>Environment:
NetBSD siphon 11.99.4 NetBSD 11.99.4 (SIPHON) #1: Wed Jan 7 18:25:38 CET 2026 nia@siphon:/encrypt/obj/sys/arch/amd64/compile/SIPHON amd64
>Description:
LFS locks up after a couple of large git repositories are cp'd to a
1024mb file system, making it full.
Commands like ls hang forever.
$ ls
[ 6099.3148063] load: 0.32 cmd: ls 15352 [prelockcv] 0.00u 0.00s 0% 2276k
>How-To-Repeat:
# dd if=/dev/zero of=/testfile bs=1m count=1024
# vndconfig vnd0 /testfile
# newfs_lfs -F /dev/rvnd0
# mount /dev/vnd0 /mnt
# cp -R ~/git/[...] /mnt
# cd /mnt
# ls
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.