text
stringlengths
9
408
[839.78 --> 841.44] And off to Google I went.
[841.68 --> 843.98] And so I fell upon MergerFS-tools.
[844.68 --> 846.56] You know, it's over on GitHub.
[847.26 --> 847.70] Fantastic.
[848.04 --> 848.88] Easy to set up.
[849.72 --> 850.58] Clone the repository.
[850.58 --> 855.12] Within seconds, everything's being rebalanced across my drives.
[855.12 --> 857.14] Yeah, these tools are really great, actually.
[857.38 --> 858.36] And there's a few of them.
[858.58 --> 862.40] It's mergerfs.ctl.fsoc.dupe.
[862.40 --> 865.78] And the first one is mergerfs.ctl.
[866.08 --> 869.70] This is a wrapper around the MergerFS-x-atra interface.
[870.54 --> 876.02] Essentially what this lets you do is add and remove drives as well as get info about the array that's in there.
[876.70 --> 880.14] And, you know, print things like your version and your mount point and stuff like that.
[880.52 --> 881.72] Pretty useful if you need it.
[882.08 --> 885.22] Probably most people won't need that one, but it's there if you do.
[885.22 --> 889.52] The next one is mergerfs.fsoc.
[890.04 --> 892.22] So mergerfs.fsoc.
[893.50 --> 897.80] Audit's permissions, ownerships of files and directories in a mergerfs.mount.
[898.08 --> 902.72] And then one of the great tools that I really like is mergerfs.dupe.
[902.88 --> 903.38] No, no, no.
[903.42 --> 903.68] Hold on.
[903.90 --> 906.90] Before we sweep this under the carpet, we've got to clear this up.
[907.40 --> 908.78] Fsoc or fs.check.
[909.04 --> 913.98] If you have an opinion on this, let us know at self-hosted show on Twitter, please.
[913.98 --> 914.58] I don't know.
[914.70 --> 916.58] I think fsoc sounds a little dirty.
[917.44 --> 917.84] fs.ck.
[919.50 --> 921.24] All right, mergerfs.dupe.
[921.26 --> 925.46] This one duplicates files and directories across different branches in a pool.
[926.22 --> 930.00] The selected file can be duplicated using the dupe option.
[930.32 --> 936.74] So this could be useful if you're not using something like SnapRaid for kind of parity type redundancy.
[937.00 --> 942.58] This one would literally physically duplicate a file across X number of disks.
[942.58 --> 946.12] And then, of course, you have the follow-up to that, which is mergerfs.dupe.
[946.62 --> 948.10] Ddupe does as it says.
[948.18 --> 950.26] It finds removed duplicate files across pools.
[950.92 --> 955.88] You know, you can set up ignore, ddupe, and strict options to target specific use cases.
[955.88 --> 964.28] I can tell you, this one I used right away because as I was copying pictures over, you know, I copied them from my Mac.
[964.38 --> 965.94] I copied them from my Fedora box.
[966.16 --> 970.28] And I knew that I had them in multiple places because, as they say, if you don't have three copies...
[970.28 --> 971.34] It may as well not exist.
[971.58 --> 971.72] Yeah.
[971.72 --> 977.30] The first thing I did is I ran the ddupe, you know, because this became my fourth copy.
[977.54 --> 980.60] And there was no point in having multiple of the same files everywhere.
[980.86 --> 982.12] And it was really quick.
[982.20 --> 983.10] I was really surprised.
[983.68 --> 989.12] One of the things I like about the ddupe tool is, by default, it doesn't actually delete anything.
[989.32 --> 997.42] You have to explicitly set execute mode, which, you know, for fat-fingered people who don't read the docs like me on occasion, that's a good thing.
[997.42 --> 1004.60] And then again, as I originally mentioned, there's the MergerFS balance, you know, probably the best feature you're going to run into.
[1004.80 --> 1008.48] It's going to make sure that your data is balanced equally across the pool.
[1008.90 --> 1010.92] You know, you can set a defined range.
[1011.02 --> 1012.62] I think the default is like 2%.
[1012.62 --> 1016.16] So the last one is MergerFS.consolidate.
[1016.24 --> 1018.86] And this does the complete opposite of balance, really.
[1018.94 --> 1023.94] It takes things from multiple places and puts them and co-locates them all onto one single drive.
[1024.90 --> 1026.60] That one requires rsync.
[1026.60 --> 1028.86] I think there's a couple of others that require rsync as well.
[1029.32 --> 1033.06] But obviously under the hood, it's just doing some rsync magic to copy that stuff around.
[1033.80 --> 1034.30] It's definitely great.
[1034.36 --> 1038.50] Like I said, if you're running MergerFS in your home lab, definitely check it out.
[1038.96 --> 1042.10] You know, I'm sure there's going to be at least one tool in there that's going to help you out.
[1043.98 --> 1045.84] Linode.com slash SSH.
[1045.98 --> 1049.34] Go there to get a $100 60-day credit on your new Linode account.
[1049.86 --> 1052.20] Linode is the largest independent cloud provider.
[1052.60 --> 1056.06] Now, no matter what skill level you're at, what technology stack you use,
[1056.06 --> 1058.58] Linode can help your ideas come to life on the web.
[1058.78 --> 1060.74] If you run into any trouble getting set up,
[1060.90 --> 1064.80] Linode comes with amazing 24-7 customer support by phone or ticket,
[1065.30 --> 1068.22] along with hundreds of guides and tutorials to help you get started.
[1069.10 --> 1071.68] Linode has an easy-to-use and powerful cloud dashboard,
[1072.24 --> 1073.82] S3-compatible object storage,
[1074.02 --> 1075.04] cloud firewalls,
[1075.20 --> 1077.50] simple one-click application deployments,
[1078.00 --> 1078.92] super-fast networking,
[1079.14 --> 1080.20] and so much more.
[1081.06 --> 1084.42] Linode started in 2003 as one of the first companies in cloud computing,
[1084.42 --> 1087.38] three years before AWS and other enterprise providers.
[1087.88 --> 1090.70] They're independently owned and founded on a love for Linux.
[1091.06 --> 1092.02] And I tell you,
[1092.10 --> 1095.50] when you use Linode and you dig into some of their more advanced stuff,
[1096.34 --> 1096.92] by the way,
[1096.96 --> 1099.42] did you know they will let you boot your own ISOs?
[1099.56 --> 1100.12] Oh, yes.
[1100.36 --> 1104.02] If you want to run some esoteric thing from 20 years ago,
[1104.20 --> 1105.98] you can try and do that on Linode.
[1105.98 --> 1111.76] So go to linode.com slash SSH and get a $100 60-day credit on your new Linode account.
[1112.00 --> 1114.50] That's linode.com slash SSH.
[1116.80 --> 1123.24] One of the downsides of having a home lab and then a media server is I needed permission to buy it
[1123.24 --> 1125.46] and I needed permission to where to put it.
[1125.76 --> 1129.26] So the downside is it's next to my desk and it's in a small little hole.
[1129.26 --> 1135.16] And I have my three monitors and my MacBook and then I have my desktop for work.
[1136.04 --> 1138.40] And I have so many cables, you know,
[1138.44 --> 1142.44] and I'm constantly in a situation where when I need to hook up to the UNAZ,
[1142.56 --> 1144.14] I'm unplugging a cable.
[1144.46 --> 1146.18] Same thing with the ESXi box.
[1146.68 --> 1147.82] And I need a solution.
[1148.70 --> 1151.46] But I need a solution that really works.
[1151.58 --> 1156.22] I don't want the old style KVM where you're running all these cables and you're pushing a button.
[1156.22 --> 1161.52] You know, I want something that works with a modern monitor, HDMI, you know,
[1161.84 --> 1163.86] and something that just works.