#lighthearted

Barman woes on OVH

So, due to a cascade of Barman’s errors and corrupted backups due to running out of backup space, I had to pretty much clear out my Barman backup storage.

After resetting everything, however, I was not able to make a full backup, because Barman was not able to receive write-ahead logs from PostgreSQL.

2025-06-04 22:00:21,209 [523687] barman.cli ERROR: [Errno 5] Input/output error: '/backup/barman/pg/wals/00000001000000CD/00000001000000CD00000009.tmp'
See log file for more details.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/barman/cli.py", line 2390, in main
args.func(args)
File "/usr/lib/python3/dist-packages/barman/cli.py", line 1600, in archive_wal
server.archive_wal()
File "/usr/lib/python3/dist-packages/barman/server.py", line 2651, in archive_wal
self.backup_manager.archive_wal(verbose)
File "/usr/lib/python3/dist-packages/barman/backup.py", line 847, in archive_wal
archiver.archive(verbose)
File "/usr/lib/python3/dist-packages/barman/wal_archiver.py", line 213, in archive
self.archive_wal(compressor, wal_info)
File "/usr/lib/python3/dist-packages/barman/wal_archiver.py", line 356, in archive_wal
shutil.copystat(src_file, tmp_file)
File "/usr/lib/python3.12/shutil.py", line 388, in copystat
_copyxattr(src, dst, follow_symlinks=follow)
File "/usr/lib/python3.12/shutil.py", line 338, in _copyxattr
os.setxattr(dst, name, value, follow_symlinks=follow_symlinks)
OSError: [Errno 5] Input/output error: '/backup/barman/pg/wals/00000001000000CD/00000001000000CD00000009.tmp'

Input/output error? That’s odd, but the stacktrace tells us a lot, as from the function name (os.setxattr), we can deduce that it’s trying to set xattrs on our WAL files. The underlying storage for my backups is OVH’s Backup Storage, accessible over NFS. And NFS, for most of its life, was not able to support xattrs even if the underlying filesystem does. The support has been added to NFS 4.2, while OVH (still) uses 4.1.

So, how to fix this?

Initially, I thought of downgrading Barman, because things had worked before. But that did not help, and so I had to go digging into the source code (which was painful as I am not a Python guy).

# Perform the real filesystem operation with the xlogdb lock taken.            # This makes the operation atomic from the xlogdb file POV            with self.server.xlogdb("a") as fxlogdb:                # If the content has changed, it means the file was either compressed                # or encrypted or both. In this case, we need to update its metadata                if content_changed:                    shutil.copystat(src_file, current_file)                    stat = os.stat(current_file)                    wal_info.size = stat.st_size

So, if content_changed is true, we use copystat from shutil.py, which copies xattrs from the original file.

# If the bits of the file has changed e.g. due to compression or encryption            content_changed = False            # Compress the file if not already compressed            if compressor and not wal_info.compression:                compressor.compress(src_file, tmp_file)                files_to_remove.append(current_file)                current_file = tmp_file                content_changed = True                wal_info.compression = compressor.compression            # Encrypt the file            if encryption:                encrypted_file = encryption.encrypt(current_file, dst_dir)                files_to_remove.append(current_file)                current_file = encrypted_file                wal_info.encryption = encryption.NAME                content_changed = True

Ah, so therein lies the rub: Barman assumes that it needs to do this if the content is either being compressed or encrypted. And it just so happens that I’ve also enabled GZIP compression so as not to run out of space again. Well, we have to deal with this the old-fashioned way (by lowering the retention policy). After disabling compression, Barman was able to make backups again.

Hope this helps someone, because it sure as fuck would’ve helped me.

#Barman #lighthearted #NFS #NFSv4 #OVH #pgsql #PostgreSQL #SelfHosting

A screenshot of a grep on Barman logs, showing the error about which the blog post is talking about. /var/log/barman/barman.log:2025-06-04 21:59:04,771 [521188] barman.cli ERROR: [Errno 5] Input/output error: '/backup/barman/pg/wals/00000001000000CD/00000001000000CD00000009.tmp' /var/log/barman/barman.log-See log file for more details. /var/log/barman/barman.log-Traceback (most recent call last): /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/cli.py", line 2390, in main /var/log/barman/barman.log- args.func(args) /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/cli.py", line 1600, in archive_wal /var/log/barman/barman.log- server.archive_wal() /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/server.py", line 2651, in archive_wal /var/log/barman/barman.log- self.backup_manager.archive_wal(verbose) /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/backup.py", line 847, in archive_wal /var/log/barman/barman.log- archiver.archive(verbose) /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/wal_archiver.py", line 213, in archive /var/log/barman/barman.log- self.archive_wal(compressor, wal_info) /var/log/barman/barman.log- File "/usr/lib/python3/dist-packages/barman/wal_archiver.py", line 356, in archive_wal /var/log/barman/barman.log- shutil.copystat(src_file, tmp_file) /var/log/barman/barman.log- File "/usr/lib/python3.12/shutil.py", line 388, in copystat /var/log/barm
N-gated Hacker Newsngate
2025-05-13

Ah, , where the are as bright as a solar panel at midnight. 🌙🔌 Clearly, the Lone Star State just unlocked the quantum secrets of sunlight storage or maybe they just mistook a flashlight for the Sun. 😂🤦‍♂️
thehill.com/policy/equilibrium

2025-05-08

Tired of gamer dudebro posers whining about losing their gacha 50/50s when back in my day doubled SSR drop rates were 0.2%. Real gambling addicts like myself also love the thrill of losing!! It's not even gambling anymore if you win every time smh


#/lighthearted #I-don't-gamble-real-money-btw #just-in-defense-of-myself-lol #hwa.txt
Make it a Triple GamesRanarh@mastodon.gamedev.place
2025-04-26

Five days without a new game? Crazy. My newest:

Familiar City
Play as a street #mage #familiar in this #lighthearted, visually rich micro #TTRPG for a fun solo #journaling adventure. With garbage.
ranarh.itch.io/familiar-city

Created in visual-notetaking style with plenty of visuals to feast your eyes on. Available in German and English, and up to A3 print!

#indiegames #indiedev #minizine

A page from the micro TTRPG Familiar City. Text reads:
"I'm Sascha! You're the new guy, hm? Let me get a good look at you!" The next bit reads in large text with newspaper letter collage: "What kind of animal are you?" And finally the instructions. "Fold the booklet flat. Drop a candywrapper or bottlecap on it. The animal it land closest to, is you!"
There are other images, of a scribbly rat, a labelled magic icon for the electric hearing spell, and a cat and dog which are obviously snippetsf rom a brochure.
2025-01-29
年年有鱼 (Have fish every year) is a common saying around New Years, as a wish for prosperity.  And well, seals love fish.

#LunarNewYear #ChineseNewYear #春节 #新年 #DigitalArt #Krita #Seal #Pinniped #Fish #Cartooning #Art #Lighthearted
A digital drawing of a seal with a gold and yellow koi-like fish in its mouth, with the Chinese characters 年年有鱼 (roughly translates to Have fish every year) above it.  It is drawn in a Chinese brush painting inspired style.
Maho Pacheco 🦝🍻mapache@hachyderm.io
2025-01-13

The beat thing about traveling is organizing your cable set.

Maybe one day everything will be usb-c ...

#travel #organization #cables #lifestyle #lighthearted #humorous #quirky #informal

Code of Amor 💘codeofamor@codeofamor.net
2024-12-15
2024-11-23

@philip_cardella unfortunately, #thanks to #ChistopherLloyd and his #docBrown #character from #BackToTheFurure #movie #film all anyone can think is "1.21 jigawattz" and have a #lightHearted #chuckle about it all.

youtu.be/BDuZqYeNiOA

I like a #laugh as much as the next person but,

Let's not get all #truth is #stranger than #fiction though,

#fine in #fun #cherishable #moment #circumstances but not in #fullScale #nuclearWar #brinkmanship #www #moments

The #WholeWorldisWatching

2024-11-18

🪄 Live intentionally by choosing how you perceive your environment .

This week I'll choose to live in a magical world. Because... why not?
There is no real reason to not engage with lighthearted playfulness.

You can gently, and playfully choose how to frame your experiences this week. And If you feel so inspired, get a reminder of your choice with this little phone wallpaper....

#intention #design #wallpapers #playful #fun #lighthearted =)

Yeah, this one is quite specific but it took me quite a while to find this. So, the steps are as follows:

  1. Go to the Secure Boot management menu on boot up (F2 before the system is booted).
  2. Don’t reset Secure Boot.
  3. Instead, manually delete all keys from PK, KEX and DB. Don’t touch DBX.
  4. Proceed with sbctl as per Arch Wiki.

https://blog.cysioland.pl/2024/10/11/small-caveat-when-setting-up-secure-boot-on-an-intel-ultra-1-framework-laptop-13-on-arch-linux/

#ArchLinux #Framework #FrameworkLaptop #lighthearted #SecureBoot #UEFI

At last, I’ve started blogging. I have finally stopped bikeshedding and just went with WordPress.

I have thought about starting a blog for quite some time. I was jealous of all the queer people inside my computer having blogs and sharing their lengthy thoughts. There is just something about posting on your own website, on a server you control. That’s what drew me to Fediverse in the first place (by the way, this blog is ActivityPub-enabled, you can comment on and subscribe to my posts through your favorite fedi app, just hit up @Cysio or use the link down at the bottom).

Yet, when the time came to write something, I was blocked.

I put it off so long that when I finally did it, I forgot what I wanted to post there in the first place. After all, I could already post my shorter thoughts and musings on my normal Fediverse profile. Except, Mastodon UI does not yield itself to reading and writing long form content very easily.

A blog to me was a personal website where people would post regularly, their posts would be dated, their newest posts would be at the top of the page, and they would also have a link list or “blogroll” pointing to other blogs.

Bacchus, Sex Blog History: The Early Days Of Sex Blogging [cw: discussion of pornography]

Does my blog fit that definition? It’s personal. Posts are dated and sorted reverse chronologically, and there is a spot for a blogroll. The only criterion left is “posting regularly”.

I guess I’ll have to wait and see. Maybe having a blog will entice me to actually write something. I might go over my RSS feeds, look at what my favorite bloggers write about, then share my own two cents on a similar topic. Perhaps I could write about something a bit more personal and closer to my heart.

Or maybe this place will end up on the unfinished project pile.

https://blog.cysioland.pl/2024/09/06/ive-got-a-blog-now/

#blogging #fediverse #lighthearted #meta #welcome

A German Shepherd Dog lying on the grass with his right side towards the camera, with his mouth wide open. In the foreground one can see a flat light-blue nylon leash extending towards the camera.
2024-07-06

Ridiculously late for Lunar New Year but I needed a fun little thing to ease myself back into digital art. 年年有鱼 (Have fish every year) is a common saying around New Years, as a wish for prosperity. And well, seals love fish.

#LunarNewYear #ChineseNewYear #DigitalArt #Krita #Seal #Pinniped #Fish #MastoArt #Cartooning #Art #Lighthearted

A digital drawing of a seal with a gold and yellow koi-like fish in its mouth, with the Chinese characters 年年有鱼 (roughly translates to Have fish every year) above it.  It is drawn in a Chinese brush painting inspired style.
2024-06-21

"To live lightheartedly but not recklessly; to be gay without being boisterous; to be courageous without being bold; to show trust and cheerful resignation without fatalism -- this is the art of living." — Jean de La Fontaine — — — #JeandeLaFontaine #quote #lighthearted #happy #courageous #trust #optimism #cheerful #living

SydneyJimSydneyJim
2024-06-01
🟡Michael Clifford Cartermikecarter
2023-12-02

What Did the Baseball Glove Say to the Ball? Catch Ya Later! Remember, it's Important to Have a Good Sense of Humor and Enjoy the Simple Pleasures in Life.

Susan Larson ♀️🏳️‍🌈🏳️‍⚧️🌈Susan_Larson_TN@mastodon.online
2023-07-26

11 times the #signs at #Pride made us #laugh, #cry and #unite.

Some of the messages are #lighthearted whilst others need to be #heard #loudandclear and this has been shown in #Prides gone by. Here we take a look at a handful of some of the best signs from over the years.

The city's annual #Pride #celebrations return this weekend.

#Women #Transgender #LGBTQ #LGBTQIA #UK #Liverpool #Pride #Representation #Culture liverpoolecho.co.uk/news/liver

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst