Proxmox Virtual Environment Complete Course Part 14 - Shared Storage

Sdílet
Vložit
  • čas přidán 20. 06. 2024
  • Shared storage enables you to set up a single storage repository, and provide access to that repository from multiple servers. If you eventually set up a Proxmox cluster, then shared storage gives you even more flexibility. In this video, you'll see the process of setting up NFS shares in a NAS (TrueNAS used as an example) and then adding those shares to Proxmox VE.
    Brand LPI Linux Essentials Course Available
    Check out the new course on Udemy! ➜ learnlinux.link/lpi-course
    ➜ learnlinux.link/lpi-course
    Check out the Linux Shop
    In the official shop, you'll find Shirts, hats, stickers, bags and more!
    ➜ merch.learnlinux.tv
    5% discount on LPI exam vouchers
    After you finish Jay's new course, get 5% off an LPI exam voucher here:
    ➜ learnlinux.link/lpi-voucher
    Become a Patron
    Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
    ➜ learnlinux.link/patron
    Become a Channel Member
    Show your support for Learn Linux TV here on CZcams and get access to exclusive perks!
    ➜ learnlinux.link/member
    Mastering Ubuntu Server: 4th Edition
    Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
    ➜ ubuntuserverbook.com
    Linux Gear and Kits
    Check out Jay's choice of hardware products, audio/video equipment, and more.
    ➜ learnlinux.link/amazon
    Grab an awesome Pi-powered KVM
    Support Learn Linux TV and grab yourself a TinyPilot KVM here:
    ➜ learnlinux.link/tinypilot
    Note: Royalties and/or commission is earned from each of the above links
    Time Codes
    00:00 - Intro
    04:29 - Creating data stores in TrueNAS
    08:06 - Creating NFS shares in TrueNAS
    10:07 - Adding NFS shares to Proxmox VE
    15:51 - Backing up a virtual machine to shared backup storage
    Other Proxmox episodes:
    Class 01 - Getting Started: linux.video/pve1
    Class 02 - Installation Process: linux.video/pve2
    Class 03 - Web Console Overview: linux.video/pve3
    Class 04 - Containers vs Virtual Machines: linux.video/pve4
    Class 05 - Launching a Virtual Machine: linux.video/pve5
    Class 06 - Setting up Virtual Machine Templates: linux.video/pve6
    Class 07 - Creating Containers: linux.video/pve7
    Class 08 - Setting up Container Templates: linux.video/pve8
    Class 09 - User Management: linux.video/pve9
    Class 10 - Backups and Snapshots: linux.video/pve10
    Class 11 - Integrated Firewall: linux.video/pve11
    Class 12 - Command-line Interface: linux.video/pve12
    Class 13 - Networking: linux.video/pve13
    Class 14 - Shared storage: This video
    Class 15 - Clustering: linux.video/pve15
    Class 16 - High availability: linux.video/pve16
    Bonus video 1 - Launching a Windows VM: linux.video/pve-win
    Bonus video 2 - Getting started with Proxmox Backup Server: linux.video/pbs
    Bonus video 3 - Proxmox VE - How to build an Ubuntu 22.04 Template (Updated Method): linux.video/pve-2204
    Bonus video 4 - Build a Kubernetes Cluster on Proxmox: linux.video/proxmox-k8s
    LEARN SOMETHING NEW
    - How to create a bootable flash drive for installing Linux ➜ linux.video/flash-usb
    - Understanding Linux permissions ➜ linux.video/perms
    - OpenSSH Guide ➜ linux.video/ssh
    - LVM Deep-dive ➜ linux.video/lvm
    - How to better secure OpenSSH ➜ linux.video/secure-ssh
    Official *Learn Linux TV on the Web*
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
    #Proxmox #VM #ProxmoxTutorial
  • Věda a technologie

Komentáře • 85

  • @ME-ov7vp
    @ME-ov7vp Před 10 měsíci +4

    i really appreciate your videos, when learning proxmox is so messy, so many videos of the same thing or cant follow the tutorials, because the person assumes you already know, and many steps are skipped, you are probably the only one with a proxmox course step by step

  • @MehrdadGivehchi
    @MehrdadGivehchi Před 2 lety +2

    I just binge watched all of the proxmox video tutorials… great content and many thanks.

  • @SwiatLinuksa
    @SwiatLinuksa Před 2 lety +4

    GZ 200K ! Thanks for everything you doing for community Mr. Jay!

  • @theothembela7778
    @theothembela7778 Před 2 lety

    I've been looking for Proxmox training and just found this on CZcams. Thank you.

  • @jforbush
    @jforbush Před 2 lety

    Going back to watch this as I neglected to set up sheared volumes before activating high availability. Lesson learned and that you really need share volumes for high availability to actually work :-)

  • @maksim4995
    @maksim4995 Před 2 lety

    Tnx for constructive instructions, looking forward to next part of a video.

  • @gregjones9601
    @gregjones9601 Před 2 lety +35

    I would love to see a guide on the different storage types in Proxmox. When talking about "shared" storage, what are the best options today? Should we use Ceph? Should we use traditional means like NFS or iSCSI? I'm curious if there are options that make one better than another. I haven't been able to find content or guides that discuss these options and any configurations of those other options. Could make for a good class....

    • @Karimkarimbady
      @Karimkarimbady Před 2 lety +5

      It depends on what is availabale as hardware, hard disk on each server you want to use it as PVE in cluster and a size of your company like a number of VM an CT for me i start using shared Storage on truenas Core like :nfs, iscsi. But Ceph it's more expensie in term of hard disk and ssd so the choice is a question of available hardware.

  • @gracelobo8113
    @gracelobo8113 Před 2 lety +3

    Thanks for producing such great contents!

  • @fmj_556
    @fmj_556 Před 2 lety

    Awesome vid! I'be been trying to figure this out for years. Thanks!

  • @SilentChappie
    @SilentChappie Před 2 lety +1

    Loved the shoutout to Tom

  • @Random_Innovation
    @Random_Innovation Před rokem

    Thanks for explaining this in a understandable manner!

  • @michvair
    @michvair Před 5 měsíci

    Hi Jay, thank you very much for all your videos already, I am just starting using Proxmox VE for storage purposes at least. Michel, from france.

  • @chempranav
    @chempranav Před 2 lety +3

    Excellent series, helped me alot!!
    would have been even better if had whiteboard/illustrations when explaining concepts.
    Thanks.

  • @petersudomier6399
    @petersudomier6399 Před rokem

    jay, enjoy your videos thank you for all the time you put into this!, Thanks again from Detroit MI

  • @andyhello23
    @andyhello23 Před 2 lety

    Nice course again, cheers for your efforts.

  • @nt2548
    @nt2548 Před 2 lety

    Excellent series! Thanks a lot!

  • @tlxreed
    @tlxreed Před 5 měsíci +2

    Very useful and informative. I didn't get how the datacenter has user/group permissions for the share points. I see that the NFS share mounts have a user/group of promox, but how did your datacenter have that user/group set up originally so the mount point would work?

  • @simo47768
    @simo47768 Před 2 lety +1

    Thanks for awesome series. Please do also about truenas core. I like the way you explain stuff.
    By the way i want to use my proxmox server also as a backup server. I guess i need to use command line to create nfs share and expert them

  • @alfathmuqoddas6986
    @alfathmuqoddas6986 Před 7 měsíci

    Great video man!

  • @adrian_gheorghita
    @adrian_gheorghita Před 2 lety

    You are the best.Thanks for your effort.Thanks a lot.

  • @scockman
    @scockman Před 2 lety +3

    @LearnLinuxTV love your whole Proxmox series. Questions on the user account "proxmox" in TrueNAS. Is that account also in the Proxmox Server? If so is it a PAM or a PVE account?

    • @markdandridge3420
      @markdandridge3420 Před 2 lety

      Is there anything special about the user proxmox in truenas?

  • @claudiantenegri2612
    @claudiantenegri2612 Před 2 lety

    Thank you, very useful!!

  • @felicemassaro9564
    @felicemassaro9564 Před rokem

    Thank you for your amazing videos.

  • @wigh9169
    @wigh9169 Před rokem

    That was great. Thank you.

  • @kodikodi9948
    @kodikodi9948 Před 2 lety

    this is great stuff. thank you so much.

  • @anirbandutta1371
    @anirbandutta1371 Před rokem +3

    Great video. I have one question though. How is proxmox authenticated with the TRUENAS share? I see the share gets added just by adding the NAS IP and it doesn't prompt for username/password?

  • @applemodus
    @applemodus Před 7 měsíci

    Thanks for the video

  • @rcdenis1
    @rcdenis1 Před 2 lety +5

    That Truenas server, is it a physical computer or a VM running on proxmox? Thanks for the series, I love learning.

    • @borat1
      @borat1 Před 2 lety +1

      You should be able to use either, I can’t see why not

  • @Elrevisor2k
    @Elrevisor2k Před 8 měsíci

    I only have three one gig network interfaces on my server is it possible to join them to accelerate the speed when performing backups using a 2.5g switch and my mac with 10g network? Or I need simply wait until my backups ended at 1g network speed? Thanks great video ❤

  • @mdhurrtn
    @mdhurrtn Před 5 měsíci

    Great video, thanks for the information. One question, can proxmox 8.1.3 have two virtual machines(truenas scale using a PLEX application and jellyfin installed as a virtual machine) share a hard drive(s) that is on a smb share? Would I need to use pcie sata adapter or can I identify the hard drives by there serial numbers in the configuration files? Thanks.

  • @tokoiaoben3842
    @tokoiaoben3842 Před 2 lety +1

    Thank you very much for your time. I'm using sysnology in my network for backup and I'm going to move all my VMs to it. I'm still moving all servers onto virtualized environment (proxmox) since the administrative work especially for backup in particular is much simpler for me.
    Appreciate if you can also show us separate tutorial for for shared storage for sysnology with proxmox. Once again thank you very much.

  • @trilobyte6315
    @trilobyte6315 Před 2 lety +7

    How is the user "proxmox" showing in your truenas dropdown ? I have separate truenas physical machine but no user name "proxmox" when I go to create share... Is your truenas install virtualized inside proxmox and perhaps host os picking up "proxmox" user from there ? Thank You !

    • @jcdock
      @jcdock Před 2 lety

      You need to add a user to truenas

  • @UbuntuHD2
    @UbuntuHD2 Před rokem

    can you make a video briefly going over how to set a fully qualified domain name for a trueness setup

  • @libertine5606
    @libertine5606 Před 9 měsíci +1

    I still don't know how to have my Jellyfin vm "see" my movie files on my Synology NFS "shared" folders.

  • @TK_Raz
    @TK_Raz Před 2 lety

    I felt that network bottleneck hard before. Especially with a lot of servers. Ever since, I invested in 100Gb LAN. Pricy, but worth in the very long run.

  • @stephanh8
    @stephanh8 Před 2 lety

    I love your cousres

  • @claudiantenegri2612
    @claudiantenegri2612 Před 2 lety

    Just a question: is the TrueNas server also a VM on Proxmox or standalone?

  • @SSBelmont
    @SSBelmont Před 3 měsíci

    Can you create a video on creating SMB shares with TrueNAS Scale 20.10.2 running on Proxmox and mounting the SMB from Proxmox? There seems to be an issue with SMB shares that no one seems to be able to answer. The goal is simple SMB share that Windows users can read/write to without using Purpose = Private SMB and Dataset Shares.
    I think

  • @user-ub3pm6wo2y
    @user-ub3pm6wo2y Před 9 měsíci +1

    Why did we use proxmox user and proxmox group? I think we should create some account and group for our shared folders. Are proxmox is a default user or account for this?

  • @CarlosPaleodaRocha
    @CarlosPaleodaRocha Před rokem

    Which is Tom Morris channel about TrueNAS?

  • @justindownloadin3133
    @justindownloadin3133 Před rokem +2

    when setting my permissions in the dataset path under User i do not have proxmox as an option. I entered proxmox for both user and group applied the checks and when i saved it had the error no such Error: [EINVAL] pool_dataset_permission.user: "getpwnam(): name not found: 'proxmox'" and also the group. I may need to add the user into the group and it may have been covered in a previous class. Thank you for your tutorials.

  • @esra_erimez
    @esra_erimez Před 2 lety +1

    Is there an open source solution for distributed shared storage similar to vmware's vSAN?

  • @RoyvanLierop
    @RoyvanLierop Před 2 lety +1

    How do I add existing storage to a Vm? For example an ext4 partition.

  • @goodcitizen4587
    @goodcitizen4587 Před 10 měsíci

    Thanks! How about using a synology.

  • @1stGenMOZIT
    @1stGenMOZIT Před 2 lety

    Hi...im willing to learn more about proxmox clusters, high avaliability, live magration

  • @jossushardware1158
    @jossushardware1158 Před měsícem

    Is it possible to make the trueNAS HA also? What if the single trueNAS server crashes? Which options there are to make the NFS itself HA?

  • @williemaddox9919
    @williemaddox9919 Před 2 lety +3

    Anything special when setting up your proxmox user in truenas? passwordless? permit sudo? home directory settings? permissions? Do any of the settings have to be the same as your proxmox user on your proxmox server?

  • @johngrabner
    @johngrabner Před 2 lety +2

    Is nfs wide open or is there security? how does proxmox provide password for nfs share?

  • @haithammaged987
    @haithammaged987 Před 8 měsíci

    thanks :)

  • @ckirkyg
    @ckirkyg Před 2 lety +2

    I'm interested in setting up unraid in a vm in proxmox and sharing it with all of the vms and containers running on the same promox server. Are there any gotchas or considerations I should think through with this scenario?

    • @niekversteege
      @niekversteege Před 2 lety +2

      I was thinking the same but using truenas instead of unraid. I am expecting some kind of weird problem! Hope Jay has tried this and knows an answer.

  • @RoyvanLierop
    @RoyvanLierop Před 2 lety +2

    At 4:41 you reference someone called Ton Lorris? Could you put a link in the description for us?

    • @klgit
      @klgit Před 2 lety

      czcams.com/users/TheTecknowledgefeatured

  • @cognoscibilis
    @cognoscibilis Před 2 lety

    Truenas and proxmox connects with 1 GigE? What about speed? Is it enough for VMs?

  • @markdandridge3420
    @markdandridge3420 Před 2 lety +2

    Wish you would read your comments. Several people need help with the user Proxmox. Is it just an account you made? Does it have special permissions? You just said I'm using this user and didn't tell us how to get said user making the rest of the video void.

  • @royprice931
    @royprice931 Před rokem

    when you do a back up with shared storage does it back up the share

  • @FNoSwingTrading
    @FNoSwingTrading Před rokem

    please make video how to True NAS High-Availability (HA) configure

  • @badburn
    @badburn Před rokem

    How do you increase the size of VM disk running Centos 7? Thanks

  • @AceBoy2099
    @AceBoy2099 Před 7 měsíci

    Is this the same process to have proxmox read my share from unraid that already contains all my iso files in their own subfolders? Would it work better if I used truenas instead? Or am I S.O.L?

  • @Foars989
    @Foars989 Před 2 lety

    can multiple proxmox nodes use a single iscsi block?

  • @marcorobbe9003
    @marcorobbe9003 Před 6 měsíci

    Hi and first thanks for all your great videos. I am having a question to share storage in the other direction.
    So I want to share storage from the proxmox server to other clients.
    In detail: I installed my proxmox server and on that a container (debian 12) with paperless-ngx.
    Now I would like to publish folders from paperless-ngx. Consumption folder with read/write and media with read permissions. Because I am using it by my own it would also be ok to have the whole paperless-ngx installation folder as read/write share.
    Now I want to mount the folders from my mac to write files to the consumption folder and also read the other folders to copy their content for backups.
    I am planning to set up a seperat fileserver later on to connect folders as you have explained in this video, but for now I yust want to use the storage on my Proxmox server.
    Can I manage to publish the HDD without of proxmox or do I need to publish folders from within the different containers? How to do so? Thanks a lot.

  • @reviewtoday1069
    @reviewtoday1069 Před 7 měsíci

    I had an error 500 locked when adding NFS. Turns out if you turn off a nodes, Proxmox will lock down some stuff. This can be fix by running "pvecm expected 1" from the shell.

  • @Sub-lb7uq
    @Sub-lb7uq Před 7 měsíci

    I have tried to share a second drive across containers, I am running Plex, Sonarr, Radarr and Qbittorrent nox, when a file is downloaded it sets the file to root:root which sonarr and radarr cannot access driving me nuts any suggestions?

  • @voiceoftreason1760
    @voiceoftreason1760 Před 2 lety

    you should install the dark theme for proxmox

  • @DawidKellerman
    @DawidKellerman Před 2 lety

    The drop down is also a way to see if the nfs share is alive and kicking

  • @jorgegomez374
    @jorgegomez374 Před 2 lety +4

    Could please do something similar to the raspberry pi cluster. Accessing external hard drives. Thank you

  • @meomeo860
    @meomeo860 Před rokem

    - From a proxmox node, I connect NFS storage to a NAS, then create a VM on that partition ok.
    - The same way, but the connection type is CIFS to a shared folder on the windows machine, the connection is successful, but cannot create a VM on that partition.
    Admin can you point me to this problem, please!
    Thank you!

  • @thestreamreader
    @thestreamreader Před rokem

    is 1 gigabit enough speed for nfs implantation?

  • @matiastrane7598
    @matiastrane7598 Před 6 měsíci

    It seems you're quite experienced with this, so i hope you're able to help. I've tried following almost every video on this topic; Mounting NFS shares from NAS in Proxmox, but my VM can only see the main directory and not any of the subdirectories or any files. As far as i understand, NFS uses IPs to authenticate but uses user/pass for permissions, however i see nothing about how to set that up in any guides or videos. It's like what i'm trying to do is very niche, when i feel it's very common. I checked all settings and permissions on my (Synology) NAS. When i run a Ubuntu VM and mount the same folder, i am able to see the subfolders. Do you have any idea what i've done wrong?

    • @tylerbarr2740
      @tylerbarr2740 Před 5 měsíci

      I am having this problem right now. I ended up using fstab to mnt my smb share on the host and then used a bind mount to connect it to a container. Did you ever find a solution to your problem mine feels so clunky.

  • @earllarsen5513
    @earllarsen5513 Před rokem

    I receave "create storage failed: storage 'NFSshare' is not online (500)". Everything is correct. I do have nfs-kernel-server installed on my main pc, and able to access the share through other pcs. Do I need to install anything else on the nfs server?

    • @Lunolux
      @Lunolux Před rokem

      i was having similare error, my error was because i have a Capital in the name of my ID....
      so changing "Storage" to "storage" resolve my probleme....
      so try a name in lower case for all the letter.
      edit : nvm, i was trying to set the path "/data/backup" in proxmox, but the share i create was "backup", i think we can't share a folder "data" that containe a subfolder "backup" and then set in proxmox "data/backup"
      check if you have create a share like "backup" and then config it ini proxmox with "backup"

  • @Stephen-wh7vl
    @Stephen-wh7vl Před 2 lety

    the real question is what kind of Nic are you using

  • @theothembela7778
    @theothembela7778 Před 2 lety +1

    I wonder why don't you have this course on udemy platform.

  • @grocerylist
    @grocerylist Před 2 lety +2

    Love your Proxmox videos. I'm getting an error when trying to add the NFS storage in Proxmox. I can't figure out why. I'm not sure why root wouldn't have permissions to mkdir. Any ideas?
    create storage failed: mkdir /mnt/pve/Proxmox-backups/dump: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1292. (500)

  • @Danielo515
    @Danielo515 Před 2 lety

    why NFS and not samba? In my experience NFS is very sensitive to network outages

    • @CarlosPaleodaRocha
      @CarlosPaleodaRocha Před rokem

      NFS (Network File System) is a protocol commonly used in Unix/Linux environments for sharing files and directories between machines. It is lightweight and offers good performance for read-heavy workloads, making it a good choice for environments that prioritize speed and low latency, such as HPC clusters.
      On the other hand, Samba is a protocol commonly used in Windows environments for sharing files and printers between machines. It offers better compatibility with Windows systems and supports more advanced features such as access control and file locking. Samba is also more suited for environments where read and write workloads are more balanced or where interoperability with Windows clients is a requirement.
      Therefore, it is important to consider the specific needs of your environment and the systems that will be accessing the shared storage before choosing between NFS and Samba. I believe Jay chose NFS due to performance and to the fact his network mainly have Unix like systems. In some cases, it may even be appropriate to use both protocols to provide the best performance and compatibility for different systems. I use both in my scenario and it works like a charm either for Unix like or Windows System and makes it easier to transfer old Hyper-V VMs to shared folder, where I can import them into Proxmox.

    • @RaduRadonys
      @RaduRadonys Před měsícem

      If you use samba, pay attention that you cannot add from the gui a shared storage if you have an older samba storage machine. Only samba v3 is accepted by the gui. You can however add it from command line only, where you can pass the flag "--smbversion 2.0" (or 2.1, etc).

  • @pascaldufour9275
    @pascaldufour9275 Před 2 lety +2

    First view. First like ;)

  • @hacked2123
    @hacked2123 Před 2 lety

    Still disturbs me greatly that the pages flip incorrectly in your intro animation