Synology Folder Compression

I had a desire to enable compression after the fact on some shares. Synology (As of DSM 6.0) doesn’t have the facility to modify the compression settings of a folder after the initial creation – and perusing the forum, it seems you can’t enable compression at all on the /homes location.

Much discussion orbits the topic of chattr, how it isn’t installed and how to go about installing it. I have a way to do it without installing anything! btrfs-progs is already installed 😀

SSH into the device, and issue the command (as root)

btrfs property set /volume1/homes compression lzo

The btrfs command gives you plenty of other options to explore – perhaps best as a non-root user. Now to find a built-in for disabling Copy of Write.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s