linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Per-entry or per-subvolume physical location settings
@ 2019-06-23 18:01 Valery Plotnikov
  0 siblings, 0 replies; 2+ messages in thread
From: Valery Plotnikov @ 2019-06-23 18:01 UTC (permalink / raw)
  To: linux-btrfs

Greetings!

When using btrfs with multiple devices in a "single" mode, is it
possible to force some files and directories onto one drive and some to
the other? Or at least specify "single" mode on a specific device for
some directories and "DUP" for some others.

The following scenario, if it is possible, would make btrfs even cooler
than bcachefs:

- Single mode, multiple devices - a HDD and a SSD
- Force system folders to be located on the SSD, or both - those have
little writes and need speed
- And still manage snapshots easily on one place, instead of two
top-level directories and a lot of symlinks!

Maybe it is at least possible to do it on a per-subvolume basis? This
would still be better than mounting subvolumes from different devices.


I remember reading somewhere in the early days of btrfs that the main
advantage on btrfs over LVM is that btrfs knows about your files, which
makes those things possible - even on a file structure level. However, I
could not find anything about it, while LVM allows per-volume physical
location settings, if I remember correctly.


-- 
Valery Plotnikov

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Per-entry or per-subvolume physical location settings
@ 2019-06-23 18:09 Dark Penguin
  0 siblings, 0 replies; 2+ messages in thread
From: Dark Penguin @ 2019-06-23 18:09 UTC (permalink / raw)
  To: linux-btrfs

Greetings!

When using btrfs with multiple devices in a "single" mode, is it
possible to force some files and directories onto one drive and some to
the other? Or at least specify "single" mode on a specific device for
some directories and "DUP" for some others.

The following scenario, if it is possible, would make btrfs even cooler
than bcachefs:

- Single mode, multiple devices - a HDD and a SSD
- Force system folders to be located on the SSD, or both - those have
little writes and need speed
- And still manage snapshots easily on one place, instead of two
top-level directories and a lot of symlinks!

Maybe it is at least possible to do it on a per-subvolume basis? This
would still be better than mounting subvolumes from different devices.


I remember reading somewhere in the early days of btrfs that the main
advantage on btrfs over LVM is that btrfs knows about your files, which
makes those things possible - even on a file structure level. However, I
could not find anything about it, while LVM allows per-volume physical
location settings, if I remember correctly.


-- 
darkpenguin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-23 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 18:01 Per-entry or per-subvolume physical location settings Valery Plotnikov
2019-06-23 18:09 Dark Penguin

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).