9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Stanley Lieber <sl@stanleylieber.com>
To: 9front@9front.org
Subject: Re: [9front] Full cwfs fscache
Date: Thu, 04 Jul 2024 13:01:51 -0400	[thread overview]
Message-ID: <F3FDA700-50EB-4597-9B77-D3D3DBE0ACFE@stanleylieber.com> (raw)
In-Reply-To: <37b3be7b-57eb-4f87-854a-c1dba39359a4@sciops.net>

On July 4, 2024 5:14:45 AM EDT, qwx@sciops.net wrote:
>Jul 3, 2024 03:34:43 Dave MacFarlane <driusan@driusan.net>:
>
>> I did something that filled up my fscache partition and it took me a couple 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" command. Boot from an iso and enter a shell with '!rc'. Run 'cwfs64x -c -f $fscachepath' and in the cwfs configuration shell run
>>    recover main
>>    end
>> "
>>
>> The wording/instructions could probably be cleaned up by someone who knows it better than me, but the information is currently buried deep in fsconfig(8) which is not the first place you look and hard to access when your filesystem won't mount.
>
>Hi,
>
>This is the simplest case, but it would make sense to add a section
>about it in fqa9.  You also should do 'check rtmp' on the cwfs
>console after recovery (see fs(8)).  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
>  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.  I'll think about a nice
>phrasing for the fqa unless there are any objections.
>
>Cheers,
>qwx
>

sounds good, thanks. 

sl

      parent reply	other threads:[~2024-07-04 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02  0:58 Dave MacFarlane
2024-07-04  9:14 ` qwx
2024-07-04 13:15   ` Dave MacFarlane
2024-07-04 17:01   ` Stanley Lieber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F3FDA700-50EB-4597-9B77-D3D3DBE0ACFE@stanleylieber.com \
    --to=sl@stanleylieber.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).