Skip to content

Commit 39359a3

Browse files
committed
Adds exercise to do physically with the students
1 parent b137b01 commit 39359a3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

_episodes/35-filesystem.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,25 @@ Lola is happy. Before leaving, her colleague briefs her, that she should be caut
113113
> > The directories `home` and `lustre` (last column) are related to file systems that look like DNS lookup names as you would use for `ssh`. For example, `mack:/home` looks like something you could supply to `scp` as well.
114114
> {: .solution}
115115
{: .challenge}
116+
117+
> ## Wallets analogy
118+
>
119+
> Explain filesytems in a cluster with an analogy of students that finds money in the streets
120+
> and have their own wallets and a kitty.
121+
>
122+
> How's the first example shown in this lesson converted to this metaphor?
123+
> Would you know how much money have been found in total?
124+
> *Advanced* How everyone can register money in the kitty (a piggybank) without jammed it?
125+
> *Advanced* How would a buffer system would work?
126+
>
127+
> > ## Solution
128+
> > Each student has a wallet that is not shared with others (`/tmp`), however all have access to the kitty `/home`.
129+
> >
130+
> > If everyone adds the money they find in their own wallets, it will be impossible to know
131+
> > how much money there's in total, unless it's added to the kitty.
132+
> >
133+
> > *Advanced*: They have to do it in some order.
134+
> > *Advanced*: There can be some personal piggybank that's emptied at a certain time.
135+
> {: .solution}
136+
{: .challenge}
137+

0 commit comments

Comments
 (0)