9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Modifying FS (hjfs)
@ 2021-01-22 13:22 Eckard Brauer
  2021-01-22 13:45 ` hiro
  2021-01-22 23:49 ` [9front] Modifying FS (hjfs) Eli Cohen
  0 siblings, 2 replies; 11+ messages in thread
From: Eckard Brauer @ 2021-01-22 13:22 UTC (permalink / raw)
  To: 9front

Seems I missed something from man or fqa...

Installation on Raspberries usually are done dd-ing the img file (~2GB)
to the sd card. Most sd cards are much larger in size than the ~2 GB
from the image, so what's best (and how is this done) for having the
remaining are available:

* enlarging the 2nd partition (hjfs) to the available storage, resizing
  the filesystem (how?),

* creating a 3rd partition / second hjfs (so far, trivial) and adding
  that to the already available storage (seems strange to me), or

* creating cwfs there and using that, as above (seems as strange as the
  last)?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 13:22 [9front] Modifying FS (hjfs) Eckard Brauer
@ 2021-01-22 13:45 ` hiro
  2021-01-22 16:24   ` Eckard Brauer
  2021-01-22 23:49 ` [9front] Modifying FS (hjfs) Eli Cohen
  1 sibling, 1 reply; 11+ messages in thread
From: hiro @ 2021-01-22 13:45 UTC (permalink / raw)
  To: 9front

sorry for not answering the real question, but...

it's not recommended to use the sd card for too much stuff, i'd just
mount a real fileserver instead if you can.
otherwise perhaps add a cheap xhci USB HDD.



On 1/22/21, Eckard Brauer <eckard.brauer@gmx.de> wrote:
> Seems I missed something from man or fqa...
>
> Installation on Raspberries usually are done dd-ing the img file (~2GB)
> to the sd card. Most sd cards are much larger in size than the ~2 GB
> from the image, so what's best (and how is this done) for having the
> remaining are available:
>
> * enlarging the 2nd partition (hjfs) to the available storage, resizing
>   the filesystem (how?),
>
> * creating a 3rd partition / second hjfs (so far, trivial) and adding
>   that to the already available storage (seems strange to me), or
>
> * creating cwfs there and using that, as above (seems as strange as the
>   last)?
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 13:45 ` hiro
@ 2021-01-22 16:24   ` Eckard Brauer
  2021-01-22 16:56     ` Romano
  0 siblings, 1 reply; 11+ messages in thread
From: Eckard Brauer @ 2021-01-22 16:24 UTC (permalink / raw)
  To: 9front

> it's not recommended to use the sd card for too much stuff, i'd just
> mount a real fileserver instead if you can.
> otherwise perhaps add a cheap xhci USB HDD.

That's indeed the idea, but I'm currently playing with a Pi3 before the
Pi4 and adapter arrives (because of the better SATA-USB bandwidth).

And the same problem arises, as I upgraded my notebook HD and raised
the partition for 9front (with some old installation in cwfs). So for
the next time I plan to learn a bit more of Plan 9 to at least try to
drop linux...

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 16:24   ` Eckard Brauer
@ 2021-01-22 16:56     ` Romano
  2021-01-22 17:38       ` Eckard Brauer
  0 siblings, 1 reply; 11+ messages in thread
From: Romano @ 2021-01-22 16:56 UTC (permalink / raw)
  To: 9front, Eckard Brauer

FWIW, I've been running 9front on rpi4 for the last 7 months, give or take. Iif I remember correctly I installed it onto an external SD card that I then installed as the primary. I had inly intended it to be a short term solution until I switched to another drive or boot over the network, but wifi isn't working for me on rpi4 yet. On my ever-growing todo list.


On January 22, 2021 4:24:23 PM UTC, Eckard Brauer <eckard.brauer@gmx.de> wrote:
>> it's not recommended to use the sd card for too much stuff, i'd just
>> mount a real fileserver instead if you can.
>> otherwise perhaps add a cheap xhci USB HDD.
>
>That's indeed the idea, but I'm currently playing with a Pi3 before the
>Pi4 and adapter arrives (because of the better SATA-USB bandwidth).
>
>And the same problem arises, as I upgraded my notebook HD and raised
>the partition for 9front (with some old installation in cwfs). So for
>the next time I plan to learn a bit more of Plan 9 to at least try to
>drop linux...

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 16:56     ` Romano
@ 2021-01-22 17:38       ` Eckard Brauer
  2021-01-22 18:10         ` Romano
  2021-01-22 18:42         ` [9front] Modifying FS (hjfs) (pi wifi) Steve Simon
  0 siblings, 2 replies; 11+ messages in thread
From: Eckard Brauer @ 2021-01-22 17:38 UTC (permalink / raw)
  To: 9front

Am Fri, 22 Jan 2021 16:56:08 +0000
schrieb Romano <unobe@cpan.org>:

> FWIW, I've been running 9front on rpi4 for the last 7 months, give or
> take. Iif I remember correctly I installed it onto an external SD
> card that I then installed as the primary. I had inly intended it to
> be a short term solution until I switched to another drive or boot
> over the network, but wifi isn't working for me on rpi4 yet. On my
> ever-growing todo list.

Ahh, wifi could be nice too, but isn't really urgent for me currently.
As already stated, I'd be first get a little more insight into Plan 9's
internals (or 9front's), set up some systems (a spare Pi 2 will be
terminal server then, the Pi 3 I'm currently playing with is needed for
another task and a Pi 4 I'm awaiting to get soon should act as file and
cpu server.

What about interoperability, is file sharing from 9front to linux (NFS,
or maybe 9p) working and stable, as I still have the need for running a
box with it?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 17:38       ` Eckard Brauer
@ 2021-01-22 18:10         ` Romano
  2021-01-22 18:42         ` [9front] Modifying FS (hjfs) (pi wifi) Steve Simon
  1 sibling, 0 replies; 11+ messages in thread
From: Romano @ 2021-01-22 18:10 UTC (permalink / raw)
  To: 9front, Eckard Brauer

I mount remote linux servers with sshfs just fine (beware-- you need to use the specific auth provided by stock 9front, so make sure remot linux is using latest defaults that allow elliptic curves). Also, drawterm works well, and from /mnt/term you have access to most everything you need. I haven't tried using other file servers like nfs.

On January 22, 2021 5:38:12 PM UTC, Eckard Brauer <eckard.brauer@gmx.de> wrote:
>Am Fri, 22 Jan 2021 16:56:08 +0000
>schrieb Romano <unobe@cpan.org>:
>
>> FWIW, I've been running 9front on rpi4 for the last 7 months, give or
>> take. Iif I remember correctly I installed it onto an external SD
>> card that I then installed as the primary. I had inly intended it to
>> be a short term solution until I switched to another drive or boot
>> over the network, but wifi isn't working for me on rpi4 yet. On my
>> ever-growing todo list.
>
>Ahh, wifi could be nice too, but isn't really urgent for me currently.
>As already stated, I'd be first get a little more insight into Plan 9's
>internals (or 9front's), set up some systems (a spare Pi 2 will be
>terminal server then, the Pi 3 I'm currently playing with is needed for
>another task and a Pi 4 I'm awaiting to get soon should act as file and
>cpu server.
>
>What about interoperability, is file sharing from 9front to linux (NFS,
>or maybe 9p) working and stable, as I still have the need for running a
>box with it?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs) (pi wifi)
  2021-01-22 17:38       ` Eckard Brauer
  2021-01-22 18:10         ` Romano
@ 2021-01-22 18:42         ` Steve Simon
  2021-01-22 19:32           ` Lyndon Nerenberg
  2021-01-23 14:24           ` cinap_lenrek
  1 sibling, 2 replies; 11+ messages in thread
From: Steve Simon @ 2021-01-22 18:42 UTC (permalink / raw)
  To: 9front


FYI: wifi is working reliably on a pi3 for me,
i boot from the sdcard and take root from the network. i use the rest of the sdcard for cfs.

unfortunately the performance is very poor and i haven't worked out why yet; cfs helps but not as much as i hoped (it still does a lot of rtts to check file versions).

the issue is the rtt to my server over wifi - it performs well over an rj45. it maybe the latency inherent in wifi, it maybe my router ot perhaps the pi or its driver. i have no evidence either way.

-Steve


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs) (pi wifi)
  2021-01-22 18:42         ` [9front] Modifying FS (hjfs) (pi wifi) Steve Simon
@ 2021-01-22 19:32           ` Lyndon Nerenberg
  2021-01-23 14:24           ` cinap_lenrek
  1 sibling, 0 replies; 11+ messages in thread
From: Lyndon Nerenberg @ 2021-01-22 19:32 UTC (permalink / raw)
  To: 9front, Steve Simon

Steve Simon writes:

> the issue is the rtt to my server over wifi - it performs well over an rj45.=

What are your ping times for wifi vs. copper?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 13:22 [9front] Modifying FS (hjfs) Eckard Brauer
  2021-01-22 13:45 ` hiro
@ 2021-01-22 23:49 ` Eli Cohen
  2021-01-23 12:50   ` Eckard Brauer
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Cohen @ 2021-01-22 23:49 UTC (permalink / raw)
  To: 9front

> * creating cwfs there and using that, as above (seems as strange as the
>   last)?

I set up for example a 256 GB microSD card as a (very slow...) cwfs,
by looking at how /sys/lib/dist/mkfile generates the pi release imgs,
and the scripts in /bin/inst

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs)
  2021-01-22 23:49 ` [9front] Modifying FS (hjfs) Eli Cohen
@ 2021-01-23 12:50   ` Eckard Brauer
  0 siblings, 0 replies; 11+ messages in thread
From: Eckard Brauer @ 2021-01-23 12:50 UTC (permalink / raw)
  To: 9front

Am Fri, 22 Jan 2021 15:49:53 -0800
schrieb Eli Cohen <echoline@gmail.com>:

>  [...]
>
> I set up for example a 256 GB microSD card as a (very slow...) cwfs,
> by looking at how /sys/lib/dist/mkfile generates the pi release imgs,
> and the scripts in /bin/inst

Thanks, that's good to look at.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9front] Modifying FS (hjfs) (pi wifi)
  2021-01-22 18:42         ` [9front] Modifying FS (hjfs) (pi wifi) Steve Simon
  2021-01-22 19:32           ` Lyndon Nerenberg
@ 2021-01-23 14:24           ` cinap_lenrek
  1 sibling, 0 replies; 11+ messages in thread
From: cinap_lenrek @ 2021-01-23 14:24 UTC (permalink / raw)
  To: 9front

we do not have wifi support at the moment in the 9front
pi kernels.

the code is quite invasive to the emmc subsystem and
needs a bunch of gpio pin muxing magic. so this needs
some carefull handling.

--
cinap

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-23 14:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 13:22 [9front] Modifying FS (hjfs) Eckard Brauer
2021-01-22 13:45 ` hiro
2021-01-22 16:24   ` Eckard Brauer
2021-01-22 16:56     ` Romano
2021-01-22 17:38       ` Eckard Brauer
2021-01-22 18:10         ` Romano
2021-01-22 18:42         ` [9front] Modifying FS (hjfs) (pi wifi) Steve Simon
2021-01-22 19:32           ` Lyndon Nerenberg
2021-01-23 14:24           ` cinap_lenrek
2021-01-22 23:49 ` [9front] Modifying FS (hjfs) Eli Cohen
2021-01-23 12:50   ` Eckard Brauer

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).