Getting Started With FreeNAS Corral: Setting up Drives, Shares, VM’s & Docker Containers

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

I am waiting to see if I can bring home a server from work that may be decommissioned soon. I want to play with FreeNAS Corral outside of my live home server, the vm and docker integration sounds awesome.

EDIT: mistype

👍︎︎ 15 👤︎︎ u/TheBobWiley 📅︎︎ Mar 22 2017 🗫︎ replies

God damn it. Just moved off all in one freenas/VMWare to unraid.

Now might have to move it all back, I do miss the safety feeling of ZFS.

👍︎︎ 11 👤︎︎ u/deasmi 📅︎︎ Mar 22 2017 🗫︎ replies

Just a point of clarification. The information about ZFS's Log drive isn't exactly correct. It is a common mistake but really the Log device is actually referred to as a ZIL or ZFS Intent Log.

The purpose of the ZIL is more of a journal for writes only (they have no impact on reads, that's the job of the L2Cache/Cache section in the FreeNAS window). The data for writes is still kept in memory, however without the ZIL the data has to be written to the ZFS data store before it is acked. With a ZIL the acks occur once the ZIL device has committed the write. The information still exists in RAM and is eventually pushed to the datastore from RAM, but the ZIL's purpose is to make sure a write isn't lost (as an example if power is lost then the write in memory is wiped, but the ZIL can replay the write and the data is recovered). Writes still occur from RAM to the data store during normal operation. The ZIL is only used in the event that there is a failure, and the data that was in RAM is lost.

It's a tricky and nuanced concept, so it is easy to think about it in the wrong way.

Having said that... there are some SAN providers that use ZFS as their backend file store, and they are super fast (Tegile).

👍︎︎ 4 👤︎︎ u/expressadmin 📅︎︎ Mar 22 2017 🗫︎ replies

I was deeply confused for a minute. 10-RELEASE is out (and it's called Corral). Hell yeah!

👍︎︎ 2 👤︎︎ u/[deleted] 📅︎︎ Mar 23 2017 🗫︎ replies

I'm itching to build a FreeNAS based system that can outperform my QNAP TS419, in a similar small footprint. Any chassis suggestions?

👍︎︎ 1 👤︎︎ u/alientity 📅︎︎ Mar 23 2017 🗫︎ replies

How solid is Corral right now? I tried to run the FreeNAS 10 beta about two months ago and ran into some issues (mostly polish). Did they get that all squared away?

👍︎︎ 1 👤︎︎ u/Cyrix2k 📅︎︎ Mar 23 2017 🗫︎ replies
Captions
hey what's up folks got another video for you today this time it's FreeNAS specifically FreeNAS ten coral which is the world's most popular storage operating system reom manish reimagined reimagined I think I probably said that right anyways it's the hyper-converged platform of they both have the storage platform FreeNAS which I'm a huge fan of a longtime user we use it here for business production we've had a deployed it client it's built on the bsd and ZFS which is amazing go read about it to learn about it the green ass ten specifically coral is a way better interface for sure it's real pretty or any of that in a second the other ability is a virtualization and docker integration into this using the beehive bsd hypervisor so it's really slick you've got docker images you've got storage and you've got it all in one place so you can build your amazing storage array with redundancy and then on top of that virtual eyes all of your virtual servers on there now it's pretty neat we're going to dig into a little bit here we'll start with how you install it which is really pretty straightforward FreeNAS installer I'm running this in a virtual box for the screen recording part but ie for virtualization reasons and to show you how some of that works I have a hardware machine we'll jump over to after we get this set up and start just runs through some of the base features of it and how to get started with it and start playing install or upgrade it does have an upgrade option where don't care about that we're not upgrading this is a clean install now I put 580 gig hard drives in here and 116 gig per boot because generally speaking when you install freenas you're going to want to stall it on a thumb drive why waste precious hard drive space it really didn't take much to run so I chose a 16 gig but you can set this up with a larger one root password now I do recommend a longer password but not for demo purposes anyways so you set this up and you want to install it on a thumb drive and the advantage of that is you're not wasting any hard drive space and it does have the option to build like a redundant thumb drive on there so for redundancy you can have two thumb drives in there Drescher expensive you can pick up a couple 32gig you can pick up a German the better ones we use the SanDisk I think you have an industrial one and anyways you can find these you can find some higher quality ones you're not talking about that much money that way it boots off of that once everything's booted it runs it pushes it into memory and just saves changes you make to the OS system to the thumb drive it's not constantly reading writing to it so it's not just going to wear out your thumb drive but a lot of people have a concern and then you can focus on all the big drives as you want to put in here to create all the redundancy in trade and we're going to cover that that's why I have five drives in here so I'm going to let this installer run through and fast forward a bit now because it does take a few minutes even on my machine all right it's installed the FreeNAS translation on a da zero succeeded in 850 seconds I liked at times how long it took to install and we're going to do a shutdown so we can well so we can disconnect from the bootable CD and just help the boot right from the ad a zero all right so it's ready to boot and we're just going to let it go ahead and do is at fault boot so I can show you at the council will look like alright now once the system's booted you are in the CLI on the terminal now the CLI is really powerful I'm going to do baby so I'll talk about it a little bit later as we get through some of the command you can administer users you can create the volumes you can manage the VM the docker a lot of different features from it it's really interesting how they did this because this isn't a shell prompt you can get to shell prompt by just typing shell and then you get to a shell prompt this actually lets you control control the functions in the machine itself and that includes setting user passwords and I'm glad they added this into the wiki of the command needed in case you want to reset this when I was doing some testing I tested this and I want to reset to factory defaults then you have to figure out how to reset the password from the command line here which is not as intuitive as I thought but they have is one of the first questions they have answered in the FreeNAS wiki which I'll link to in the description below so we've seen the IP address on there it does tell you that so when you first log in so we go ahead and log into it it's 3.24 alright so FreeNAS is installed we're logged in now we can have some fun so i already went in the head and added myself as an account here red adding accounts is pretty easy go to accounts users and just enter the user name i already did this one for me you can put in SSH keys in there now this will attach to Active Directory for authentication it's got a few other services as well so you can't have this in a Windows domain for the purposes of getting started here we're just going to do a local account and use the local accounts storage now speaking of storage we have to add storage on here now I went ahead and added a handful of disk to this they're all virtual so they're not not real they're all on my virtual drive here so it's not really a raid array a bunch of disks for demonstration purposes I like the way it works here though because you can just have this pool of disks grab them and choose the different types you want capacity redundancy performance so it helps you with some of the planning so I want a media drive where I have very we'll parity a lot of usable virtualization where we've got two separate mirrored sets which will keep it really solid backups same thing lots of parity somewhat usable or just optimal in here now you can manually select these and let's go ahead and delete these out and show you how this works so you can go here just like data data and now it's just extending each of them but if we want them together we can drag the disks right on top and it starts making some assumptions some we'll just go ahead and leave this it select the profile so it doesn't force any so we have enough drives to do a raid z2 or a raid z1 and what's this many drives we can go all the way up to read z3 wouldn't create a lot of parity now some of the other options and I do love this drag-and-drop this this whole interface is just beautiful free dance so we can also leave one of them as a spare and leave this here now what that would do is make it very quick to swap a drive out for one one goes bad you can just push one into the from there push one from the command line in here and I say from the command line unfortunately at this iteration of FreeNAS released here in a March 19th they don't have the ability to swap these around in the GUI so if a drive goes bad you have to go drop down to the command line and use the ZFS commands to replace it actually there's a couple commands I believe you can do it from the council now but that's kind of annoying that you know it's a raid or a system and it doesn't have it yet I know they're working on it I shouldn't you know it's NOPA source product we're not going to push too hard for that but it is a minor thing that I will mention yes if you lose a drive you're going to have to get the command line out to replace one of the drives keeping one in the spare position is really handy but not absolutely necessary because you can even one fails put in a drive on the spare now a couple of other things you may have noticed here we have a cache option and we have a log option in the world of ZFS these options are for building drives out for caching and for delayed write transactions a little bit different cache will store frequently access things on the safe we had solid state drives did show up here but none of these are solid state so you may want to throw one in there for a caching drive so it's as they keep a copy of all the frequently accessed information because the limitation often is on a gigabit network the speed of the drives not the speed of the network so as if these kind of overcome that and give you a lot more speed now if you do the log type drive you actually want to configure these in a mirror and the reason why is if any of these go bad you want to be able to not lose data because what the log does in ZFS is allow you to delay rights so that fills up here and then siphons it off back to the drives up here but when it's doing that if this drive were to have a failure all that data that's not written yet would go away so if you do this be aware of that risk or be aware and have a mirror so you don't worry about it so in SSDs are cheap so if you throw in a 250 gig a couple 250 gig SSDs and in a very large pool over here as long as the data doesn't exceed the 250 gigs it should be able to work that's my understanding as I've read about how the log drives work in here I'm not actually setting them up most of the systems that we've done with them we just set up a large raid array of drives near five six drives depending on the configuration so we'll go ahead and choose this will a raid Z 2 seems reasonable now normally I always encrypt my drives I have found some major issues here with encrypting them in FreeNAS 10 works you can unlock them you can do encrypted key or you can do encrypted password the problems i've run into are if one of the drives goes out it does not want to re-add them it wants you to offline that drive well if the drive fails catastrophic ly that's fine an irate irate but you're unable to offline it there are forums just all over the place in finance where people are having this problem and trying to sort it out it's not clear it looks like there's ways you could just detach all the individual volumes and then reinforce and then use the passwords on market that kind of needs to be addressed I think is the amount of effort I spend some time playing with it and trying some of the solutions by failing a drive and it was just very very difficult for the purpose of the demonstration I'm not going to fail the drive and show you how to replace someone do that in a separate video it's not too hard to do from the command line but once you have an encrypted volume it seems to be really difficult to do so yeah definitely something that I'm really hoping with the next iteration I'm not running the nightly builds I'm running a release version but not being a little trip the drives kind of bothers me because whenever a drive goes bad on our current free ham system I don't worry about it I pulled it out of the pool we go ahead and send it back for you no drives usually have longer warranty I don't want have to worry about the date on there so I pre encrypt them well with this if a drive goes bad it doesn't seem to want to unlock it in any easy fashion even from the command line it's a lot of steps to go through to fix one of the drives if one goes catastrophic ly bad there so before I turn it to my production system I'm going to wait till that that specific issues fixed so one give us a name we'll call it five drive raid real creative name I like capitalization here this is the five drive raid system here we created with the raid Z 2 and we're going to and it save now all the tasks show up on the side over here and you can do other things while the tasks are completing so this is going to run let's jump over the dashboard while that's running we're going to edit the dashboard and let's throw on like the arch demand CPU usage CPU temperatures are not going to be relevant for this because it's a virtual machine loading average memory allocation network traffic now you can add network traffic multiple times that way you can set it up for each individual network card we only have one network card so we're just going to put the one and we noticed over here this finished ended screen so now we can go over to storage five drives raid shows this all good it's green it turns different colors it'll turn yellow and let you know if it's created now we can create different data sets on here for each data set you can create a different snapshots that's all located right in here you can replicate this to appear plenty of options in here so let's talk about share so I already turned on in services sharing SMB so I clicked and just enabled this left everything at default you can rename it call it whatever name you want but SMB of course is server message block and this is the window sharing it does support a few other sharing options NFS WebDAV but for now likes it will just do windows sharing for most people running a home system or if you're integrating type of Active Directory this is generally how you're going to do it so you go over to storage and let's create a share now this used to be a two-step process some of the older version of FreeNAS it's a one step process when you create the share and we're gonna create new SMB share it at the same time creates a data set for it and data set vs directory vs eval so data set is a subset of a volume that allows you to do replication and snapshot on it in its own container so to speak versus just sharing out a directory if we want to use some of the real advanced features of the effects specifically snapshots this is one of the ways you want to do it so we'll call this Thomas share description Tom share now permissions by default it's going to go to route we're going to select the other user all your users will just show up here you can do a user search select if you want to control Advanced Options and change a lot of things like for example allow gaps or hidden files we're not really worried about that were just going to go to the basics here it's save once again we see in our tasks it's going and the share is created and if we go over here i'm in linux so we go smb1 92168 324 it prompted me for my username and password then chose me to share go in here and we can copy and paste files in here or whatever space the movie in real quick just to show that it works copying not super fast but it's also you know running in a virtual machine so I'm not getting probably the full speed I could be getting on this but while that's copying you would look at the dashboard then you'll probably see small spikes on the network traffic CPU usage actually do we add let's set its dashboard we can add disk IO to this and we see there's some rewrite going out on the disk and the file is copied over here so it's pretty straightforward for creating a share on that then we can show you how the snapshots work now you can snapshot an entire volume which would be this or we can snapshot an individual data set so I'm sorry I clicked on shares so we snapshot the entire volume or a data set now what this allows me to do if we create a snapshot and we'll just call this test snap it expires after one week we'll go ahead and say never you can not you can worry if you want it expiring on a certain day what those do is snapshots are eight very much like people used to windows is a snapshot of the system kind of like a system states we're going to hit save and now we've created a snapshot as the system was creation on there so if I add files to leaf files anything I do that share if I revert back to it now the revert here does not revert back to the snapshot this is something else they have not implemented in here yet and it's kind of annoying the only way I know of as of right now March of 2017 since the release of this with the current version you can't rollback a snapshot from the GUI you have to do it from the command line not only from the command line specifically from the shell because there's both the command line and the shell now that being said I did test it it does work fine you have to just force it you can list them with the ZFS tool but kind of what's the point in having a GUI if you can't roll it back but this is one of the things that did kind of annoy me that it's not there because it's there and the other one but good news is you can set up very easily here in the GUI the snapshots themselves so great that we can do it unfortunately it's not as easy to roll them back so let's look at the datasets again here and everything kind of tears out like this I like the way it kind of you can do a drill down for each one of them create something now this is also why we create the dataset with that snapshot see how this is the main drive and this is slash time share has its own snapshot because if we want to see you has a series of shares you want to restore something and you'd only snapshot at the main system it would roll everything back to the previous snapshot versus rolling back just one piece of one data set so if you have a share called QuickBooks another share called other company files and maybe you go oh man something happen I need to roll this snapshot back you'd want to roll only that folder back that chair back versus rolling everything back there are some ways you can look inside of it that I won't get into like there is some granular ways to do restores and tap shots but it's not not super easy generally speaking you just want to roll back to a snapshot at point and you can also using the calendar function which will jump over to allow you to automate that so if we wanted to automate a snapshot and let's say every day at this time and snap make a snap and then we browse for the data set now it starts at the first part of it you're like well where's the other one just double click and we're going to then select it so it automates tom share select enabled how long you want them to go prefix snap allow application every day you can do custom every week every month Tuesdays like this and we're going to hit save and it creates a calendar task for that and then you can see which days of the week we chose not to run them on Fridays and it shows the other statuses that we have in here now side note I will admit this the first time I done this it could tell me there's no event manager available I would kept getting an error and I rebooted it it's working fine I haven't had it happen again so not really sure just want to throw it out there but this is a pretty new release we know there's going to be some issues in here all right not working everything is pretty straight forward on this it's other than being laid out different the same as in previous versions of FreeNAS site much prettier though you can I just said it's a DHCP but you can statically assigned by putting in the IP addresses here and you know unchecking the DHCP part of this and then let you put in your own add an address fill it in it will do ipv4 v6 it's based on FreeBSD which is fully a p v6 compatible stack so you can set all that in here I have not tested with this version doing bonding I don't really have it set up to do that or have the right tools right now let's go through that but for purpose of getting set up you can install one network card pretty easily then you have all your standard overview for systems gives you all the things it's like such as rebooting seven minutes ago preferences where you can save the config restore factory defaults if you restore factory defaults in here it will reset your root password it will also not let you easily do it from the command line in that the most obvious way you have to go through and they now have it in the wiki which it looks like it was recently added how to set the password for root because it's not as easy well it's not as intuitive and like I say it's real easy to do once you know the command but you do have to set it from the command line if you do this I don't know what it sets it to basically you can't log in until you set it you can look at the updates this is the fern ass coral release it looks like there's probably some pending package updates you can then switch just like before to a different version I don't know if it will roll back to the free s10 9.10 but it does offer that option on there and as we have the services we already started the SMB in here and pretty straightforward to search those all the options are very similar to they were the other versions I haven't done any NFS to make sure they work but they sort of all sparked it looks pretty much the same here now this is awesome this is the council system now this allows you to do some of the management right from here for users for volume management and you just type help so let's go to volumes now once you're in the volume that you could string out the whole command volumes and the volume name and whatnot but it's nice but once you go into one of the subset commands then we can do help for just this and we're dealing with these commands now this is not the shell this is specifically the council management tool for FreeNAS 10 which is a great improvement this still has a few more features then the GUI does the web interface but you know they're working to build parity between them but once you get used to using is it's actually really nice because being able do things you know command-line once you're you know if you're a Linux guy like me it's really convenient cuz you get used to doing certain commands so we will go into the five drive raid which you can then show the options for that now you're showing the status of that we type in help we can do things like show disks it shows you each one online this is also where you can detach delete change datasets move off line and snapshot it also has some options upgrades a volume to force a scrub or replace a disk in the pool now this this does allow replacement in here and you would bend the disk you're replacing does it doesn't autocomplete unfortunately but you would put in the disk you're replacing and the disk you want to replace it with so you can do it from here pretty slick not real hard to do to replace the volume in and automatically Shari silvering the drive now you can jump to the shell anytime so we're just going to hit shell and we're going to do ZFS lift let's fill a straight - t snapshots actually shot not as on the end and you will actually be able to list the snapshots and then you could do a ZFS believe the command is yeah ZFS rollback and then the name of the snapshot and you'd be able to roll it back to that snapshot that's the only way to roll back the snapshots at the moment I mean it does work so it's still ZFS it's just not available in the actual web interface at all or even in the CLI interface here so as you can see we can create a snap but we can't actually roll one back so you click show and it will show snapshots that you see if we go to help we can create we can show but there is no rollback from here only from the command line anytime you're in the CLI top brings you back to the top clear clears and help wherever you're s going to bring up a whole list of help here now I've had some weird issues where it got stuck of just simply logging out logging back in not rebooting just log out log in and it seems to fix it when it gets stuck I don't know it'll just get stuck on a command like it doesn't want let me type anymore not really sure why now peering is kind of neat they've made this pretty simple so I have another FreeNAS box set up that was testing with and what this is supposed to do is first it's going to give you a health check of it I see the peer entry works alright stayed online round-trip ping health check every one minute now what does that you do and I have not done a lot of testing with this but Freenet 10 is made a lot easier to do things like replication between free apps devices and you actually can go here go here replications and there's our peer free Ness local source data set target data set compression what this do will let you do is actually replicate an entire volume using ZFS replication across the network to the other device now this is particularly great because now you're not just having a mere set of drives if you build a second raid box maybe without as many redundant tries just for replication purposes and storage so you have to physically different boxes of course pipe this over the internet now you have fully replicated or FreeNAS instance in two places as far as all the different drives and date on they're really cool I like the way they made this a lot easier I'm going to do some testing this is that's another video but the fact that it seems to be this easy to set up really impresses me now we're running in a virtual machine so I can't show you the cool of VN stuff but don't worry I am going to show you the cool TM stuff - they built a regular machine just for that so this is kind of the overview of how to get you started and get going with this then we're going to do a deep dive next into the VMS which is really what's the big fascination with the new 4 amp 10 so this is my physical machine running FreeNAS 10 and it's still another test machine so that said I haven't moved this over to production because of well I don't know if I'm ready for it yet not that not for system rely on so this is the machine we paired with so here's what it shows up on the other side it so use the other device and it peers on both sides so this is the free dance to the other one that's pre Nats one now we have loaded some docker images and these are cool so I'm using the cinnamon one and we'll let's walk you through real quick how this works so we did two things here first is the docker containers and then the docker host I had to create but we're going to start at VMs and show you why that's there so when you want to create one we hit the plus we pick the name we pick the template send test - because I already have this template downloaded so we're going to choose cinnamon linux mint cinnamon 18 send test to datastore now it automatically knows that what I this volume which was set up in charging this one particular is called turbo bike because it's a terabyte hard drive and it's my favorite type oh is calling it a turbo byte which I Google you'll find website that list that on there this is our sin apparently spelled cinnamon on there we go to ends in cinnamon cinnamon test how many cores how many memory let's see we're going to give it two cores but only one gig of ram you can tell this to be an auto starting VM now we're going to click Save and away we go creating cinnamon test - it's only going to take a few minutes well not even because the templates already on here so that quickly we are able to create another one now the reason why I only just jump over to storage real quick here we go two datasets on here you'll see that there's a VM cache file that was created of the cinnamon install it did that the very first time I did it therefore any installs or duplications it's Hanna pulled from the cache file now the first time I did it took a while to download that stub was a few four point six kegs took a little while to download not that long I got a fast connection but that's how the VMS work they once you've downloaded them once it creates a cache copy of it here now starting the VM this is what's really cool so we can see the devices and one of the vices a frame buffer specifically is a VNC frame buffer it also has this option here for your net card whether or not it's in bridge mode the operating system the OS the block device now this is where it gets a little confusing once the device has been created a quater matically creates let's jump back over here to storage data set there is the block device for that so when those block devices or here's the syntax to one actually is clicking on the minty-fresh one the same thing there is the block device for it you can snapshot this you can duplicate this you can replicate this this is actually really nice because you can create snapshots of this and then roll it back so you can create the snapshot of your VM while it's off or even while it's on and I'm not sure what happens when it's on may have some problems but it made sort of Nod I haven't really done that but while the VM is off can create snapshot run some tests on it granted you have to drop back to the command line but then you can just roll please note revert is for only reverting changes it related to the changes you make in the settings here so let's go back over to the VM and we'll look at our sin test2 that we just did and we're going to go ahead and boot it and it boots up relatively fast and we're going to pop open the BG hey council now we can be and see in just like you've seen which is nice but we can also do this yes it tells B and C wrapped right into here or I'm not sure what issues I'm assuming it's using some form of EMC I didn't really look at the documentation behind the scenes but the whole GUI works inside of here which is fascinating now you get a couple different options to saluting so Elizabeth you can go to a serial console a VGA council now we went to a VGA council and it is a little laggy one this computer's not real fast it does let me know it's running completely in software mode so it can't render with hardware so there's a little bit of an interface lag ideally you're not going to run a lot of gooey stuff on here but it's kind of cool that you can please note when doing the GUI the boot style even though it's as Linux is UEFI versus grub the only way I can do the frame buffering is with the UEFI you get you can do this so you can install this on USI on to a drive and it works and we're going to go ahead and power this one back off shutdown and we'll see it running in a second here to go from green to turning off turns off for relatively fast now if you just looked at zero council you can get just Terminal one for example here because we standard up with grub we did two standard Shiro council now if these are both built using the templates not sort of just as easy to destroy so we're going to go ahead and show you this cinnamon test here and we see the TAS kicking off that one's destroyed and will destroy this one too now the cash is still there we can delete it if we want to save some space but it also got rid of the other storage units that were here so the other data sets for those go away with it which is convenient you obviously wanted to delete them they delete they they come out and if we want to create them again and can pull from the cache and redeploy it I've seen some questions related to this is how do I create one a Linux install without it well it's pretty straightforward you can do test Linux no template choose the datastore choose the boot device testing Linux 512 auto start now we have to add some devices to it we're going to add a new disk this was really confusing to me but a little less confusing now so disc 1 we'll give it a 30 gigabyte disk you don't need to choose the target path and that was part of what was confusing to me so we're not going to choose it and we're just going to hit save and save and I'll show you what it did here on the devices it automatically figures out the target path I found out if you put a target path it kept creating problems for me a lot of problems and it just didn't like it it would give me weird errors I don't really know why you should be able to but it doesn't work that well also you can choose a disk or a file as the target path there is some advanced uses for that for example importing maybe you want to choose a special block device or a special file as a block device I had some trouble making some of that work I it seems to be that you have the direct command line it really content work right so not a big deal now please note to once you've created it put it says zero bytes if you try to change that you'll get stuck in a loop of errors I found out it sometimes it works sometimes it doesn't but it doesn't actually change the device will give a unable to shrink volume in the VM won't start and it will just get you stuck even if you try and make the volume bigger I was able to make that error happen a couple times pretty much I think just don't touch it where you see this storage unit is go here go to data set there's the storage unit and you understand how much is being used so once you create the drive created to the size you want I believe there's a command-line way in the Beehive system to make it grow not that advanced in that yet right now this is kind of get you started now obviously you need a boot device here like the network so new NIC device you can choose mat has its own network I'm going to choose bridge because I want it part of my network default interface you can bind it to a specific interface basically with it whatever the default is alright please note as I'm adding these devices if you don't click the save over here they're not really added oh I already found a problem yeah this is a problem run - once you go into that disk one you'll get this can't shrink XIV i'll hit revert save now we go to the devices and I as you notice I didn't even shrink it it just does that so don't go into the tip can sink and touch any settings at all in that disk you can look at it but don't touch it or you'll have to hit revert and then save and then you can add it because you notice how it the devices I added while they went away so nunik device we call this net1 you can specify MAC address if you don't it will make one up for you new CD round device now this is kind of cool because you can browse if you have a ISO of a bun too or anything like that you can browse and point it there I don't have one on the system I don't think maybe well cool I actually have FreeNAS in here that's recursive but might be fun we can install freeing apps inside of a virtual freenas we'll hit save then we'll choose that as the boot device it's FreeBSD 64 I said testing Linux but we have the free nuts boot device in there make sure it's all saved start and there we are the zero council will work and we can install freenas inside of FreeNAS I don't know if that worked or not I think it worked once I don't think you can install it again recursively because the virtualization doesn't support further virtuous and I don't think but that gives you an idea how to get these working now I have tried booting up windows inside of here no luck I've copied the files over I've done followed a couple things I seen people getting it working is now I just beat the crappy hardware because it's an old machine I'm using for testing but I have not got Linux work I've got Linux working in there fine with different tests have insurance let's look at the serial console see if this is actually booting this computer is not super fast so it may be booting is just booting really slow but I don't know if you can really run FreeBSD in or Priene apps inside or FreeNAS without some type of issues so I'm going to go ahead and shut this down but that's how you would do it and load you know whichever version of Linux as you've seen the Linux Mint only took a few minutes boots right up there's a few other versions in here that you can do as of right now a few different templates so we get arch boot to docker smart OS pfsense you can build a virtual firewall inside your FreeNAS which i thought was really cool and choose a couple network cards and away you go now docker runs as a virtual machine but dr. of course as we know if you can google this if you're not aware this supports two different things so VMs are part of a hypervisor which is part of a virtual machine which emulates hardware what docker does it's a container management system and the container management system works a lot different than your hypervisor based systems because they can share certain libraries they're very efficient versus this is each one has its own data store each one has its own subsystem running under the hypervisor so I won't get in a whole discussion about that's a whole nother video Google like a hypervisor versus container there's a lot of people who do some really good write-ups and explaining the differences on there but when you're creating docker the first thing you need to do before you can set up container is create a docker host and the host ones as a virtual machine inside of here then each container runs inside of that particular host or you can add multiple docker host and group them together now the containers green-ass now there's a lot of them pre these are basically prefilled in systems different things you can do different this is a lump stack with nginx - lots of different stuff in here you can spin up on my sequel open project looks kind of cool own cloud is in here I believe next cloud is in here too let's see if it is yep next cloud so there are different instances you can spin up let's just duplex I know it's a popular one I'm not going to go through all of configuring it that would be another video we're going to go ahead and use these here and then this here we're going to set all the path to be I'm not going to bother creating we'll just pretend we created up now I'll set a ball to be my share whoops Tom share select and then these are the variables we're going to go ahead and use bridged DHCP make sure you check that and you have to name the container or you'll get an error message as these errors he rose because I was doing wrong I forgot to name it container so this is our flex server everything looks good everything's checked everything has data in it that is checked that's an important little thing there except for the macula will generate that automatically and we hit save I did it right here we go that quick it creates their Flex now it's got a cache because I've done this before as part of my testing before is here but you can see how quickly it'll load up again so if you need to create more instances of Plex you can create more than one so you have your start/stop restart and the web UI and it worked so there's flex ready to be signed in and start configuring so pretty straightforward of how that works and then it's then running this particular VM is running this container so here's your doctor host it doesn't tell you what's on it there but then we look at Plex server it tells you it's on docker host which is the one I named here now you can create as I said multiple docker host by default to choose this one if you had more than one you can just pull down and choose the different docker host you want it on there so you can create a you know more individualism so really straightforward away these containers work I like it it seems pretty neat not too much configuring on there you have to make sure the permissions are right and things like that so I have to look at what permissions are being created in that share and make sure that this has right permissions for it but it is pretty cool it also for any one of these because it's technically a Linux machine you can look at what's running inside of this particular instance of it and just go right into a share of council now there's not anything actually passwords because docker is handling the user authentication on the front side so as long as the dr. Alice is working you can council into each individual docker container a whole other topic of getting into the doctrine containers it's a great amazing tool it's kind of maybe daunting at first to learn but once you learn it it's it's pretty slick so this was your kind of get through get started with the FreeNAS box and to let you know some of the you know things like the you can't replace a bad drive from the GUI and the other thing is replacing encrypted drives seems way overly complicated which really disappoints because I encrypt on my drive so it kind of has me waiting on here and introduction to the counsel of questions of comments so I'll be doing more videos I'll probably do another video and just how to replace an individual Drive on this but I just want to get started on I love a longtime lover of free NASA as love is you have all this integrated in here I mean play around figure out why I can't get Windows working like I said too because I'm running an older crappy machine we had laying around here just for testing but it runs Linux great and templates work awesome and other than the don't accidentally click on the drive is real important don't do the when you're doing this don't click on the drive when you're doing virtual machines because you're going to have a bad time with them so don't do that other than that everything else is great about it it seems pretty stable I've been running it a couple days since the release and really most all over all the actual hardware machine has had no problems I had a couple problems the VirtualBox instance of it doing the testing but maybe just as I was playing with and deleting all the things instead of actually just using I was just you know deleting drives rebooting it restarting drives but if you like the cats in here like you described if you like free dance videos message mean I'll keep making more of them I'm going to keep playing a free nap I'm not quite ready until that encryption thing is sorted out in my head better maybe either better understanding for me how to do it from the command line or updated interface I'm not going to run as my production system but I will do some more videos on it because I'm going to you know move to this as a production system as a product matures but hats off to them I mean this was a huge rewrite of the FreeNAS system great work on the team I mean these guys did a great job of it and it's it's good to see all the more stuff that's coming alright once again thanks thanks for watching appreciate it
Info
Channel: Lawrence Systems
Views: 90,859
Rating: undefined out of 5
Keywords: freenas, corral, 10.0, upgrade, how to, tutorial, introduction, overview, upgrade volume, log in, issue, problem, new version, guide, nas, zfs, freebsd, storage, network attached storage, freenas (software), ixsystems, open source, freenas 10
Id: GlLzogmmnVY
Channel Id: undefined
Length: 44min 35sec (2675 seconds)
Published: Sun Mar 19 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.