[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm!?



Il giorno mer, 08/11/2006 alle 03.09 -0800, Salvatore Larosa ha scritto:

> Prima scarica i pacchetti poi fa la configurazione e alla fine mi da:
> 
> Warning: The following devices contain databases and have write
> caching enabled: /dev/hda
> This could destroy the integrity of your databases in the event of power
> failure. Consider disabling the write cache with "hdparm -W 0 <device>".

E` postgres che te lo dice.

> debian:~# hdparm -W 0 /dev/hda

> ho fatto bene?

Si`, hai fatto bene, visto che rischi realmente di corrompere i
database, visto che postgres da` per scontato che quando il disco gli
dice "ho scritto" abbia scritto, mentre col write caching non e` detto
che lo abbia fatto.

Per renderlo permanente devi metterlo in /etc/hdparm.conf

> C'è un modo di lanciare di nuovo la configurazione dei pacchetti senza
> riscaricarli?

dpkg-reconfigure nomepacchetto

ye.

-- 
Alessandro Pellizzari




Reply to: