ZFS Deduplication in TrueNAS

  Рет қаралды 83,565

Craft Computing

Craft Computing

Күн бұрын

Пікірлер: 243
@TrueNAS
@TrueNAS 3 жыл бұрын
Best dedupe video on the net...
@FlaxTheSeedOne
@FlaxTheSeedOne 3 жыл бұрын
Maybe you have the answer: What happenes if the dedupe information gets lost? If the dedupe devices fail for example? Can the information be restored from the actual data? Or am I going to lose file information?
@sku2007
@sku2007 3 жыл бұрын
@@FlaxTheSeedOne it is a vdev. so like all vdevs, if it gets lost, the pool is lost.
@roberant7
@roberant7 3 жыл бұрын
LMFAO!!!
@TheBinklemNetwork
@TheBinklemNetwork 2 жыл бұрын
@@FlaxTheSeedOne thanks for asking, I didn't know either @sku2007 Thanks for answering!
@bfth121
@bfth121 Жыл бұрын
Best thumbnail on the net lmao
@TechHut
@TechHut 3 жыл бұрын
That intro segment was amazing
@tormaid42
@tormaid42 3 жыл бұрын
One of the better thumbnails I’ve ever seen
@mike__durrett
@mike__durrett 3 жыл бұрын
10/10 thumbnail. The Jeff-verse is real and no one can tell me otherwise.
@5Breaker
@5Breaker 3 жыл бұрын
Now there's two of them!
@binarymatrixlol8197
@binarymatrixlol8197 3 жыл бұрын
@@5Breaker but one is just a vector pointing to the real one
@5Breaker
@5Breaker 3 жыл бұрын
@@binarymatrixlol8197 No the real one is behind the camera.
@RubyRoks
@RubyRoks 3 жыл бұрын
That might be the best intro to a tech video i've ever seen
@jamess1787
@jamess1787 3 жыл бұрын
And he didn't skip a beat. (Or beat his meat) 🤜🍖
@DigitEgal
@DigitEgal 3 жыл бұрын
i would like to give a like but i cannot change that 101
@ragtop63
@ragtop63 Жыл бұрын
Interesting. If I understood this correctly, if you have a 1 TB zvol and you fill it up with 900 GB of stuff, some dupiclates, the OS will still report that 900 GB is used? So if, in the case of an iSCSI scenario, the dedup'd data is still being reported to the OS as used space, there is no benefit of "space savings" for that specific scenario since the OS will not let you write more data to the drive if it's reporting itself as full. Even though, physically, it is not full.
@acenio654
@acenio654 9 ай бұрын
Yeah this confused me a bit as well. If both OSes report the drive as logically full what would the benefit actually be?
@Jamesaepp
@Jamesaepp 2 жыл бұрын
I played around with the dedup role in Windows server recently which is not at all like ZFS (no experience myself with ZFS dedup). Some things I thought important to point out: * Dedup is often a one-way route. If you have a 1TB disk storing 2TB of logical data - you aren't disabling it lest you kill your pool. If you start with a pool with dedup enabled and are troubleshooting a problem months or years later and go "huh, maybe the problem is dedup related?" you aren't necessarily going to be able to test that theory. * It is harder to free up disk space with dedup. Say you have dedup enabled and are running out of free space. Well, due to the fact that dedup is trying its hardest to minimize storage consumption, you are not necessarily able to free up space as easily as before. You might find a folder with 100GB of ""data"" on it that you don't need or have archived elsewhere. You could delete it but not see your vacancy on your pool budge. Probably because that data is used somewhere else. * This is more of a Windows thing - but you are **technically** introducing risk into your data storage. Yes, you are storing less copies of your data by the fact that you are deduping. Make sure your pool is configured with the redundancy you require. Make sure your backups are working too. Windows combats this by setting up a popularity area (there's a technical term that escapes me) where any 32KB chunk that is referenced a certain number of times (I think 50 or 100 by default) gets stored in the popularity area with parity. Not sure if ZFS does something similar, but at the end of the day - redundancy and backups.
@BioToxin
@BioToxin 2 жыл бұрын
14:50 so I watched this a while back, thought it was a nifty idea, thought I'd give it a try recently, got this far only to realize "in a month or so" apparently didn't happen? where's the automated updates, lancache, CoW snapshots, isci replication tasks, pxe/pcoip thin client booting, etc? did you ever get this going?
@jafizzle95
@jafizzle95 3 жыл бұрын
I watch a lot of 'techtuber' channels, and this might be the only one that nails clever comedy.
@jjdawg9918
@jjdawg9918 3 жыл бұрын
You have done your job well and convinced me that I have absolutely no need for dedup and the memory, CPU, and ssd costs that go with it. Thanks!
@praecorloth
@praecorloth 3 жыл бұрын
ZFS being a memory hog is also an old admin's tale. First, 8GB of memory isn't a lot of memory. Your browser is likely using 8GB of memory right now. Second, ZFS will use as much memory as is available. Like literally any other file system you're going to use. EXT4, NTFS, etc., will all use memory, AND AS WELL THEY FSCKING SHOULD. People freak out about ZFS and memory. It's a file system designed for a specific purpose. If you were spinning up a Windows file server, because I dunno, maybe you've given up on life or something, you would want as much of the memory on that system dedicated to serving up files as possible.
@eDoc2020
@eDoc2020 3 жыл бұрын
IMO 8GB is a lot of memory, even though plenty of people have that available. To get that much RAM you need a relatively beefy "real" computer while only needing 256MB would mean you could run on a cheap and low power "embedded" system. While this difference is minor in a large system with numerous drives it can make a huge difference in a smaller setup. The issue is it's hard to know how much RAM ZFS _actually_ needs. What happens if you use less than the recommended amount? If the penalty is a few 10s of milliseconds that's perfectly acceptable for many applications. If it means it takes 5 seconds to get a directory listing then it's a different story.
@praecorloth
@praecorloth 3 жыл бұрын
@@eDoc2020 I mean yeah, what do you want? Do you want an embedded system, with a standard file system and 5 second directory listing times, or do you want a file server? Also, the memory requirements for ZFS are far from confusing, and the results for breaking those requirements is not nearly as bad as people FUD over. If you don't have enough memory for ZFS, what it means is that you're going to disk for data more often than not. You're going to do that with an embedded system with next to no memory, you're going to do that with a traditional file system with crappy FIFO caching. 8GB of memory. Doesn't even need to be a bleeding edge system. DDR4 too expensive? Build a DDR3 system. Don't want ZFS eating up all of the memory in a dual-purpose system like Proxmox? Set the ZFS ARC to something reasonable. For my own workloads, I assign 10GB for ARC, and I only have 32GB of RAM in my Proxmox system. I do that for larger setups to, like 64GB, and 128GB of memory. A quick 10GB of ARC, and your VMs are off to the races.
@Mr.Leeroy
@Mr.Leeroy 2 жыл бұрын
That's because 99% of ZFS users never tweak their datasets and as well as FreeNAS devs are not being fans of tiered storage. Having ZFS defaults not only means consume all free RAM, but cache ALL as well. Just learn how to "zfs set primarycache=metadata" for root dataset and cache=all only where it is really required, like MySQL DB dataset, or jail/VM config datastore, or similar and not your whole damn Plex library. My system takes ~5GB of RAM for services and the rest 12GB is for ZFS cache. That is for 21.8TB raw disks, 17.7TB usable storage. And guess what, there is like no difference at all in performance between full 12GB cache and 1GB cache after a reboot. The only really required memory is for services and this is usually under 8GB as per minimal requirements from devs.
@jamztiberius68
@jamztiberius68 2 жыл бұрын
Your videos on everything about truenas are awesome. I've entirely configured my entire home server based almost all from your videos.
@gordslater
@gordslater 3 жыл бұрын
Swollen storage is the main reason I need Manscaped
@LubomirGeorgiev
@LubomirGeorgiev 3 жыл бұрын
Would love to see a long term report of this project. I have only seen complaints when ZFS dedup is mentioned.
@Jademalo
@Jademalo Жыл бұрын
If both TrueNAS and Windows report the full amount of data on the disk, how does this exactly save space? If I have a 6tb volume with 3tb of the same data twice, wouldn't everything report as full even though I theoretically have 3tb free space? How would I use and access that free space?
@rett.isawesome
@rett.isawesome 3 жыл бұрын
I told you about my cousin from Trinidad in confidence.
@MrJohnnnZ
@MrJohnnnZ 3 жыл бұрын
ZFS got my girlfriend pregant
@gordslater
@gordslater 3 жыл бұрын
you better pray that dedup works or it's gonna be sextuplets
@JoaoSilva-jr9ez
@JoaoSilva-jr9ez 3 жыл бұрын
@@gordslater If dedup works maybe the baby is born with only one eye, ear, hand, and so on... That might not be ideal.
@edwardallenthree
@edwardallenthree 3 жыл бұрын
I want to make a reiserfs joke but it is in really poor taste.
@5Breaker
@5Breaker 3 жыл бұрын
@@JoaoSilva-jr9ez But since they are mirrored and not, e.g. two left foots, it still should be fine. LOL
@AshtonSnapp
@AshtonSnapp 3 жыл бұрын
*prrrregante*
@ewenchan1239
@ewenchan1239 3 жыл бұрын
What would be the performance if you DIDN'T use SSDs for the dedup tables? The other test would be if your system is starved for RAM AND the vdev is 90% full AND the dedup table resides on the spinning rust. THAT would be an interesting test/result to compare against.
@shanghaiultra
@shanghaiultra 3 жыл бұрын
The most entertaining and amusing sponsored content section yet seen on KZbin - bar none.
@camerontgore
@camerontgore 3 жыл бұрын
This is a very ball heavy episode... 🤣
@M1America
@M1America 3 жыл бұрын
I use this on the stripe of mirrors SATA SSD zfs that I use to have my steam library on. Works great. Note that you can turn it off and the blocks that are already deduped will stay as such and it would stop gobbling up all your ram and cpu. dedup and filesystem compression actually make something like this faster because the bottleneck is reading from disk. If you are on a few mechanical disks, its possible that gzip is faster than lz4 because of the extra compression ratio. You can also have an unencrypted dataset on an encrypted one with zfs. Excelent for maintaining an unencrypted steam library with an encrypted home folder for instance.
@051egan
@051egan 2 жыл бұрын
I set up a pool with deduplication, and added 2 iSCSI drives to this pool according to the other video. I added each drive to a different Windows machine, and copied my Steam Library onto both (same files on each drive). But when I check "zpool list" in the shell, my deduplication factor is only 1.05x.. Shouldn't it be closer to +/- 2.00x?
@AgentDonnutte
@AgentDonnutte Жыл бұрын
same with me
@Boltran
@Boltran Жыл бұрын
Maybe the reson not too many people know this is that the dedup vdev is a farly new feature. I might be mistaken, but it may only be available on Linux, and therefore not available on TrueNAS CORE. I am not sure, though. Anyone knows the answer?
@mimimmimmimim
@mimimmimmimim Жыл бұрын
Deduplication works on the block level. Does it show benefits on virtual disk files? It means virtual blocks inside the virtual disks should match as blocks on the outside. I will try this myself... One additional note, back in 2012 or something like that, I remember upgrading the ram of a server at work in order to make it boot after an unsafe shutdown. It was stuck organising or maybe scrubbing, not sure now, at boot time, since the deduplication load the memory was not enough and it failed repeatedly until the upgrade was done.
@tinybolt8130
@tinybolt8130 3 жыл бұрын
Some of these phrases sound like they belong in Virus Alert by "Weird Al" Yankovic.
@FlaxTheSeedOne
@FlaxTheSeedOne 3 жыл бұрын
I have a question on the dedupe tables. What happens if that device fails? So if your SSDs fail? Are all the links to the same files lost? Or can they be rebuild?
@intheprettypink
@intheprettypink 3 жыл бұрын
Im running this exact setup, and you can mirror the dedupe vdevs on multiple devices just like regular "storage" vdevs. Pretty much every vdev you can create or add to a zpool can be mirrored. So definitely mirror your dedupe vdevs.
@FlaxTheSeedOne
@FlaxTheSeedOne 3 жыл бұрын
@@intheprettypink so I can have a vdev for dedupe as shown and then replicate that vdev to disk on a nightly basis for example to keep it safe in case of failure? Or can i just put them in a mirrored pool? I mean thers always the risk of device failure or a faulty controler and i would not like to loose the table that stores differences and paths.
@intheprettypink
@intheprettypink 3 жыл бұрын
@@FlaxTheSeedOne I think you miss-understood how vdevs and replication works. Vdevs are just the raid-whatever group of storage devices you put in the pool. This can be the main storage vdevs, dedup, special, etc. In ZFS you can "raid1" mirror the dedup vdevs. This means for one dedup vdev, that vdev actually has two or more actual storage devices for mirroring. However, you do not replicate the dedup drives. The dedup vdevs are invisible to everything but ZFS. On top of the pool, are things called datasets. These datasets are the filesystems you interact with. These ZFS datasets are the things you replicate by using zfs send/receive commands. Dedup is completely invisible to the datasets. Using zfs send / receive will replicate all data on the dataset (on the pool vdevs) to where-ever you send it. You can even just use rsync to replicate the files on the ZFS filesystem. If you use the dedup vdev feature, just make sure you use two or more storage devices in mirroring and you will be set. Just remember, mirroring inside the vdev is not your actual backup, and is instead intended for uptime.
@FlaxTheSeedOne
@FlaxTheSeedOne 3 жыл бұрын
@@intheprettypink I know all that, but my question still remains: What happens when your dedupe vdem hits the fan? My follow up was, can i Replicate the dedupe vdev onto the main storage vdev or a zvol on there, so when the dedupe vdev bites to dust i can just replicate the data. (my guess is no or at least not through tbe gui) Than i still am wondering what happens when your dedupe information is completely lost.
@intheprettypink
@intheprettypink 3 жыл бұрын
@@FlaxTheSeedOne What happens when your dedupe vdev dies? Your pool dies. You lose all your data. Can I replicate the dedupe vdev... No. What you have to do is turn off dedup, and then copy the data to a different spot on the pool, and then delete the first copy to remove dedup data from the pool, and even then you cant remove the dedup vdev. You would be better off moving your data off the pool and recreating it without the dedup vdev. Again, it sounds like you dont understand how ZFS works with vdevs and storing your data. You do not touch the drives anymore after you add them to the pool, unless you are replacing dead ones. How would you avoid losing the dedup vdev? Same as the main storage vdevs. Use the raid features of ZFS. I personally have a 4x1tb ssd mirror for a dedup vdev. All four of those nvme drives would need to die before the pool is lost. If one dies, you pull it out and replace it, and add it back to the dedup vdev. There is nothing to wonder about when you lose the dedup vdevs. You lose your data. Its essentially keeping the dedup tables in a storage device such as ssds for faster than spinning access. It sounds more like you should just not worry about using this feature if you are this worried about replicating the dedup vdevs.
@denvera1g1
@denvera1g1 3 жыл бұрын
I have 4 110GB optane drives for dedup and write cache, works great, and if anyone was wondering, truenas doesnt really care if you're using Intel or AMD when implimenting optane
@WizardNumberNext
@WizardNumberNext 3 жыл бұрын
actually thinking about deduplication if this would be in busy environment there will be huge RAM savings, as there would be no need to cache each instance of same data, so single cache, not many caches
@SecurityCard1
@SecurityCard1 Жыл бұрын
Hey Jeff, great Video! But one question, have you done a follow up Video for the iSCI-Replication thing?
@RodrigoeBeta
@RodrigoeBeta 2 ай бұрын
Looking for it too.
@JamieStuff
@JamieStuff 3 жыл бұрын
A Like solely for that intro...
@chris_hertford
@chris_hertford 3 жыл бұрын
Setup my first truenas yesterday thanks to your videos!
@UnwittingSweater
@UnwittingSweater 3 жыл бұрын
Great tutorial but I just wanted to say you give better tasting notes than some dedicated food channels.
@CraftComputing
@CraftComputing 3 жыл бұрын
Thank you so much!
@charliekim7302
@charliekim7302 3 жыл бұрын
This is a very good video about iSCSI and TrusNAS. Thanks. I have a question. I am not sure if you heard of Virtual Disk Software called CCDISK which is a Windows based server software and uses iSCSI to provide files to clients as a local disk for like a gaming cafe. Client PCs can read and write as a normal disk but the source files stored in the server is read-only and any writing is saved in a cache(writeback-cache) and it is initialized once reboots. Is it something can be done with freeNAS + iSCSI?
@danielfisher1515
@danielfisher1515 3 жыл бұрын
"Erectile hyperfunction"?! LOL!
@guspaz
@guspaz 3 жыл бұрын
I tried ZFS deduplication years ago. It really *did* slow everything down immensely, and barely saved any space. Because it works on the block level, it may not actually help at all on an almost identical file if there is even a one-byte offset between them (exception: ZFS is copy-on-write, so inserting a byte in the middle of a file won't cause an offset). And the RAM requirement... At the time, I had a 20TB filesystem, and certainly didn't have an extra 20GB of free memory to spare. I eventually migrated the ZFS filesystem to a non-deduplicated one, and enjoyed a massive performance improvement. I do have a ton more RAM in there now, but it's also now a 92TB filesystem, so yeah. Don't make my mistake, avoid ZFS deduplication. It's very hard to undo because you can't turn it off, you can only disable it for future writes, not previous writes. Maybe look into file-based dedupe instead, which can work on any filesystem by looking for identical files and replacing one copy with a hard link. The downside is that it's now a single file on disk and modifications from either location will affect the other, the upside is that it still saves the duplicated space and has zero performance/ram/etc overhead. EDIT: There are use cases where deduplication makes sense, but for the vast majority of people, it doesn't. Having that 1GB of RAM per 1TB of storage avoids the huge performance penalty, but that's a huge amount of RAM in any reasonably sized NAS. Perhaps storing the tables on SSDs might be an easier option, but that wasn't an option when I used dedupe.
@hakovatube
@hakovatube 3 жыл бұрын
Apart from being a very informative video, the intro deserves 5 stars for the humor. Cheers Jeff!
@edwardallenthree
@edwardallenthree 3 жыл бұрын
Before watching the video: No! Don't so it!!! Now let's watch and hopefully change me mind. Update pending. Edit: it's still not for me. I have one steam library, a media library, and a bunch of Linux vms. You would think the duplication in the Linux vms would be enough, but this is such a small part of my total storage, that it doesn't seem worth it.
@colonelangus7535
@colonelangus7535 3 жыл бұрын
Youre an unraid candidate. I'm not personally looking at trunas for at least another year.
@edwardallenthree
@edwardallenthree 3 жыл бұрын
@@colonelangus7535 I use Ubuntu and ZFS because of hardware compatibility. I have various pools, with various properties based on need (e.g. one of the pools has 16 write intensive 200gb ssds in mirrored pairs ("RAID10"). Also have a pool with 16 2 tb 3.5" sas drives. And one with 8 2tb sad drives that have a firmware flaw making them only usable at 1.9tb.
@UnreasonableSteve
@UnreasonableSteve 3 жыл бұрын
Yep, deduplication almost certainly isn't for you. If your ZFS supports it, though, I definitely recommend making sure zstd compression is enabled
@SureshotCyclonus
@SureshotCyclonus 3 жыл бұрын
Contact your doctor if you have deduplication tasks lasting longer than 4 hours.
@jackwright7014
@jackwright7014 3 жыл бұрын
I use it for backups of game worlds as there is a LOT of duplicates. Then I have two cloud sync jobs that both sync the worlds to cloud storage on a daily and weekly basis.
@ProtoXoa
@ProtoXoa 3 жыл бұрын
Has to be one of your funniest intros!
@dangingerich2559
@dangingerich2559 3 жыл бұрын
I once used deduplication built into Windows 2012 (not R2) and all the files I had stored on it ended up empty. So, not all dedup technology is created equal. My big question is this: if I create a TrueNAS VM on a separate storage LUN and then created iSCSI LUNs to all my other VMs to it, can I use built in Windows Backup to backup to those and get reliable, free backups with dedup?
@lucavignati2958
@lucavignati2958 3 жыл бұрын
i'd love to know me too
@dangingerich2559
@dangingerich2559 3 жыл бұрын
I'm part of the way there. I have my TrueNAS VM created on my 6X4TB RAID 10 set. I got that done last night. Gotta create the shares now.
@apaskiewicz
@apaskiewicz 8 ай бұрын
This would really nice for massive games like MW2 and Ark Survival and COD Cold War are installed on multiple machines. 10gbe is fast enough to load the game over NIC and four or five copies of those games installed on machines would be in the multiple TiB range. Last I checked Ark with all maps is almost 500gb and MW2 was a few hundred GiB,and Cold War is also a few hundred GiB. Having those games installed on a Samsung EVO on four machines would cost you a fortune that could be offloaded to an iSCSI drive with dedup. Each client would be presented with its own “copy” and video settings but only take up the space of one copy.
@lucavignati2958
@lucavignati2958 3 жыл бұрын
great video, i wanna know if dedup prevent the raid-z2 to make copies of the same file on others drive, or if is a "upper layout" only
@sarkasaa
@sarkasaa 3 жыл бұрын
hey jeff, admit it, the only reason you put lego in your videos is so you can do a tax write off on your lego death star lmao
@CraftComputing
@CraftComputing 3 жыл бұрын
I mean, you're not wrong.
@marcogenovesi8570
@marcogenovesi8570 3 жыл бұрын
businness expense all the things
@jamess1787
@jamess1787 3 жыл бұрын
Can you post the bloopers for that advertisement?
@voodoovinny7125
@voodoovinny7125 2 жыл бұрын
There is nothing like watching a video and your OCD kicks in. When you were dividing 208,255,868,928 by 2, you said 104,128,353,780 bytes while we were seeing 104,127,934,464.
@feartogail6933
@feartogail6933 3 жыл бұрын
Oh my. Only thing better than that thumbnail is that intro. 5/7 would chuckle snort again
@UntouchedWagons
@UntouchedWagons 3 жыл бұрын
So were the two Rosewill cases supposed to be used in some sort of dedup metaphor or what?
@brierepooc8987
@brierepooc8987 3 жыл бұрын
This guy has the best KZbin channel. Still a huge fan
@agw5425
@agw5425 6 ай бұрын
Can it be run uninstalled of a usb to "scan" a pc server or network manually for unwanted duplicates instead of always running in the background? Can it be told to keep 2 copies on 2 separate drives and just "point" all users to one of them for redundancy? Like 1 copy locally and 1 in a remote location? Would it work on windows pc´s?
@josephdurham4611
@josephdurham4611 3 ай бұрын
Can I just add a new Zvol to a pre-existing pool that's dedicated to deduplication?
@MrDAndersson
@MrDAndersson 3 жыл бұрын
As for read performance is there any major difference between dedup and non-dedup?
@falazarte
@falazarte 3 жыл бұрын
You are hilarious! Kind of hard to find good humor among geeks like us.
@TehJumpingJawa
@TehJumpingJawa 3 жыл бұрын
When copying data that already exists on the ZFS share, is the checksum generated on the client? If so, you'd also see massive reductions in network bandwidth usage, and the maximum attainable speed would be largely dependent upon the speed at which the checksum could be created by the client (i.e. the read speed of the local storage) Much like CPU cache latency exploits, there must be security implications for having deduplication enabled, as clients would be able to indirectly query the contents of the ZFS share by engineering the contents of files and measuring the resultant effective write speeds.
@Mr.Leeroy
@Mr.Leeroy 2 жыл бұрын
No. ZFS OS is the one check-summing, ofc.
@nemtudom5074
@nemtudom5074 Жыл бұрын
Okay that intro was hilarious!
@DanJackielz
@DanJackielz 2 жыл бұрын
5:15 Installing a game to multiple computers while only requiring the storage space for one copy.. Isn't iSCSI can only connect to one client at a time? or am I missing something here?
@readypetequalmers7360
@readypetequalmers7360 2 жыл бұрын
This was mentioned in his video on steam library with iSCSI. You would dedup on the pool level then create multiple zvols each for a iSCSI drive.
@DanJackielz
@DanJackielz 2 жыл бұрын
@@readypetequalmers7360 Thanks, that makes sense.
@wallydisc
@wallydisc 3 жыл бұрын
You are doing a very good job with this stuff, man. Keep it up.
@hescominsoon
@hescominsoon 3 жыл бұрын
That intro was absolutely awesome...:)
@LXST-IN-TRVNSLVTIXN
@LXST-IN-TRVNSLVTIXN 2 жыл бұрын
what happens when the disks storing the dedupe table get corrupted or die?
@ewenchan1239
@ewenchan1239 2 жыл бұрын
Stupid question - so I am trying to actually execute the process as stated here where you are installing the same game to multiple machines. Does that mean that you point all three machines to the same iSCSI volume, and when you format said iSCSI volume, you are technically formatting it thrice with NTFS? I'm not sure that I really follow how you are able to download a game once, but install it on three separate machines without each of the machines downloading the data again because that is what Steam appears to be doing on my systems. A video tutorial on this would be greatly appreciated. Thank you.
@thumbwarriordx
@thumbwarriordx 3 жыл бұрын
For a single-user setup or mostly a single user setup running something like fslint and linking all the duplicate files together is a lot more practical for long-term storage of static files. But that still leaves me using deduplication in several little places where it simply won't do.
@georgeashmore9420
@georgeashmore9420 2 жыл бұрын
What is dedup like for datasets? I have been trying it out but with dedup only being recorded on the pool I’m struggling to decipher the advantages
@RocktCityTim
@RocktCityTim 3 жыл бұрын
This was worth it for the Manscapes commercial!
@Larz99
@Larz99 8 ай бұрын
So that EHF issue isn't just me?
@RyouConcord
@RyouConcord 2 жыл бұрын
Always wanted to know if it actually... You know... Worked. Thanks for the upload!
@ViratKadaru
@ViratKadaru 3 жыл бұрын
Love that intro
@borewiq
@borewiq 2 жыл бұрын
How would I check if my dedup works on 2 ZVols in Dataset? Do filesystems matter, eg. will it work on if I have one ext4 and another one with ntfs?
@cheplays2482
@cheplays2482 2 жыл бұрын
Actually being from Trinidad, that Nikki reference really caught me offguard 🤣
@zenja42
@zenja42 3 ай бұрын
I'm storing full data backups from all over the network (especially logs) that gets copyed over once a month on a dudup store (arch vm - zfs dataset, comp & dedup on - host is a nuc8 i3 and vm has 4cores and 8gb ram). It's not the fastest, but I only have 1g on the host anyways. So the 4tb dataset is usesing 866gb while ~11tb is "uses" on the dev -> dedup 12,82x and I still have 3tb free. Yes, this is a verry special usecase, but it's working perfectly exactly for that type of compressable & deduplicatabe data.
@jonas-fc5nq
@jonas-fc5nq 3 жыл бұрын
Maybe i just didn't get it, but what real advantage do i get from Deduplication if i can't access the saved space, since the file system can't see it? 🤔
@eusebiusthunked5259
@eusebiusthunked5259 3 жыл бұрын
If the file system can see it, it isnt working... rather, your filesystem will show more capacity than it should if duplicate data is recognized
@LNSFLIVE
@LNSFLIVE 7 ай бұрын
that MMMBop from Hanson gets me every time
@brycedavey1252
@brycedavey1252 3 жыл бұрын
Best intro yet!!
@jabolko1k
@jabolko1k 3 жыл бұрын
what is this 2u case? is it possible to buy it?
@acenio654
@acenio654 9 ай бұрын
2 years late, but the case is the one showcased in his other video "A Three Server HomeLab for less than $1,000!"
@gordoncreAtive
@gordoncreAtive 3 жыл бұрын
I've had serious issues with deduplication - horrible slowdowns and undeletable ghost files. It might have been that my system (RAM + CPU, no dedicated dedup table storage) is not up to the task but I think dedup might not be as straightforward as other ZFS features.
@UnreasonableSteve
@UnreasonableSteve 3 жыл бұрын
It absolutely isn't. The best part is after everyone tells you XFS supports dedupe and it works great, if you ask for troubleshooting help, with dedupe you'll get nothing but derision for ever thinking you could turn it on. Top it off with the fact that disabling dedup on a pool doesn't remove the dedup tables or truly un-deduplicate anything. If you want your issues to go away, you have to destroy your pool and restore from backup. Not exactly something to "try out"
@phantom7802
@phantom7802 2 жыл бұрын
Hey, I don't know if I'll get a response buuuut, with deduplication and using a nas as my steam library, would it be possible to have multiple computers run the same game install since they see their own install?
@oM1naE
@oM1naE 8 ай бұрын
While I really like the video as an introduction / overview, there's a thing I disagree with: Copying the Doom install directory cannot really be called "random write" - after all, the storage server / filesystem is simply handed new data which it can organize in a suitable fashion. Actual random write is a different thing.
@Kapisketo
@Kapisketo 3 жыл бұрын
I can see dedup working in a mail server or in a company where all the computers do a netboot but for home users I think that is better that each user has it's games installed locally and use lancache to help with the downloads.
@patrickprafke4894
@patrickprafke4894 Жыл бұрын
Can you get a 32gb Optane drive to work with C602 chipset systems?
@mikeyd4308
@mikeyd4308 3 жыл бұрын
that mmmbop bug sounds like a feature, sign me up!
@Squinoogle
@Squinoogle 3 жыл бұрын
Been a while since you've had a good beer, and this one sounds like a doozy! And, you can tell it's testing time when you pull out those trusty 3TB Seagates :D
@threepe0
@threepe0 3 жыл бұрын
1gb of ram per tb of storage is not insignificant if you have a large pool. Yes there's a lot of misinformation, but I think this is a barrier for some people. De-dup can be scripted and handled other ways as well. That being said, it was good to see some hard performance examples, and I'm taking another look at enabling de-duplication now. Thanks!
@Ghennesph
@Ghennesph 3 жыл бұрын
I used deduplication once. Long story short, I couldn't find my car keys, even after eating the cow.
@falxie_
@falxie_ 3 жыл бұрын
You gave it an extremely ideal scenario to be fair to the detractors
@GameCyborgCh
@GameCyborgCh Жыл бұрын
In theory with deduplication windows and truenas could see more data used than what's available. It makes sense that if you write data that already exists in a storage pool then all that needs to happen is comparing the checksum to make sure it already in the pool so you don't need to write it again, making that much faster. But why is writing for the first time faster? Doesn't ZFS need to write the file and calculate and write the checksum? would that make writing files for the first time slower?
@llpolluxll
@llpolluxll 3 жыл бұрын
My home lab has become my zen garden. Albeit a grossly expensive one.
@malbeth8700
@malbeth8700 3 жыл бұрын
Aren't all zen garden grossly expensive? XD
@RockNLol2009
@RockNLol2009 3 жыл бұрын
the thumbnail is gold 😂
@prodeous
@prodeous 3 жыл бұрын
Another great overview for a noob like myself. Now to just get some Rack Nas and may the fun begin :)
@eozcelik42
@eozcelik42 3 ай бұрын
Doesnt ZFS dedup works on block level instead of file level?
@uberchemist
@uberchemist 3 жыл бұрын
Hi Jeff! Cheers dude, keep up the great work!
@wyfyj
@wyfyj 2 жыл бұрын
Love the content. Need more nature b rolls!
@lmchua8644
@lmchua8644 3 жыл бұрын
Jeff can you take a look at the Tesla P10? It seems to have the same specs as the titan xp but with 24gb vram, its price is similar to the m40 which is why it got my interest.
@CraftComputing
@CraftComputing 3 жыл бұрын
Where'd you see a P10 for M40 money. They've been sitting at $1000+ for months.
@lmchua8644
@lmchua8644 3 жыл бұрын
@@CraftComputing Taobao, currently theres 2 sellers selling them. They are selling the M40 12gb for 999 yuan, and P10 24gb for 999 yuan too. 999 yuan roughly translates to $150 USD
@damzelfly
@damzelfly 2 жыл бұрын
Is there a way to remove the dedup vdevs or its a one-way thing?
@sinisterpisces
@sinisterpisces 2 жыл бұрын
I had the same question. My understanding is that you'd need to create new VDEV(s) that aren't dedup'd, copy all hte data over to the new VDEVs, then delete the old ones.
@supercj70
@supercj70 3 жыл бұрын
Best intro ever!!
@VladeMalfet
@VladeMalfet 3 жыл бұрын
I am from Trinidad, I've heard those swollen testicle stories.... start off with ping pong balls, end up with coconuts.
@monty00701
@monty00701 3 жыл бұрын
haha - loved this health ad intro!!!
@monty00701
@monty00701 3 жыл бұрын
haha - cousin in Trinidad with swollen testicles - spat out my drink laughing!!
@Cpuboye11
@Cpuboye11 3 жыл бұрын
So I don't use trunes. I'm using Ubuntu latest build LTS with ZFS installed on it. I've been trying to find the correct syntax or a way to put the dedo table onto an SSD and not memory. Like he stated in the video I found very false and troublesome and incorrect data on form posts. Obviously true now is using ZFS considering he just use z pool command within the terminal. My question is can someone point me in the direction or if possible just give me the command to set up a dedo table on an SSD and not in ram. I guess the next logical question is, if this is done will ZFS still use ram as cash for the incoming and outgoing data sets. Thank you
@TheBobcat1978
@TheBobcat1978 2 жыл бұрын
Hey Jeff. I been doing a Nas project for over a year now. I have a core i3 10100k, 16 gbs of standard ddr4 RAM and a Intel x540. IAll in a Silverstone CS351 (which could be designed better) I been struggling with figuring out what OS to use. I'd like to use plex, keep my music, photos, and play roms from and to backup my steam library. I have narrowed it down to TrueNas, unRAID, and Windows 10. unRAID is easiest to use, TrueNas is a bit complicated for the different size drives but willing to use it. So since I am new to doing a jone server, which OS would you recommend for my needs. Thanks in advance.
@TheAnoniemo
@TheAnoniemo 3 жыл бұрын
Now what happens if you have your pool full of deduped files, and then you start changing them so they're no longer duplicates? There is no more physical space to save the changes, but to the user it makes no sense because he thinks the files were already on disk so consuming the required space.
@xbhollandx
@xbhollandx 3 жыл бұрын
You need to fill the pool > 50% before you’ll start seeing perf issues
@UnreasonableSteve
@UnreasonableSteve 3 жыл бұрын
Exactly. The "write one thing twice, to an empty pool" is a ludicrously optimistic test.. it's the equivalent of testing inline compression by writing an endless stream of zeros
@akhilleusuggo
@akhilleusuggo 2 жыл бұрын
You're missing the read performance. I'm a big fan of dedup, and my personal home project depends a lot of it. But the performance read starts to lag a lot compared to write speed. The more you add the worst it gets. It is not completely true that the amount of RAM does play the role, but the RAM speed (amount of channels) that matters the most. Once you hit the bottleneck, even if you have spare of RAM that doesn't prevent from performance issues. Still very glad to have dedup, but your tests are very basic, and it doesn't really represent a 12TB dedup data that you may be facing.
Keep an eye on your network - Observium Tutorial
21:09
Craft Computing
Рет қаралды 126 М.
How to Layout 60 Hard Drives in a ZFS Pool & Benchmarking Performance.
15:56
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Use your NAS as a Steam Library - TrueNAS + iSCSI Basics
18:53
Craft Computing
Рет қаралды 280 М.
Running VMs in TrueNAS Scale - Should you run this instead of Proxmox?
21:05
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
Can TrueNAS Scale Replace your Hypervisor?
12:23
Craft Computing
Рет қаралды 128 М.
How Do I Backup All My Servers???
19:49
Craft Computing
Рет қаралды 181 М.
The Smallest KVM-Over-IP, and it's CHEAP! - JetKVM Review
10:48
Craft Computing
Рет қаралды 80 М.
What's On My Home Server? Storage, OS, Media, Provisioning, Automation
27:30
Wolfgang's Channel
Рет қаралды 1,2 МЛН
Getting the Most Performance out of TrueNAS and ZFS
18:31
Techno Tim
Рет қаралды 120 М.
Self-Hosting Security Guide for your HomeLab
18:43
Techno Tim
Рет қаралды 426 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН