why you did not install/enable the samba service on the debian container you just installed? if you use such a machine for just samba it would be a waste to use docker, or I am missing something?
also wondering this, he mentions that there are some customizability benefits but it would be nice if he went into detail about what these actually are. he just says it'll be easier to edit things if he ever needs to but like, what kinds of things might he need to edit?
I've been playing with alpine for a cluster built out of old nucs. Alpine does a good job of keeping out of the way. I also setup samba and NFS, but on the host since ZFS will manage both for me.
Proxmox could be the best of them all if it had builtin SMB/NFS sharing, UPS shutdown, SNMP, one click/file config backup and restore and acreens for other basic configs. Basically, all the festures of Truenas Scale.
I am currently running TrueNAS Scale as a VM on Proxmox. But I am going to remove it as TrueNAS doesn't allow the HDDs to spin off. In addition, every 5 second there is an activity on the HDDs. I suspect syslog is trying to get status or whatever. The fact that the HDDs do not sleep is annoying. When I shut down TrueNAS VM, after a predefined time the HDDs go to standby. So styndby workd under Proxmox but not on TrueNAS Scale.
Your video helped me tremendously in understanding how proxmox deals with samba shares so thanks so much! I hope your fight against the big C goes well brother. If I can beat it, so can you my man.
YESSS. Thank you! This is a super future proof tutorial. I like these. If I visit this one and follow instructions today or in 10 years. This will stay relevant and a very optimized solution for NAS setups in a VM on Proxmox or in any other docker setup if you prefer.
Hi Don, Very nicely you explained all the steps here. Please make a video - how to install HomeAssistant and Mosquitto in Proxmox, how to add the HACS package and how to share the config files in samba :). I think you will be successful with a full video on this.
Hi Don, I am using a Windows PC, but when I get to the part about connecting to the smb shared disk from Windows, it is not connecting to see the created disk, though I can increase the disk size from the deb-nas. Please give any help or clarity on how to connect from Windows.
You have been making great videos so far! I have just one request: if you could start including written instructions of some sort, it would really help. Thanks!
Dude! I JUST did this - I'm literally copying my 15TB of junk over onto the new 36TB (24TB) ZFS zraid6 pool while typing this - shows "More than 1 day" left...personally I ended up creating a samba share inside of proxmox itself but then mapped it to an Ubuntu VM on that server which then also just shared it back out...its just easier than changing over allllllll of the stuff in my homelab that needs data to pull from the proxmox box directly since I have a couple dozen VMs....anyways keep up the great content!
Did you setup virtual network for vms to attach directly to your samba server for faster access on local vm to server communication? That would be a good video. I stumbled across this again and I noticed that you created a container just to host a docker just so you can host a samba server. Couldn't you have just created a samba server in the container instead of setting up docker and a samba server in the docker?
This worked perfectly. I made an additional user and tried to give the user access to the share and I am getting the error "docker: Error response from daemon: Conflict. The container name "/samba" is already in use by container" Can only one user use the share?
have you tried the cockpit on proxmox with --no-install-recommends? i feel like its a litte easier on resource management wise instead of dealing with the sub system. 45drive's houston has zfs module works with cockpit as well as a smb/nfs ( file-sharing and identities ) i also like their navigator
@@danieleinfante3930 yup, but i believe the normal apt install cockpit breaks proxmox networking, at least it did 6mo ago. if you apt install cockpit --no-install-recommends it doesnt bork pve, if im going this route, i usually use it for better ZFS management than default pve. right now i have disks, zfs, identities, file-sharing, and navigator set up on one of my nodes acting like a little NAS
@@Froggie92I can't get cockpit with ZFS working. I'm trying to get the user permissions working but windows says no permission no matter what settings I use. I'm desperate because I don't want to use true nas because it uses much resources and OMV isn't stable enough for me.
@@therealsprint chmod 777 /path/to/your/dir/ or if youre using the 45drives navigator plugin, you can change permissions with that 45drives also has identities and file-sharing plugins to help with samba and nfs
I have a similar set-up but have samba installed directly and use a priviledged container with my main HDD pool mounted in the container (I know this is less secure, but I only use on my home network with only a couple of known users and have the network behind an Opnsense firewall) . I find I can then share files more easily between VM and CTs without having to map UID's/GID's. Using the Samba Docker is interesting, and I'll give it a try.
Yes, proxmox will default to using up to 50% of the system memory for ZFS caching. However, this memory is freed if needed for other processes, whether that be by the Proxmox or its guests. Unused memory is wasted memory.
I tried doing a fresh install of Proxmox 8.1 but it wouldn't locate my drives. It would ask me to restart. I couldn't get to installation. Proxmox 8.0 didn't give me issues.
When you virtualise software in a virtual container inside a virtual machine installed in a virtual environment that thinks it’s on bare metal but is… in fact… in the cloud.
i love you video's. It help me a lot. In this case I had to alter the command by adding "-p" in your command: "-d dperson/samba -p". Otherwise the permission were not persistent and i could not write to the share
omg ty lol Edit actually no this didn't solve my issue. Everything can write to the folders but accessing new files via file share or even jellyfin fails unless I run chmod -R 777 again
Hello i try do thaht with SSD in usb 3 but i have this message:'Note: ZFS is not compatible with disks backed by a hardware RAID controller. For details see the reference documentation.'
I want to use 2 usb external hard drives(ntfs) as a nas with this configuration, but I dont wanna format them. any idea on how to do it? thanks in advance
I'm just building out a new proxmox server... But storage was already done last week 😭😭😭 I went with unraid for storage only. Except I'm looking to run arr stack as containers on unraid.
@Novaspirit Tech or anyone else with a solution, could you please help with the following error: I went through this video but the samba share isn't the zfs pool but just a subvol within that zfs pool. However, from the subsequent videos, deluge and others are able to only access the rest of the zfs pool and not the subvol. How do I ensure that either the samba share workds on the entire zfs pool or that deluge is able to access the subvol that samba is sharing?
If you plan production you can not run on less than 10Gb nic for the replication its not meant for home users in my opinion unless the want to learn. You also need enough disks and nodes to really have redundancy .3 is bare minimum
Proxmos 8.2.2 having samba cifs issues while trying to add them from windows machine. it was working fine in 8.1.3 but as soon uprgaded to 8.2.2 cifs just got stopped. please contribute in this for any solution if possible. Thanks
Anybody knows how you can change te smb password? Sorry for the inconvenience, but i'm still learning. Pretty new with this. Edit: Just removed the docker container and made a new one
you need to install and configure samba-vfs objects, in this case since we are using dperson docker for samba it's enabled, once you delete a file it will create a hidden folder called .deleted containing your deleted files
What do you guys do when you feel like you've done everything you can think of with your home lab? Any ideas or suggestions would be appreciated. Also proxmox has a file server lxc template built in. Im sure you know but just in case someone wants something a little easier to setup... I find turnkey pretty good.
@@NovaspiritTech Early days I've used Webmin to manage my Linux servers. I don't use it anymore as it's a security risk and eats up too much resources. I prefer to edit the config files and do everything in CLI.
ive got home assistant, heimdall, airsonic, calibre-web, a samba share, jellyfin, me-tube, paperless-ngx, stirling-pdf, netbox, and holoplay along with each of three servers running a wireguard instance, then also an AD server and a few AD guests (just to learn AD which I hate)...also have pfsense and two routers running openwrt as APs...ill probably add a vm for a RustDesk server as well...after that who knows but I definitely have some cleanup work to do...theres lots out there its just all about what you want/need your rig(s) for...once i have the cash for it ill start putting these together into an HA setup but at the moment it isnt feasible yet
I read on their discord that the zima blade doesn’t have enough power to supply 3.5 inch larger tb size drives during startup so i canceled by preorder which was very disappointing tbh
Hi Don, great videos... I found this video on "Setting up ZFS pool in Proxmox" th-cam.com/video/oSD-VoloQag/w-d-xo.htmlsi=tHFhKcq7dEOmZXDp&t=228 which shows very well how to get around with the issue you mentioned here 3:10 that you can only add images and containers to the zpool, but not other things like ISOs and backups and so on.
Very cool! Two things: 1) Does/can the Proxmox host see what the container sees in terms of the data/content that's in the share folder? 2) Are you able to share this folder WITHOUT using the network stack? (i.e. other VMs and containers that are running on the same host do NOT need to go through the network stack to be able to get access to the data?
why you did not install/enable the samba service on the debian container you just installed? if you use such a machine for just samba it would be a waste to use docker, or I am missing something?
also wondering this, he mentions that there are some customizability benefits but it would be nice if he went into detail about what these actually are. he just says it'll be easier to edit things if he ever needs to but like, what kinds of things might he need to edit?
I've been playing with alpine for a cluster built out of old nucs. Alpine does a good job of keeping out of the way. I also setup samba and NFS, but on the host since ZFS will manage both for me.
Proxmox could be the best of them all if it had builtin SMB/NFS sharing, UPS shutdown, SNMP, one click/file config backup and restore and acreens for other basic configs.
Basically, all the festures of Truenas Scale.
i agree. this is the only part i liked about Scale and would be nice to see integrated directly into proxmox.
I am currently running TrueNAS Scale as a VM on Proxmox. But I am going to remove it as TrueNAS doesn't allow the HDDs to spin off. In addition, every 5 second there is an activity on the HDDs. I suspect syslog is trying to get status or whatever. The fact that the HDDs do not sleep is annoying. When I shut down TrueNAS VM, after a predefined time the HDDs go to standby. So styndby workd under Proxmox but not on TrueNAS Scale.
Your video helped me tremendously in understanding how proxmox deals with samba shares so thanks so much! I hope your fight against the big C goes well brother. If I can beat it, so can you my man.
YESSS. Thank you! This is a super future proof tutorial. I like these.
If I visit this one and follow instructions today or in 10 years. This will stay relevant and a very optimized solution for NAS setups in a VM on Proxmox or in any other docker setup if you prefer.
except when:
apt install sudo curl fails. (like in March of 24)
Hi Don, Very nicely you explained all the steps here.
Please make a video - how to install HomeAssistant and Mosquitto in Proxmox, how to add the HACS package and how to share the config files in samba :). I think you will be successful with a full video on this.
I'm actually glad your doing this playlist as I have a Zimablade pre-ordered! I got the maxed out one with the drive cage and cords.
Damn, I was all in on this until you got to docker. I was looking forward to seeing how you would be configuring Samba directly in the CT itself.
Same, using container to run container makes no sense to me. If the purpose of that CT is to serve files then don't add anything extra to it.
Yea installing docker made me scratch my head aswell...
use cockpit :D
Thank you so much bro. You have such a way to explain. Im learning so much fro your videos.
Hi Don, I am using a Windows PC, but when I get to the part about connecting to the smb shared disk from Windows, it is not connecting to see the created disk, though I can increase the disk size from the deb-nas. Please give any help or clarity on how to connect from Windows.
Great tutorial. This is exactly what I’m doing except I’m using casaos instead of raw docker
casa os is great for this
Same
You have been making great videos so far! I have just one request: if you could start including written instructions of some sort, it would really help. Thanks!
Yo dawg, I heard you like containers, so I put a container in your container to containerize your samba inside of a lxc container.
Dude! I JUST did this - I'm literally copying my 15TB of junk over onto the new 36TB (24TB) ZFS zraid6 pool while typing this - shows "More than 1 day" left...personally I ended up creating a samba share inside of proxmox itself but then mapped it to an Ubuntu VM on that server which then also just shared it back out...its just easier than changing over allllllll of the stuff in my homelab that needs data to pull from the proxmox box directly since I have a couple dozen VMs....anyways keep up the great content!
Why did you go with that approach?
Did you setup virtual network for vms to attach directly to your samba server for faster access on local vm to server communication? That would be a good video.
I stumbled across this again and I noticed that you created a container just to host a docker just so you can host a samba server. Couldn't you have just created a samba server in the container instead of setting up docker and a samba server in the docker?
nas on a vms disk is a bad choice
just passthrough mount point or the entire disk to the vm and share the folder
I run OMV in a vm and its working well for me.
Question please? Would you (a) have 2x USB disks and ZFS pool them, or (b) a DAS box with hardware raid attached via USB connection?
This worked perfectly. I made an additional user and tried to give the user access to the share and I am getting the error "docker: Error response from daemon: Conflict. The container name "/samba" is already in use by container" Can only one user use the share?
What was the point in adding your user into "docker" group if you still use sudo? ps. You need to log out and back in to get the group working
have you tried the cockpit on proxmox with --no-install-recommends?
i feel like its a litte easier on resource management wise instead of dealing with the sub system.
45drive's houston has zfs module works with cockpit as well as a smb/nfs ( file-sharing and identities )
i also like their navigator
Cockpit and proxmox together?
@@danieleinfante3930 yup, but i believe the normal apt install cockpit breaks proxmox networking, at least it did 6mo ago.
if you apt install cockpit --no-install-recommends it doesnt bork pve,
if im going this route, i usually use it for better ZFS management than default pve.
right now i have disks, zfs, identities, file-sharing, and navigator set up on one of my nodes acting like a little NAS
Thanks I will give this a try once I broke pve GUI by installing cockpit and never tried again
@@Froggie92I can't get cockpit with ZFS working. I'm trying to get the user permissions working but windows says no permission no matter what settings I use. I'm desperate because I don't want to use true nas because it uses much resources and OMV isn't stable enough for me.
@@therealsprint
chmod 777 /path/to/your/dir/
or if youre using the 45drives navigator plugin, you can change permissions with that
45drives also has identities and file-sharing plugins to help with samba and nfs
I just founf this video and i really like it. So easy to follow and i love it. Thanks
I have a similar set-up but have samba installed directly and use a priviledged container with my main HDD pool mounted in the container (I know this is less secure, but I only use on my home network with only a couple of known users and have the network behind an Opnsense firewall) . I find I can then share files more easily between VM and CTs without having to map UID's/GID's. Using the Samba Docker is interesting, and I'll give it a try.
ive been doing this too but with the LXC containers, but sharing the pool to a second container isnt working atm
>docker
why do you reduce yourself to using slop when you have lxc's right there
Great tutorial. Thanks a lot for this video.
Can you import existing zpools ?
What did you use as main disk for OS?
Where can I purchase the enclosure for the 2 drives on this video?; great content!!
this particular board is still on kickstarter www.zimaboard.com/blade/#page
I want the enclosure too. It is just I were looking for
if you are limited on resources - mainly RAM - you can fine tune ZFS otherwise Proxmox will use 50% of your RAM just to support ZFS
Yes, proxmox will default to using up to 50% of the system memory for ZFS caching. However, this memory is freed if needed for other processes, whether that be by the Proxmox or its guests.
Unused memory is wasted memory.
I tried doing a fresh install of Proxmox 8.1 but it wouldn't locate my drives. It would ask me to restart. I couldn't get to installation. Proxmox 8.0 didn't give me issues.
you can install 8.0 and upgrade to 8.1, i havn't done a fresh install of 8.1 yet so not sure what the issue would be
Thx for this video! I'd like to rename the shared folder from public to something else. How can I do this?
Tried to start a ZFS pool, but it says no disks are unused.
Anyone else having issues adding the second share? Once I have added it I don't have permissions to change anything in /mnt/media.
Isn't casaos a better solution? It has a dedicated file manager, a docker appstore and samba share with gui
When you virtualise software in a virtual container inside a virtual machine installed in a virtual environment that thinks it’s on bare metal but is… in fact… in the cloud.
i love you video's. It help me a lot. In this case I had to alter the command by adding "-p" in your command: "-d dperson/samba -p". Otherwise the permission were not persistent and i could not write to the share
omg ty lol
Edit actually no this didn't solve my issue. Everything can write to the folders but accessing new files via file share or even jellyfin fails unless I run chmod -R 777 again
Hello i try do thaht with SSD in usb 3 but i have this message:'Note: ZFS is not compatible with disks backed by a hardware RAID controller. For details see the reference documentation.'
Why is my drive not discoverable it seems it's running but I can't access it from windows or mac what did I do wrong?
what's that NASty shared folder doing there? 🤔
NICE
How can I add my samba share drive from truenas on proxmox to proxmox to share all my media to my plex ct and my qbittorent ct....?
I want to use 2 usb external hard drives(ntfs) as a nas with this configuration, but I dont wanna format them. any idea on how to do it? thanks in advance
Which operating system are you using?
I'm just building out a new proxmox server... But storage was already done last week 😭😭😭 I went with unraid for storage only. Except I'm looking to run arr stack as containers on unraid.
wait till you see my next video 😉
@@NovaspiritTech oh no! you're killing me. I've paused doing anything on my servers now. When will the next one come out ?
you gonna make me love proxmox again!
thanks for great vid,
Mohammed from egypt
Interesting. the docker install command didn't work for me. Any thoughts as to why this might be anyone?
@Novaspirit Tech or anyone else with a solution, could you please help with the following error:
I went through this video but the samba share isn't the zfs pool but just a subvol within that zfs pool. However, from the subsequent videos, deluge and others are able to only access the rest of the zfs pool and not the subvol. How do I ensure that either the samba share workds on the entire zfs pool or that deluge is able to access the subvol that samba is sharing?
Tnx for the vid
While it's good to be judicious on resources, I believe you can over provision resources.
Would you consider doing a Cheph setup on Proxmox?
maybe down the road. ceph is lots of fun when you have 3 in a cluster
If you plan production you can not run on less than 10Gb nic for the replication its not meant for home users in my opinion unless the want to learn. You also need enough disks and nodes to really have redundancy .3 is bare minimum
Proxmos 8.2.2 having samba cifs issues while trying to add them from windows machine. it was working fine in 8.1.3 but as soon uprgaded to 8.2.2 cifs just got stopped. please contribute in this for any solution if possible. Thanks
I want to buy that case for the hard drives , where can I find it?
Isn't Proxmox built on a non-Enterprise Linux? How stable is this thing?
Very Stable especially if you add the license to the enterprise repo . Many data centers in Europe run it Hertzner for one and OVH as far as I know
I am looking for GUI management for samba.
pls do a review of friendly elec nas - it now supports 4 nvme #thomas magnum moustache
Good guide!
How to setup home server on new version of unraid?
Anybody knows how you can change te smb password? Sorry for the inconvenience, but i'm still learning. Pretty new with this.
Edit: Just removed the docker container and made a new one
Hi, if we delete files they do not actually delete on the server. How could we enable that ?
you need to install and configure samba-vfs objects, in this case since we are using dperson docker for samba it's enabled, once you delete a file it will create a hidden folder called .deleted containing your deleted files
You leave the NAS exposed to the internet instead of hiding it behind PIA on vmrb1? Why is that?
great idea! a proxmox doing all series!
Thanks possible to do a vidéo with casaos
make vid reg unprivileged LXC as i run in to problems when hosting NAS and transmision on same PVE
you could make your life easier logging in with a ssh key xD
Lol you cut right at the part I expected you to show apparmor config.
What do you guys do when you feel like you've done everything you can think of with your home lab? Any ideas or suggestions would be appreciated.
Also proxmox has a file server lxc template built in. Im sure you know but just in case someone wants something a little easier to setup... I find turnkey pretty good.
yes i'm familiar with turnkey file server but i never had good experience with webmin and the amount of ram it eats up over time.
@@NovaspiritTech Early days I've used Webmin to manage my Linux servers. I don't use it anymore as it's a security risk and eats up too much resources. I prefer to edit the config files and do everything in CLI.
ive got home assistant, heimdall, airsonic, calibre-web, a samba share, jellyfin, me-tube, paperless-ngx, stirling-pdf, netbox, and holoplay along with each of three servers running a wireguard instance, then also an AD server and a few AD guests (just to learn AD which I hate)...also have pfsense and two routers running openwrt as APs...ill probably add a vm for a RustDesk server as well...after that who knows but I definitely have some cleanup work to do...theres lots out there its just all about what you want/need your rig(s) for...once i have the cash for it ill start putting these together into an HA setup but at the moment it isnt feasible yet
I read on their discord that the zima blade doesn’t have enough power to supply 3.5 inch larger tb size drives during startup so i canceled by preorder which was very disappointing tbh
works fine for me, i'm powering up 2x 3.5 wd reds with pci-e nvme
Zfs is bugging! Mdadm rules for soft raid.
Bullshit
Hi Don, great videos... I found this video on "Setting up ZFS pool in Proxmox" th-cam.com/video/oSD-VoloQag/w-d-xo.htmlsi=tHFhKcq7dEOmZXDp&t=228
which shows very well how to get around with the issue you mentioned here 3:10 that you can only add images and containers to the zpool, but not other things like ISOs and backups and so on.
Very cool!
Two things:
1) Does/can the Proxmox host see what the container sees in terms of the data/content that's in the share folder?
2) Are you able to share this folder WITHOUT using the network stack? (i.e. other VMs and containers that are running on the same host do NOT need to go through the network stack to be able to get access to the data?