* Excluding a device from storing snapshot data?
@ 2011-02-15 22:58 Bert Wesarg
2011-02-16 10:36 ` A. James Lewis
0 siblings, 1 reply; 2+ messages in thread
From: Bert Wesarg @ 2011-02-15 22:58 UTC (permalink / raw)
To: linux-btrfs
Hi all,
I'm currently envision a backup setup for my laptop which has a SSD. I
would like to use an external HDD und span a raid1 over these two
devices and also creating snapshots. What I would like to prevent, is
that these snapshots take storage space on the SSD, because SSD
storage is precious, while this isn't true for the external HDD. So I
would need to exclude the SSD device to store snapshot data, or to be
more precise, to store only one specific subvolume. Which can
obviously be changing, if I need to restore a previous snapshot. Is
this currently or actually possible?
Thanks.
Bert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Excluding a device from storing snapshot data?
2011-02-15 22:58 Excluding a device from storing snapshot data? Bert Wesarg
@ 2011-02-16 10:36 ` A. James Lewis
0 siblings, 0 replies; 2+ messages in thread
From: A. James Lewis @ 2011-02-16 10:36 UTC (permalink / raw)
To: linux-btrfs@vger.kernel.org
On Tue, 2011-02-15 at 23:58 +0100, Bert Wesarg wrote:
> Hi all,
>
> I'm currently envision a backup setup for my laptop which has a SSD. I
> would like to use an external HDD und span a raid1 over these two
> devices and also creating snapshots. What I would like to prevent, is
> that these snapshots take storage space on the SSD, because SSD
> storage is precious, while this isn't true for the external HDD. So I
> would need to exclude the SSD device to store snapshot data, or to be
> more precise, to store only one specific subvolume. Which can
> obviously be changing, if I need to restore a previous snapshot. Is
> this currently or actually possible?
>
I would say that it is not "actually" possible... because when you
create a snapshot, no actual data is generated, the snapshot is
initially only metadata pointing to the same blocks on disk as the
original data... Changes being written in a new location so over time
retaining the snapshot will have a storage overhead, but the process of
creating the snapshot doesn't write anything, and any new data written
is part of the real data, not the snapshot.
Perhaps a more pertinent question is "Are there any plans to implement
any kind of Hierarchical Storage Management in BTRFS"... I'm not sure
how complex it actually would be to implement, but having some
understanding of the speed of devices and the frequency of access to
particular blocks could allow the data to be re-balanced in favour of
placing frequently accessed blocks on faster storage.
Anyone have a comment on this?
> Thanks.
>
> Bert
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-16 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15 22:58 Excluding a device from storing snapshot data? Bert Wesarg
2011-02-16 10:36 ` A. James Lewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).