Bug 29952 - Configure VM writeback times to prevent data loss when unplugging USB mass storage
Configure VM writeback times to prevent data loss when unplugging USB mass st...
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Hardware and device support
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Erik Damrose
Lukas Walter
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-07 16:04 CET by Moritz Muehlenhoff
Modified: 2013-03-26 09:14 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-01-07 16:04:23 CET
In "TCS experimental"the following was set in the LTSPD init script:

    echo "10" > /proc/sys/vm/dirty_expire_centisecs
    echo "10" > /proc/sys/vm/dirty_writeback_centisecs

These values also need to be configured if the UCC thin client image is used.

For the desktop image we should stick with the Ubuntu default.
Comment 1 Moritz Muehlenhoff univentionstaff 2013-01-09 17:01:31 CET
univetion-corporate-client defines an Upstart job ucc-base

A UCR variable should be configured, which - if activated - sets the specified sysctls.

Additional this variable must be set for the thin client image:

The official UCC thin client images are defined in ucc-integration/ucc-image-toolkit/example/ucc-thinclient.cfg (section ucr_variables:)
Comment 2 Erik Damrose univentionstaff 2013-01-15 10:43:01 CET
Added two ucr variables to set quick writeback times for thinclient
 - ucc/sysctl/dirtywritebackcentisecs
 - ucc/sysctl/dirtyexpiredcentisecs

Set ucr vm writeback variables for thinclient image in ucc-thinclient.cfg
Comment 3 Lukas Walter univentionstaff 2013-01-24 14:51:46 CET
(In reply to comment #2)
> Added two ucr variables to set quick writeback times for thinclient
>  - ucc/sysctl/dirtywritebackcentisecs
>  - ucc/sysctl/dirtyexpiredcentisecs
> 
> Set ucr vm writeback variables for thinclient image in ucc-thinclient.cfg

OK -> variables set to 10
OK -> values are written to file by ucc-base.conf


Verified.
Comment 4 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:07 CET
UCC 1.0 has been released: 
http://forum.univention.de/viewtopic.php?f=26&t=2417
http://forum.univention.de/viewtopic.php?f=54&t=2418

If this error occurs again, please use "Clone This Bug".