People always get raid 5 wrong. The parity is NOT saved on only one of the drives. What if that drive crash? No, the parity is split up between the drives so any of the drives can fail.
Parity on a single drive would just be RAID4. What if it fails? Same as with RAID5, it will get rebuilt, once replaced, by recomputing from the other disks.
I saw the video thumbnail picture and felt compelled to come here just to say I too have a pair of T410 servers in my homelab setup. So far they have served me well. Best thing I like about them is that they are quiet - only 2 fans for the whole system, a slow 120mm and the PSU's 80mm... I've had these things since 2016 and they have always "served" (crappy pun) me well!!! Anyhoo, thanks for the videos man (especially the Ansible and Vagrant stuff). Keep it up!!!
One important thing has been forgotten. It's about RAM. Don't put in normal RAM into server, but instead RAM with ECC. ECC stands for 'Error Correcting Code'. These RAMs with ECC are checking and correcting false digits. This is crucial if you run one or more critical services like a database. As example as simple as possible, the database does read and write processes and you get an error in the RAM, it can corrupt the whole data. Especially in the financial sector it's horror. So, ECC can correct failures in the RAM (obs. not hardware failures ;-)) and be a lifesaver.
Sadly it's kinda hard to find motherboards that support ECC, but it's getting easier the more time goes on! They are even coming out with high-end gaming PC mobos that support ECC
This is the video who made me find your channel last year. Are you thinkin of designing an making a 2020/2023 version of this? Live tinkering like this.
Thanks for the video. I'd like to watch more about ZFS storage configuration, maybe even for a backup server. It would be great, 'cause everyone needs to backup their data :)
Just finished building my first Ubuntu server nas with zfs. I did it hte hard way (trawling through the documentation, and then the internet recommends this video to me. Now writing myself a manual/idiots guide with things I can improve and need to improve wiht my own server setup. Thanks for the informative video. Just wish I had found it sooner.
Man, I have been using zfs-on-root for a fair amount of time, and things are awesome, but, sadly I can't do fun stuff like striping or raidz or so (Alas, the life of 1SSD + 1HDD setup) (I still benefit from how zfs deals with storage though, i don't waste space on separate root partition and such, via datasets, and compression helps a lot) Anyway, your explanation about different types of pools, and how it works, was very helpful, thank you
I'd love to see how to add zfs to proxmox (easy with GUI) and then mount it so you can back up VM's to the zfs pool. And create a NFS share so you can back up other VM's from Other proxmox machines
Can I ask, what would h the command line if I wanted to create raid0 stripe mode only with two disk? Sudo zpool create "pool_name" raid0 /dev/sdb /dev/sdc........?
Hey, thanks for the tutorial on KVM but the apt install command is missing a package: libvirt-daemon-system. Without it, the libserv service stay's Masked (unmasking it does not help as i think it not installed yet) if you add the previous libvirt-daemon-system it should start as shown in your video.
Hey! Thank you for this great video. I'm about to set up a new home server. So with your video I can get into setting up the disks for storage. But what do I do with the system drive. What would you do if your system drive fails?
Thanks man 😊, I'll make more home server tutorials! I never used audio on a VM so I guess you should take a look at the KVM docu for audio support, hope that helps you man.
Thanks for the video! What confuses me a bit is, when you use raidz with 4x 500GB drives, one is supposed to be used for redundancy, yet when you list the array, the available size in 1.8TB, which is all drives together (it is even more obvious when I try with 3 drives), so is there redundancy or not? As I would expect to see the free space that is equal to (N-1) drives not all of them in this setup.
Why opt for RAID or RAIDZ in a home setup when you don't need the performance boost needed for many many users? My route is MergerFS to pool drives into a single filesystem and simple rsync+cron for backups.
@@christianlempa Haha, fair enough. My main reasons are because it reduces the available space you have, and because rebuilding arrays is more work. I'm just wondering if there's something I'm missing.
Thanks for valuable content! What can you suggest for mac os virtual manager analog? By the way when you create virtual machine how to reach that virtual machine from outside the network?
Thank you! I don't have any experience with mac os virtual manager, unfortunately. I usualy bridge my virtual machines in my physical LAN, otherwise you would need to struggle with NAT.
@@christianlempa Thanks for reply! Great I had the same opinion in mind about bridging virtual machines, thanks! What about cockpit? I read somewhere that this will replace virtual manager because it is more convenient?
I have gottten confused lol. the goal of this is to beacle to USE thevm on my Linux pc FROM otherpcs in my house? that's what I am trying to attempt. or is this only for using a VM in Linux that is installed in wsl? i want to connect from separate nodes
I'm not sure if I understand you correctly :D So this has nothing to do with WSL, it's an installation of Ubuntu directly on the hardware and then set up virtual machines with KVM.
Jesus what a fast response! yeah, I was just confused on how it was working just because I was having issues connecting to it. when I ran echo $DISPLAY i got my gateway and some other IP. 146.166.166.166, however, I was doing this on Kali. lol, probably not the best choice but I wanted to easily route it through the tor network. I have now changed to the ubuntu server distro. considering there is no guy it has been quite simple so far. though I have JUST started to set it up.
I don't have a server, so I do all this stuff on my desktop; OpenZFS and Virtualbox. Besides a nvme-SSD, that I use for my main VMs, I have two old HDDs (1TB and 500GB), I have created 3x 500GB partitions. One datapool has two striped partitions, while one of its datasets has the property copies=2, basically that dataset is mirrored and all other datasets are striped in that datapool. Once ZFS repaired a problem in the mirrored dataset during a scrub :) The HDD datapools are cached (L2ARC) by a 128GB sata-SSD, while my memory cache (L1ARC) is limited between 512MB and 4GB. I have a super desktop with the 2nd slowest Ryzen ever, a Ryzen 3 2200G (4C4T; 3.7Ghz OC) with 16GB DDR4 (3000MHz). I can run 4 Linux VMs or 2 Windows VMs (4x2GB or 2x4GB); 4GB for L1ARC and 4GB for the Host OS. Boot times from the nvme SSD are for Linux ~10 seconds; Xubuntu ~6.5 seconds as the fastest. Windows XP boots in 25 seconds and modern Window 10 or 11 in 40 to 50 seconds.
That was brilliant good information, I have now subscribed to your channel. If you could do some videos on samba, with my Linux operating system, maybe some AD management and LDAP and setting up various services on linux, eg cloud, application server, etc
I have a server machine domain name and public IP i want to build a mail server for my company how can I do on a Linux system I want to maintenance the server by my self I don't want to buy hosting what can I do ? my server running 24h/7 i has all requirement but I don't know how to config it helps me I'm students
I've made several videos on mailserver on Linux, DNS records, etc. that should help you to set this up. You can even host this on your own infrastructure, check out my video about mail server DNS records and make sure your ISP is offering you a static IP address with a PTR. I hope this helps you bro 😀
I love that german accent,it's sounds really good.
haha, thank you man 🤣
ooooo sarcasm on next level
People always get raid 5 wrong.
The parity is NOT saved on only one of the drives. What if that drive crash?
No, the parity is split up between the drives so any of the drives can fail.
Well you're right! Sorry if I got that wrong.
Parity on a single drive would just be RAID4. What if it fails? Same as with RAID5, it will get rebuilt, once replaced, by recomputing from the other disks.
Literally was deciding on homelab designs and plans and you popped up in my recommended. Very informative, thank you!! Instantly subscribed
Thank you 😊
I saw the video thumbnail picture and felt compelled to come here just to say I too have a pair of T410 servers in my homelab setup. So far they have served me well. Best thing I like about them is that they are quiet - only 2 fans for the whole system, a slow 120mm and the PSU's 80mm... I've had these things since 2016 and they have always "served" (crappy pun) me well!!!
Anyhoo, thanks for the videos man (especially the Ansible and Vagrant stuff). Keep it up!!!
Awesome, thank you man! :)
Extra useful video because I've rescued a t410 from recycling recently
Oh cool! :)
Somehow I'd never heard of KVM despite running my own Ubuntu server for several years. Cool stuff!
Thanks 😊
One important thing has been forgotten. It's about RAM. Don't put in normal RAM into server, but instead RAM with ECC. ECC stands for 'Error Correcting Code'. These RAMs with ECC are checking and correcting false digits. This is crucial if you run one or more critical services like a database. As example as simple as possible, the database does read and write processes and you get an error in the RAM, it can corrupt the whole data. Especially in the financial sector it's horror. So, ECC can correct failures in the RAM (obs. not hardware failures ;-)) and be a lifesaver.
Sadly it's kinda hard to find motherboards that support ECC, but it's getting easier the more time goes on! They are even coming out with high-end gaming PC mobos that support ECC
Take a look at my newest home server build, there I talk about ECC memory on consumer hardware ruclips.net/video/nwlircveTHU/видео.html
Take a look at my newest home server build, there I talk about ECC memory on consumer hardware ruclips.net/video/nwlircveTHU/видео.html
This is the video who made me find your channel last year.
Are you thinkin of designing an making a 2020/2023 version of this?
Live tinkering like this.
Thanks for the video. I'd like to watch more about ZFS storage configuration, maybe even for a backup server. It would be great, 'cause everyone needs to backup their data :)
Thanks! This is a really good suggestion, it will take some time unfortunately, but I will do a more detailed video on ZFS!
@@christianlempa sure thing, take your time. I subscribed already, so I won't miss it in a future ;)
That's awesome man, thanks 😊
Just finished building my first Ubuntu server nas with zfs. I did it hte hard way (trawling through the documentation, and then the internet recommends this video to me.
Now writing myself a manual/idiots guide with things I can improve and need to improve wiht my own server setup. Thanks for the informative video. Just wish I had found it sooner.
Awesome job, thanks! Just what I was looking for. You answered most of my questions.
Man, I have been using zfs-on-root for a fair amount of time, and things are awesome, but, sadly I can't do fun stuff like striping or raidz or so (Alas, the life of 1SSD + 1HDD setup) (I still benefit from how zfs deals with storage though, i don't waste space on separate root partition and such, via datasets, and compression helps a lot)
Anyway, your explanation about different types of pools, and how it works, was very helpful, thank you
Great delivery of information - Thank You
Thank you for your great videos :)
I'd love to see how to add zfs to proxmox (easy with GUI) and then mount it so you can back up VM's to the zfs pool.
And create a NFS share so you can back up other VM's from Other proxmox machines
first time watching your Chanel, very good and informative. Thanks
Thank you man 😊
Can I ask, what would h the command line if I wanted to create raid0 stripe mode only with two disk? Sudo zpool create "pool_name" raid0 /dev/sdb /dev/sdc........?
Hey, thanks for the tutorial on KVM but the apt install command is missing a package: libvirt-daemon-system. Without it, the libserv service stay's Masked (unmasking it does not help as i think it not installed yet) if you add the previous libvirt-daemon-system it should start as shown in your video.
Great video. My question is how to setup a homelab without racks just a NAS! Is there an alternative?
Thanks, mate! I'm not sure, are you asking whether you should get a rack or not?
Outstanding video. Thank you!!
Thank you 🥰
Thank you again for your videos! Can you tell me if you have one or planning to do one about SSD bcache on Ubuntu server 22.04?
Thanks for the useful guide. I will try when I can get an additional powerful PC.
Amazing Video! Very Detailed!
Thank you!
Is there a gui you can recommend to create, maintain and monitor zfs?
Hi, I like your background sound track, What is its tittle ?
THX, you saved me a lot of time!👍
Ubuntu Server rocks
+1 :D
Hey! Thank you for this great video. I'm about to set up a new home server. So with your video I can get into setting up the disks for storage. But what do I do with the system drive. What would you do if your system drive fails?
Always back up your server! You still can use ZFS on the boot drive, or use hardware raid, etc.
Great refresher Christian, I really appreciare your knowledge
Thank you for watching! :)
Amazing video, we need more of this,
btw how do i enable audio support for my VMs?
Thanks man 😊, I'll make more home server tutorials! I never used audio on a VM so I guess you should take a look at the KVM docu for audio support, hope that helps you man.
Thanks for the video! What confuses me a bit is, when you use raidz with 4x 500GB drives, one is supposed to be used for redundancy, yet when you list the array, the available size in 1.8TB, which is all drives together (it is even more obvious when I try with 3 drives), so is there redundancy or not? As I would expect to see the free space that is equal to (N-1) drives not all of them in this setup.
ok, got it: "zpool list" shows capacity of all drives, while I needed "zfs list" to see the actual free capacity, which looks as I expected.
Thanks, glad you liked the video and found the solution! :)
Is there no other way to create a server just by commands? Is it necessary to use this Virtual manager software or can it be also done with commands
I will make a video how to manage the virtual machines with a web interface, so stay tuned 😊
@@christianlempa And with commands?
Brilliant stuff
Thanks!
how to make raidz on /boot/efi on the server ?
Why opt for RAID or RAIDZ in a home setup when you don't need the performance boost needed for many many users? My route is MergerFS to pool drives into a single filesystem and simple rsync+cron for backups.
Why not? :D
@@christianlempa Haha, fair enough. My main reasons are because it reduces the available space you have, and because rebuilding arrays is more work. I'm just wondering if there's something I'm missing.
Thanks for this video, is there any cloud SDK that can be installed so these VM's can be managed and controlled through cloud SDK?
Thanks, sorry never tried that.
Are you an Observer?
Thanks for valuable content! What can you suggest for mac os virtual manager analog? By the way when you create virtual machine how to reach that virtual machine from outside the network?
Thank you! I don't have any experience with mac os virtual manager, unfortunately. I usualy bridge my virtual machines in my physical LAN, otherwise you would need to struggle with NAT.
@@christianlempa Thanks for reply! Great I had the same opinion in mind about bridging virtual machines, thanks! What about cockpit? I read somewhere that this will replace virtual manager because it is more convenient?
Great that you ask! I made a video about cockpit because it's awesome for this 😎
@@christianlempa wow thanks! I will definitely take a look on this ;)
I have gottten confused lol. the goal of this is to beacle to USE thevm on my Linux pc FROM otherpcs in my house? that's what I am trying to attempt. or is this only for using a VM in Linux that is installed in wsl? i want to connect from separate nodes
I'm not sure if I understand you correctly :D So this has nothing to do with WSL, it's an installation of Ubuntu directly on the hardware and then set up virtual machines with KVM.
Jesus what a fast response! yeah, I was just confused on how it was working just because I was having issues connecting to it. when I ran echo $DISPLAY i got my gateway and some other IP. 146.166.166.166, however, I was doing this on Kali. lol, probably not the best choice but I wanted to easily route it through the tor network. I have now changed to the ubuntu server distro. considering there is no guy it has been quite simple so far. though I have JUST started to set it up.
I don't have a server, so I do all this stuff on my desktop; OpenZFS and Virtualbox. Besides a nvme-SSD, that I use for my main VMs, I have two old HDDs (1TB and 500GB), I have created 3x 500GB partitions. One datapool has two striped partitions, while one of its datasets has the property copies=2, basically that dataset is mirrored and all other datasets are striped in that datapool. Once ZFS repaired a problem in the mirrored dataset during a scrub :)
The HDD datapools are cached (L2ARC) by a 128GB sata-SSD, while my memory cache (L1ARC) is limited between 512MB and 4GB.
I have a super desktop with the 2nd slowest Ryzen ever, a Ryzen 3 2200G (4C4T; 3.7Ghz OC) with 16GB DDR4 (3000MHz). I can run 4 Linux VMs or 2 Windows VMs (4x2GB or 2x4GB); 4GB for L1ARC and 4GB for the Host OS. Boot times from the nvme SSD are for Linux ~10 seconds; Xubuntu ~6.5 seconds as the fastest. Windows XP boots in 25 seconds and modern Window 10 or 11 in 40 to 50 seconds.
Great job!
Gracias;
i love your videos
Thank you so much 🥰
That was brilliant good information, I have now subscribed to your channel. If you could do some videos on samba, with my Linux operating system, maybe some AD management and LDAP and setting up various services on linux, eg cloud, application server, etc
Thanks mate! 😀
If my server has a hardware Raid controller, can I tell it not to use hardware Raid so ZFS can do the Raid in software?
Check if your RAID controller supports IT mode, or passthrough.
Nice video
Thanks!
great help
Thank you! :)
How does this setup compare to proxmox?
It works, but I moved to Proxmox, as it's easier to manage
Thanks
Thank you so much for your support 🙏
@@christianlempa Well deserved, mate.
Hi there! I actually don't understand why people call it a lab. Is that from people who learned in an academic setting? I hear it often.
Hey man ;) It's a common term in IT when you're preparing test environments for technical research, studying or any other purpose.
@@christianlempa ok, that's kinda what I was thinking! thanks!
Watch Next ➡️ My new Home Lab Server: ruclips.net/video/nwlircveTHU/видео.html
Can I use a laptop as a linux server? 8gb ram dual core A9
Sure you can, but it might not be a good idea 😉
Could you elaborate? Thanks
I wish I saw this before installation ubuntu server with software RAID1 , now I only have ssh terminal and my server is over 500 km away 😢
Oh that is unfortunate, but RAID1 isn't bad though. Just try zfs for your next project 😃
Lol, my home server has been running 24/7 for about 6 years now in a pentium 3 laptop with 500mb of ram. It even has a floppy disc drive.
Wow :D
love your explanation! great! thank you ... but the music is annoying to hear your voice!!!
Lol and I came here thinking I could just hook up some external drives to a raspberry pi and make a little server
I have a server machine domain name and public IP i want to build a mail server for my company how can I do on a Linux system I want to maintenance the server by my self I don't want to buy hosting what can I do ? my server running 24h/7 i has all requirement but I don't know how to config it helps me I'm students
I've made several videos on mailserver on Linux, DNS records, etc. that should help you to set this up. You can even host this on your own infrastructure, check out my video about mail server DNS records and make sure your ISP is offering you a static IP address with a PTR. I hope this helps you bro 😀
@@christianlempa thank you bro I will check your tutorial I want to set up it by my self but I'm have stuck with some steep thank you again
I have no server. I hope i can do this in a VM
Sure you can do most things in a VM, however nested virtualization with KVM can be tricky tough.
Hi sir
2:12 Isnt build to run 24/7
MIners: Bitch please
So, from scratch but no need to guide us through the installation of Ubuntu server itself?
for when you want to install an eeeEEEEvil server....muhahaha MUHahahahaha MUHAHAHAHAHAHAA
bald :D
please wear a hat
lol no :D
Bad video
Loud annoying beat music that overpowers your voice