BTRFS and "compression"
Posted: Wed Sep 16, 2020 5:31 pm
BTRFS is a "part" of the FD811 complement! Those developers should be rewarded for advancing this for us.
Creation of compressed NTFS has always been done via Windows to USB/SDcards/HDD/SSD partitions. And, I have, in the past, used them in LVMs. It has always been stable and data integrity has always been a paramount feature in its use.
Over the past days, @Rufwoof is showing us his findings in his tests with compression and it is, now, sparking interest in filesystems that afford on-the-fly compression via the I/O subsystem+filesystems for the benefit they provide in storage as well as benefits to speeding data use via less bytes to/from physical media.
As BTRFS offers changes, I wonder if there is a "mirrored" (not data, rather functionality) way to setup a compressed BTRFS such that it is done once at partition's formatting and have that "respected" throughout the life of the partition without user needing to ever revisit "compression". The mirror I am referencing is one that matches what has been tradition in NTFS. Once the partition is formatted with the compression set on, it is NEVER revisited and all OSes KNOW how to use it. Thus upon mounting, there is NO special effort to "alert" the OS of compression as this is all handled in the filesystem's cooperation with the OS. This means, as is the case for a compressed NTFS parttition, you mount/umount without regard of whether there is compression or not. Thus, I am asking if this kind of cooperation is inherent in BTRFS partition compression use in Linux?
I have tested BTRFS in the past on other OS, but not ever tried compression. BTRFS has matured such that more and more Linux are migrating to its use because of its current stability. So now may be a good time to dip toes into the water of its use with its compression feature(s).
Anyone have knowledge or experience with compression in BTRFS?
I know of this link
Over my decades, I have constantly used compressed NTFS for my data storage needs. It has been very useful with little CPU demand as data flows thru the Windows/Linux I/O subsystems.Creation of compressed NTFS has always been done via Windows to USB/SDcards/HDD/SSD partitions. And, I have, in the past, used them in LVMs. It has always been stable and data integrity has always been a paramount feature in its use.
Over the past days, @Rufwoof is showing us his findings in his tests with compression and it is, now, sparking interest in filesystems that afford on-the-fly compression via the I/O subsystem+filesystems for the benefit they provide in storage as well as benefits to speeding data use via less bytes to/from physical media.
As BTRFS offers changes, I wonder if there is a "mirrored" (not data, rather functionality) way to setup a compressed BTRFS such that it is done once at partition's formatting and have that "respected" throughout the life of the partition without user needing to ever revisit "compression". The mirror I am referencing is one that matches what has been tradition in NTFS. Once the partition is formatted with the compression set on, it is NEVER revisited and all OSes KNOW how to use it. Thus upon mounting, there is NO special effort to "alert" the OS of compression as this is all handled in the filesystem's cooperation with the OS. This means, as is the case for a compressed NTFS parttition, you mount/umount without regard of whether there is compression or not. Thus, I am asking if this kind of cooperation is inherent in BTRFS partition compression use in Linux?
I have tested BTRFS in the past on other OS, but not ever tried compression. BTRFS has matured such that more and more Linux are migrating to its use because of its current stability. So now may be a good time to dip toes into the water of its use with its compression feature(s).
Anyone have knowledge or experience with compression in BTRFS?
I know of this link