From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id AA1DC247AF for ; Thu, 4 Jul 2024 11:16:10 +0200 (CEST) Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Thu Jul 4 05:14:46 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1720084410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rz/cD0vJ/CuWKPRuFJDxF+Fm2gdnGZMZhqWYkOz9uQA=; b=tUIwLZtgKo/j4wON8lRbmqD8EjhK40A96kblta0Rs4bzH2gU9Rl/Jy8FJi1diImD9ecK8n YnYxOShzkrarMYovMToAWysBLqHqIuJAIwd8KPUfWkju4T7dF8X8+i+vyilGqiYZWt9fl2 noUwzRyO7EAFeqZ05dCRzSYyjG0JjRM= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id 5dc04669 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Thu, 4 Jul 2024 02:13:30 -0700 (PDT) Date: Thu, 4 Jul 2024 11:14:45 +0200 (GMT+02:00) From: qwx@sciops.net To: 9front@9front.org Message-ID: <37b3be7b-57eb-4f87-854a-c1dba39359a4@sciops.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <37b3be7b-57eb-4f87-854a-c1dba39359a4@sciops.net> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extended XML over YAML extension hosting-aware wrapper out-scaling-oriented interface Subject: Re: [9front] Full cwfs fscache Reply-To: 9front@9front.org Precedence: bulk Jul 3, 2024 03:34:43 Dave MacFarlane : > I did something that filled up my fscache partition and it took me a coup= le of hours trying to figure out how to save my server. > > I think it might be worth adding something to the troubleshooting section= of the fqa like: > > "Q: I filled up my cwfs cache! > A: You can restore your cache from the latest dump with the "recover" com= mand. Boot from an iso and enter a shell with '!rc'. Run 'cwfs64x -c -f $fs= cachepath' and in the cwfs configuration shell run > =C2=A0=C2=A0 recover main > =C2=A0=C2=A0 end > " > > The wording/instructions could probably be cleaned up by someone who know= s it better than me, but the information is currently buried deep in fsconf= ig(8) which is not the first place you look and hard to access when your fi= lesystem won't mount. Hi, This is the simplest case, but it would make sense to add a section about it in fqa9.=C2=A0 You also should do 'check rtmp' on the cwfs console after recovery (see fs(8)).=C2=A0 So, in case you fill up your cache or have an unclean shutdown or such, typically you would: - boot and append the -c flag to bootargs to enter config mode (instead =C2=A0 of using the iso or entering the shell and starting cwfs manually) - enter 'recover main' and 'end' - run 'check rtmp' etc in the cwfs console once successfully booted. Again, this only covers the simplest case.=C2=A0 I'll think about a nice phrasing for the fqa unless there are any objections. Cheers, qwx