Create ZFS Pool, Linux LXC Container for Samba/SMB in Proxmox - Home Server Network & File Sharing

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • Created a ZFS pool in Raid1/Mirror on Proxmox
    Created a Debian LXC Container for Samba/SMB network share and file sharing.
    Creating this for home/NAS server
    Steps outlined below**************************************
    Set up ZFS pool in raid1 slash/mirror
    Set up samba container using Debian
    Add ZFS pool resource to container
    Debian steps**********************************************
    apt-get update
    apt-get install samba
    adduser home
    smbpasswd -a home
    chown -R home:home /mypool
    nano /etc/samba/smb.conf
    [share]
    comment = home samba share
    path = /mypool
    read only = no
    writable = yes
    browsable = yes
    guest ok = no
    valid users = home
    [home]
    browsable = no
    [nobody]
    browsable = no
    systemctl restart smbd

ความคิดเห็น • 19

  • @r.cooper5505
    @r.cooper5505 3 วันที่ผ่านมา

    Just wanted to thank you. Really great video without any nonsense. I prefer this style and wish you had more.

    • @Cuevista
      @Cuevista  2 วันที่ผ่านมา

      @@r.cooper5505 Thank you! I’m working on trying to produce more videos. Is there anything particular you’re interested in?

  • @temptempy6750
    @temptempy6750 หลายเดือนก่อน

    The amount of time saved in trying to DO this by watching this is measured in hours!!! +1

  • @Jevlumba
    @Jevlumba 18 ชั่วโมงที่ผ่านมา

    Following this guide I was able to setup my Samba share, but I am having a hard time adding it on another of my ProxMox servers on the same network.
    Datacenter -> Storage -> Add: SMB/CIFS -> Fill in settings and I get the error "Create storage failed: mkdir /mnt/pve/testSMB/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1421. (500)"
    What can I do to add the share?

  • @alielahi490
    @alielahi490 หลายเดือนก่อน

    First of all, thank you for your instructions. Please, if you can, show us how we can connect to the Samba server from outside using dyndns.

    • @Cuevista
      @Cuevista  หลายเดือนก่อน

      @@alielahi490 I will check into it. Thank you!

    • @asnovasdodia
      @asnovasdodia หลายเดือนก่อน

      Best and easiest thing you can do is configure a VPN with a dynDNS and then, if you're not on the network, you can turn on that VPN and connect to your Samba share as if you were in the network. I don't know any other way (but I'm not an expert either).

    • @alielahi490
      @alielahi490 หลายเดือนก่อน

      @@Cuevista thank you very much 🙏

  • @General_Whoflungpoo
    @General_Whoflungpoo 2 หลายเดือนก่อน

    Did you not get R/W errors in the SMB? According to proxmox you should have also "change the container UID mapping" as the LXC is unprivileged.
    I'm also looking to drop truenas for a simple samba/ftp LXC but kept getting R/W issues.

    • @Cuevista
      @Cuevista  2 หลายเดือนก่อน +1

      Hmmm?!? No, I did not get any read/write issues.

  • @ReisalTrax
    @ReisalTrax 2 หลายเดือนก่อน

    Can i use it for giving PLEX a directory for my movies?
    Did not find any easy description like yours... So i mean does Plex find it too?

    • @Cuevista
      @Cuevista  2 หลายเดือนก่อน +1

      @@ReisalTrax Yes, you can. Just use the full path.

    • @ReisalTrax
      @ReisalTrax หลายเดือนก่อน

      @@Cuevista Thank you a lot!

  • @matm3745
    @matm3745 5 หลายเดือนก่อน

    Благодарю, теперь стабильная скорость по SMB 110MB/S и загрузки CPU 4% и MEM 9Gb, в отличии от TrueNAS.

  • @marcbrown3922
    @marcbrown3922 4 หลายเดือนก่อน

    when i try to map this share to windows it say " Windows cannot access \\192.168.0.113" followed by check the spelling of the name. otherwise there might be a network problem" I tried to diagnose and it say no errors detected ,,,,and advice...?

    • @Cuevista
      @Cuevista  4 หลายเดือนก่อน +2

      Hmmm?!? Try adding the full path \\192.168.0.113\[share name]

    • @marcbrown3922
      @marcbrown3922 4 หลายเดือนก่อน +1

      Sorted it works great

  • @Rinzzer36
    @Rinzzer36 5 หลายเดือนก่อน

    Thanks for the video was really helpful. Could you please do one for *arr. services such as radar, sonar, and. prowler, where in you connecting the samba share to all the * are services along with a torrent client.
    Also when I tried to restart the service goat this error -
    Job for smbd.service failed because the control process exited with error code.
    See "systemctl status smbd.service" and "journalctl -xeu smbd.service" for details.
    Could you please help.

    • @Cuevista
      @Cuevista  5 หลายเดือนก่อน

      I have never worked with those; however, you should be able to map them inside the container you create as a shared folder.
      As far as the error goes, double check your settings in the smb.conf. Make sure you are mapped to the pool. Sometimes you have to include additional folders to get to the pool path depending on your setup.