Setting Up NAS Server On Proxmox

Поділитися
Вставка
  • Опубліковано 14 чер 2024
  • With limited resources at my disposal, i put together a samba server using very minimal resources. thanks for the view!
    ○○○ LINKS ○○○
    zimablade ► www.zimaboard.com/blade/#page
    • 5 Things I Would Do On...
    proxmox ► proxmox.com
    ○○○ SHOP ○○○
    Novaspirit Shop ► teespring.com/stores/novaspir...
    Amazon Store ► amzn.to/2AYs3dI
    ○○○ TIMECODE ○○○
    0:00 Intro
    1:45 zfs pool
    3:25 Download Container Templates
    4:47 Setup Container Templates
    8:30 Setup Docker
    9:39 Install Samba Share
    14:09 Expanding Live Disk
    15:22 Conclusion
    ○○○ SUPPORT ○○○
    💗 Patreon ► goo.gl/xpgbzB
    ○○○ SOCIAL ○○○
    🎮 Twitch ► / novaspirit
    🎮 Pandemic Playground ► / @pandemicplayground
    ▶️ novaspirit tv ► goo.gl/uokXYr
    🎮 Novaspirit Gaming ► / @novaspiritgaming
    🐤 Twitter ► / novaspirittech
    👾 Discord chat ► / discord
    FB Group Novaspirit ► / novasspirittech
    ○○○ Send Me Stuff ○○○
    Don Hui
    PO BOX 765
    Farmingville, NY 11738
    ○○○ Music ○○○
    From Epidemic Sounds
    patreon @ / novaspirittech
    Tweet me: @ / novaspirittech
    facebook: @ / novaspirittech
    Instagram @ / novaspirittech
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
    #homelab #proxmox #docker
  • Наука та технологія

КОМЕНТАРІ • 90

  • @g.s.3389
    @g.s.3389 2 місяці тому +16

    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?

  • @AdHdEntertainmentLLC
    @AdHdEntertainmentLLC 6 місяців тому +2

    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.

  • @shackofnoreturn
    @shackofnoreturn 5 місяців тому +2

    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.

    • @Spoolingturbo6
      @Spoolingturbo6 3 місяці тому

      except when:
      apt install sudo curl fails. (like in March of 24)

  • @haxwithaxe
    @haxwithaxe 6 місяців тому +5

    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.

  • @HendriLmd
    @HendriLmd 4 місяці тому

    I just founf this video and i really like it. So easy to follow and i love it. Thanks

  • @leatherwiz
    @leatherwiz 3 місяці тому

    Great tutorial. Thanks a lot for this video.

  • @danyelectronics6932
    @danyelectronics6932 4 місяці тому +2

    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.

  • @user-ly5hq5lz6v
    @user-ly5hq5lz6v 6 місяців тому +1

    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.

    • @hiyu_idontlikeyou
      @hiyu_idontlikeyou 6 місяців тому

      ive been doing this too but with the LXC containers, but sharing the pool to a second container isnt working atm

  • @pepeshopping
    @pepeshopping 6 місяців тому +17

    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.

    • @blakestandal8294
      @blakestandal8294 17 днів тому

      i agree. this is the only part i liked about Scale and would be nice to see integrated directly into proxmox.

  • @gawinedwin1771
    @gawinedwin1771 2 місяці тому +2

    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.

  • @HaiderKhan-gr4ml
    @HaiderKhan-gr4ml 18 днів тому

    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!

  • @MarkConstable
    @MarkConstable 6 місяців тому +6

    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.

    • @Jaska1
      @Jaska1 5 місяців тому +8

      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.

    • @ArztvomDienst
      @ArztvomDienst 4 місяці тому +2

      Yea installing docker made me scratch my head aswell...

  • @YannMetalhead
    @YannMetalhead 15 днів тому

    Good guide!

  • @CaptZenPetabyte
    @CaptZenPetabyte 4 місяці тому

    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?

  • @BinaryOptimizer
    @BinaryOptimizer 6 місяців тому

    you gonna make me love proxmox again!
    thanks for great vid,
    Mohammed from egypt

  • @voodoovinny7125
    @voodoovinny7125 3 місяці тому

    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?

  • @dominikk1084
    @dominikk1084 5 місяців тому

    Thx for this video! I'd like to rename the shared folder from public to something else. How can I do this?

  • @TheKetsa
    @TheKetsa 6 місяців тому +1

    I run OMV in a vm and its working well for me.

  • @TheKunalParwani
    @TheKunalParwani 5 місяців тому

    @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?

  • @TearTox
    @TearTox 3 місяці тому +1

    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

  • @OsX86H3AvY
    @OsX86H3AvY 6 місяців тому

    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!

  • @SimonePGGG
    @SimonePGGG 3 місяці тому

    Can you import existing zpools ?
    What did you use as main disk for OS?

  • @thespencerowen
    @thespencerowen 6 місяців тому +3

    Great tutorial. This is exactly what I’m doing except I’m using casaos instead of raw docker

  • @jwspock1690
    @jwspock1690 3 місяці тому

    Tnx for the vid

  • @Froggie92
    @Froggie92 6 місяців тому +2

    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
      @danieleinfante3930 6 місяців тому

      Cockpit and proxmox together?

    • @Froggie92
      @Froggie92 6 місяців тому +1

      @@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

    • @StraussBR
      @StraussBR 6 місяців тому

      Thanks I will give this a try once I broke pve GUI by installing cockpit and never tried again

    • @therealsprint
      @therealsprint 3 місяці тому

      ​@@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.

    • @Froggie92
      @Froggie92 3 місяці тому

      ​@@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

  • @datsucrypto
    @datsucrypto 6 місяців тому +2

    Where can I purchase the enclosure for the 2 drives on this video?; great content!!

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому

      this particular board is still on kickstarter www.zimaboard.com/blade/#page

    • @Kalamardo74
      @Kalamardo74 5 місяців тому

      I want the enclosure too. It is just I were looking for

  • @gompie71
    @gompie71 6 місяців тому

    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

    • @phoenixs4r
      @phoenixs4r Місяць тому

      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

  • @Kevin-oj2uo
    @Kevin-oj2uo 6 місяців тому

    I want to buy that case for the hard drives , where can I find it?

  • @marcbrown3922
    @marcbrown3922 Місяць тому

    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....?

  • @Dustpan0810
    @Dustpan0810 4 місяці тому +1

    Anyone else having issues adding the second share? Once I have added it I don't have permissions to change anything in /mnt/media.

  • @bountoj
    @bountoj 6 місяців тому +1

    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.

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому +1

      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

  • @EhiMario89
    @EhiMario89 Місяць тому

    Which operating system are you using?

  • @aijokker
    @aijokker 6 місяців тому

    How to setup home server on new version of unraid?

  • @shephusted2714
    @shephusted2714 6 місяців тому

    pls do a review of friendly elec nas - it now supports 4 nvme #thomas magnum moustache

  • @pascal-t
    @pascal-t 4 місяці тому +2

    Yo dawg, I heard you like containers, so I put a container in your container to containerize your samba inside of a lxc container.

  • @user-vb2ho4gf5t
    @user-vb2ho4gf5t Місяць тому

    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

  • @bradenstroot3364
    @bradenstroot3364 2 місяці тому

    Interesting. the docker install command didn't work for me. Any thoughts as to why this might be anyone?

  • @brunekxxx91
    @brunekxxx91 5 місяців тому

    Isn't casaos a better solution? It has a dedicated file manager, a docker appstore and samba share with gui

  • @Elmuchacho
    @Elmuchacho Місяць тому

    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.'

  • @cartanfan-youtube
    @cartanfan-youtube 3 місяці тому +1

    >docker
    why do you reduce yourself to using slop when you have lxc's right there

  • @gum83821
    @gum83821 2 місяці тому

    I am looking for GUI management for samba.

  • @RiGGeN83
    @RiGGeN83 6 місяців тому +2

    great idea! a proxmox doing all series!

  • @basdfgwe
    @basdfgwe 6 місяців тому

    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.

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому +1

      wait till you see my next video 😉

    • @basdfgwe
      @basdfgwe 6 місяців тому

      @@NovaspiritTech oh no! you're killing me. I've paused doing anything on my servers now. When will the next one come out ?

  • @_z_e_l_2391
    @_z_e_l_2391 6 місяців тому

    Hi, if we delete files they do not actually delete on the server. How could we enable that ?

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому

      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

  • @fiku4444
    @fiku4444 6 місяців тому

    make vid reg unprivileged LXC as i run in to problems when hosting NAS and transmision on same PVE

  • @Elmuchacho
    @Elmuchacho 2 місяці тому

    Thanks possible to do a vidéo with casaos

  • @vinaduro
    @vinaduro 6 місяців тому

    Would you consider doing a Cheph setup on Proxmox?

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому +1

      maybe down the road. ceph is lots of fun when you have 3 in a cluster

    • @DawidKellerman
      @DawidKellerman 6 місяців тому +2

      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

  • @Evgeniy123
    @Evgeniy123 3 місяці тому +1

    nas on a vms disk is a bad choice
    just passthrough mount point or the entire disk to the vm and share the folder

  • @hyperprotagonist
    @hyperprotagonist 6 місяців тому +7

    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.

  • @mistercohaagen
    @mistercohaagen 6 місяців тому

    Isn't Proxmox built on a non-Enterprise Linux? How stable is this thing?

    • @DawidKellerman
      @DawidKellerman 6 місяців тому +1

      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

  • @ryd3v
    @ryd3v 19 днів тому

    you could make your life easier logging in with a ssh key xD

  • @rockymarquiss8327
    @rockymarquiss8327 5 місяців тому

    While it's good to be judicious on resources, I believe you can over provision resources.

  • @zyghom
    @zyghom 6 місяців тому

    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

    • @execration_texts
      @execration_texts 3 місяці тому +1

      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.

  • @dominick253
    @dominick253 6 місяців тому +1

    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
      @NovaspiritTech  6 місяців тому

      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.

    • @Darkk6969
      @Darkk6969 6 місяців тому

      @@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.

    • @OsX86H3AvY
      @OsX86H3AvY 6 місяців тому

      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

  • @Acceleratedpayloads
    @Acceleratedpayloads 6 місяців тому

    Lol you cut right at the part I expected you to show apparmor config.

  • @garbagetrash8683
    @garbagetrash8683 3 місяці тому

    You leave the NAS exposed to the internet instead of hiding it behind PIA on vmrb1? Why is that?

  • @Zedris
    @Zedris 6 місяців тому

    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

    • @NovaspiritTech
      @NovaspiritTech  6 місяців тому

      works fine for me, i'm powering up 2x 3.5 wd reds with pci-e nvme

  • @workyz1980
    @workyz1980 6 місяців тому

    Zfs is bugging! Mdadm rules for soft raid.

  • @ewenchan1239
    @ewenchan1239 6 місяців тому

    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?