stefano, to llm
@stefano@bsd.cafe avatar

I just asked Llama3 Instruct (7B Q8): "Tell me all you know about ZFS on OpenBSD"

Llama3 replied: "A great topic!

ZFS is a combined file system and logical volume manager designed by Sun Microsystems, now owned by Oracle. It's known for its advanced features, high performance, and reliability. On OpenBSD, ZFS is available as part of the base system since version 5.4 (released in 2011). Here are some key aspects of using ZFS on OpenBSD:

Installation

To install ZFS on OpenBSD, you'll need to specify zfs as your file system during installation. This will create a ZFS pool with a single vdev (virtual device) containing the root file system.

ZFS Pool

A ZFS pool is the top-level container for all ZFS storage. It can contain one or more virtual devices (vdevs), which are used to store data and metadata. On OpenBSD, you'll typically create a single pool with a single vdev containing the root file system.

VDEVs

Vdevs are the building blocks of a ZFS pool. They're composed of one or more disk devices, and can be configured in various ways (e.g., RAID-Z, mirror, single-disk). OpenBSD supports the following vdev types:

  • raidz: A type of RAID-5, providing redundancy with data striping.
  • mirror: A simple mirroring configuration for each block.
  • single: A single disk vdev, used for a standalone pool or for testing.

ZFS Features

Some notable ZFS features available on OpenBSD:

  • Snapshots: Instantaneous copies of your file system at a specific point in time. You can take snapshots, clone them, and even revert to previous states if needed.
  • Send/Receive: Allows you to send and receive entire ZFS pools or datasets between systems.
  • Checksums: Data integrity checks are performed on all data written to disk.
  • Compressed: Compression is supported for both data and metadata, reducing storage requirements.
  • Quotas: Limits can be set for individual datasets to prevent excessive usage.

OpenBSD-specific ZFS settings

Some OpenBSD-specific configuration options:

  • zfs_load: Controls whether the ZFS module is loaded at boot time. Set it to YES in /etc/sysctl.conf to enable ZFS support.
  • zfs_root: Specifies the root file system dataset name. Typically set to tank/root.
  • zfs_pool: Sets the default pool name (e.g., tank).

ZFS CLI

The OpenBSD ZFS command-line interface (CLI) is similar to other Unix-like systems:

# zpool list # List all pools and their status  
# zfs list # List all datasets in a pool  
# zfs snapshot # Create a new snapshot of a dataset  
# zfs clone # Clone a snapshot or dataset  
# zfs send # Send a dataset or snapshot to another system  

Tips and Considerations

  • Be cautious when using ZFS, as some operations (e.g., zpool destroy) can be destructive.
  • Regularly check your pool's health with zpool status and ensure you have enough disk space.
  • Use zfs snapshots to create regular backups of your file systems.

This is just a brief overview of using ZFS on OpenBSD. If you have specific questions or concerns, feel free to ask!"

We're safe. And I should ask Theo why he's always lied and never announced ZFS support on OpenBSD. 😆

vermaden, to news
@vermaden@bsd.cafe avatar

Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟰/𝟬𝟰/𝟮𝟮 (Valuable News - 2024/04/22) available.

https://vermaden.wordpress.com/2024/04/22/valuable-news-2024-04-22/

Past releases: https://vermaden.wordpress.com/news/

mms, to FreeBSD
@mms@emacs.ch avatar

Another text for today - " Why you shouldn't run a BSD on a PC"

"Changing GNU/Linux distribution can be done on a whim, as underneath all of that you’ve got the same basic operating systems. With BSDs it’s not the same. One should try to understand the downsides, as not to waste the next 20 years exploring an OS that simply is not a good fit."

https://michal.sapka.me/bsd/why-not-bsd/

(I thought I will write the pro-BSD text first, but the hell with calendars)

jhx, to random
@jhx@bsd.cafe avatar

Fun fact:

I still remember my first steps.
I was absolutely fascinated by when I first found it back on 2009...
Well, it's been a long time... and I still run :openbsd:

The feeling of running never left. I can't quite explaint it.. it felt alien and familiar at the same time - peradox.

citizen428, to random
@citizen428@chaos.social avatar

Full-text search of the OpenBSD manual pages

https://man.ifconfig.se/

pitrh, to security
@pitrh@mastodon.social avatar

Fun Facts About the April 2024 Cisco Attack Data https://nxdomain.no/~peter/fun_facts_about_the_april_2024_cisco_attach_data.html (or with trackers https://bsdly.blogspot.com/2024/04/fun-facts-about-april-2024-cisco-attack.html) - light analysis of attack data by yours truly (again for the morning CE(S)T crowd)

dentangle, to FreeBSD
@dentangle@chaos.social avatar

Cool. recvmmsg() used to be Linux-only, but now appears to be available on all the *BSDs.

Arrived in 7.2 (Oct 2022), and has been in since 11.0 and 7.0.

That is going to make this next bit of code easier.

vermaden, to news
@vermaden@bsd.cafe avatar

Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟰/𝟬𝟰/𝟭𝟱 (Valuable News - 2024/04/15) available.

https://vermaden.wordpress.com/2024/04/15/valuable-news-2024-04-15/

Past releases: https://vermaden.wordpress.com/news/

dfdx, to mastodon
@dfdx@pub.dfdx.io avatar

After unsuccessfully trying to get , , , and working on , I installed and configured relatively easily.

What a nice surprise. Thanks @grunfink

stevelord, to random
@stevelord@bladerunner.social avatar

Fvwm95ing around on

tulpa, to random
@tulpa@fosstodon.org avatar

Why is the 7.5 artwork a reference to Ozymandius? What's the story behind that?

governa, to random
@governa@fosstodon.org avatar

7.5 locks down with improved disk encryption support :openbsd:

https://www.theregister.com/2024/04/12/openbsd_75_disk_encryption/

louis, to random
@louis@emacs.ch avatar

Here at Emacs.ch we run an experimental side instance [1] based on Snac2 [2], which is a Mastodon-compatible Fediverse server written in C, runs completly file-based and features a zero-JS UI.

It doesn't have many of the fancy features of Mastodon, but is a bright example of how a super-minimal system can do the job very well. It'll also work with your mobile Mastodon apps and small browsers like Dillo[3].

It runs on OpenBSD and we accept a few more testers. There is no automatic sign-up, so if you are interested, DM me with the desired account name and I'll send you the credentials.

[1] https://snac.emacs.ch
[2] https://codeberg.org/grunfink/snac2
[3] https://dillo-browser.github.io

andrew_chou, (edited ) to FreeBSD
@andrew_chou@toot.cafe avatar

no idea how far this will reach but let's try:

if I were to start learning more about one of the listed BSD operating systems, which would you recommend? Guessing the answer could be different if we're talking about daily desktop usage vs server, so maybe clarify your answer via a reply if you can (fwiw, probably more interested in daily desktop usage, but open to whatever too).

JdeBP,
@JdeBP@tty0.social avatar

@andrew_chou

Given that you said "learn about" and not "use", and given that you said that you had MacOS, I'd say learn FreeBSD first, then NetBSD, then OpenBSD.

It's worth learning them all.

But is the closest to what you have in MacOS, with there being somewhat of a common heritage from many years ago; will expand your horizons from that, and then is the furthest away from MacOS with very different ideas about almost everything and different abstractions.

horia, to random
@horia@honk.vedetta.com avatar

Headquarters

tdarb, to random
@tdarb@fosstodon.org avatar

Wrote a quick write up with wiki-links on how to setup a core OpenBSD system and then install DWM on top:

"OpenBSD is a Cozy Operating System"

https://btxx.org/posts/OpenBSD_is_a_Cozy_Operating_System/?updated

RL_Dane, to KDE
@RL_Dane@fosstodon.org avatar

Discovered something clever:

I use Ctrl+Super+L for screen locking in .
It works fine, but Plasma doesn't automatically pause media playback when locking the screen.
So, I removed the lockscreen shortcut, and added a custom Ctrl+Super+L shortcut to execute:
bash -c 'playerctl pause & qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock'

Perfect!

RL_Dane,
@RL_Dane@fosstodon.org avatar

@hq1

Nice, nice! I have ctrl + super + [-=] for brightness, ctrl + shift + super + [-=] for volume, and ctrl + shift + super for play/pause (used to be mute toggle)

I tend to write single-purpose scripts that work on as many platforms as I use, so my volume and brightness scripts work on multiple linux distros and . ;)

https://codeberg.org/rldane/scripts/src/branch/main/volume

https://codeberg.org/rldane/scripts/src/branch/main/backlight

governa, to random
@governa@fosstodon.org avatar

7.5: Best New Features :openbsd:

https://debugpointnews.com/openbsd-7-5/

secbsd, to infosec Spanish
@secbsd@exquisite.social avatar

We're excited to announce the release of SecBSD 1.5's latest snapshot! This update brings significant changes inherited from

Goodbye msyscall: In this snapshot, we say farewell to the msyscall stub. Now, none of the calls involve msyscall anymore.

Update xserver: This release includes the xserver version 21.1.12.

Protected pool_get() with kernel lock in sys_ypconnect().

Removed GOST and STREEBOG support from libressl.

Removed Softdep.

Tools:

  • brutespray 1.8.1.
  • cloudfox 1.12.2.
  • enum4BSD 0.9.1.
  • feroxbuster 2.10.2.
  • metasploit 6.3.55.
  • mlmmj 1.4.5.
  • nuclei 3.2.4.
  • pwntools 4.13.0.
  • rustscan 2.1.1.
  • sn0int 0.26.0.
  • social engineer toolkit 8.0.3.
  • solidity 0.8.21.
  • spiderfoot 4.0.
  • theHarvester 4.5.1.
  • zaproxy 1.14.0.

and more!

You can download the latest SecBSD snapshot from:

https://mirror.secbsd.org/pub/SecBSD/snapshots/amd64/
https://mirror.laylo.nl/pub/SecBSD/snapshots/amd64/
http://zqsjg25lnx7zratmne3dhbcqt5paehitom3qp2rjmwttuy7gzbzqwayd.onion/pub/SecBSD/snapshots/amd64

sinza, to random
@sinza@bitbang.social avatar

tip:

You can remove all packages with

pkg_delete $(pkg_list -mz) && pkg_delete -a

Edit: @solene has informed me of a cleaner way to do what I was trying to accomplish:

pkg_delete -X

Please do this instead. 😅

pitrh, to news
@pitrh@mastodon.social avatar

20 years since "and we're just starting": undeadly.org turns 20 (2024-04-09) https://www.undeadly.org/cgi?action=article;sid=20240409044953

ParadeGrotesque, to random
@ParadeGrotesque@mastodon.sdf.org avatar

Finally going home after a whole day of meetings.

I'd like to update my 15 VMs...

I also think I need to double-check my qemu installation, as 7.2.9 seems to be the last 7.x version (I have 7.2.7 installed).

I still have and VMs to update or reinstall.

Thinking about setting up a mirror.

SearxNG is definitely something I need to setup.

Also SNAC2 under Slackware.

BoxyBSD, to FreeBSD German
@BoxyBSD@bsd.cafe avatar

BoxyBSD just started!

is a non-profit VM & service provider for the open-source community with a focus on BSD based Systems like , and . BoxyBSD also provides additional services like webhosting, git, email and DNS solutions for projects to give valuable things back to the community.

You can find out more on https://boxybsd.com or in Matrix :bsd.cafe

antics, to random Swedish
@antics@mastodon.nu avatar

Guide: Install snac on (without relayd)

https://chai.guru/pub/openbsd/snac.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • mdbf
  • khanakhh
  • tacticalgear
  • megavids
  • everett
  • modclub
  • Leos
  • cubers
  • ngwrru68w68
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • anitta
  • provamag3
  • normalnudes
  • tester
  • lostlight
  • All magazines