Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nfs over (lvm over nbd) ?
Date: Thu, 14 May 2009 12:32:14
Message-Id: 20090514133205.56c53d8f@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] nfs over (lvm over nbd) ? by Raph
1 On Thu, 14 May 2009 14:16:46 +0200, Raph wrote:
2
3 > > What's wrong with creating each user's home directory on one computer
4 > > and exporting it to the others over NFS? If each user has a preferred
5 > > workstation, this will also reduce network usage.
6 >
7 > If I understand you well, each "client" /etc/exports would be :
8 > /home/user0 server.domain(rw)
9 > ...
10 > /home/user378 server.domain(rw)
11 > All the directories have not only to exists but not to be empty
12 > has it would conflict with the others clients serving the "already used"
13 > versions (says for exemple pc14.domain which
14 > contains /home/user33/foo.bar)
15 >
16 > Then in each "client" /etc/fstab I would put :
17 > server:/home/user0 /home/user0 defaults 0 0
18 > ...
19 > server:/home/user378 /home/user378 defaults
20 > 0 0
21
22 I meant that each machine would have one or two home directories that
23 would be exported to the others. In the simplest case, N users and N
24 computers, each box would have one line in /etc/exports
25
26 /home/user1 netmask(rw)
27
28 and N-1 lines in /etc/fstab.
29
30 box2:/home/user2 /home/user2
31 ...
32 boxN:/home/userN /home/userN
33
34 That way you reduce the impact of one failed machine to only the user
35 directories on that box, instead of the whole LV.
36
37
38 --
39 Neil Bothwick
40
41 "MSDOS didn't get as bad as it is overnight -- it took over ten years
42 of careful development."

Attachments

File name MIME type
signature.asc application/pgp-signature