How to add 2 external usb hard drives?

brooklyngrit

New Member
May 20, 2023
5
0
1
Hello I have 2 hard drives connected externally via USB and I want to be able to use them within Samba, Jellyfin, qBittorrent, various *arr apps, and more. How do I go about this? Most of my LXCs come from tteck's github https://tteck.github.io/Proxmox/ but this is my first time using Proxmox and I'm not sure how to get my 2 usb hard drives to show in my apps. I'm not sure how to mount. Thanks

I also need these drives to not be wiped, they store lots of files that I need for my Jellyfin server. Both drives are ext4. I want to set them up for samba too but the tteck github didn't have a way, is OMV a good way to get Samba going (after I figure out how to connect these usb drives to LXCs)

Code:
root@prox:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238.5G  0 disk
├─sda1   8:1    0  1007K  0 part
├─sda2   8:2    0     1G  0 part
└─sda3   8:3    0 237.5G  0 part
sdb      8:16   0   7.3T  0 disk
└─sdb1   8:17   0   7.3T  0 part
sdc      8:32   0  12.7T  0 disk
└─sdc1   8:33   0  12.7T  0 part
 
Last edited:
I'm not sure how to get my 2 usb hard drives to show in my apps. I'm not sure how to mount.
There are two possibilities:
- bind mount them to all containers (probably a permission issue due to different users and uid remapping)
- bind mount them to one container with a samba server and export them from there.
 
There are two possibilities:
- bind mount them to all containers (probably a permission issue due to different users and uid remapping)
- bind mount them to one container with a samba server and export them from there.
My drives are mounted now

Code:
root@prox:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238.5G  0 disk
├─sda1   8:1    0  1007K  0 part
├─sda2   8:2    0     1G  0 part
└─sda3   8:3    0 237.5G  0 part
sdb      8:16   0   7.3T  0 disk
└─sdb1   8:17   0   7.3T  0 part /mnt/8TB
sdc      8:32   0  12.7T  0 disk
└─sdc1   8:33   0  12.7T  0 part /mnt/14TB

But how do I bind mount properly?
I expect to see my internal drive data, but after bindmounting to jellyfin I don't see it
Code:
root@prox:/mnt/14TB# cd
root@prox:~# ls /mnt/14TB
downloads  dump  images  private  snippets  template
root@prox:~# ls /mnt/8TB
 data            downloads   images         jdownloader   private    template
 dietpi-backup   dump       'iPhone Pics'  'old files'    snippets
1684605692553.png
1684605864724.png

What am I doing wrong?