From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxsystems.it ([79.7.78.67]:43196 "EHLO mail.linuxsystems.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbdJBL0X (ORCPT ); Mon, 2 Oct 2017 07:26:23 -0400 To: Paul Jones Subject: RE: Is it really possible to dedupe read-only snapshots!? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Mon, 02 Oct 2017 13:26:22 +0200 From: =?UTF-8?Q?Niccol=C3=B2_Belli?= Cc: linux-btrfs@vger.kernel.org In-Reply-To: References: <49ec6395-19b4-46e0-83cf-806ef6cdd396@linuxsystems.it> <569fb850091001ea7476100eae050c00@linuxsystems.it> Message-ID: <6fca958654a4c2ba57f83bbda83ee0a4@linuxsystems.it> Sender: linux-btrfs-owner@vger.kernel.org List-ID: Il 2017-10-02 13:14 Paul Jones ha scritto: > I use bees for deduplication and it will quite happily dedupe > read-only snapshots. AFAIK no, it isn't possible. Source: https://www.spinics.net/lists/linux-btrfs/msg60385.html "It should be possible to deduplicate a read-only file to a read-write one, but that's probably not worth the effort in many real-world use cases." > You could always change them to RW while dedupe > is running then change back to RO. AFAIK it will break send/receive, can someone confirm? Niccolò