Tech Notes

How to Remove the Plex Btrfs Subvolume on a Synology NAS

How to activate SSH on your Synology NAS

First of all, Synology has a great set of tools both hard- and software wise. And their post-sale customer service is above excellent. I recently relied on them and they went all the way.

This article is for people who know their way around Linux and like to keep things clean.

So, you have Plex on your Synology NAS and you want to get rid of it. The Plex folder lives under /volume1 and is not easy to remove, rm -rf will not do it.

How to remove the Plex subvolume from your Synology NAS

You need terminal access to your NAS. Tools like Putty and Bitvise should ring a bell before you start.

Step 1: Activate SSH on your Synology NAS

In the Control Panel, find "Terminal & SNMP".

Afbeelding
How to activate SSH on your Synology NAS

Activate the SSH option.

Afbeelding
Activate SSH service on Synology NAS

Check that your Synology user has sufficient credentials to use SSH.

Warning: make sure you know what you are doing, this can result in data loss.

Step 2: Remove the subvolume

  • SSH into your NAS. Use Putty or Bitvise if you prefer a GUI.
  • Once logged in with your admin user, run sudo -i to get root privileges.
  • Check where you are with pwd.
  • Navigate to /volume1, you will find the Plex subvolume there.
  • Run: btrfs subvolume delete Plex

I would advise against novice Linux users diving into this. You can lose all your data, be warned.