Re: dd if=/dev/sda im laufenden Betrieb?
On Thursday 10 November 2011, Christian Storch wrote:
> Hallo Michael,
Moin,
> ein Lösung die sicher nicht "schön" ist, aber dafür 100%ig funktioniert
> (verwende ich immer zum schnellen Clonen):
auch nicht schlecht. Mal nachdenken.
[...]
> PS: Ich geh mal davon aus, du arbeitest mit noatime und RAM-Disk. -
> Ansonsten wirst du mindestens einen der hier genannten Vorschläge sehr
> bald brauchen. ;-)
Ja, /var/log und andere liegen im RAM. Und gesetzt ist
# keep the 2GB SD card alive ....
#How many seconds after a read should a writeout of changed files
#start (this is based on the assumption that a read will cause an
#otherwise spun down disk to spin up again).
vm.laptop_mode=120
#How often the kernel should check if there is "dirty" (changed)
#data to write out to disk (in centiseconds).
vm.dirty_writeback_centisecs=12000
#How old "dirty" data should be before the kernel considers it old
#enough to be written to disk. It is in general a good idea to set
#this to the same value as dirty_writeback_centisecs above.
vm.dirty_expire_centisecs=12000
#The maximum amount of memory (in percent) to be used to store
#dirty data before the process that generates the data will be
#forced to write it out. Setting this to a high value should not be
#a problem as writeouts will also occur if the system is low on memory.
vm.dirty_ratio=10
#The lower amount of memory (in percent) where a writeout of dirty
#data to disk is allowed to stop. This should be quite a bit lower
#than the above dirty_ratio to allow the kernel to write out chunksx
#of dirty data in one go.
vm.dirty_background_ratio=1
Die Karte ist schon 3 Jahre alt. Da jetzt aber die 80 MB RAM knapp werden muss
ich doch SWAP verwenden. Hoffentlich kann ich das bald auslagern ...
CU
--
|Michael Renner E-mail: michael.renner@gmx.de |
|81541 Munich skype: michael.renner.gmx.de |
|Germany Don't drink as root! ESC:wq
Reply to: