Hello,
I am not sure what I did, because this computer sits here since 12.1 was new and I was learning at the time. I only boot it once in a month, do backups through LAN, turn it off. Now my problem is this: I wanted to upgrade to 13-RELEASE, but I wanted to do it with boot environments. As I found out, this computer is not capable of working with boot environments, because it's root zfs is just one big FS, it is not separated into zroot, zroot/ROOT, zroot/ROOT/default, zroot/ROOT/var, etc etc, everything is just one huge filesystem.
Now: is it possible to create the filesystems(datasets) as is customary with zfs on root and move everything into them and will it just work? (maybe with a bit of an inspiration from this dan langile's effort) Did anyone try to do this? I really don't know how I ended up with root being just one huge dataset. I must've borked something during installation.
I can also reinstall this machine from scratch, it's not that a big deal, I have nothing special configured there. My question is basically if it is doable, if yes, I will try it, because I can't pass any learning opportunity. If it is a waste of time and deemed to fail, I will reinstall from scratch.
I am not sure what I did, because this computer sits here since 12.1 was new and I was learning at the time. I only boot it once in a month, do backups through LAN, turn it off. Now my problem is this: I wanted to upgrade to 13-RELEASE, but I wanted to do it with boot environments. As I found out, this computer is not capable of working with boot environments, because it's root zfs is just one big FS, it is not separated into zroot, zroot/ROOT, zroot/ROOT/default, zroot/ROOT/var, etc etc, everything is just one huge filesystem.
Code:
root@server:~ # zfs list
NAME USED AVAIL REFER MOUNTPOINT
root 7.03G 121G 7.02G none
zbackup 184G 714G 184G /backup
root@server:~ # mount
root on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
zbackup on /backup (zfs, local, noatime, nfsv4acls)
root@server:~ # zpool status
pool: root
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
config:
NAME STATE READ WRITE CKSUM
root ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
errors: No known data errors
pool: zbackup
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
scan: scrub repaired 0B in 13 days 08:12:26 with 0 errors on Wed Jul 21 15:21:54 2021
config:
NAME STATE READ WRITE CKSUM
zbackup ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
errors: No known data errors
Now: is it possible to create the filesystems(datasets) as is customary with zfs on root and move everything into them and will it just work? (maybe with a bit of an inspiration from this dan langile's effort) Did anyone try to do this? I really don't know how I ended up with root being just one huge dataset. I must've borked something during installation.
I can also reinstall this machine from scratch, it's not that a big deal, I have nothing special configured there. My question is basically if it is doable, if yes, I will try it, because I can't pass any learning opportunity. If it is a waste of time and deemed to fail, I will reinstall from scratch.