ZFS ZFS Not automatic Mount after upgrade from 13.2 Release to 14.0 Release

I Have machine Running freebsd 13.2 and upgraded to 14,0 with 2 disk using zfs mirror but after upgrade complete and machine was reboot zfs partion not mount, im trying export import and try restart machine and it still happens and must do set zfs readonly off.

anyone can help me about this problem?

thankyou.
 
Have you upgraded the pool without updated the loader?

I mean, do you run zpool upgrade?
Im not run zpool upgrade, but im try run zpool upgrade -a , and now server was restarted machine boot to freebsd boot/x86


Screenshot_1.png
 
ah think i dont have efi partition,

but im run comand:
Code:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1
then I restarted the machine successfully entered the boot login to shell, but there is another problem that the zfs partion is not automatically mounted.
must run the comand
Code:
zfs set readonly=off zpool
zfs mount -a

Screenshot_3.png

Screenshot_4.png


if the machine is restarted again zfs partion is not automatically mounted, then how to solve this?
 
I tried with a mirror raid under VirtualBox to go from version 13.2 to 14.0 (i386 and amd64).
The raid is mounted correctly.
If you arrive at the login it is because the file system is mounted normally.

What does the command give:
# dmesg -a|grep -i zfs -A4

Before typing: zfs set readonly=off zpool & zfs mount -a
What gives:
# zpool import
 
I tried with a mirror raid under VirtualBox to go from version 13.2 to 14.0 (i386 and amd64).
The raid is mounted correctly.
If you arrive at the login it is because the file system is mounted normally.

What does the command give:
# dmesg -a|grep -i zfs -A4

Before typing: zfs set readonly=off zpool & zfs mount -a
What gives:
# zpool import
hei Julien, thank for your reply

Code:
# dmesg -a|grep -i zfs -A4
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ada0 at ahcich4 bus 0 scbus5 target 0 lun 0
ada0: <Seagate IronWolf ZA500NM10002-2ZG101 SU3SC013> ACS-3 ATA SATA 3.x device
ada0: Serial Number 7TB00ANB
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
--
Trying to mount root from zfs:zpool/ROOT/default []...
ugen2.1: <Intel EHCI root HUB> at usbus2
ugen1.1: <Intel EHCI root HUB> at usbus1
uhub0 on usbus2
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2

Code:
# gpart show
=>       40  976773088  ada1  GPT  (466G)
         40       1024     1  freebsd-boot  (512K)
       1064        984        - free -  (492K)
       2048    8388608     2  freebsd-swap  (4.0G)
    8390656  968382464     3  freebsd-zfs  (462G)
  976773120          8        - free -  (4.0K)

=>       40  976773088  ada0  GPT  (466G)
         40       1024     1  freebsd-boot  (512K)
       1064        984        - free -  (492K)
       2048    8388608     2  freebsd-swap  (4.0G)
    8390656  968382464     3  freebsd-zfs  (462G)
  976773120          8        - free -  (4.0K)
 
ok
Before typing -> zfs set readonly=off zpool and zfs mount -a
What gives:
# zpool import
# zfs list

Before and after typing the two commands -> zfs set readonly=off and zfs mount -a
# zfs get mountpoint zpool/ROOT/default
 
ok
Before typing -> zfs set readonly=off zpool and zfs mount -a
What gives:
# zpool import
# zfs list

Before and after typing the two commands -> zfs set readonly=off and zfs mount -a
# zfs get mountpoint zpool/ROOT/default
Before typing -> zfs set readonly=off zpool and zfs mount -a :

Screenshot_6.png
Screenshot_7.png


Before and after typing the two commands -> zfs set readonly=off and zfs mount -a
Screenshot_8.png
 
ok, the mount point (zpool/ROOT/default) / is mounted automatically without problems.
On the other hand, the mount points from zpool/tmp to zpool/usr/src are not automatically mounted.
It's a strange problem... No error in dmesg and zpool status.

Until someone finds another solution, you can add both commands in /etc/rc.local :
#!/bin/sh
zfs set readonly=off zpool
zfs mount -a

# chmod +x /etc/rc.local
 
ok, the mount point (zpool/ROOT/default) / is mounted automatically without problems.
On the other hand, the mount points from zpool/tmp to zpool/usr/src are not automatically mounted.
It's a strange problem... No error in dmesg and zpool status.

Until someone finds another solution, you can add both commands in /etc/rc.local :
#!/bin/sh
zfs set readonly=off zpool
zfs mount -a

# chmod +x /etc/rc.local
Ok Julien after im add /etc/rc.local, but still not mounted.

im try another trick from thread zpool import, but have error message:

Code:
# zpool get cachefile zpool
NAME   PROPERTY   VALUE      SOURCE
zpool  cachefile  -          default
# zpool import -o cachefile=/boot/zfs/zpool.cache zpool
cannot import 'zpool': a pool with that name already exists
use the form 'zpool import <pool | id> <newpool>' to give it a new name
# zpool import zpool
cannot import 'zpool': a pool with that name already exists
use the form 'zpool import <pool | id> <newpool>' to give it a new name

Btw im triyng install on virtualization box with same condition Freebsd 13.2 Release With 2 disk ZFS Mirror and upgrade to 14.0 Release that's no problem in zfs,
 
You never know, you can test both disks in read-only mode to see if there are any bad sectors:
# dd if=/dev/ada0 of=/dev/null bs=124k status=progress
# dd if=/dev/ada1 of=/dev/null bs=124k status=progress
 
You never know, you can test both disks in read-only mode to see if there are any bad sectors:
# dd if=/dev/ada0 of=/dev/null bs=124k status=progress
# dd if=/dev/ada1 of=/dev/null bs=124k status=progress
Thank you Julien for your response, it seems like the hard disk has no bad sector problems, in the end I reinstalled it directly with FreeBSD 14, thank you everyone who helped
 
Back
Top