I would like to setup the most complete and referenced thread about updating to later versions of TOS. I see the informations are fragmented and before duing this (complex) upgrade, I want to be sure to have all the reference material on the same place, so my idea is to update this thread with all the answers and the references I'm going to find.
Current status
- An almost working F5-221 installation with with 5.1.24
- 2 HDD in RAID1 setup for my important stuff + 1HDD for repleacable data
- 1 SDD for caching - not working
- 2gb system partition
Why I have decided to upgrade
- I've connected an SSD disk for caching, but if I try to create the cache i get "SSD not created" error, whitout details (side note, a log or feedback popup would be better) - Having 2gb boot partition could be the cause (specific TOS version could be too, theoretically)
- I don't wont to be locked out from TOS releases. I'm not saying i need the new features, but I want a stable system and having "please upgrade to latest TOS release first" as an answer from support when getting something wrong is a no-no to me.
- Sooner or later, the 2gb boot partition problem must be solved, so it's better to do that while your system is working taking a slow pace than doing that during a disaster recovery situation
- Backup all the data, including applications data and configuration files
- Upgrade the hardware setup for better performances (optional)
- Wipe out all the partitions on all the drives
- Fresh install of the operating system
- Restore all the data
- Reinstall all the application
0. Prerequisites
- Being able to SSH into the system
- ...
Idea: Using Google Cloud Storage
Having USB as a temporary HDD IMHO is a very expensive and risky solution.
First of all i don't like the idea of buing a external storage for that. Not only it should be huge to fit my needs, but it will be very risky. During the entire upgrade process, I'll have only one copy of my data. Making my entire redundancy RAID scheme useless.
Additionally, my main desktop has not so much storage available, so making a local backup is a dead end too.
I was wondering of using a cloning app for uploading all the data on, for ex,, Google Cloud Storage. It will be cheapier and safer.
rClonePlexDrive seems suitable for that.
Ofc the initial backup will take time, but it's ok to me to wait.
Additionally, this won't be a one-shot setup for just this upgrade, but it would remain in place as a running backup solution
I would say that having the application being executed on TOS is mandatory, as having it executing on the local PC would take ages I guess.
Open Points:
- Are those kinds of app designed to be able to upload the entire storage content or just a volume specifically made for being cloned?
- How to restore the data after the upgrade process is done? Copypaste files and folders from the remote location doesn't seem very smart
- Some sort of checksum test should be (manually) put in place for ensure transfer safety?
- Are there better apps for doing that?
- Which is the better procedure for doing so?
I think this is the best time for upgrading the storage scheme. I was wondering of this scheme:
- BAY 1: Volume 1/RAID1 Sensitive Data (4Tb+ HDD)
- BAY 2: Volume 1/RAID1 Sensitive Data (4Tb+ HDD)
- BAY 3: SDD for both Hyper Cache and boot partition (500Gb - Balanced)
- BAY 4: Volume 2 Replaceable Data (1Tb+)
- BAY 5: Empty (for future upgrade and/or binding BAY4 in RAID scheme in the future)
- Is it possible to use a SSD disk for both caching and booting the OS at first place?
- Which is the best place to put the boot partition? I think this would beneficial on putting on SSD rather than on a magnetical hard disk in RAID, am i wrong?
- Which is the best size of the boot partition nowdays? Is 8gb future proof?
- Putting the boot partition on a different disk (yet internal) will make future upgrade easier?. The idea here is to find a way to not being forced to wipe the data partitions every time
- How to avoid the boot partition being a single point of fail?
TBD
4. Upgrading TOS
TBD
5. Restore the Data
TBD
3. Restore the applications and configurations
TBD
