Proxmox Virtual Environment Complete Course Part 14 - Shared Storage
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
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
I just binge watched all of the proxmox video tutorials… great content and many thanks.
GZ 200K ! Thanks for everything you doing for community Mr. Jay!
I've been looking for Proxmox training and just found this on CZcams. Thank you.
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 :-)
Tnx for constructive instructions, looking forward to next part of a video.
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....
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.
Thanks for producing such great contents!
Awesome vid! I'be been trying to figure this out for years. Thanks!
Loved the shoutout to Tom
Thanks for explaining this in a understandable manner!
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.
Excellent series, helped me alot!!
would have been even better if had whiteboard/illustrations when explaining concepts.
Thanks.
jay, enjoy your videos thank you for all the time you put into this!, Thanks again from Detroit MI
Nice course again, cheers for your efforts.
Excellent series! Thanks a lot!
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?
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
Great video man!
You are the best.Thanks for your effort.Thanks a lot.
@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?
Is there anything special about the user proxmox in truenas?
Thank you, very useful!!
Thank you for your amazing videos.
That was great. Thank you.
this is great stuff. thank you so much.
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?
Thanks for the video
That Truenas server, is it a physical computer or a VM running on proxmox? Thanks for the series, I love learning.
You should be able to use either, I can’t see why not
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 ❤
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.
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.
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 !
You need to add a user to truenas
can you make a video briefly going over how to set a fully qualified domain name for a trueness setup
I still don't know how to have my Jellyfin vm "see" my movie files on my Synology NFS "shared" folders.
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.
I love your cousres
Just a question: is the TrueNas server also a VM on Proxmox or standalone?
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
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?
Which is Tom Morris channel about TrueNAS?
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.
Is there an open source solution for distributed shared storage similar to vmware's vSAN?
How do I add existing storage to a Vm? For example an ext4 partition.
Thanks! How about using a synology.
Hi...im willing to learn more about proxmox clusters, high avaliability, live magration
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?
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?
czcams.com/video/ySMitWnNxp4/video.html
Is nfs wide open or is there security? how does proxmox provide password for nfs share?
thanks :)
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?
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.
At 4:41 you reference someone called Ton Lorris? Could you put a link in the description for us?
czcams.com/users/TheTecknowledgefeatured
Truenas and proxmox connects with 1 GigE? What about speed? Is it enough for VMs?
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.
when you do a back up with shared storage does it back up the share
please make video how to True NAS High-Availability (HA) configure
How do you increase the size of VM disk running Centos 7? Thanks
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?
can multiple proxmox nodes use a single iscsi block?
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.
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.
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?
you should install the dark theme for proxmox
The drop down is also a way to see if the nfs share is alive and kicking
Could please do something similar to the raspberry pi cluster. Accessing external hard drives. Thank you
- 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!
is 1 gigabit enough speed for nfs implantation?
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?
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.
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?
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"
the real question is what kind of Nic are you using
I wonder why don't you have this course on udemy platform.
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)
why NFS and not samba? In my experience NFS is very sensitive to network outages
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.
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).
First view. First like ;)
Still disturbs me greatly that the pages flip incorrectly in your intro animation