tag 444269 moreinfo unreproducible
thanks

Hi,

Antti-Juhani Kaijanaho [2007-09-27 14:35 +0300]:
> [EMAIL PROTECTED]:33:41]:~$ sudo hdparm -W 0 /dev/hda
> 
> /dev/hda:
>  setting drive write-caching to 0 (off)
>  write-caching =  0 (off)
> [EMAIL PROTECTED]:34:16]:~$ sudo /usr/share/postgresql-common/pg_checksystem
> 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>".

Were you ever able to reproduce this? pg_checksystem does more or less
the same ioctl than hdparm to check the status. If you disable write
caching, is it displayed as disabled in "sudo hdparm -W /dev/hda"?

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to