MultiHD on a Hetzner EX42-NVME | PlexGuide.com

MultiHD on a Hetzner EX42-NVME

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

28061b

Citizen
Original poster
Donor
Dec 19, 2019
10
1
Hi all,
I've been running an EX42-NVME from Hetzner for about a year, and all is well.
Increasingly though, I'm running out of disk space; sufficient that services are failing to run. Annoyingly, it seems that SabNZBD isn't clearing the /incomplete and /downloads/sabnzbd directories.
I can clear them myself, but I'm having to do it often in order to ensure services continue to run.

When I set up the server, I didn't set up MultiHD and it seems from the output below that only one of the NVME's is useable - am I right?

If so, is there now a way to use the 2nd disk?

Thank you


Code:
[email protected]:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1     259:0    0   477G  0 disk
├─nvme0n1p1 259:1    0    32G  0 part
│ └─md0       9:0    0    32G  0 raid1 [SWAP]
├─nvme0n1p2 259:2    0   512M  0 part
│ └─md1       9:1    0 511.4M  0 raid1 /boot
└─nvme0n1p3 259:3    0 444.4G  0 part
  └─md2       9:2    0 444.3G  0 raid1 /
nvme1n1     259:4    0   477G  0 disk
├─nvme1n1p1 259:5    0    32G  0 part
│ └─md0       9:0    0    32G  0 raid1 [SWAP]
├─nvme1n1p2 259:6    0   512M  0 part
│ └─md1       9:1    0 511.4M  0 raid1 /boot
└─nvme1n1p3 259:7    0 444.4G  0 part
  └─md2       9:2    0 444.3G  0 raid1 /
Code:
[email protected]:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             32G     0   32G   0% /dev
tmpfs           6.3G  2.1M  6.3G   1% /run
/dev/md2        437G  272G  143G  66% /
tmpfs            32G     0   32G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            32G     0   32G   0% /sys/fs/cgroup
/dev/md1        488M  168M  295M  37% /boot
tdrive:         1.0P     0  1.0P   0% /mnt/tdrive
gdrive:         1.0P  190G  1.0P   1% /mnt/gdrive
tcrypt:         1.0P     0  1.0P   0% /mnt/tcrypt
gcrypt:         1.0P  190G  1.0P   1% /mnt/gcrypt
pgunion         4.1P  650G  4.1P   1% /mnt/unionfs
tmpfs           6.3G     0  6.3G   0% /run/user/1000
 
Last edited:

mrv153

Active
Mar 14, 2020
35
4
Just create a cronjob which clears /mnt/downloads/sabnzbd/* every 1m for files which are older than 60m
 
  • Like
Reactions: 1 user

28061b

Citizen
Original poster
Donor
Dec 19, 2019
10
1
Thank you.
It didn't even occur to me to do this.
I have now, and it seems to be working fine - problem solved.
Thanks again.
 

28061b

Citizen
Original poster
Donor
Dec 19, 2019
10
1
It's been a few months and I'm having a couple of further problems. The CRON job never worked reliably, and I've continued to clear the folders manually.

My Plex library is getting larger, and eating into the storage space.

Additionally, I want to start collecting 4k REMUX's at ~ 70GB a movie (merits of which are outside of scope for this discussion please!).

However, at best I have 130GB available to me. So it's impossible to download a 70GB movie in .rar, then extract it without running out of local space.

Is there any way of disabling RAID1 at this stage, and making the second disk available to PG?

Thank you!
 
Last edited:
Mar 27, 2020
34
8
I believe you can have the Hetzner robot thing do this for you. Just need to boot into the rescue account. Haven't tried this myself. However, I think this will require a format so you'll lose all data on the server. Make backups!
 

pballs

Citizen+
Raffle Winner
Feb 12, 2020
19
3
Mdadm might be able to do it - but definately take a backup - or just start from scratch
 

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,116

Datamonkeh

Data Hoarding Primate
Project Manager
Donor
Donor
Jan 20, 2018
863
394
Why not look at fixing the issue rather than the symptom? Some people here are running PB's of Plex libraries, you must be in the hundreds of PB's if your Plex meta data is consuming that much space?

Short term look at what is filling u your drive:

ncdu /mnt --exclude=/mnt/gdrive --exclude=/mnt/tdrive --exclude=/mnt/unionfs --exclude=/mnt/plexdrive --exclude=/mnt/encrypt --exclude=/mnt/gcrypt

Usually it's user side (logs being an obvious culprit, not following wiki and leaving thumbnail generation on being another), other times the temp downloads aren't being cleared, but again it should be a simple fix. Longer term what does Hetzner's knowledgeable say about R0 on your set-up? It's quite trivial to backup/restore if that's an option, but if you've followed the recommended process I highly doubt it's the Plex library eating into your space, certainly not to the tune of 300GB, unless you have hundreds of PB's worth of content.
 
Last edited:
  • Like
Reactions: 1 users

28061b

Citizen
Original poster
Donor
Dec 19, 2019
10
1
Hi everyone; apologies - I didn't get any notifications for these excellent, helpful responses.

leaving thumbnail generation on being another
Yep. That was the issue. Turned it off, deleted those already generated from the library menu, and I now have 240GB available as a starting point, which is more than enough to download and extract 4k remuxes.

Thank you very much!
 
  • Like
Reactions: 1 user

Datamonkeh

Data Hoarding Primate
Project Manager
Donor
Donor
Jan 20, 2018
863
394
No problem, but try the command i posted - you will be able to see where they rest of your space is being used and hopefully reclaim even more.
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending