Skip to content

Does BTRFS filesystem can implemented on an LVM partition?

Hello, I installed Arch linux with BTRFS filesystem. But unlike LVM that I'd very like too, is that LVM can resize the size by adding an another drives.

I dont know about BTRFS so much, Im very new so Im find some infos about it. My question is can I install Arch in LVM partition with BTRFS as a filesystem, so I can resize and also to benefits to the BTRFS snapshots capability?

0 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 40% up
Kind
Text
ID
qbr502

Author

10
posts
6
comments
0
media
View profile

7 comments

You don't need LVM to have a BTRFS filesystem span multiple drives but you can set it up that way if you want. Why do you want a single filesystem for multiple drives? Many times it's a better option to have separate filesystems on separate drives so you don't lose all your files if one drive dies. Usually when you have a filesystem on multiple drives in a RAID type setup you are doing it for redundancy so you don't have to restore anything from backups if one drive dies.

6 points

I'm not an expert but if I'm understanding your question correctly, yes you can resize a BTRFS partition. You can even resize it while online. I do not know exactly how this interacts with LVM, though

3 points

So I don't need LVM anymore? If BTRFS can also resize real time, in no downtime so its just like LVM right? That is the answer I want to know, thank you so much..

2 points

Btrfs is a logical volume manager on it's own, I believe it can do anything lvm can except maybe thin provisioning which it doesn't sound like you use. I don't get what you mean by "resize in real time." Subvolumes can use as much space as they want unless you set a limit on them, and you can add a new hard drive without issue but removing a hard drive may cause problems.

4 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.