Hi there,
I am currently running TrueNAS Core 13.0-U6.8 on a server, the last version of TrueNAS with FreeBSD.
Since this project is going in a direction I don't like, I decided to migrate my server to vanilla FreeBSD.
The current setup is not very fancy, basically a file server exposing some SMB shares and 3 jails.
I have a rough plan in my head on how to migrate and I also have some questions. Would be great if you can give me your opinion and answer some of my questions.
The server is running headless with a system SSD and 4 data HDDs. The SSD holds the TrueNAS installation, the 4 HDDs are configured as one RAID-Z2 pool with a bunch of datasets.
Migration plan:
- export the pool from TrueNAS
- boot FreeBSD ISO, wipe SSD, install FreeBSD 15 RELEASE, use shiny new pkgbase
- enable and configure SSH
- update all packages
- import the pool
- create users and groups with same UIDs as in TrueNAS
- create SMB shares with these users and groups
- configure mail alerting
- create periodic snapshots and scrubbing tasks
- create periodic SMART tests
- create jails as needed and configure them
- install Webmin/Sylve to have a fancy overview and monitoring graphs
- look into boot environments before upgrading to the next release
Questions:
- Does this look reasonable? Anything to add?
- My jails are on the data disks. Any way to update and re-use them? (They were created with iocage)
- Is there any way to have the FreeBSD install in a boot environment besides TrueNAS? Like a dual boot solution?
- I have a bunch of "legacy" mount points when doing
. I guess these come from some former TrueNAS upgrades. I assume these are safe to delete before I switch over?
Thanks!
I am currently running TrueNAS Core 13.0-U6.8 on a server, the last version of TrueNAS with FreeBSD.
Since this project is going in a direction I don't like, I decided to migrate my server to vanilla FreeBSD.
The current setup is not very fancy, basically a file server exposing some SMB shares and 3 jails.
I have a rough plan in my head on how to migrate and I also have some questions. Would be great if you can give me your opinion and answer some of my questions.
The server is running headless with a system SSD and 4 data HDDs. The SSD holds the TrueNAS installation, the 4 HDDs are configured as one RAID-Z2 pool with a bunch of datasets.
Migration plan:
- export the pool from TrueNAS
- boot FreeBSD ISO, wipe SSD, install FreeBSD 15 RELEASE, use shiny new pkgbase
- enable and configure SSH
- update all packages
- import the pool
- create users and groups with same UIDs as in TrueNAS
- create SMB shares with these users and groups
- configure mail alerting
- create periodic snapshots and scrubbing tasks
- create periodic SMART tests
- create jails as needed and configure them
- install Webmin/Sylve to have a fancy overview and monitoring graphs
- look into boot environments before upgrading to the next release
Questions:
- Does this look reasonable? Anything to add?
- My jails are on the data disks. Any way to update and re-use them? (They were created with iocage)
- Is there any way to have the FreeBSD install in a boot environment besides TrueNAS? Like a dual boot solution?
- I have a bunch of "legacy" mount points when doing
Code:
zfs list
Code:
zfs list
NAME USED AVAIL REFER MOUNTPOINT
freenas-boot 4.89G 220G 23K none
freenas-boot/ROOT 4.87G 220G 23K none
freenas-boot/ROOT/13.0-U4 178K 220G 1.29G /
freenas-boot/ROOT/13.0-U6.2 176K 220G 1.29G /
freenas-boot/ROOT/13.0-U6.8 4.87G 220G 1.28G /
freenas-boot/ROOT/Initial-Install 1K 220G 1.00G legacy
freenas-boot/ROOT/default 223K 220G 1.00G legacy
tank 14.7T 20.3T 378K /mnt/tank
tank/.system 249M 20.3T 140K legacy
tank/.system/configs-6c934beb66de482e8faef2d3b30acc82 211M 20.3T 211M legacy
tank/.system/cores 128K 1024M 128K legacy
tank/.system/rrd-6c934beb66de482e8faef2d3b30acc82 34.7M 20.3T 34.7M legacy
tank/.system/samba4 1.71M 20.3T 436K legacy
tank/.system/services 140K 20.3T 140K legacy
tank/.system/syslog-6c934beb66de482e8faef2d3b30acc82 343K 20.3T 343K legacy
tank/.system/webui 128K 20.3T 128K legacy
[...]
Thanks!