-
scoobybejesus
-
VimDiesel
Title: NFS does *not* support server-side copy with ZFS? :( | TrueNAS Community
-
edenist
presumably that is refering the native ZFS exports? I'd have thought that exports handled by the OS would be filesystem agnostic
-
jmnbtslsQE
nfs is not quite filesystem agnostic but i'm not sure of the details. if by native zfs exports you mean sharenfs, that's just a mechanism to automatically recursively list zfs datasets in an nfs exports file
-
jmnbtslsQE
(well at least sharenfs used to be that, not sure what it does on openzfs)
-
jmnbtslsQE
scoobybejesus: seems like it could account for the difference when copying locally, but would it account for the difference when receiving the snapshot? in other words would zfs introduce sparseness? (no idea)
-
jmnbtslsQE
but i would still think that such a large difference in filesize would be difficult to be accounted for just by sparseness when it's a multimedia file...
-
scoobybejesus
it is prod that is taking up more room than backup. writing the snapshot to the backup box takes up as much room as the file should take up. initial writing of the file by an NFS client (linux, otherwise ext4) is where the sparseness shows up.
-
scoobybejesus
it's weird that i could probably script something to cp every file in place and save over 33% of the disk space used up by that dataset. i'd like to think that wouldn't wreck havoc on the database watching those files.
-
rtprio
scoobybejesus: how are you getting th snapshot to the backup box
-
jmnbtslsQE
yeah, by sparseness i mean reduced space thanks to the filesystem recognising the gaps
-
edenist
jmnbtslsQE, sorry by native exports I meant those handled by ZFS directly, rather than those handled by freebsd with nfsd etc
-
scoobybejesus
I am using syncoid
-
jmnbtslsQE
just realised i was assuming possibly wrongly this whole time that you were backing up using zfs send/recv
-
scoobybejesus
syncoid does use zfs send/recv under the hood, glueing in mbuffer and compression over the wire
-
ShinyCyril
Trying to install a fresh copy of FreeBSD 14 onto a ThinkPad X270 with an existing FreeBSD installation. NVMe disk isn't showing up in any of the guided disk setup menus, but is in /dev (and was what I had originally installed the current OS on). Any idea why this might be?
-
ShinyCyril
I vaguely recall something about some UEFI settings on ThinkPads...
-
ShinyCyril
(using the memstick.img)
-
johnjaye
how did you get 13 onto it, if that's what you're using?
-
ShinyCyril
therein lies my confusion. It was a long time ago, but I used the memory stick image also. I suspect it's something to do with the disk being MBR-formatted. I'm going to drop into a shell and wipe it/convert to GPT and try again.
-
edenist
14 implemented a new nvme driver I believe
-
edenist
-
VimDiesel
Title: nvd(4)
-
edenist
-
VimDiesel
Title: nda(4)
-
ShinyCyril
yeah that did the trick - I can now select the disk
-
edenist
lkdload nvd?
-
edenist
*kldload
-
johnjaye
what did? reformatting the nvme disk as GPT?
-
ShinyCyril
sorry, reformatting as GPT
-
johnjaye
it might be a bug with the installer then
-
johnjaye
it should allow you to select it
-
edenist
ok that makes more sense. nda supposedly is fully backwards compatible with nvd
-
voy4g3r2
the fun times of when you think a change is simple.. and by the end of your journey.. you are no closer than you were before:
bughuntingfreebsd.wordpress.com/2024/03/07/fixing-self-referencing
-
VimDiesel
Title: Fixing self-referencing.. – FreeBSD Bug Hunting
-
thegman
is there a tool that automatically switches the current ports branch to the latest quarterly one every quarter
-
exoflux
Does pkg allow me to find all the packages that depend on Qt-5.10.15, plz?
-
exoflux
strange
-
rwp
If exoflux had stayed I would have suggested this one-liner: for p in $(pkg info); do pkg query '%dn' $p | grep -q '^qt5-' && echo $p; done
-
rwp
That's installed packages not all packages that one might install but...
-
thegman
i think i came up with a solution
-
thegman
0 0 2 */3 * root git -C /usr/ports switch $(date +%YQ%q)
-
thegman
in cron
-
rwp
Clever! (Though I am unfamiliar with git-switch and wonder how it differs from git-checkout. It's not important that I know this though.)
-
thegman
i just got git switch from the wiki
-
thegman
-
VimDiesel
Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal
-
thegman
it might need a git pull as well though
-
rwp
I have quickly scanned the man page for git-switch and it says "does not require a clean index and working tree" so that's one difference. git-switch is a new command, still marked experimental, and I just have not interacted with it before.
-
thegman
i cant recall ever using it
-
KREYREN
i just figured out that nixbsd (
github.com/nixos-bsd/nixbsd) is a thing so i want to integrate it in my nixos config
github.com/Kreyren/nixos-config so that i can just on demand switch kernels linux/bsd.. is there any painless way to check how well will the devices run on bsd? e.g. I am helping with development of linux kernel for OLIMEX Teres-I it would be cool if it could do *BSD as well :P
-
VimDiesel
Title: GitHub - Kreyren/nixos-config: My WIP nixos configuration
-
V_PauAmma_V
I'd suggest starting with
freebsd.org/releases/14.0R/hardware if you haven't looked at it already. Next in order would be searching
dmesgd.nycbug.org/index.cgi , then booting FreeBSD on that if feasible. (For NetBSD and OpenBSD, I'm not sure, but something similar to the first URL on their respective websites may exist.)
-
VimDiesel
Title: FreeBSD 14.0 Hardware Notes | The FreeBSD Project
-
KREYREN
soo apparently people in linux-sunxi tested it, it should work, but lacks some kernel things like governer support etc..
-
KREYREN
how different is it to submit patches to freebsd? I will try to contribute few once i finish working on robust linux 6.5+ support
-
KREYREN
V_PauAmma_V, thanks that's helpful i also found
bsd-hardware.info which should work with linux-hardware.org probe to get more details on the exact modules?
-
» KREYREN just tried freebsd like 9? years ago and havent touched it since
-
KREYREN
freebsd.org/releases/14.0R/hardware also the website explicitly says A64-Olinuxino is supported which is the board that was used to develop OLIMEX Teres-I and uses the same hardware
-
VimDiesel
Title: FreeBSD 14.0 Hardware Notes | The FreeBSD Project
-
V_PauAmma_V
I'll leave your question about submitting patches to a developer, but IIRC they'll take (some) pull requests on Github.
-
scoobybejesus
integrating nixos into the freebsd world sounds both awesome and difficult, given that nixos is fairly linux centric, though i suppose with enough effort, it's possible to factor out direct dependencies
-
» kenrap won't be surprised if nixbsd becomes abandonware due to lack of hardware support for linux people
-
dstolfa
i would be surprised if these packages actually worked given how many patches are laying around in our ports tree that upstreams don't want
-
KREYREN
scoobybejesus, it seems that the nixos-part is already handled by the nixbsd but it seems to need adjustments for packages and modules to work on linux and freebsd
-
scoobybejesus
i'm eager to see updates on this :)
-
KREYREN
-
VimDiesel
Title: Implement nixbsd · Issue #4 · Kreyren/nixos-config · GitHub
-
VimDiesel
4 – You can mount a filesystem multiple times "on top" of itself
bugs.freebsd.org/bugzilla/show_bug.cgi?id=4
-
KREYREN
I first need to handle
git.dotya.ml/KREYLIMEX/TERES/milestone/21 but that's near finished
-
VimDiesel
Title: Maintanance - TERES - git.dotya.ml
-
KREYREN
Is there something like sunxi-oriented work for BSD btw? e.g.
linux-sunxi.org/Olimex_Teres-A64 is for linux and patches are then handled sent to linux from megi's (sunxi dev) git repository
-
VimDiesel
Title: Olimex Teres-A64 - linux-sunxi.org