-
mason
koobs: o/
-
koobs
mason: o/~
-
edenist
hi koobs o/
-
koobs
edenist: o/~ how are you ?
-
edenist
well thanks koobs, yourself?
-
edenist
[sorry totally zoned out and missed the ping, heh]
-
koobs
edenist: not too shabby
-
koobs
and all good :)
-
edenist
:-)
-
polyex
i try and make zfs set snapdir=visible zroot/disk but it doesnt apply to datasets of that type. tried to set on zroot/disk@snapshot but then it said property can't be modified for snapshot
-
polyex
i made /zroot/vms/ have snapdir=visible. i can see volumes in /dev/zvol/zroot, but i can't see any of their snapshots. /zroot/vms/.zfs/snapshot/ exists but it's empty
-
SpaceBass
I'm in a bit of a bind - in single user mode. Root FS is ufs and, before rebooting, I moved /usr/* to a new zpool called 'expanded' ... goal of single user mode is to remount that zpool from /expanded to /usr ... I tried zpool export and import but I'm not finding success
-
SpaceBass
Currently, zpool import usr says that 'usr' is a pool that already exists (which would be great) but I can't 'ls /usr'
-
polyex
i mixed up snapdir with snapdev hehe sorry
-
polyex
sorry space im a noob
-
polyex
dunno how to fix ur prob
-
SpaceBass
polyex, right there with you...including mixing up stuff. I've got decades of experience with tech and still feel like a noob compared to the experts :)
-
SpaceBass
I think I sorted it... multitude of errors (on my end)... when I exported the old zpool and re-imported as usr it ended up having a path of /usr/usr ... a simple mv /usr/usr* /usr (in single user mode) fixed it
-
SpaceBass
Mind you, I'm not 10 steps deep in simply trying to do a ports upgrade ... but I'd run out of space and needed to add a new drive 🤣
-
polyex
ya me too man
-
SpaceBass
I keep coming back to an appreciation of FreeBSD's simplicity and adherence to (what probably dates me as) old-school standards. I had to work on an ubuntu server today with netplan networking and it was awful
-
polyex
ya but read all the earned hype about linux using rust now. linux starting to leave freebsd behind even more
-
polyex
i wonder how hard it is to learn
-
SpaceBass
My similar concern is networking - pfSense and TrueNAS moving to linux-based cores for higher performance :( ... I love my Netgate hardware but FreeBSD chokes on intra-vlan routing that Linux can do on the same hardware and that makes me sad
-
polyex
ya im kinda uneasy
-
polyex
i think freebsd ppl are too old and out of it to know what kinda revolution rust is
-
polyex
btw you know how to mount a zfs zvol snapshot? i wanna diff the FS of 2 zvol snapshots to see what changed
-
llua
use mount
-
polyex
is it possible to mount into a temporary dir? like so i dont have to mkdir /mnt/default before i run mount -t ufs /dev/zvol/zroot/vms/disk@raw /mnt/raw then delete it?
-
polyex
so then after i unmount the temp dir would go away automatically
-
llua
no
-
polyex
k well i made a /mnt/raw dir manually, tried sudo mount -t ufs /dev/zvol/zroot/vms/disk@raw /mnt/raw and now it complains that no such file or dir
-
polyex
crw-r------ is the snapshot perms on disk
-
polyex
llua how do i use mount to mount a zfs zvol snapshot? its snapdev prop value is visible, i can see it on disk
-
polyex
i searched for tuts but didnt find anything u sure it's possible to mount a zfs zvol snapshot?
-
rtprio
polyex: if it's ufs, you'll need to create the mountpoint
-
polyex
is that a zfs thing i do or?
-
rtprio
rather, did you `mkdir /mnt/raw` ?
-
polyex
yep
-
polyex
under sudo
-
rtprio
i suspect that /dev/zvol/zroot/vms/disk@raw does not exist
-
polyex
but i can ls -la it, copy pasting from the error output, and FS gives me its details :/
-
polyex
should snapshot owner be root:operator?
-
rtprio
i don't see snapshots in /dev/zvol
-
polyex
where are yours? in /zroot?
-
rtprio
elliot@freebsd:~$ zfs list |grep zvol
-
rtprio
z/zvol 104M 34.5G 56K -
-
rtprio
elliot@freebsd:~$ ls -al /dev/zvol/z/
-
rtprio
crw-r----- 1 root operator 0x6b Sep 15 20:05 zvol
-
polyex
hmmm i dont get anything returned
-
rtprio
that's it
-
polyex
why don't i get anything from zfs list grep?
-
rtprio
you should get your zvol; assuming you `grep vms`
-
polyex
i have zfs filessystems and volumes, and snapshots of each, and they all back bhyve guests and they're running right now
-
polyex
nothing says zvol in zfs list. my zroot/vms points to /zroot/vms, which has .zfs/snapshot but nothing in it
-
rtprio
right, to compare a snapshot is.. not going to be fun
-
polyex
but it's possible right?
-
rtprio
pastebin your `zfs list`
-
rtprio
and what is the path to the drive you're tying to compare
-
polyex
-
rtprio
but /zroot/vms/ is empty, right?
-
polyex
it has .zfs/snapshot in it, but empty
-
rtprio
but is the disk your vm us using is /zroot/vms/disk the zvol or something else
-
polyex
zvols and snapshots appear to be in /dev/zvol/zroot/vms/
-
polyex
in there is like, disk, disk@default, disk@snap1, disk2, disk2⊙d.
-
polyex
perms on everything in there, zvols and snapshots, are crw-r----- root:operator
-
polyex
zvols and zvol snapshots* (they arent fs snapshots)
-
rtprio
you'll have to `zfs clone` your snapshot, and then you can mount it somewhere else
-
polyex
when i make a snapshot i run zfs snapshot zroot/vms/disk@snap#
-
polyex
why is my stuff in the wrong dir tho first?
-
rtprio
what makes you think it's in the wrong directory?
-
polyex
i just thought they were supposed to go in /zroot/vms/.zfs/snapshot
-
rtprio
if it's a zfs filesystem; but zvols are just a chunk of blocks (in your case formatted with ufs)
-
polyex
ok so i gotta clone the zvol snapshot, then mount clone, then do same for other snapshot, then diff their mounts?
-
rtprio
if you're trying to diff two snapshots, yes; if you're trying to diff the zvol and a snapshot, no.
-
polyex
ooooo
-
rtprio
you might consider setting no mountpoint for zroot/vms to reduce confusion
-
polyex
was just running into that trying out zfs-clone and missing target dataset. what sets it?
-
polyex
i dont remember setting it
-
rtprio
you need to name the new volume created from the snapshot
-
polyex
rather than cloning to volume, any way to cut out a step and clone right into mounting maybe in a tmp dir?
-
rtprio
someone else may correct me, but it doesn't look like it.
-
polyex
first i should unset zroot/vms like you said. i guess thats zfs inherit mountpoint ?
-
polyex
zfs inherit mountpoint zroot/vms
-
rtprio
it's already inherited; you want it to not inherit
-
polyex
zfs mountpoint=? zroot/vms
-
polyex
zfs set mountpoint=? zroot/vms
-
polyex
i found a forum thread asking for zfs-unset but seems zfs set inherit was what ppl use. what's the value you're talking about?
-
polyex
-
VimDiesel
Title: Solved - Completely remove user-defined property from root-level dataset | The FreeBSD Forums
-
luna
-
polyex
oh think i got it
-
polyex
NO WAY
-
polyex
well i think i got the zfs clone to work. i see it at /dev/zvol/zroot/diskdefaultclone. crw-r----- root:operator. but sudo mount /dev/zvol/zroot/diskdefaultclone /mnt/default errors no such file or dir. but i can ls -la it
-
Plasmoduck
hey guys, is the new libxft with bgra support in 12.3?
-
luna
has started now
-
Plasmoduck
nice
-
Plasmoduck
can't wait to have some colored emoji in my dwm, dmenu and st
-
polyex
rtprio?
-
yuripv
polyex: you want to specify fs type in your mount command, otherwise it defaults to ufs (and gives that confusing error, yes)
-
polyex
isn't ufs the right type?
-
yuripv
is it?
-
polyex
not sure. it's a clone of a zfs zvol snapshot
-
yuripv
zvol is just a "device"
-
polyex
bhyve vms use zfs zvols. i want to diff 2 zvol snapshots, to see what's changed in a vm. so i guess i need to clone the zvol snapshot then mount the clones then diff them. is that right?
-
meka
polyex: there is also zfs diff which might help with snapshots
-
polyex
that's for FS types, not zvols
-
polyex
FS snapshot not zvol snapshot
-
polyex
yuripv ^
-
Plasmoduck
is there any way to install libXft 2.3.6 in 12.3-RELEASE?
-
parv
Clone ports tree; checkout the right commit; build, install
-
FaFaS
/j #valheim
-
FaFaS
pardon :/
-
mage
so, I just discovered that sanoid snapshots are not atomic, even with recursive = yes
-
Moebius
hi
-
Moebius
having an old problem here, can't install freebsd on this laptop because it won't detect my SSD, it's simply not on the list
-
Moebius
neither geom nor camcontrol show it
-
Moebius
the SSD is LITEON CX1-JB512-HP ATA
-
Moebius
incidentally, no such issue on windows or linux, it's just bsd
-
Moebius
not sure what to look for
-
Moebius
in BIOS SATA mode is AHCI and there's no way i can change that, oddly enough
-
Plasmoduck
no bsd support
-
mage
can someone recommend me something that is better than sanoid?
-
Moebius
Plasmoduck, support for what?
-
psydroid
hi Moebius
-
Moebius
i mean what exactly is wrong about this ssd what freesbd can't support
-
Moebius
hey psydroid
-
Moebius
what=that*
-
psydroid
maybe you could try grepping dmesg for that device
-
Moebius
psydroid, by the way, in version 13.1 they fixed the reboots/hangups, no need to go to uefi mode anymore
-
Moebius
that's good, but ssd issue is still there
-
psydroid
to see if it is detected at all and if some error message is printed
-
Moebius
psydroid, thought about it, but something tells me i won't see much... but let me try. Just tired of rebooting heh
-
psydroid
Moebius, freebsd is picky with my hardware too
-
psydroid
openbsd is much less picky and works on almost everything but has other downsides
-
PredatorONormies
I had the opposite taste
-
psydroid
it would be interesting if you could try openbsd even if briefly
-
PredatorONormies
FreeBSD works where OpenBSD did not work (only 1 occasion)
-
Moebius
-
VimDiesel
Title: IMG-20220916-163607 — ImgBB
-
Moebius
must be it but it's not very revealing
-
Moebius
as you can see below goes the hdd on channel 1, which is fine
-
psydroid
Moebius, this is freebsd, right?
-
Moebius
yep
-
psydroid
it doesn't even seem to detect the Lite-On drive
-
Moebius
yes, that's what i'm saying.. it's perfectly invisible to it
-
Moebius
this is the same Zbook btw.. i installed freebsd on this older HP laptop here that i'm using as a server now, no probs there, but my main laptop is still an issue. At least they fixed the UEFI/framebuffer bug or whatever it was, now it won't suddenly reboot in legacy mode
-
Moebius
i'm just beginning to like how small and thrifty bsd is, so i thought i wanna give a whirl to the desktop version right here
-
Moebius
but if i don't find a cure for this.. oh well, server alone it is
-
psydroid
I guess all you can do for now is to make a bug report against FreeBSD 13.1, although I'm not sure if any developer will be able to get hold of this exact SSD
-
psydroid
I also use most of my older hardware with BSD
-
meena
does FreeBSD have an equivalent to Linux' /proc/cmdline? that is, passing parameters from the bootloader to the kernel
-
psydroid
Moebius, if you could do one more thing it would be to test with the OpenBSD installer to see if it is detected at all
-
psydroid
I wouldn't be surprised if it got detected there
-
paulf
mena maybe a sysctl?
-
meena
paulf: i don't know, that's why i'm asking
-
meena
I don't usually boot
-
meena
FreeBSD with something like GRUB, which allows that
-
meena
I don't know if our bootloader allows that
-
V_PauAmma_V
meena, it must have something. Otherwise "boot -s" in the loader wouldn't work, I think.
-
otis
kenv kernel.options
-
otis
kenv kernel_optons
-
kevans
boot -s sets boot_single in kenv then boots
-
Moebius
will do psydroid, thanks
-
meena
kevans: cool. so, how i pass parameters to the kernel? (without modifying loader.conf?)
-
tsoome__
meena set name=value then enter boot
-
meena
tsoome__: set that where? Will it work thru quemu?
-
tsoome__
before kernel is loader;)
-
saltd
(σ`д′)σ
-
jmnbtslsQE
i am trying to build qemu in poudriere without the GTK and X11 dependency , but when i check the build package file with pkg info -d, it still depends on them. i've removed the GTK and X11 options with the 'poudriere options' command, which i can check has taken effect, using 'poudriere options -s'. i feel like i've addressed this before but can't remember. curious if anyone knows about this
-
jmnbtslsQE
i've just been re-building it by deleting the package and then building it again in poudriere
-
polyex
i cant figure out how to mount a clone of a zfs zvol snapshot. anyone done that before know how?
-
polyex
i did the clone but when i try to mount it says no such file or dir. but i can see it at the tpath
-
jmnbtslsQE
polyex: are you sure you are selecting a partition to mount, not just the entire volume? (assuming you have your filesystems inside partitions there)
-
polyex
no
-
polyex
so i guess that's what i gotta do, mount a partition?
-
jmnbtslsQE
if you normally mount a partition on that volume, that is what you would need to do on the clone, for example /dev/zvol/mypool/myvolumep1
-
jmnbtslsQE
since it's a clone of the volume
-
polyex
OK!! i tried myvolumep1 but itsaid no file found too. but myvolumep2 WORKED
-
polyex
finally some progress omg ty
-
jmnbtslsQE
sure, you can always look at your partitions with gpart show to see what it is
-
polyex
"gpart show"?
-
jmnbtslsQE
the command `gpart show` will show you some info about detected partitions
-
jmnbtslsQE
and i guess the partitions detected on zfs snapshots, clones, zvols etc always appear there also
-
jmnbtslsQE
(i mean for zvols only)
-
polyex
if i wanna mount a zfs zvol (not a snapshot of it) do i gotta clone it and mount one of its partitions too? or can we mount those more directly?
-
jmnbtslsQE
no, you can do it directly, from /dev/zvol, though i usually like to set a label on the partitions so that they appear in /dev/gpt
-
polyex
back
-
polyex
if i wanna mount a zfs zvol (not a snapshot of it) do i gotta clone it and mount one of its partitions too? or can we mount those more directly?
-
jmnbtslsQE
20:54 < jmnbtslsQE> no, you can do it directly, from /dev/zvol, though i usually like to set a label on the partitions so that they appear in /dev/gpt
-
polyex
can mount it directly wow. to mount it directly that means i need its partitions to show which means volmode can't be dev because that hides partitions, right?
-
polyex
how do i make fsck fix a zfs zvol snapshot clone partition that's marked dirty?
-
polyex
sudo fsck and sudo fsck -p helped!
-
MelMalik
?_?
-
MelMalik
INFO: Creating class file for Rsvg.Handle: /usr/ports/graphics/librsvg2-rust/work/librsvg-2.54.5/doc/Rsvg-2.0/class.Handle.html
-
MelMalik
WARNING: Unable to process dot data: b"FT_S
-
MelMalik
and then an avalanche of garbage
-
MelMalik
i should probably put this on bugzilla
-
polyex
can we run diff and have it show paths that differ, but not output their contents?
-
polyex
i wanna start with a list then do individual file comparisons
-
polyex
-q!
-
polyex
YASSS
-
polyex
I CAN DIFF 2 ZVOL SNAPSHOT CLONES OF A BHYVE VM ZVOLLLLLLLLLLLLLLLLLLLOLOLOLLLLLLLLLLLLLL