-
tom
ext-to-btrfs just sounds like a disastrous idea
-
tom
just buy or rent a hard drive/cloud storage and migrate the data
-
tom
or better use, use zfs
-
tom
it's unstable immature crap like that pushed into the "stable" releases of distributions that made me stay the hell away from btrfs
-
tom
back in debian jessie, btrfs didn't even warn you when it encountered a corrupted chunk
-
tom
not even something in dmesg
-
tom
running btrfs is a minefield of this
-
tom
» has been broken for years, it will immediately and irrevocable corrupt your partition
-
tom
» did that on a laptop 2 years ago and it worked without any issues typical redhat (IBM) mentality. Works on my machine!
-
tom
therefor, good enough to sip
-
tom
ship
-
tom
"we only use ssds so we removed that feature"
-
moparisthebest
zfs-on-linux is the beta never-gonna-be-good stuff :)
-
moparisthebest
btrfs is in the kernel, it works today and you can assume it'll still work tommorow
-
octagon
btrfs is *extremely* stable when used in the single, dup, or raid1 modes
-
octagon
file system conversions will never be 100% perfect
-
moparisthebest
I use btrfs in raid1 and single depending on the machine, but I use it everywhere
-
Sam
zfs on linux is the main dev repo now. It *is* the good stuff
-
moparisthebest
but it'll never be merged and is often broken by upstream linux changes right ?
-
xorman
brtfs vs. zfs 🍿️
-
octagon
main dev repo? mainline or of zfs?
-
xorman
the only thing I hate about zfs is that cache RAM usage shows as used, not buffer
-
Kris
zfs for the win :p
-
tom
» <octagon> btrfs is *extremely* stable when used in the single, dup, or raid1 modes yeah but that's not impressive and doesn't offer much over an lvm or hardraid
-
tom
moparisthebest: ZoL uses the same zfs codebase as all the other openzfses
-
octagon
hwraid doesn't have checksumming, and hwraid/lvm has no compression, dedupe, or snapshots
-
octagon
mdraid is tedious to maintain
-
tom
including FreeBSD, which is switching to OpenZFS because that's where the good stuff is happening
-
tom
» <octagon> hwraid doesn't have checksumming, yes it does
-
tom
It's called Type 2 protection and can be had with HBA controllers too
-
moparisthebest
yea hardware raid is an immediate hard no
-
tom
it's still useful for zfs in that it can prevent some stupid errors relating to the sas cable plug being loose from happening
-
moparisthebest
btrfs and zfs both have wins and losses over each other, depends what you want really
-
tom
I just don't think so
-
octagon
but you should still use btrfs or zfs wherever possible, they are modern file systems no reason to not use them
-
tom
there's no scenario i can think of that btrfs does that zfs or some other solution does a whole lot better
-
moparisthebest
tom, can I setup a raid1 array with 2x2TB drives today and then add a 3TB drive tommorow and then replace one of the 2TB with a 4TB the next day with ZFS? can with btrfs
-
tom
I'd still rather do XFS w/ checksumming on a lvm raid1
-
tom
» <moparisthebest> tom, can I setup a raid1 array with 2x2TB drives today and then add a 3TB drive tommorow and then replace one of the 2TB with a 4TB the next day with ZFS? can with btrfs you can append vdevs to a pool
-
xorman
why not? you can add devices to a mirror in zfs
-
octagon
adding vdevs is a hack
-
moparisthebest
I'm under the impression you can't "change shape" with zfs
-
tom
reconfigure your topology on the fly is a hack
-
moparisthebest
what about changing raid levels ?
-
tom
until you issue a 'rebalance' your data is in a very unsafe state
-
moparisthebest
like going from single to raid1
-
tom
and won't fix itself until you do rebalance manually
-
tom
but it's not like it's going to warn you that some of your blocks are only partially replicated
-
xorman
> like going from single to raid1 zfs can do that
-
moparisthebest
in-place without downtime ?
-
tom
» <moparisthebest> I'm under the impression you can't "change shape" with zfs there are some restrictions with regard to Zn and vdev types
-
xorman
not sure about the growing/"changing shape"
-
tom
yes
-
xorman
yes, you can add a device to make a mirror on the fly
-
xorman
and the good thing is you only sync what is occupied, unlike mdraid
-
tom
you just can't reconfigure the topology of a raidZn vdev within a pool
-
tom
you can grow it and add/remove other vdevs tough
-
tom
*though
-
tom
you can add multiple raidZn vdevs to a pool
-
xorman
so you can't grow a zpool?
-
tom
yes you can grow a zpool
-
tom
there are many ways to do it
-
tom
you can grow the vdevs and/or add more storage type vdevs to a pool
-
tom
this is how mine looks
-
tom
pool: tank state: ONLINE scan: scrub repaired 0B in 04:02:08 with 0 errors on Thu Apr 8 02:19:10 2021 config: NAME STATE READ WRITE CKSUM SLOW tank ONLINE 0 0 0 - raidz1-0 ONLINE 0 0 0 - scsi-35000c5004247a387 ONLINE 0 0 0 0 scsi-35000c50042488edf ONLINE 0 0 0 0 scsi-35000c5004248a547 ONLINE 0 0 0 0 scsi-35000c500560c720f ONLINE 0 0 0 0 scsi-35000c500565cbc4b ONLINE 0 0 0 0 special mirror-2 ONLINE 0 0 0 - ata-Samsung_SSD_850_EVO_M.2_1TB_S33ENX0H902345P-part3 ONLINE 0 0 0 0 ata-HFS500G32TND-N1A2A_FI64N09421020524Z ONLINE 0 0 0 0 errors: No known data errors
-
tom
I plan to replace the special mirror-2 vdev with 12GB/s SAS ssds when I can afford more hardware
-
tom
until then I had a m.2 ssd with extra space and a sata ssd i threw in
-
tom
i plan to replace the drives within the mirror-2 vdev and then grow that vdev to accomodate more space, then adjust some of the datasets so they are fully accelerated
-
tom
currently, just tiny io and metadata are stored within solid state
-
tom
because spinning rust is terrible at performance with tiny io
-
tom
or random io
-
tom
so i just send the tiny and random to the ssds, which they are good at
-
tom
best of both worlds!
-
tom
and I get a little bit of hardware error-correction across the full path so even a a faulty cable won't cause an error which the software needs to correct and slow things down via the Type 2 protection which my HBA card supports
-
tom
the disks use 520-byte sectors instead of 512
-
tom
8 bytes are used for hardware ECC
-
tom
the rest is given to ZFS to use it's purposes
-
tom
this allowed for error correction in the cables, not just the data
-
tom
but the sata drives are just stupid and don't have anything fancy
-
tom
just consumer drives
-
tom
btw, FreeBS13 will use the OpenZFS codebase (the same one OpenZFS on Linux uses)
-
tom
or you could use it right now by installing the zfs.ko from ports
-
tom
which you should do anyways if you want things like encrypted datasets
-
xorman
do you use external SLOG on the SSDs?
-
tom
not right now. I used to but currently I just don't have a lot of synchronous writes
-
xorman
apt-get is painfully slow for me under zfs, even with sync=disabled. I hope to solve it with a slog but I'm not sure
-
tom
keep in mind that a raidZ(n) has the random performance of 1 spindle
-
tom
if sync=disabled did not fix your problem try adding a special vdev xorman. It sounds like the apt problem may be database expensive
-
xorman
I'm using a mirror
-
tom
how many mirror vdevs?
-
xorman
2
-
tom
oh, so 2 spindle write perf
-
xorman
apt-get over spinning ext4 is way faster
-
tom
I would suggestion adding a solid state special mirror, and then setting the pool's special allocation class to 64K
-
tom
assuming your other datasets's recordsize is 128K
-
tom
yeah, ext4 isn't copy on write
-
xorman
I might try with sync=enabled and libeatmydata
-
tom
what is that?
-
xorman
it's a workaround to disable sync writes in dpkg
-
tom
why does dpkg use a lot of sync writes?
-
xorman
zfs should handle the synced writes anyway with sync=always
-
xorman
as a test at least
-
tom
the only things that need to be persitent in a package manager is the list of installed packages
-
octagon
and ya know the packages it installs 😉
-
tom
everything else can be redownloaded or regenerated
-
xorman
I heard apt-get has performance issues with btrfs too
-
tom
the thing about zfs, well hard drives in generally really, is that if you send too many random writes to them you can starve out everything else
-
tom
a drive might be capable up pumping out 200MB/s largeio and 400MB/s sequential, but if you starve it with randomio it's capped to 4MB/s
-
tom
or smallio
-
tom
you know what has performance issues on zfs? lmdb and monero
-
tom
that's a big mess. I have to occasionally copy and delete the data around to defrag it
-
tom
hopefully I won't have to do that as much with the special class, or anymore ounce i get bigger ssds
-
tom
it's because using LMDB is CoW on CoW
-
octagon
Can you not chcon and disable cow for the folder/files?
-
octagon
chattr*
-
xorman
I guess ethereum may the same problem bc I tried to run a validator and it missed all the blocks due to i/o lag
-
tom
zfs is cow
-
tom
that's how it fails safe
-
jonas’
any DB on top of a Cow filesystem is not going to be fun :)
-
ernst.on.tour
Somebody from www.conversejs.org online ? Got a HSTS-Error, your cert is only named for conference.conservejs.org, but not for www Maybe your should add it. Https//conversejs.org is working well
-
Licaon_Kter
I've pinged JC
-
ernst.on.tour
Thanks ...
-
nicola
HI! I am evaluating setting up an XMPP server. Do you suggest to me ejabberd or openfire? Or other?
-
flow
nicola, i'd suggest ejabberd or prosody
-
jonas’
or snikket if it fits your usecase
-
jonas’
https://snikket.org/
-
nicola
> nicola, i'd suggest ejabberd or prosody Tks. I seem that ejabberd it simpler to install. Am I wrong?
-
xorman
both are equally simple
-
nicola
> or snikket if it fits your usecase Interesting.
-
jonas’
nicola, snikket is in my opinion simplest to set up, it is geared towards friends&family and I recommend it for that
-
jonas’
(disclaimer: I am a contributor :))
-
nicola
@jonas’ tsk ;-)
-
nicola
> nicola, snikket is in my opinion simplest to set up, it is geared towards friends&family and I recommend it for that What are the differences with ejabberd?
-
jonas’
nicola, Snikket is a complete suite: Android client, iOS client (closed beta), Server including web interface for easy management
-
jonas’
the XMPP server component is a preconfigured prosody with hand-selected modules for ease of use and setup.
-
jonas’
as the package is always tested together, many of the issues like "which modules do I need?" "does X work with Y?" don’t occur
-
jonas’
being standard XMPP, you can federate with other Snikket (and normal XMPP domains) or use it with other (non-Snikket) XMPP clients such as Dino or Gajim on non-phone systems.✎ -
jonas’
being standard XMPP, you can federate with other Snikket (and normal XMPP) domains or use it with other (non-Snikket) XMPP clients such as Dino or Gajim on non-phone systems. ✏
-
nicola
> being standard XMPP, you can federate with other Snikket (and normal XMPP domains) or use it with other (non-Snikket) XMPP clients such as Dino or Gajim on non-phone systems. Tks. Very interesting. I see that the installation is very simple by docker
-
jonas’
that’s the goal :)
-
xorman
I was also about to recommend Snikket if you are new to server hosting
-
jonas’
we also have a chat: xmpp:general@channels.snikket.org?join
-
jonas’
if you have any questions or issues with setting it up or something, that’s the place to go :)
-
nicola
Ok. I’ll try to install Snikket and I’ll come back here. Thank you again
-
jonas’
have fun! :)
-
nicola
The iOS app is only for Snikket or is it possible to add other XMPP server accounts?
-
jonas’
I’m not sure, I don’t have an apple device myself
-
jonas’
I suggest you hop into general@channels.snikket.org and ask there, there are people who are in the iOS beta.
-
jonas’
however, during beta, standard snikket server users are preferred because that’s the main focus currently.
-
nicola
Here I am, again.
-
nicola
I installed Snikket
-
MattJ
Using the Snikket iOS app with servers other than a Snikket server or a Tigase server will lead to sub-optimal results
-
jonas’
hi nicola :)
-
nicola
I am using on iOS Siskin IM
-
nicola
Probably this is not the right place, but I see a warning on the SSL connection. Why?
-
MattJ
Which server are you connecting to?
-
nicola
https://chat.nicfab.it - self hosted
-
jonas’
nicola, hmm, do you have a reverse proxy in front?
-
MattJ
The certificate on that site says it is for a different site
-
nicola
> The certificate on that site says it is for a different site Ok. I try to understand
-
nicola
I have a firewall and I thought that the SSL connection was automatically set during the installation
-
nicola
I installed certbot. Can I use it to generate certificates for the Snikket site or it is managed by the docker?
-
MattJ
Snikket will generate its own certificates
-
MattJ
It just needs to listen directly on port 80/443, or you need to configure a reverse proxy if you have other things on the same machine
-
nicola
> Snikket will generate its own certificates If I set port 80 it doesn’t work
-
MattJ
Because I'm guessing you have something else already using port 80
-
MattJ
nginx or apache for example
-
MattJ
Documentation is here: https://github.com/snikket-im/snikket-server/blob/master/docs/advanced/reverse_proxy.md
-
nicola
Ok. Now it works fine
-
MattJ
Great :)
-
nicola
I need to set up a reverse proxy. Ho can I access to nginx ?
-
MattJ
Depends on your system and how you installed nginx. On most systems you'll find the config at /etc/nginx
-
nicola
Sure! I thought nginx was installed inside the docker
-
MattJ
There is an nginx inside the docker containers but you never need to touch that (and shouldn't... any changes you make will be lost when it updates)
-
MattJ
The documentation I linked is for if you already have nginx or another reverse proxy on your system, so you can share port 80 and port 443 between multiple sites
-
nicola
> The documentation I linked is for if you already have nginx or another reverse proxy on your system, so you can share port 80 and port 443 between multiple sites Ok. Tks
- mathieui looks at alex connecting one second every ~15 seconds
-
mathieui
that is a very bad connectivity issue
-
Alex
yeah thanks for the heads up, on a bad connection
-
mathieui
Alex, the lowercase you though
-
mathieui
seems like a bug more than anything else
-
Alex
not me then
-
mathieui
I would be curious actually, maybe the lowercase thinks it is in conflict with the uppercase and prevents the final join, then it reconnects after
-
mathieui
sadly we’ll never know
-
nicola
I was wondering if in the future it will be implemented the registration from the web page instead of by the admin via shell
-
octagon
nicola: ejabberd and prosody both support registration via web
-
octagon
And both support inband
-
nicola
> nicola: ejabberd and prosody both support registration via web Yes, I know. I was referring to Snikket
-
menel
Snikket allows registration via invite to a webpage too.. You can just send people a link and they registrate from there..
-
menel
I don't think snikket will ever do open registration..
-
menel
Easy to setup spam server
-
rob
I like the link + web page method
-
rob
I might eventually that up on my prosody server
-
rob
I wonder if you have multiple vhosts, if they can choose from any of them
-
rob
Probably better for the prosody channel
-
tom
There is IMMENSE lag to yax.im from my server
-
tom
Talking like over 30 seconds
-
tom
What's going on over there?
-
tom
Is your server paging in and out of swap or something?
-
menel
Be gentile to yax.im its handling the vaxvbot flood > https://yaxim.org/blog/2021/04/09/vaxbot-performance-challenge/
-
rob
Yes yax.im is under a lot of stress
-
rob
💚
-
rob
I'm getting the urge to write a bot that monitors various system things on your server and reports issues, but also responds to queries. As though I have time for more projects
-
rob
aioxmpp library looks good and would be fun to practice Python
-
octagon
rob: Jonas has that?
-
rob
Oh, the bot? That works be cool
-
rob
Or the library? In which case yes it's theirs
-
tom
This is hilarious https://yaxim.org/blog/2019/04/01/yaxim-enters-the-matrix/
-
tom
Thanks for writing this
-
tom
Especially this part: » cvwright on Feb 21, 2019 [–] » » If everyone shared your (lack of) optimism, then we'd still be stuck with: » » * Wonky unwieldy hypertext systems instead of the WWW » » * The Nomad instead of the iPod » » * The Blackberry instead of the iPhone » » * GNU Hurd instead of Linux » » * Geocities instead of Facebook (-- OK maybe that one's a wash :-) » » The point is, sometimes it's worth trying again until you can make it work. Hello, I would fuckin love to live in a world like that
-
tom
Can you imagine?