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?
About this post
- Posted
- Archived
- Score
- 0 · 40% up
- Kind
- Text
- ID
- qbr502
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.
btrfs add / /dev/new_drive
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
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..
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.
Deleted before we saved it.