Mounting a ZFS disk (again)

I have installed FreeBSD 15.0-RELEASE-p3 onto new SSD and called the pool 'bots'.
The previous install on a different SSD has 14.3-RELEASE-p6 with a pool called 'zroot'.

I would like to import 'zroot' onto /mnt of 'bots' to be able to copy setup files over.

Code:
# zpool import -fR /mnt zroot

# zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
bots    920G  40.8G   879G        -         -     0%     4%  1.00x    ONLINE  -
zroot   230G  58.3G   172G        -         -     6%    25%  1.00x    ONLINE  /mnt

But it does not mount the directories that I want access to:

Code:
# mount
bots/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
/dev/gpt/efiboot0 on /boot/efi (msdosfs, local)
bots/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
bots on /bots (zfs, local, noatime, nfsv4acls)
bots/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bots/home on /home (zfs, local, noatime, nfsv4acls)
bots/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bots/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
bots/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
bots/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bots/var/mail on /var/mail (zfs, local, nfsv4acls)
bots/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
bots/home/jim on /home/jim (zfs, local, noatime, nfsv4acls)
zroot on /mnt/zroot (zfs, local, noatime, nfsv4acls)
zroot/tmp on /mnt/tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/home on /mnt/home (zfs, local, noatime, nfsv4acls)
zroot/usr/src on /mnt/usr/src (zfs, local, noatime, nfsv4acls)
zroot/usr/ports on /mnt/usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/crash on /mnt/var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/audit on /mnt/var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/log on /mnt/var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/tmp on /mnt/var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/mail on /mnt/var/mail (zfs, local, nfsv4acls)
zroot/home/jim on /mnt/home/jim (zfs, local, noatime, nfsv4acls)

How do I get access to the entire disk with directories like /etc and /boot to be able to copy my original setup files over?

I read ShelLuser's post on https://forums.freebsd.org/threads/how-to-mount-a-zfs-partition.66603/ and am still confused,
do I export 'zroot' and then do a zfs mount or mount without exporting?
 
Not so much information. I see no errors or mount attempts as well as the physical device names of the disks in 2 pools. What goes wrong on what point?
You can't copy files from 1 pool to the other? Can you read files on both?
 
I think you need to look at mounting datasets from zroot now. "zroot /etc and zroot /boot" are likely subordinate to zroot/ROOT
What do you see if you "cd /mnt && ls" is there a "/mnt/ROOT" or /mnt/zroot/ROOT" ?
If so start walking down that you may see what you are looking for.

what does "zfs list" show?

The mount command is only going to show datasets/pools that have mount points and Boot Environment typically have a "mountpoint" of / but need to be explicitly mounted based on flags.
 
Back
Top