Re: Very slow guest login
richard kweskin <rkwesk_ltsp-YLKW/[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <[email protected]> |
On 2019-01-10 20:23, Alkis Georgopoulos wrote:
> As I mentioned previously, there is a very good way to do that, with
> an nbd-server copy-on-write export that will provide the /home/user/
> folder.
> This even speeds up things more, as the users access their /home over
> nbd instead of over sshfs, and it makes them more stable, as there are
> no sshfs file locking issues. And it saves RAM, as the disk "sectors"
> written are on the server instead of on a tmpfs. And there's no
> rsync/copy involved, since it's copy-on-write. The export is instant.
>
> The bad news is that while I've successfully used this method in the
> past, I don't know of any documentation about it, and it would take a
> couple of hours to properly document it, so... you'd need to spend
> some time reading the ltsp source code and the nbd-server manpage to
> implement it. :/
>
>
> On 1/10/19 2:27 PM, Giacomo Trovato wrote:
>> Hi All,
>>
>> on my school laboratory with LTSP-MATE (server on ESXI) I've 21 fat
>> clients that login as guest.
>>
>> I've the reset guest account script.
>>
>> The login is very slow when all the students login at the same time
>> (also more than 5 minutes).
>>
>> I assume that's because the script copies at the same time all the
>> home folders from the template.
>>
>> Is there any way to speedup the process?
>>
>> Perhaps executing the script at logout or with a chron job at night?
>>
>> Thank you
>
>
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
Perhaps this link is helpful. It explains the role of copy-on-write and
seems clearly written.
http://www.microhowto.info/howto/export_a_block_device_using_nbd.html
Richard
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net