Adding Media disk (passthrough) as Samba Share?

js-monroe

New Member
Aug 9, 2023
11
2
3
Hi,

I recently added an existing EXT4 media disk in Proxmox to use for Jellyfin that I didn't want formatted, so in order to get that working I used:

pct set <containerID> -mp0 mp=/mnt/sdb1,/mnt/sdb1

That part works fine. But I want to share this disk using Samba, so I followed the guide here:

https://virtualizeeverything.com/2021/09/28/adding-a-samba-share-to-proxmox-as-storage/

Well, that doesn't seem to work for me. Proxmox doesn't see my disk through the web ui, even though Jellyfin works fine and reads the media files and everything. Maybe because of the way the disk was added as mentioned previously I haven't a clue!?

*From the article, I'm not seeing the disk anywhere in here.

Screenshot_20230817_112922.png

*Also, a commenter on that same article mentions they used this:

mount -t cifs -o vers=1.0,username=user_name //server_name/share_name /mnt/data

*I tried this too, however, that just results in a 'bad usage' error coming back, so I must have wrong syntax.

So Frustrating! It seems like I'm doing everything the hard way with this setup. I wish there was an easier way. Sorry for moaning. I'm willing to learn, but it seems that I'm hitting every imaginable roadblock in order to get something simple to work. Samba just works, been using it forever. But there seems so many caveats with Proxmox? Thank You. XD
 
To add something as a Samba/CIFS share that something needs to first be exported as Samba/CIFS share. Afaik jellyfin does not do it. So start with figuring out why you need the share, then who/what will be providing it, and then how you will access/mount it on PVE.
The guide you picked is unnecessary complicated, as you can use PVE GUI to add CIFS storage once you figured out the other pieces.

Also, if the command does not work for you - you need to post the exact command you ran, not a sample suggested on internet, and include the exact error message.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
To add something as a Samba/CIFS share that something needs to first be exported as Samba/CIFS share. Afaik jellyfin does not do it. So start with figuring out why you need the share, then who/what will be providing it, and then how you will access/mount it on PVE.
The guide you picked is unnecessary complicated, as you can use PVE GUI to add CIFS storage once you figured out the other pieces.

Also, if the command does not work for you - you need to post the exact command you ran, not a sample suggested on internet, and include the exact error message.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
You are right. Too complicated. Instead I just installed Samba, edited the smb.conf and it's working now.
 

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!