From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#29675: databases should be created with chattr +C Date: Wed, 13 Dec 2017 15:40:03 +0100 Message-ID: <20171213154003.29024f01@scratchpost.org> References: <20171212114608.GB1873@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eP8Db-0005KL-AR for bug-guix@gnu.org; Wed, 13 Dec 2017 09:41:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eP8DW-0001w3-ER for bug-guix@gnu.org; Wed, 13 Dec 2017 09:41:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eP8DW-0001vq-Aq for bug-guix@gnu.org; Wed, 13 Dec 2017 09:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eP8DV-0002fd-Vn for bug-guix@gnu.org; Wed, 13 Dec 2017 09:41:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20171212114608.GB1873@macbook41> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 29675@debbugs.gnu.org Hi Efraim, On Tue, 12 Dec 2017 13:46:08 +0200 Efraim Flashner wrote: > We support running GuixSD on top of btrfs, and the prevailing wisdom is > to mark databases (sqlite, postgresql, etc.) as 'chattr +C', that is, as > not copy-on-write. It is honored under ext4, but it shouldn't cause any > changes. It sounds reasonable to do that - but I don't think that relational databases are managed by the Guix store. Rather they are in /var or in the home directory. Long story short, it would make sense for Postgres and Sqlite upstream to do the chattr +C, if they don't already do it.