Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bcachefs and subvolumes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Mon Mar 11, 2024 5:36 pm    Post subject: Bcachefs and subvolumes Reply with quote

Hello everyone, I am actually preparing to do a new install for my laptop, because I would like to switch to bcachefs and install a proper plasma 6 as well.

I have one question about bcachefs. Because I am not completely 100% sure. When bcachefs provide a subvolume, is it a LVM like functionality ? Because apparently, as I see in the official and in the gentoo documentation, I feel like it's just designed to make snapshot. Or maybe I am wrong ? Because I don't see/understand how I can manage volume like lvm.

Because basically, I would like to do like my actual installation, I mean encryption + flexibility of LVM

Do you know as well if the last gentoo iso support bcachefs ?
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4157
Location: Bavaria

PostPosted: Mon Mar 11, 2024 6:13 pm    Post subject: Re: Bcachefs and subvolumes Reply with quote

Fulgurance wrote:
Do you know as well if the last gentoo iso support bcachefs ?

Because bcachefs needs at least kernel version 6.7.x it is not supported until we have an ISO with this (or higher) kernel version.

I have stopped my tests and wait until 6.9 because of this: https://www.phoronix.com/news/Bcachefs-Disk-Account-Rewrite

(See also:
https://wiki.gentoo.org/wiki/User:Pietinger/temp/test
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Kernel_Version_6.7 )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Mon Mar 11, 2024 6:25 pm    Post subject: Reply with quote

Although ext4 here, I sometimes wish I'd have snapshots fs in order to be able to get access to now deleted or modified files.
Patience is the key for serenity when it comes to fs.
Maybe btrfs will then be in a comparable shape.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Mon Mar 11, 2024 7:22 pm    Post subject: Reply with quote

Just to make me understand and be ready for that update, how should I proceed to make a subvolume ?

I have an other question as well. I am doing test under virtual machine with bcachefs, I am facing a problem.

Normally if I do an installation with LUKS+LVM, I mount first my encrypted partition in /mntgentoo, and then I mount /boot inside, and then /boot/uefi inside. But If I try to do that on a bcachefs formatted partition, it refuse to mount something else than a bcachefs filesystem
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum