ZFS for Newbies

  Рет қаралды 78,807

EuroBSDCon

EuroBSDCon

Күн бұрын

Пікірлер: 87
@FunctionGermany
@FunctionGermany 8 ай бұрын
when i was new to ZFS, i didn't understand the difference between pools and vdevs too. vdevs is where you implement redundancy, either through mirroring or parity (raidz). multiple vdevs is how you expand the usable storage of a pool (until raidz expansion ships). if any vdev fails, all of your data from the pool is inaccessible. besides expansion there is a second reason for why you might want to create a pool from multiple vdevs instead of a single large one: raidz resilvering (i.e. after replacing a faulty drive) is extremely straining on all drives of the faulted drive's vdev. if you put 20 drives into a single vdev for a pool, resilvering will add wear to 20 drives. if you instead do 2 vdevs with 10 drives each, a resilvering will only add wear to 10 drives etc. so vdev arrangements are also relevant for wear and risk management.
@bingolio
@bingolio 5 ай бұрын
Thank you for the best practical explanation of ZFS, even 4 yrs later!
@Dutchlincoln
@Dutchlincoln 3 жыл бұрын
As a die-hard windows user, even i understood 80% off it... :) Just bought me a Qnap NAS (one with zfs, as my son advised) but there were some parts not clear that are explained now. Thank you. (pitty a raid set cannot be expanded, only second dev added... costing one extra disk...) Great explanation, thank you.
@just1689
@just1689 2 жыл бұрын
I think they have expansion now?
@hadeseye2297
@hadeseye2297 9 ай бұрын
"die-hard windows user" Should be: die-hard spyware user
@Austin-xx2nu
@Austin-xx2nu 2 ай бұрын
Single drive expansion was just added very recently.
@bertnijhof5413
@bertnijhof5413 4 жыл бұрын
Nice video and to support your claim at 24:57. If have a ZFS system running at 1.25 GB of DDR (400 MHz). It runs FreeBSD 12.1 on a Pentium 4 HT (3.0 GHz) in a Compaq Evo Tower with Windows 2000/98 stickers. The motherboard is from a 2003 HP D530 SFF system. All leftovers, I only paid DOP 250 ($5) for that old tower and DOP 800 ($16) for a new 500 Watt iTech power supply. The power-supply has no video card connector, 2 SATA connectors and 2 Molex connectors. The PC has the following HDDs (1.2 TB): - 3.5" IDE 250 + 320 GB - 2.5" SATA 2 x 320 GB on a SATA-1 connector :) - The PC has two cables Power and Ethernet. FreeBSD is running xfce, xrdp and conky too. It is in use for
@bertnijhof5413
@bertnijhof5413 2 жыл бұрын
@@CJ-ff7rr Why not! It was cheap and it is in use now for 2.5 years.
@georgH
@georgH 2 жыл бұрын
I also have such server on another room, just works 1h per week like yours. I am using: - znapzend to automate snapshots (creation and deletion of old ones) and baking up to the other server - Wake on Lan to turn on the backup server - mirror on the backup server, just for good measure (I want the backups to be reliable) - Have been running it for 3 years, 2 years unattended (was living abroad) and... worked without issues! - mbuffer is used with zfs send - In case of power failure at home, the backup server is set up at the BIOS to always start. Then, Linux sets up the WOL and shuts it down after 15 minutes of inactivity :)
@quistian
@quistian 4 жыл бұрын
Thanks Dan for this informative video. I use it when I am training new IT people who are using FreeNAS.
@JohnNada-b9s
@JohnNada-b9s Жыл бұрын
11:15 they've been working on that for as long as I remember and it's still not there. The inability to reshape pools is a serious hindrance and the reason I won't recommend ZFS to anybody for as long as it remains so. Having to move all the data out, destroy a pool, recreate it and move the data back is dangerous, expensive, time consuming and as fun as a root canal.
@Our_Sole_Pusch
@Our_Sole_Pusch 3 жыл бұрын
Man, I'm glad this was for newbies. I'd be completely lost by now if it wasn't.
@DanLangille
@DanLangille 3 жыл бұрын
Was it good for you?
@MaulwurfMedia
@MaulwurfMedia 4 жыл бұрын
this is a great video, thanks for making it. I would love to see a "indepth" video for newbies like me who want to dive deep into it :)
@samramdebest
@samramdebest 9 ай бұрын
25:20 can someone explain what he's saying here? it doesn't make much sense to me. To me it sounds like he says, only put your os on zfs and your actual data on other non zfs filesystems. But this is a zfs talk so that doesn't make much sense. Then I looked up UFS and found unix file system, so he's saying to put like a virtual filesystem on top of zfs and boot from that? and what is the HBA he's refering to? also booting from motherboard?????
@KaliszAd
@KaliszAd 7 ай бұрын
Host Bus Adapter is usually a card or a special part of a server mainboard that gives you more ports like SATA/ SAS or even NVMe these days. There are also port replicators and backplanes usually for SATA/ SAS drives. Because a single SAS connection has so much throughput capacity, you can split that up with a bit of help from the port replicator and e.g. attach 12 disks to a card, that could directly only support 2x4 ports. This setup is quite common on 2U server chassis. Similarly, there are up to 90 disk Just a Bunch Of Disks enclosures that you can also attach using just a few connections. UFS is a legacy filesystem that you would historically use instead of ZFS. Today, you can use ZFS also for the boot drives, no need to have any UFS.
@FrankZambaras
@FrankZambaras 4 жыл бұрын
This guy is the Matt Dillahunty of file systems. 😀
@DanLangille
@DanLangille 3 жыл бұрын
Because we both have shaved heads and a beard?
@FrankZambaras
@FrankZambaras 3 жыл бұрын
@@DanLangille Sort of. But it's more than that. I see a striking similarity. Anyway, no disrespect intended to either of you fine gents. Much thanks for the excellent content. You helped me get my ZFS Pools spun up.
@OfflineSetup
@OfflineSetup 2 жыл бұрын
@@FrankZambaras I was thinking the EXACT SAME THING , not because of the appearance, but because of the vocal tone, and (more importantly) the "forthright" dismissive attitude. I don't say that as a negative.
@anirangoncalvesbr
@anirangoncalvesbr Жыл бұрын
I was thinking the same. I'm just about to start a ZFS pool and I ALSO happen to watch a lot of Mr Dillahunty videos lately 😊
@FrankZambaras
@FrankZambaras Жыл бұрын
@@anirangoncalvesbr Glad it's not just me!
@GizmoFromPizmo
@GizmoFromPizmo 3 жыл бұрын
Note to the watcher of this video: when you hear the word "fall-system", understand that the presenter means to say, "filesystem". Fall-system doesn't have anything to do with a system of falling.
@rogernevez5187
@rogernevez5187 5 жыл бұрын
18:17 Imagine if it wasn't for newbies ....
@kenwood7195
@kenwood7195 4 жыл бұрын
Yes, it's looking like a specialist field.
@RedFenceAnime
@RedFenceAnime 4 жыл бұрын
Maybe I misunderstood but it looks like he's mounting a drive (or zpool) in a folder on another drive. Like how you can have a drive for "/" (root) and another drive for "/home/" which is mounted in root. A bit like how Windows users put their documents on D drive so if windows crashes and takes out the C drive it doesn't take their files with it.
@DanLangille
@DanLangille 3 жыл бұрын
@@RedFenceAnime Yes, that's right.
@MaxUgly
@MaxUgly 4 жыл бұрын
This guy is the Ben Stein of file systems.
@DanLangille
@DanLangille 3 жыл бұрын
My dry humour?
@MaxUgly
@MaxUgly 3 жыл бұрын
@@DanLangille yes it is my favorite type of humor! Dry eyes on the other hand are terrible. You both are awesome people.
@Guilherme-qk9so
@Guilherme-qk9so 9 ай бұрын
this was awesome, thanks for sharing!
@glasshalfempty1984
@glasshalfempty1984 4 ай бұрын
It's funny that you call this ZFS for newbies...I still picked up a lot, but I'm going to need a lot more videos.
@shibikumar5473
@shibikumar5473 4 жыл бұрын
Great video.... Perfectly designed for a newbie.
@nicolasborn3788
@nicolasborn3788 7 күн бұрын
16:54 three or more drives for raidz
@JimGriffOne
@JimGriffOne 2 жыл бұрын
Can Windows 10 run on ZFS instead of NTFS? If so, I'd like to use it to make a big backup drive with 4x 14TB hard drives.
@alexanderkrow3566
@alexanderkrow3566 2 жыл бұрын
No, it can't. Microsoft refuses to support any other filesystems than NTFS and the FATs.
@lithiumflower31337
@lithiumflower31337 Жыл бұрын
Your best bet would be to use another computer and access the disks over your LAN. Either using BSD and zfs yourself or something more turn-key like TrueNAS or some other off the shelf NAS solution.
@petrusion2827
@petrusion2827 3 ай бұрын
I know this comment is 2 years old but.. for Windows you could look into REFS, it seems to me it is (or at least it is meant to be) Microsoft's alternative to ZFS.
@judclark7376
@judclark7376 5 жыл бұрын
I love those purple chairs
@goldibollocks
@goldibollocks Жыл бұрын
One thing I still don’t get about snapshots: They are immutable but when you delete a file in the live dataset that was present at the time the snapshot was taken, the snapshot retroactively gets bigger. Isn’t that being mutable? And how does another host, where you transferred that snapshot, get the info that the snapshot is now bigger?
@lithiumflower31337
@lithiumflower31337 Жыл бұрын
I think you have snapshots a bit backwards. They aren't 'archives' of information that gets bigger when something is deleted. When a snapshot is created meta data of what blocks are required to restore that state is tagged on each block, defending it from modification. If no modification occurs, no new space is required, that same block can be read from when using the live datatset. When the live datatset needs to modify something (whether that's adding to or deletion of a file) that area of space is left as-is and a copy is made to a new block and modified there. This is referred to as Copy-On-Write or COW. If that other host is keeping a full copy of the system then only the difference between it and the last snapshot would be sent. If it doesn't know anything about the system, then all the blocks needed to recreate that snapshots' state would be sent over to it when you do the transfer (which would take longer). Any further modifications on the 'live' system are, well, live. They haven't been backed up/snapshotted so nothing about what happens afterward is relevant. You should think of it more like layers in photoshop, when you snapshot you make that layer read only and start doing new work on a new layer until you want to save that state again. Anything that didn't change is transparent and you see the original below (or any modifications made on layers between that one and the original). Deleting a layer/snapshot would be more like flattening one layer onto another, everything that's the same won't change but the newest info/higher layer will overwrite the stuff below it. So sending that to a remote host would be like flattening that layer down to the bottom and sending the image as it looks like from that layer.
@FunctionGermany
@FunctionGermany 8 ай бұрын
snapshots and live dataset are layers. a file and it's changes are attributed to the lowest layer (if you imagine oldest snapshot at the top, then newer snapshots, and live at bottom). lets say you have 10 files, 1MB each in live, no snapshots. live uses 10MB. now you make a snapshot, it takes 0MB because live has all the data and the usage. now you delete 1MB from live. it now uses 9MB and the snapshot is the only thing holding the "deleted" 1MB, so that's it's usage, and the snapshot didn't get modified in terms of what data it references. this is the same reason a new snapshot starts off as 0MB large. it's size is equal to the amount of data that differentiates it from the lower levels that tend to still reference most of the data. when you now remove all files from live, the snapshot is 10MB big.
@om_mani_padme_hum
@om_mani_padme_hum Жыл бұрын
thank you
@dhakshinamoorthy.b
@dhakshinamoorthy.b 3 жыл бұрын
Hi Dan, Hope you're doing well..! I'm planning to use a commodity server with Ubuntu OS + Block Storage. Server will have 2x local disks for OS+Boot and also, it will have 4x NVMe drives. Storage will have 40x 18TB NLSAS disks which can provide 500 TiB of storage capacity post DRAID6. Planning to deploy "OpenZFS" and export 500TiB as NFS share for storing large size images. In server, 4x NVMe will be used for both L2ARC (2x NVMe) and remaining 2x NVMe can be used for ZFS's ZIL/SLOG Backend storage volume mapped to the same server and part of zpool We will apply large block "recordsize" 16MiB since we need to store image files larger in size ~100GiB, ~150GiB etc., I just need your inputs, can we create a "zpool" with backend storage volumes/LUN that is already RAID protected by backend storage array?
@vladx71
@vladx71 4 жыл бұрын
this great! Thanks
@JasondeCordoba
@JasondeCordoba 4 жыл бұрын
this reminds me why I miss techsnap
@DanLangille
@DanLangille 3 жыл бұрын
I enjoyed TechSNAP, but I gave it up because of the workload it involved. I wanted more time for other ventures.
@JivanPal
@JivanPal 3 жыл бұрын
I knew the voice was familiar!
@kanikabhatia4171
@kanikabhatia4171 3 жыл бұрын
What was the answer to recover from read only snapshot?
@Drewcey
@Drewcey 3 жыл бұрын
The stored snapshot can never be changed, but when you do a send/receive of the snapshot to the new location, it becomes read/writable on the receiving system. The original snapshot still exists in the backup location, so you're essentially just sending a read/write clone of the data.
@galen__
@galen__ 3 жыл бұрын
30:40 - I think of zpools as “The Pools of data”, or “Zee Pools of data”, whereas I think of the Z in ZFS as first, the Zetta unit of measure (Zetta = Zed), and second as “The File System with The Pools of data”, or ZeeFS. I guess ZeeFS refers to ZedFS, so both can exist and work 😁
@ericjbowman1708
@ericjbowman1708 5 ай бұрын
"Math is hard, but they're working on changing that." I love quoting folks out of context lol
@MrAtomUniverse
@MrAtomUniverse 3 жыл бұрын
Wait , you mean if i have ZFS enabled, and my NON ECC ram screws up, it wont screw my data? The worse that can happen is maybe the computer crashes and needs restarting? Is that what you're saying mate?
@JivanPal
@JivanPal 3 жыл бұрын
Yes. The checksumming ensures that only intact data is used. If any file metadata/data you try to access is malformed, ZFS will log this and attempt to access an older instance of that data from a previous transaction. However, other disaster scenarios can occur that don't involve RAM failure, such as failure on the interface to the drive which results in blocks of data being randomly clobbered. In that case, it is completely possible that existing, past transactions are corrupted, in addition to the latest transactions.
@georgH
@georgH 2 жыл бұрын
Actually, what he says is "ZFS without ECC is better than no ZFS". If your system has wrong data in memory, and wrong data is written to disk, that wrong data gets checksummed as usual, ZFS can not now whether your data coming from memory is good or not. Upon retrieval, ZFS will check the checksum and it will be fine, you will get exactly the same you put in earlier, which was already wrong.
@grzegorzk1177
@grzegorzk1177 4 ай бұрын
Fine for me but... why do you present the diabolic picture. Do You think is not enough devils acts on its self on the earth?
@ft6755
@ft6755 4 жыл бұрын
BSD convention and he's using a Mac?
@blckhwk8024
@blckhwk8024 4 жыл бұрын
MacOS came from BSD if 'm not mistaken, so it's not that bad :). Also FreeBSD is not so good for desktop.
@TCHICKIBRAXD
@TCHICKIBRAXD 4 жыл бұрын
Wait, what?? GhostBSD is awesome for desktop
@theantipope4354
@theantipope4354 4 жыл бұрын
The recent versions of IOS are BSD.
@DanLangille
@DanLangille 3 жыл бұрын
Use whatever tools you like. I use both open source and closed source tools. I have run FreeBSD on my laptop, I've used Windows. Right now, I'm using OSX.
@ps5hasnogames55
@ps5hasnogames55 2 жыл бұрын
Yeah you notice that a lot with FreeBSD developers. They love FreeBSD so much, they use Macs instead. FreeBSD is developed in and for virtual machines only.
@llortaton2834
@llortaton2834 4 жыл бұрын
ya boring, and thats after watching 5 vidsabout zfs, the content that you teach is good
@LincolnSharon-l7c
@LincolnSharon-l7c 2 ай бұрын
Smitham Glen
@MuminovicGoran
@MuminovicGoran 4 жыл бұрын
zed :)
@darren537
@darren537 2 жыл бұрын
Pretty sure I have a severe learning disability at this point
@ricsip
@ricsip 2 жыл бұрын
the presenter MAY be a guru of what he is doing in his daily job, but for sure gave a terrible difficult to follow presentation. References to things the audience may not able to follow is a terrible choice for presentation that was clearly for beginners. This presentation didnt have a clear starting point and a clear ending point. It was jumping from one random topic to a different non-related topic in the next minute. Arrogancy part when he was asked about questions he didnt want to answer is also a big minus on his personality level.
@ErikS-
@ErikS- 7 ай бұрын
He is probably a very knowledgable guy, but presenting and answering questions is a mess.
@FreemanEleanore-b1v
@FreemanEleanore-b1v 2 ай бұрын
Thompson Sharon Miller Angela Johnson Jose
@TylerDeBoy
@TylerDeBoy 4 жыл бұрын
Coronavirus present in that class. Every minute someone coughs
@HiltonT69
@HiltonT69 4 жыл бұрын
Oct 2019 - SARS-CoV-2 wasn't around then...
@DanLangille
@DanLangille 3 жыл бұрын
This was recorded well before COVID-19 became a thing.
@WarnerVincent-g2c
@WarnerVincent-g2c Ай бұрын
Robinson Robert Perez Steven Thomas Paul
@MrArmas555
@MrArmas555 4 жыл бұрын
++
@ReneeBryant-o1e
@ReneeBryant-o1e 2 ай бұрын
Hall Scott Johnson Nancy Clark George
@FoxMeredith-b4y
@FoxMeredith-b4y 2 ай бұрын
Garcia Angela Garcia Daniel Jackson Michael
@DaisyHayes-n2k
@DaisyHayes-n2k 3 ай бұрын
Moore Dorothy Hernandez Jason Martinez Lisa
@SusiePerez-d7o
@SusiePerez-d7o 3 ай бұрын
Jones Matthew Wilson Timothy Miller Shirley
@KarenLee-s6x
@KarenLee-s6x 2 ай бұрын
Robinson Larry Thomas Jeffrey Garcia James
@LeonardRiley-y6z
@LeonardRiley-y6z 3 ай бұрын
Moore Kevin Jackson Jennifer White Deborah
@AlyssaReynolds-u7i
@AlyssaReynolds-u7i 3 ай бұрын
Johnson Brian Walker Angela Martinez Lisa
@LindsayIna-r2t
@LindsayIna-r2t 3 ай бұрын
Allen Ronald Hall Donald Robinson Sandra
@catherinecarroll6462
@catherinecarroll6462 2 ай бұрын
Walker Edward Anderson Mary Brown Donna
@NoyesBruce-k4n
@NoyesBruce-k4n 3 ай бұрын
Harris Maria Moore John Young Jose
@DoraSpring-m9o
@DoraSpring-m9o 2 ай бұрын
Thomas Steven Hernandez Margaret Lee Laura
@KiplingGeorgia-e6p
@KiplingGeorgia-e6p 2 ай бұрын
Gonzalez Melissa Walker Dorothy Thompson Matthew
"The ZFS filesystem" - Philip Paeps (LCA 2020)
43:50
linux.conf.au
Рет қаралды 49 М.
What Is ZFS?: A Brief Primer
31:50
Level1Linux
Рет қаралды 207 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 53 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 643 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
NUMA Optimizations in the FreeBSD Network Stack
40:30
EuroBSDCon
Рет қаралды 10 М.
AT&T Archives: The UNIX Operating System
27:27
AT&T Tech Channel
Рет қаралды 2 МЛН
ZFS 101: Leveraging Datasets and Zvols for Better Data Management
14:17
Lawrence Systems
Рет қаралды 36 М.
Choosing The BEST Drive Layout For Your NAS
21:42
Hardware Haven
Рет қаралды 179 М.
Why The ZFS Copy On Write File System Is Better Than A Journaling One
10:51
I switched to Linux 30 days ago... How did it go?
28:46
Craft Computing
Рет қаралды 287 М.
The future of OpenZFS and FreeBSD
41:47
EuroBSDCon
Рет қаралды 12 М.
"OpenZFS and Linux" - Nikolai Lusan (LCA 2020)
30:08
linux.conf.au
Рет қаралды 9 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 53 МЛН