Hi,

Anthony M Simonelli a écrit :
> Using Gusty 7.10 and LTSP 5.0.39.  Would running
> ltsp-update-image while clients are up and running
> cause any problems?
>   
This is a good question. I did a test to see what's happening.

On the client side, I started a nbd-client daemon. I did mount the nbd
device.

Then, I added a file in the client root and regenerated the image. The
nbd device is still mounted on the client side. When the image building
was over, I got this line with lsof :

nbd-serve 10575     nobody    4r      REG        8,2 150245376    
930291 /opt/ltsp/images/i386.img (deleted)

The added file didn't appears on the client side. It seems that the file
is replaced, but since it's beeing used and open by a process, the
kernel doesn't flush the file until no more process is using it. Until
all nbd-server process using a specific image file exits, the space will
not be released, so that's why if you rebuild the image while beeing in
use it appears to lower the available space.

So, thin-clients will behave correctly if you rebuild the image.
Thin-clients have to be rebooted to use the newer image.

If you change often things in the client root, I found it anoying to
rebuild each time the squashfs image. I did revert to NFS.

https://help.ubuntu.com/community/UbuntuLTSP/LTSPWithoutNFS

But there is a bug with ltsp_config from gutsy that prevent correct
behavior. See :

https://bugs.edge.launchpad.net/ubuntu/+source/ltsp/+bug/156229

Have a nice day,

Francis Giraldeau

-- 
Francis Giraldeau, Ing jr.
Analyste Infrastructure
Directeur Qualité
Téléphone : (819) 780-8955 poste 1111
Sans frais : 1-800-996-8955
Télécopieur : (819) 780-8871

Revolution Linux Inc.
2100 King ouest - bureau 260
Sherbrooke (Québec)
J1J 2E8 CANADA

http://www.revolutionlinux.com

Toutes les opinions et les prises de position exprimees dans ce courriel
sont celles de son auteur et ne representent pas necessairement celles
de Revolution Linux

Any views and opinions expressed in this email are solely those of the
author and do not necessarily represent those of Revolution Linux



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_____________________________________________________________________
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

Reply via email to