First of all, Synology has a great set of tools both hard- and software wise. And their post-sale customer service that is above excellent. I recently relied on them and they went all the way (in fact, they proposed an RMA just because the unit was causing too much hassle).
Anyway. Back to the drawing board. This is an article for people knowing their way around Linux, and who like to keep things clean.
So, you have Plex on your Synology NAS. And you want to get rid of the repository Plex.
That is a folder if you want that resides under /volume1 and is not that easy to get rid of
- no "rm -rf" will not do - How's that?
Here's how to remove your Plex subvolume from your Synology NAS:
It is all about using a terminal and get into your NAS.
Things like Putty and Bitvise should ring a bell before you start.
To set up your terminal access in your Synology NAS, check these screens:
How to activate SSH in your Synology NAS:
In "control panel", find "terminal and SNMP.
Second, activate the SSH option.
That's the hardest part: finding the checkbox to activate SSH.
Check if your Synology user has sufficient credentials to use SSH.
Now comes the hardest part.
*** Warning: Make sure you know what you are doing - this can result in data loss.***
This is not for the faint of heart.
So, this is how you get your hands on the Plex subvolume on your Synology NAS
- SSH into your nas (Control panel, check Terminal).
Use a tool like Putty or Bitvise to facilitate life if you want.
- Once you're logged in with your admin user, you're not root yet.
Make sure you sudo -i to get root privileges.
- Check where you are
pwd (print working directory).
- Head over to /volume1, and you'll find the Plex subvolume there.
- To remove the Plex subvolume this did the trick:
btrfs subvolume delete Plex
I would advise against newbie users to dive into Linux systems without really knowing what you're doing.
You can lose all your data - Be warned !!!
Fri, 01/29/2021 - 16:26
You don't have to do all this... From the Synology desktop, single-click on CONTROL PANEL, then locate the SHARED FOLDER icon and double-click on it. When the window loads, single-click on the PLEX folder icon on the left to highlight it, and click the DELETE button at the top of the window... That's pretty much it. There are some further steps that you need to follow to confirm you really want to delete it, but its simple point and click... see below on what happens (and what to do) after you click the DELETE button....
In the warning dialogue that opens, tick the box to say you understand you are deleting the folder and contents, then click the delete button at the bottom of the warning dialogue window. A new window will open, asking for your login password - you must use your login password for an admin account, or an account that has admin privileges over the folder you are deleting - after entering your password, click the button at the bottom, and the folder will be deleted.
A simple guide with pictures can be found here:
-removed backlink harvesting-
Sat, 01/30/2021 - 14:56
Don't think we're talking about the same things here.
Sure your explanation works too, and it removes a shared folder.
That's not the same 'goal' we're having here :)
Sorry to remove the URL - I kept it, will send it to people who request the link.
Sun, 07/24/2022 - 10:50
It's literally the same thing.
Sat, 06/05/2021 - 13:00
Hi, I think Nils was absolutely right and to the point. I understand that you know some Linux CLI and want to show people how-to, but that was not necessary. Just for fun - I've installed Plex several times and tested both methods. Not using SSH is far easier for non-technical users. Furthermore, your provided command didn't work
root@nas:/volume1# btrfs subvolume delete Plex
-ash: btrfs: command not found
Anyway, thanks for the efforts
Sun, 09/04/2022 - 16:16
Worked perfectly for me. I had to remove the Plex subvolume since I moved my disks/volumes from a dead diskstation to a new one and did not want to reinstall Plex (I really never used it). So I needed to cleanup the disk.
And yes, I know about Linux CLI. I was a Linux admin in my former professional life ;-)