Hard Disk Mounting Help

wootizzle

New Member
Jan 28, 2022
2
0
1
35
Hello!

So I have a Proxmox install and I am attempting to use an external HDD to store media files for JellyFin and such.

At first I followed the tutorial here and was able to get the external mounted and showing up in the datacenter column as a storage option. Soon after, I determined the files were writing to the /mnt/ext1 directory on the main storage device (local) at use for proxmox itself. Also, the external drive had to be remounted every boot. I attempted this tutorial and it caused a boot issue and I had to go through recovery to undo the fstab entry.

After getting everything back up and running the dozen or so files in /mnt/ext1 were no longer available, however the the file space I estimate the files would have been used was some how still using up local storage space. I found a raw disk file of the similar size tucked away somewhere and deleted it as I honestly had no idea what to do with it and I can replace what was likely on there.

Anyway, I followed another tutorial and although it did not appear to work at first, after probably 2 reboots the storage device is now found in the datacenter column below local and local-pvm and actually appears to remain mounted (previously unless I re-mounted the ext1 drive it would show no available storage space).

Now my issue I guess, how do I proceed so that my LXC containing media services (Radarr, Bazarr, JellyFin, SABnzbd) can write files to this storage and it remain persistent?

In Proxmox shell utilizing lsblk I see:

sda 8:0 0 1.8T 0 disk /media/sda
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 512M 0 part /boot/efi
└─nvme0n1p3 259:3 0 238G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 59.3G 0 lvm /
├─pve-data_tmeta 253:2 0 1.6G 0 lvm
│ └─pve-data-tpool 253:4 0 151.6G 0 lvm
│ ├─pve-data 253:5 0 151.6G 1 lvm
│ ├─pve-vm--100--disk--0 253:6 0 25G 0 lvm
│ └─pve-vm--101--disk--0 253:7 0 25G 0 lvm
└─pve-data_tdata 253:3 0 151.6G 0 lvm
└─pve-data-tpool 253:4 0 151.6G 0 lvm
├─pve-data 253:5 0 151.6G 1 lvm
├─pve-vm--100--disk--0 253:6 0 25G 0 lvm
└─pve-vm--101--disk--0 253:7 0 25G 0 lvm

When I utilize SSH on the LXC I am using for media and browse to /media I cannot see the /sda directory.

Instead of messing around further to break things and redo I figure maybe I ask for help.

Attached below is my datacenter column. Any advice on removing the "ext1" storage would also be appreciated. It is the same exact size as the local option and I think it is some kind of weird duplicate.

Untitled.png

A
 
Last edited:
Update:

So I guess I had another dumb moment and forgot to make it a mount point for the LXC. That has been resolved and I am able to utilize the aforementioned services and they are only writing to the storage device.

Issue now is my IO delay is around 35% at idle and goes up to 98% when under load. :D
 
Update:

So I guess I had another dumb moment and forgot to make it a mount point for the LXC. That has been resolved and I am able to utilize the aforementioned services and they are only writing to the storage device.

Issue now is my IO delay is around 35% at idle and goes up to 98% when under load. :D
Can you give more details? I have the same issues...

Right now the container can see up to /media/sdb1 but then it goes blank. Jellyfin can't see anything in there either.

I've tried mounting and adding the mp: to the config file...I can't seem to get this done
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!