-
radhitya
does anyone know sysctl tuning generator for freebsd?
-
AmyMalik
a _what_?
-
thermos
futune: welp. I got the pool transferred onto the new drives ok, but I must've messed something up with the loader/boot sequence because I can't boot into the system now. I get stuck in the loader and can't load/find a kernel from the loader.
-
thermos
I created the msdos fs in the efi partition and copied the existing files from '/boot/efi/*', updated '/etc/fstab', updated 'efibootmgr' with an entry pointing at 'gpt/efiboot1' (the label I gave the efi/msdosfs partition on one of the drives) and double checked everything I had read/found and hit it with a good ole reboot
-
thermos
I can see in the server's BIOS the UEFI listing I created with 'efibootmgr' and it will boot until it fails to find the kernel I believe - then drops me in the loader cli. I can see my drives and partitions with 'lsdev', and the efi files are there, but that's where I get stuck.
-
mason
radhitya: Nothing automated, but:
man.freebsd.org/cgi/man.cgi?tuning
-
mason
I've never seen tuned(8) outside of RHEL or I guess Debian.
-
arch-nemesis
Is anyone using the aarch64 build of FreeBSD? pkg seems to be broken on fresh install, and there are a lot of bug reports I see on forums, it's still happening on aarch64 after a few days.
-
arch-nemesis
-
mzar
arch-nemesis: this problem is not architecture-dependent
-
arch-nemesis
okay, I assumed there might be different package databases for different archs
-
mzar
yes, that's true, but this bug is common and hits randomly
-
r0ni
arch-nemesis: been working for me just fine on my 15.0 VM
-
sjjd
smth is wrong with ports
-
arch-nemesis
I can give it another shot in a bit. Now I'm kinda just curious what causes that issue. Seems like a schema migration thing.
-
sjjd
i checked out the 2025q4 branch, but it wants gettext 0.26, while only 0.23 is available in the repository
-
r0ni
it's updating my plasma desktop after updating itself to 2.5.1 just now
-
rtprio
i thought the bug was just on quarterly, latest is fixed now
-
sjjd
i checked out the 2025q4 branch, but it wants gettext 0.26, while only 0.23 is available in the repository
-
sjjd
wtf I compiled a program but it segfaults due to �privileged opcode�
-
sjjd
debugger shows the opcode �ud2� being 0F 0B, wtf is that?
-
paulf
that is a kind of undefined error opcode
-
paulf
you should never execute ud2 in correct operation
-
paulf
the compiler may emit ud2 in places that should never be reached
-
paulf
you need to work out what you have done to reach an ud2 opcode
-
sjjd
i ran the executable
-
paulf
what is the program?
-
sjjd
an app
-
paulf
if you'd like help be less of a dork
-
afterglow
since there are 37000+ programs in ports, let me get my crystal ball for sjjd
-
sjjd
which program that is is completely irrelevant to my question
-
sjjd
it was compiled in freebsd with the default port build settings
-
sjjd
and it produces that error
-
afterglow
no it isn't, since the majority of ports (I guess ~37000+) compile just fine
-
nimaje
there is some error in the program makeing it execute something it shouldn't execute, maybe a jump to some computed address and it computes the address wrong, but more we can't say without knowing the program in question
-
zip
say, seeing as freebsd-update has all the code necessary to make sure it's not about to clobber a configuration file that you've altered, do we have the inverse – a tool that'll let you grab everything you _have_ altered, eg, to make it quick to reproduce a configuration on another machine?
-
zip
or at least as a starting point for an ansible config
-
ivy
zip: that's handled by etcupdate, not something in freebsd-update itself. i don't know if etcupdate can do that, but the manpage might be informative. for pkgbase, i believe there is a pkg command to list modified configuration files, but i don't remember what it is
-
zip
I'll have to have a dig later. That's useful to know!
-
nimaje
hm, pretty sure pkg compares config files with the default one installed with a .sample postfix
-
ivy
nimaje: that's for ports. pkgbase uses @config which doesn't use .sample files
-
ivy
(ports could use @config too, but they are not allowed to by policy)
-
mzar
/8/8
-
mzar
err
-
AmyMalik
sjjd, which programme is it? seriously.
-
mzar
the binary must not be stripped and must be built with debugging symbols to allow successful debugging
-
AmyMalik
my understanding is that the symbols could, technically, be separate
-
nimaje
another reason I'm waiting for subpackages being production ready, I could just activate the DEBUGINFO feature for my bulks and have installable debug symbols for my packages
-
rtprio
Trying to mount root from ufs:/dev/vtbd0p2 [rw]...
-
rtprio
/etc/rc: find_system_scripts: not found
-
rtprio
don't think i've seen this one before
-
nxjoseph
% grep -r find_system_scripts /etc/rc*
-
rtprio
it is mysteriously missing from rc.subr
-
nxjoseph
would you like me to share?
-
rtprio
i have another 15 system to copy it from
-
nxjoseph
oh ok, im on 14.3
-
rtprio
i dont know why you cant bulk merge rc.d, merging all those by hand is brutal
-
ant-x
bulk merge is brutal, file-by-file merge is ... cruel.
-
thermos
I'm stuck in the loader.efi - "Failed to find bootable partition". How do I point it at my ZFS pool?
-
nxjoseph
is it bootfs problem?
-
nxjoseph
for example, zpool set bootfs=zroot/ROOT/default zroot
-
thermos
Not necessarily, yesterday I was migrating my existing zpool (single disk) to a mirror on 2 new drives. I successfully partitioned my two new drives to match the original and got the pool to use those drives as a mirror cont..
-
thermos
then i copied over /boot/efi/* to the partitions on the two new mirrored drives
-
thermos
and updated with 'efibootmgr'. Then hit a 'reboot' and I must've missed something because the loader isn't loading the main zfs filesystem to find the kernel
-
nxjoseph
is bootfs property set?
-
nxjoseph
interesting
-
thermos
bootfs=zroot/ROOT/default shouldn't have changed since I simply changed around the drives underneath the pool
-
thermos
I tried setting 'currdev=disk0p4' (the partition of one of the mirrored disks) but loader didn't like that and "unable to open '/'"
-
nxjoseph
i think i've never set currdev or somthing except bootfs, can you check it again?: zpool get bootfs
-
nxjoseph
my zroot is single disk
-
thermos
yeah mine was previously - that's why I'm where I am. Threw this system together with a cheap ole ssd for a pet project. Bossman liked the project and gave me 2 newer ssd's so I was trying to put my zroot from a single disk to a mirror using these new disks and get rid of the old one
-
mzar
thermos: is efi partiton on the same drive that ZFS pool exists ?
-
thermos
yeah, I put the efi partition on both of the mirrored disks - each partition with the same contents
-
nxjoseph
my efi partition: /boot/efi/efi/boot/bootx64.efi (loader.efi)
-
nxjoseph
i don't need to create efibootmgr entry manually
-
nxjoseph
+Boot0001* UEFI OS
-
thermos
nxjoseph: yep same
-
thermos
I only created a efibootmgr entry because I needed to point it to an entirely different disk/partition since I was getting rid of the original disk for this mirrored set
-
nxjoseph
i see
-
thermos
for shts and giggles I just tried force booting via BIOS instead of UEFI and I get messages like "cant find /boot/kernel/kernel" or "/boot/zfsloader"
-
thermos
not sure what step I missed but it seems that in both UEFI and BIOS, the loaders are failing to be directed to the ZFS filesystem/pool and therefore are not able to find '/boot/kernel' and the like
-
thermos
atp I am wondering if I could just boot from the FreeBSD installer and try to import my pool? I could care less about figuring out where I went wrong and fixing it if instead I could just install fresh and import my pool/data
-
nxjoseph
yes you can
-
nxjoseph
mount -o size=1m -t tmpfs tmpfs /mnt && zpool import -o altroot=/mnt poolname
-
thermos
okay let me try that quick, thanks nxjoseph
-
nxjoseph
ok, you're welcome
-
thermos
Do you know, should i grab the '*-bootonly.iso'?
-
nxjoseph
yes if you want to download it faster, compressed ones with xz is smaller
-
nxjoseph
but you'd need internet for fetching the sets
-
nxjoseph
while doing the installation
-
thermos
word, thanks
-
thermos
nxjoseph: do i boot into the installer, single user or loader to get the shell that I need?
-
nxjoseph
installer, so normal boot
-
nxjoseph
then you could be able to pick between 3 options, installer, shell and root system.
-
mzar
nxjoseph: so efi loader can't find zpool ?
-
thermos
okay yeah I can mount my pool after 'geli attach <partition>' do I need to make an entry in the /tmp/bsdinstall_etc/fstab then?
-
mzar
is your efi loader recent enough ? is zpool on encrypted device (geli) ?
-
nxjoseph
now it seems to be encrypted
-
nxjoseph
that changes things i guess
-
mzar
encrypted, on geli
-
mzar
OK
-
thermos
mzar: should be, yes it is geli
-
mzar
OK, that's clear now
-
nxjoseph
so as far as i understood in the past, to use geli encrypted root, the boot parititon must continue the whole /boot things like kernel etc. correct me if im wrong, im not sure
-
thermos
do you see a problem that i odnt? still wasn't sure why it wouldn't find it though since loader.conf loades the kernel modules for geli
-
thermos
nxjoseph: yeah that would sound about right...
-
nxjoseph
in the efi/boot partition, does it only have the loader.efi?
-
nxjoseph
i think it should contain the kernel, modules etc too
-
thermos
yep.
-
nxjoseph
my /boot is 190M, i hope your efi partition was already big enough, i'd try copying the whole /boot from the installation live medium to the your boot partition
-
mzar
I don't know, I am not using full disk encryption, but most likely not
-
thermos
yeah this makes sense. all the resources I found within forums, manpages etc. all referred to the msdosfs efi partition just needing the efi/freebsd/loader.efi
-
nxjoseph
i don't know much about geli, so....
-
nxjoseph
it's advanced topic
-
thermos
my efi partition is 260M so I should be good, I'll try copying from live install into the partion and see what happens. Thanks for this insight nxjoseph.
-
nxjoseph
i hope it would work
-
thermos
yeah disk encryption seems great but on nearly every system I've used it on it seems to come back to bite me - could chalk it to skill issue etc. but anyway, I'll try this new idea
-
mzar
-
mzar
load required modules
-
thermos
mzar: thanks, this is what my system and these files looked like before this fatal 'reboot' but I might need to do this anyways if copying from the installer to my boot partition doesn't solve the problem
-
mzar
thermos: what happened to them ?
-
mzar
boot from they thumb drive, attach encrypted partion, import zpool, fix loader and you will be fine
-
mzar
you can also upgrade loader on the efi partion, 15.0 uses OpenZFS 2.4, 14.x uses 2.2, but if you have not upgraded zpool it shouldn't be issue
-
mzar
import pool temporarily, with -R option
-
thermos
not entirely sure, perhaps since I installed initially to a single disk with geli zroot from the bsdinstaller they are in that disk's efi partition - cause they aren't in my mounted zroot
-
mzar
sure. mount them by hand and upgrade, one by one, using the most recent /boot/loader.efi
-
mzar
mount_msdosfs /dev/efipartion /mnt
-
mzar
you can fix it
-
mzar
no worries
-
thermos
yeah yep workin on that, thanks. i mounted zroot via 'zpool import -o altroot=/mnt zroot' - how do i unmount it? X'D
-
nxjoseph
zpool export
-
mzar
zpool export zroot
-
thermos
thanks
-
mzar
but zroot/ROOT/default isn't mounted
-
nxjoseph
yes, mount -t zfs zroot/ROOT/default
-
mzar
you have to mount it by hand
-
mzar
nxjoseph will guide you thermos, good luck guys !
-
nxjoseph
im afraid i won't be able to
-
nxjoseph
not much experienced in geli
-
mzar
no worries, now you are gaining experience
-
thermos
so 'zpool import -o altroot=/mnt zroot' and 'mount -t zfs zroot/ROOT/default' are completely different mounts? 'zroot/ROOT/default' is where stuff like /etc was written then
-
mzar
I have to go, bbl
-
thermos
mzar: thanks for the help
-
nxjoseph
the root (/) resides in the dataset zroot/ROOT/default, when you do zpool import, this won't get mounted automatically
-
nxjoseph
you should mount it by hand manually
-
nxjoseph
yes, /etc may be there
-
mzar
zfs mount zroot/ROOT/default - if you have imported poool with -R you should be fine
-
nxjoseph
i think -R equals to -o altroot
-
thermos
oh okay, so a mount of my entire system back to it's previous state would be both 'zpool import -R / zroot' and 'mount -t zfs zroot/ROOT/default'
-
mzar
wrot
-
mzar
wrong
-
nxjoseph
yes but mount to /mnt instead, on live media, you can'tr mount it to the /
-
mzar
-R /mnt or sth like this
-
thermos
nxjoseph: word, but on a normal system it would look like that^ so that the datasets are mounted from '/' then, since when I do it with '-R /mnt' the datasets are mounted as if '/mnt' is root.
-
nxjoseph
yes right
-
rtj
Good afternoon! Forgive me if this is trivial. I noticed when I installed 15 release and chose to encrypt my home directory when using ZFS. If you enter a password too short it does not allow you to retry. It just finishes creating the account.
-
nxjoseph
rtj, so you've got an unencrypted home directory?
-
thermos
okay gimme a few minutes to try sorting out my efi partition and ill get back with what happens
-
nxjoseph
thermos, ok
-
rtj
nxjoseph: Can it print a warning if it goes through saying it's not encrypted? I don't think my system booted that time but it was 2am and could have just been user error.
-
nxjoseph
the command "zfs get encryption" should show "on" value for an encrypted zfs dataset, for your home
-
rtj
Yes I am aware of that. I have read the manual for that part.
-
nxjoseph
i didn't get the question sry
-
rtj
No question. It was an observation.
-
nxjoseph
idk if i ever used the word "observation" as a non-native speaker
-
rtj
I did not figure it was worthy of a mailing list post. So I just put it in here. Thank you for trying to help.
-
nxjoseph
no worries you're welcome
-
thermos
nxjoseph: weird. I mounted my original disk's efi partition and it too only has efi/boot/bootx64.efi and efi/freebsd/loader.efi - not sure what magic it did to load the geli/zfs pool to get the rest of the /boot with the kernel and whatnot... Aware that you probably aren't sure either, just reporting what I found
-
nxjoseph
one sec
-
nxjoseph
maybe you need to use geli(8) configure command because you switched disks?
-
nxjoseph
can you see the manpage, like setting a BOOT flag?
-
thermos
possible i may have missed something, but yesterday I did thouroughly read the manpage and reference it as I setup the new freebsd-zfs partitions on these new disks.
-
nxjoseph
does geli ever store something related to the root partition?
-
nxjoseph
store some files for record?
-
thermos
so they have the same flags as the original geli partition: BOOT, GELIBOOT, AUTORESIZE
-
nxjoseph
hmm, i'm like run out of ideas.... :/
-
thermos
yeah i think it stores a 'backup' somewhere in var
-
nxjoseph
hmmm
-
nxjoseph
are they keys that stored in /var ?
-
thermos
I think keys can be stored anywhere - don't quote me as this is just off the top of my head. regardless I just use geli with a passphrase.
-
nxjoseph
i see
-
thermos
sl
-
thermos
just copied /boot/* into the efi partition to see if this the loader can then find the kernel. Since my original drive only had the loader in it's efi partition, this is probably not the correct thing to do. But i'm curious
-
nxjoseph
hmm let's see
-
thermos
nxjoseph: any idea what the manpage is that documents the loader commands?
-
nxjoseph
there is loader.conf and loader manpages
-
thermos
found it, used 'boot kernel/kernel' and now I am at a new prompt 'mountroot>'
-
nxjoseph
there are 2 .eli devices right?
-
thermos
correct, 'mirror da0p4.eli da1p4.eli'
-
nxjoseph
did you had any geli configuration in /etc/rc.conf or /boot/loader.conf?
-
nxjoseph
i don't know if this is right but just asking
-
thermos
yeah the 'geom_eli_load="YES"' was put in loader.conf from the original installation
-
thermos
this is what happens when I let the boot process playout
-
thermos
-
nxjoseph
when you do `geli list`, does it show the same flags BOOT,GELIBOOT for both .eli devices?
-
thermos
yeah yep.
-
thermos
with the original single-disk pool, it would prompt me for the geli password before doing anything like load the kernel. This makes sense since the kernel was in the zfs geli-encrypted partition of the disk
-
nxjoseph
yes but why current loader doesn't do same i don't know
-
nxjoseph
do you still have geom_eli_load in your loader.conf?
-
thermos
yeah I do. This is the root problem I think I'm having:
-
thermos
the loader is for some reason not detecting the zfs zroot pool and filesystem which is made up of a mirror vdev of da0p4.eli and da1p4.eli. Since it isn't detecting this, it doesn't prompt me for the geli passphrase to open the partitions, which is where the '/boot' directory lives, where the kernel lies.
-
nxjoseph
yeah, very weird, i wonder what is the culprit herfe
-
thermos
also where loader.conf is.. So if I could just figure out how the heck the single drive did this under the same circumstances.
-
thermos
after including the kernel in the efi partition I was able to type 'boot kernel/kernel' at the prompt shown in that imgur link. Bringing me to this 'mountroot>' prompt, where I tried to mount zfs:zroot/ROOT/default and it doesn't see it.
-
thermos
-
nxjoseph
:/
-
thermos
XD at least I feel better knowing that no one has said something like "well you obviously just do ..."
-
nxjoseph
the mirror is a clone of the original single disk zfs layout right?
-
nxjoseph
i mean im trying to ask how did you migrate
-
thermos
yeah ill walk you through:
-
nxjoseph
thank you
-
thermos
first I copied the partition layout from the single disk to both new disks 'gpart backup da2 | gpart restore -F da0 da1'. Then I made 'msdosfs' on the efi partition da[0|1]p1 and copied /boot/efi into the partition. Then used 'geli init' and 'geli attach da[0|1]p4' with the same passphrase as the original disk to make the freebsd-zfs partitions da[0|1]p4 into *.eli
-
nxjoseph
is that it?
-
thermos
then I 'zpool attach zroot da2p4.eli da0p4.eli' and then 'zpool replace zroot da2p4.eli da1p4.eli'
-
nxjoseph
hm
-
thermos
and at this point it resilvered and the original disk was no longer in use. Also, before 'replace' and after 'attach' i ran 'gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 da0' and then again after 'replace', subbing 'da0' for 'da1'
-
thermos
I then ran 'efibootmgr -a -c -l da0p1:/efi/freebsd/loader.efi'
-
thermos
jjjjj
-
nxjoseph
seems fine
-
nxjoseph
do you have an account on forums.freebsd.org?
-
nxjoseph
maybe some poeple there can help
-
thermos
no, I can post there, do you think it seems like a "Base System>Storage" thread
-
nxjoseph
it seems right topic
-
thermos
okay. Will do, in the mean time I think I am going to just use the installer and tell it to use my existing zfs pool. do you know where I could find resources on how to do this correctly from the installer?
-
nxjoseph
-
nxjoseph
i think this guide can help you about this
-
nxjoseph
the point is, prepare disk and parititons and keep the root dataset mounted to /mnt so the installer can handle the rest
-
nxjoseph
but wouldn't this overwrite everything?
-
thermos
if i followed the guide exactly then yes, can perhaps just recreate the efi and gpt partitions
-
nxjoseph
i think just wait for a solution
-
thermos
honestly I wish I could just get rid of geli but I would need another pair of disks to send/receive
-
nxjoseph
you may lose data
-
thermos
okay, I'll get to writing up a post. Thank you very much for your help, I hope I didn't cause any major headaches
-
nxjoseph
okay, you are welcome, no worries. i'll follow it up there.
-
nxjoseph
you can actually exchange data between disks respectively but risky tho
-
thermos
'dd' XD - I read elsewhere online that ~"the only way to un-geli a zfs pool is to zfs send/receive to new disks", not sure if it's entirely the 'only way' but probably one of the sanest
-
nxjoseph
yeah better but
-
thermos
-
thermos
although they aren't having the same boot issue
-
nxjoseph
you detach one of the disks from the mirror, make it a pool on it, send current pool to newpool, boot from newpool and attach the other disk to newpool, got rid of geli now. just a way guessed by me
-
thermos
in hindsight, that is probably what i should have done... I thought doing it this way I would be able to avoid any zfs boot configuration.
-
» thermos sighs..
-
futune
thermos, sorry to hear it's not going smoothly :(
-
futune
is it currently a geli problem, and efi problem, or a zfs problem?
-
thermos
futune: ah you made it! no worries, it'll get sorted out eventually
-
thermos
i think it is both a geli/zfs problem. just restating my last summary: the loader is for some reason not detecting the zfs zroot pool and filesystem which is made up of a mirror vdev of da0p4.eli and da1p4.eli. Since it isn't detecting this, it doesn't prompt me for the geli passphrase to open the partitions, which is where the '/boot' directory lives, where the kernel lies.
-
thermos
I just inserted my old disk that i replaced with this mirror and now I get the GELI passphrase prompt back, but then get ZFS io errors (expected) since that partition is not part of the zroot pool anymore
-
futune
thermos, the loader can not see the zfs pool until geli is unlocked, that's just impossible...
-
thermos
that makes sense, I don't know why it doesn't prompt for the geli passphrase for these new disks like it does with the old disk.
-
futune
yeah that's the issue... I was expecting it to prompt, as well
-
thermos
if you can see the history and see the forum i linked where u/holm is trying to add/replace .eli disks to his pool, I did all the things that are mentioned in the thread (minus bringing the pool offline since I had slots available)
-
thermos
although he isn't completely replacing all the disks of his pool, he reported no issues with booting..
-
futune
thermos, from reading man geli (8), it seems like which geli providers are unlocked before root mount is set by the geli providers themselves, not by loader config
-
futune
thermos, from reading man geli (8), it seems like which geli providers are unlocked before root mount is set by the geli providers themselves, not by loader config (sorry to others for the repeat message)
-
futune
so the geli init needed the -b flag, when you initialized them. But it's possible to set the boot flag on a geli provider after the fact with "geli configure -b devicename"
-
futune
and the loader is supposed to try to unlock all geli providers that have the boot flag
-
thermos
yeah I had used both '-b -g' flags to get "Flags: BOOT, GELIBOOT, AUTORESIZE"
-
thermos
weird.
-
futune
I see. That config sounds correct then. :(
-
thermos
useful to know how the sequence works though, thanks for finding that
-
angryhat
hello
-
angryhat
hi
-
angryhat
anyone know any good resources for kernel customization?
-
thermos
futune: in the freebsd installer's live-system, can i create a pool with a single disk, mount my actual pool, zfs send to the single disk, then install fresh system using the mirror since the data would be backed up to that single disk - and post-install mount that single disk pool and transfer it back to my mirror
-
futune
thermos, all of that should be possible
-
futune
there are three ways to accomplish the last step though
-
thermos
okay, reading over zfs send docs it looks like the command would be 'zfs send -R zroot/ROOT' ?
-
s2r
Has anybody had trouble after upgrading emby-server? I'm trying to downgrade to dotnet8 however pkg install would install also compat13x-amd64, compat14x-amd64, dotnet-host 9.0.9, and dotnet8: 8.0.20.
-
futune
thermos, are you familiar with datasets? a zfs pool contains multiple filesystems. Your command there would send the dataset named zroot/ROOT, and all its children, to stdout
-
futune
the problem now is that I suspect you have multiple pools named zroot
-
thermos
yes, however, the default zroot/ROOT/default heirchy has been confusing to me, so I wasn't sure if all of the datasets are typically created as children of the ROOT/default and therefore the -R would properly capture all of them
-
thermos
negative, just created a pool named zbkp to send to
-
futune
copy that. The zroot/ROOT dataset is typically an empty dataset used for organizational purposes, and then your boot environments will live as its children (such as zroot/ROOT/default)
-
futune
the default is the one that actually gets mounted to / in this situation
-
thermos
oh okay so its just for boot environments, therefore the default /usr dataset is not it's child and 'zfs send -R zroot/ROOT/default' would not capture the 'zroot/usr/*' datasets
-
futune
typically a lot of other datasets that do not live under zroot/ROOT are also important though
-
futune
precisely!
-
futune
like zroot/home, zroot/var
-
thermos
gotcha, then I will need to 'zpool import -R /mnt/zroot zroot' and 'zpool import -R /mnt/zbkp zbkp' and transfer between them, and then explicitly 'mount -t zfs zroot/ROOT/default /mnt/zroot-root' to get at those datasets for sending
-
futune
It's important that these names are not the important bit - datasets have properties such as mountpoint, canmount and others
-
futune
if you do "zfs list -o name,mountpoint,canmount" you'll get a good overview
-
futune
thermos, no, you do not need to mount anything for sending. In fact, it might be better if you don't. You just decide which datasets are important on (old) zroot, and then "zfs send zroot/dataset | zfs recv zbkp/dataset"
-
futune
the reason it's better if you don't is that one ordinarily sends snapshots of datasets rather than datasets, but if the dataset is unmounted, then you can send it without making a snapshot first, which saves a few keystrokes
-
thermos
okay thanks, but I do need to import them somewhere, otherwise zpool list shows nothing
-
futune
ah, yes, sorry... there is a difference between importing and mounting, you can import with the -N flag to manipulate the pool without mounting any datasets. So, for what you are doing, you want to import both pools with zpool import -N
-
thermos
zpool import -N zroot to prevent from mounting
-
futune
precisely
-
thermos
ha yeah you beat me to it, okay thanks for this