You are not logged in.

#1 2015-06-04 18:36:35

Yaro
Member
Registered: 2009-04-03
Posts: 154

btrfs control allocation

I have been trying to figure this out. Currently I use LVM instead of btrfs's multi-device and subvolume features, for a couple reasons.

1. No encryption supported by btrfs itself. I am not asking on this. I figure some day someone will end up adding encryption support into btrfs since a lot of its features seem determined to replace the device mapper anyway.
2. There doesn't seem to be a way to tell btrfs to use a specific block device to allocate a subvolume to exclusively. Whereas I can do this in LVM easily upon creation of a logical volume.

It's on point 2 I wish to inquire: Am I incorrect on this? Is there a way to keep / and /boot subvolumes on my SSD where they'll benefit most, but restrict /home to an encrypted block on my SSHD?

Right now I just use LVM, no subvolumes, and individual instances of btrfs where appropriate, but it seems like a real waste...

Offline

#2 2015-06-04 19:54:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,514
Website

Re: btrfs control allocation

Is there a reason for not just having two separate btrfs partitions? One on your SSHD (on LUKS, if you want encryption) and one on your SSD?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2015-06-04 20:25:23

Yaro
Member
Registered: 2009-04-03
Posts: 154

Re: btrfs control allocation

No reason not to. As I stated, right now I have three btrfs filesystems, one on each logical volume. This is mostly to see if it's possible or if I'd have to stick with keeping /home separate.

I just wanted to know it was an option, as btrfs is often held up as a good alternative to LVM in many cases... but it doesn't appear to be for my specific use case.

Offline

Board footer

Powered by FluxBB