/srv/irclogs.ubuntu.com/2022/11/07/#ubuntu-discuss.txt

=== NeoFAT32_ is now known as NeoFAT32
=== arraybolt3_ is now known as arraybolt3
=== arraybolt3_ is now known as arraybolt3
arraybolt3!ping02:37
ubottupong!02:37
ravagebang!02:37
* arraybolt3 falls over dead02:37
daftykins"the latency of this corpse is..."02:39
arraybolt3Just kidding.02:40
* arraybolt3 goes back to setting up a ZFS pool02:40
ravageit is just zpool create really :D02:41
arraybolt3Alright that was pretty easy.02:43
daftykinsi hope it was z202:43
lotuspsychjegood morning02:44
arraybolt3ZFS mirrored array across two 6TB disks.02:44
arraybolt3Now I just need to know if checksumming is enabled or not.02:44
daftykinsi made a 4 x 4TB one downstairs under XCP-ng, for a test run02:46
arraybolt3Does anyone know how to query whether checksumming is enabled or not on ZFS?02:46
ravageIt is enabled by default 02:46
arraybolt3Oh good.02:46
arraybolt3Now I just need to find out how to make it reliably automount.02:47
arraybolt3(If it doesn't automount by default already.)02:47
ravageYo uh should enable compression02:47
ravageThat's not enabled by default 02:48
ravagezstd probably 02:48
ravageIt should auto mount on Ubuntu at least02:48
arraybolt3It does automount! Woot!02:48
arraybolt3I don't need compression or dedup I don't think, this is just for backups, and *maybe* some VMs.02:49
ravageFor VMS compression is good02:49
ravageSo make sure to enable it there02:49
ravageYou can enable it for subvolumes02:49
arraybolt3Oh it is good? OK, then I guess I'll do it.02:50
ravageFor compressed backups it is kind of useless of course 02:50
arraybolt3And I technically have enough RAM to dedup... but I don't want to hurt performance too bad, nor do I want 30 of my 32 GB to be eaten for that.02:50
ravageBut for VMs it is actually faster02:50
ravageDo not dedup if you don't absolutely have to02:50
daftykinsweird, i had always been under the impression that compression was an unnecessary risk02:51
ravageIt really eats ram like hell02:51
ravageThere really is no risk in compression:)02:51
daftykinsi think there was back in win9x days02:52
arraybolt3Windows 2000, 7-zip seemed to eat data rather than compress it.02:53
arraybolt3Anything else I should enable? Just put compression into action.02:53
arraybolt3And also disabled drive spindown.02:53
ravagenot really. the other defaults are fine02:53
ravageif you plan to use VMs make sure to create a thin pool02:53
arraybolt3I don't know what a thin pool is...02:54
ravage(thin provisioning)02:54
arraybolt3Oh for the VM disk images?02:54
arraybolt3Yeah that's easy. GNOME Boxes and VirtualBox both do that by default.02:54
ravageoh ok02:54
ravagewell i use my VMs directly on a zfs volume :)02:54
arraybolt3(I'm a total newbie to ZFS, I just now started playing with it because it appeared to be safer for my data than a pure RAID1.)02:54
ravageif you use qcow images for example they support compression too02:55
ravageso you dont need ZFS fot that02:55
ravagei dont know how virtualbox handles it02:55
arraybolt3This is mainly my backup solution.02:55
arraybolt3I intend on throwing any important disk images and the like onto this.02:55
arraybolt3That way I don't lose them, even if one drive dies. And I also intend to compress them, encrypt, and upload to the cloud.02:56
arraybolt3I just figured I could also use the spare free space to hold VMs for my work.02:56
daftykinson *that* connection? :D02:56
ravageif you only store compressed files you can disable compression of course02:56
ravagebut even then you will not see much performance impact with zstd02:56
ravageit really does not need much02:56
arraybolt3daftykins: Hey, it doesn't need to go fast. It's just another layer of security.02:57
ravagefor a pure backup drive you could have just used mdadm of course02:58
ravagebut ZFS is fun to play with02:58
arraybolt3mdadm won't catch silent data corruption in a RAID1.02:58
arraybolt3ZFS will.02:58
ravagetrue02:58
ravageit does at least does a verification from time to time :D02:59
ravage-does02:59
ravageNAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT03:00
ravagetank  58.2T  14.7T  43.5T        -         -    10%    25%  1.00x    ONLINE  -03:00
ravagei can do some more backups03:00
lotuspsychjeoof03:01
arraybolt3Holy... smoke. What on earth.03:01
lotuspsychjewanna swap with my 256GB ssd lol?03:01
ravagelet me think.. no :D03:02
lotuspsychjehaha03:02
* arraybolt3 has a 120 GB SSD in one of my laptops03:03
daftykinsarraybolt3: well they're not great 'cloud backups' if they didn't make it :D03:03
ravagemy ubuntu runs from a 120GB SSD03:03
daftykinsi better get to bed, ttfn \o03:03
ravagenn daftykins 03:03
=== ledeni_ is now known as ledeni
arraybolt3!ping04:21
ubottupong!04:21
Guest99Hi, why are viewers like okular and text editors like kate using CPU even when minimized or on another virtualdesktop, when the screen is locked and the display is off? In ubuntu/linux Is that not an option for an app to notify the OS something like, "I'm going to sleep, wake me in one of the following circumstances: data to port N, action on my04:42
Guest99window."  ?04:42
Guest99On GNOME or KDE do idle GUI programs need to be awakened by the kernel in order to confirm that they have no tasks to do?06:59
arraybolt3!ping08:19
ubottupong!08:19
arraybolt3(Internet being unstable, testing a lot.)08:19
cartdrigeGuest99, monitor the CPU/RAM usage for a while with a background script while the PC is 'sleeping'/locked and send the result to the maintainers.09:23
cartdrigeThat's what i would do.09:23
cartdrigei think the editor is calculating bitcoins for lotuspsychje to buy a new Ubuntu bluray.09:24
cartdrige:P09:24
=== EriC^ is now known as EriC^^
lotuspsychjeand so !lunar is now active to use 13:51
lotuspsychjetnx for the addy!13:51
lotuspsychjeBrassPin88: we discussed before, #ubuntu isnt a chat to bother users with offtopic, please respect that13:59
BrassPin88lotuspsychje sorry, have a pleasant day.14:03
arraybolt3Alright so I set up the ZFS mirror last night, copied my data to it, everything seemed to work, and then I had a power outage. The data still appears to be there (it was hours after the transfer that the power cut out), how likely is it that the data survived intact do you guys think?14:08
arraybolt3(I'm about to SHA256SUM all of it for good measure.)14:08
=== ledeni_ is now known as ledeni
JanCarraybolt3: I don't see why it would be a problem (generally speaking, file system issues after a power outage happen to files/directories that are being written to at that moment)16:53
arraybolt3That's what I'm hoping.16:55
murmelarraybolt3: why not scrub?18:00
arraybolt3murmel: I don't know if that will tell me if the data on the array perfectly matches the data from the original disk or not.18:04
murmelarraybolt3: I guess, but at the same time, shouldn't you first make sure that the transfer was okay? (I mean before the outage?)18:05
murmeli mean something like rsync ;)18:06
arraybolt3Eh, not a horrible idea, though I think pcmanfm-qt uses rsync in the background, not entirely sure though.18:06
murmelarraybolt3: oh, yeah with transfers like these, I rather use rsync directly, so I can read the output etc18:07
arraybolt3I'm scared of rsync :P18:11
murmeloO18:11
murmelarraybolt3: what's so scary?18:11
arraybolt3Tons of command-line switches that do I-dont-know-what.18:12
JanCthat's what manpages are for18:12
arraybolt3cp is just, take data, plop copy elsewhere.18:12
murmelarraybolt3: yeah and you have no idea, if source == target18:12
arraybolt3JanC: I KNOW. But I have tons of other stuff I'm doing, I have to find time to learn stuff like that.18:13
JanCand if you regularly have to do the same and don't want to look up the options every time, make an alias or so18:13
murmelI can definitely recommend the -v switch xD18:13
arraybolt3(I meant that in a funny way, not a mean one.)18:14
arraybolt3murmel: Which does...?18:15
arraybolt3Verbose?18:15
JanCon a system with a GUI, there is also grsync18:15
murmelarraybolt3: yes18:15
murmeloh wow that's quite the handy gui, if someone wants to use rsync18:17
arraybolt3Same reason I don't hardly use tar, too many bells and whistles.18:17
murmeleh, it's just getting used to it18:18
JanCideally the defaults are all you need by default  :)18:19
JanCand like I said: when you need to do the same from time to time, make an alias (or a bash function or script when it's more complicated)18:21
arraybolt3Yeah, I can do all that. Just need to find time.18:21
murmelI mean you can always find time if you want to ;) reading the rsync manpage takes maybe 10 mins or so? write out the options you want/need18:23
arraybolt3Alright, all my file verification succeeded and all the data was intact. Woot!19:48
arraybolt3That took *forever*, but hey, it was 2.2 TB, what did I expect?19:48
Bashing-omUWN: Issue760 released to our viewing public: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue760 :D21:10
=== arraybolt3_ is now known as arraybolt3

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!