-
jpbdeimosBSD: if you like ipfw, you might be interested in a primer i wrote for it a few months ago.
-
jpb
-
jpbenjoy :-)
-
OnepamopaGuys, any way of testing a geli password on a running machine (/ and swap are encrypted)? I don't remember which of my like 50 passwords I used to do the disk encryption.. :) so ideally I'd like to find out which one it is before I do a reboot and have half an hour downtime guessing the password.
-
mzarOnepamopa: you can backup data from these partitions before reboot
-
OnepamopaI know I can. There's not much to backup, it's a production server with a few services running.
-
OnepamopaSo, there's no way to test passwords?
-
OnepamopaThe F-ing chatgpt gives me geli attach -n -j /dev/stdin /dev/ada0p3 (-n without an argument) to do a "dry-run" without creating an .eli but from what I see on man geli ... that doesn't seem to be the case, at least according to the man..
-
psycoramadon't trust chatgpt with your data
-
psycoramaor with anything for that matter …
-
OnepamopaThat's exactly why I asked here first...
-
psycoramayou could try to change the password. it should ask you to give the current one before allowing to change to a new one ( from: forums.freebsd.org/threads/verifying-password-for-geli.58634 )
-
Onepamopaalso found -C (dry-run)
-
ketaschatgpt is endless source of false information that feels strangely true
-
Onepamopabtw, the encryption was done manually (UFS, not ZFS via the setup)
-
psycoramasince the encryption is geli, the filesystem will not matter for this (imo)
-
psycoramadry-run only seems to work for `geli attach`, but it checks the password and informs if it's wrong. it did so for me with a wrong password (but currently can't test with the correct one)
-
OnepamopaSo, geli attach -C -n 1 -j /dev/stdin /dev/ada0p3 should work for testing the password
-
Onepamopa(-n 1 because the key is 0x01 according to geli dump)
-
ketasi lmfao'd when it told me who my parents are, gave a source too but there was nothing like that on that page!
-
Onepamopalol :)
-
ketasso why using it for geli...
-
OnepamopaI was waiting for a response here, so I decided to "give it a shot"
-
OnepamopaWasn't about to do what it told me tho ..
-
demidohow's 14.4 looking?
-
Maceris beadm still something that i can use to create boot environments for rolling back?
-
xv8Macer yes, but also make sure you have an updated boot archive.
-
xv8bootadm list-archive
-
Macerit's a fresh install. i haven't really done much to it yet. i'm just prepping it to use cbsd on it for jails/vms
-
kevansyeah, beadm is still and will continue to be well-supported
-
Macerxv8: did you mean beadm?
-
Maceri don't see a bootadm
-
Macerlet me take a look at wiki.freebsd.org/BootEnvironments
-
xv8Macer oh gosh, forgive me, I thought I was in the #solaris channel xD
-
xv8Waking up and giving advice uncaffeinated is not recommended.
-
Macerlol
-
polarianSolaris, FreeBSD, same thing really... at least filesystem wise >:)
-
Macera piece of me is wondering if it would be possible to just zfs send the proxmox zvols of VM vdisks over and run them in bhyve untouched.
-
Maceri'm pretty sure proxmox doesn't do anything special to them. they're just raw disk zvols.
-
polarianwhy not try? :P
-
polarianwhats the worse than could happen, you have to zfs send them again?
-
Maceri can't yet. no disks in the freebsd server yet
-
Macer
-
Macerbut i did manage to get freebsd on the ancient supermicro 1u in that picture. i had a hard time of it since i'm using usb drives connected in the two internal usb ports (on the motherboard) for booting freebsd and after the install finished it took like 10 minutes to shut down.
-
Macermaybe flushing the usb drive cache? not really sure. i attempted to re-install like 4 times and this time waited at the end to see if it would eventually shut down.
-
mzarprobably
-
mzarsync &
-
mzarthat's still valid command
-
Macerso beadm looks pretty straighforward, but do you have to reboot for the new be to accept changes?
-
Macerie: you're still making changes to default until you reboot?
-
MacerSeems like N = now and R = reboot?
-
Macerseems so
-
mzarMacer: we have bectl(8)
-
Macerdoh!
-
Maceryeah.. lol
-
Macerlet me give it a read
-
hodappbeadm was deprecated, right?
-
hodappI just set this up a week or two ago and it was my first time with boot environments
-
Maceri really wish this 1u didn't take like 5 minutes just to post. i need to take a hard look at the bios and see if i can speed that up at all.
-
Macerwip_01 NR / 1.80G 2025-05-21 08:49
-
Macernice
-
Macerbeadm doesn't give you a menu on boot does it?
-
Maceri didn't have the ipmi console open when i reboot
-
hodappIIRC, if you've more than one BE, you should see an option at the bootloader
-
hodapp#8 I think
-
Maceri see. let me reboot and take a look
-
Macerah it sure does. nice.
-
hodappthough, fun fact: the BE is kinda only a suggestion, as I got myself into a situation where the bootloader was properly showing the BEs and letting me apparently boot into them, but FreeBSD was grabbing completely the wrong disk for the root FS
-
hodappthe 'old' root FS was on another disk and wasn't even ZFS
an hour ago