Announcement

Collapse
No announcement yet.

Whole Disk Compression-Defrag Using ZSTD Compression Levels?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Whole Disk Compression-Defrag Using ZSTD Compression Levels?

    I'm trying to defrag my whole disk using the new compression levels.

    I'm running kernel 5.1 which supports this.

    If I try and run
    Code:
    sudo btrfs filesystem defragment -vr -czstd:15 ConvergentRefuge/Convergent\ Refuge/
    from the top level directory for this hard drive, I get this error:
    Code:
    ERROR: unknown compression type zstd:15
    Do I need to edit my fstab for this drive and reboot with the appropriate ZSTD compression option and then it will apply the level 15 when I reboot? I mostly use this disk for storing things like movies, that's why I want to compress it this much BTW.

    #2
    I have no clue as to why you're getting that error.

    As far as how the compression works, rebooting isn't necessary but re-mounting is. I assume you're running defrag so all the files are processed with zstd?

    Please Read Me

    Comment


      #3
      I would just remount using zstd and run defrag with a straight -c option.

      Please Read Me

      Comment

      Working...
      X