mintCast 339.5 – ZFS Butter Recognize (mp3)
1:16:41 Check This Out
In our Innards section, community member Joshua Hawk tries to convert us to unsalted BTRFS.
And finally, some feedback and a few suggestions
When did you first learn about Linux?
When did you start using it as much as you do?
Btrfs – No Partitions Needed, with Joshua Hawk
- Copy on Write (CoW)
- Creates new files when storing data instead of overwriting current data.
- Necessary for snapshots
- Like a partition but has access to the entire space of the btrfs formatted disk.
- Also necessary for snapshots
- Can be interacted with either like a directory on a filesystem or like a separately mounted filesystem.
- Some subvolume commands
- subvolume create [destination] <name of subvolume>
- subvolume delete [option] <subvolume name> [<subvolume inside subvolume>]
- subvolume list [options] [–sort=rootid,gen,ogen,path] <path>
- NOT BACKUPS! They are akin to Windows system restore points but far far superior.
- Can be automated using snapper or timeshift.
- Is a subvolume itself that points to data and metadata in its parent subvolume.
- NOT BACKUPS!
- File System Compression (ZLIB, LZO, ZSTD)
- Saves space sometimes up to 20%-30%
- Increases life of SSD’s due to significantly less writes
- ZSTD is flexible and configurable to your needs.
- Mounting a subvolume with the compression option won’t compress files currently on subvolume.
- To compress files already contained in a subvolume you must use the Defrag command with the -r option
- Not Enabled on SSD’s by default due to the fact that ssd’s tend to just fail rather than die slowly. If you want this feature with ssd’s it is recommended to use 2 ssd’s in a RAID 1 Configuration.
- Enabled by default on HDD’s and when used with RAID 1 will checksum and self heal files that are corrupt.
- SSD Awareness
- Disables file duplication to reduce writes
- TRIM/Discard to report free blocks for reuse
- Sends writes in clusters resulting in larger write operations and faster throughput.
- Send/Receive of subvolume changes
- Can send and receive subvolumes and changes to those subvolumes over the network for backup operations.
- RAID Support
- RAID 0, 1, 5, 6, 10 support
- RAID 5 and 6 are experimental and are NOT recommended!
- RAID 0, 1, and 10 are production ready
- Can add and remove storage to RAID on the fly
- Copy on Write (CoW)
- When to use btrfs
- Root Filesystem
- Redundant data storage (NAS)
- Laptops with SSDs
- Btrfs works for MOST filesystem cases
- When not to use btrfs
- Anything that does not need redundant data storage (video game data storage for example excluding game save data)
- Databases due to the slow nature of CoW.
- Issues with btrfs
- Will not mount a filesystem if errors are detected on disk. This can be corrected by using the scrub command 99% of the time.
- If connection is lost or computer/server loses power during some btrfs operations, may result in data corruption or file system issues.
- If snapshots are not being controlled by a script or a limit is not set the disk drive may fill up and cause issues. Can be corrected by deleting some snapshots.
- As stated before RAID 5/6 is experimental and has major issues.
- Main Contributors to btrfs
- Facebook – Where Chris Mason the lead dev on btrfs is employed
- SUSE Linux Enterprise (SLE)
- Links to Good btrfs Content
- btrfs: The Best Filesystem You’ve Never Heard Of – YouTube
- openSUSE Conference 2018 – btrfs is awesome, except when it isn’t – YouTube
- btrfs Tutorial | btrfs Filesystem | btrfs Subvolume and btrfs Snapshots – YouTube
- BTRFS Guide – Basic Commands, Snapshots, and RAID – Chris Titus Tech
VIBRATIONS FROM THE ETHER
- Brad Alexander
- Brad’s addendum
- Joe’s response
- Benjamin Moser
- Jim Daldry
- Bill Dietrich
- John Wallis Saga Episode x+1
CHECK THIS OUT!
- Let’s Install Ventoy in Linux!
- Tony Hughes
Not Linux related at all, just a great poem about the current situation and how it may just be a positive thing. It is released under a Creative commons licence and called ‘What Happened when we all stopped’ by Tom & Bee Rivett-Carnac, very thought provoking.
The next show will be Sunday, the 26th of July at 7PM UTC, 2PM US Central Time, 8PM British Summer Time
- Joshua Hawk – email@example.com, firstname.lastname@example.org
- Joe – www.Tllts.org linuxlugcast.com MeWe email@example.com
- Bo – undercastnetwork.com
- Moss – Triad Bardic College, Peaceful Hippo, MeWe, music on Bandcamp and Moss Bliss’ YouTube channel or Robert Warren’s channel, I should have my ReverbNation site back soon, firstname.lastname@example.org, email@example.com, Sponsus (Now with Tiers, and a Donate Button!)!
- Tony Hughes – HPR – http://hackerpublicradio.org/correspondents.php?hostid=338 Occasional Blog https://tony-hughes.blogspot.com/ Twitter @TonyH1212, firstname.lastname@example.org email@example.com
- Tony Watts – firstname.lastname@example.org, Echoes of Savages (band)
- Josh – email@example.com, firstname.lastname@example.org, edublocks.org and @all_about_code on Twitter
- Leo – leochavez.org and @leochavez on Twitter, linuxuserspace.show and you can get your five minute news digest at Full Circle Weekly News
Before we leave, we want to make sure to acknowledge some of the people who make mintCast possible …
- Hobstar for his work on the new logo
- Josh for all his work on the website
- Hacker Public Radio for the Mumble server we are using to record
- Bytemark Hosting for hosting mintcast.org and our Mumble server
- Archive.org for hosting our audio files
- The Linux Mint development team for the fine distro we love to talk about.