rockbox948 Posted March 26, 2023 Share Posted March 26, 2023 I recently upgraded to v6.11.5 and installed an NVMe drive to replace the current SATA SSD cache drive using these instructions: Stop the array - Did this. On the main page click on the cache device you want to replace/upgrade and select the new one from the drop down list (any data on the new device will be deleted) - Did this. Start the array - Did this, however, the array did not start immediately. I received message from the browser that the page needed to be refreshed. When I did so, the Main page showed the array to still be offline. I opened the Main page in a different tab and still had the same result. There was no indication that anything was taking place and the only buttons available at the bottom of the Main page were Reboot, Shutdown, and Sleep IIRC. I rebooted and lost GUI access. The login screen would occasionally appear but would provide a 503 Service Unavailable error. This continued for 4 hours, during which I would check randomly to see if the status changed. After ~4 hours, I was able to login and GUI access was restored. The array was online without me turning it back on again. All buttons were available at the bottom and the Format button was added. The new NVMe drive was set to Cache but was unmountable because it had not been formatted. I ran the formatting process. A btrfs device replace will begin, wait for cache activity to stop, the stop array button will be inhibited during the operation, this can take some time depending on how much data is on the pool and how fast your devices are. - This and the remaining steps did not take place. Is there something else I was supposed to do in order to have my old appdata etc. move to the new cache drive? If I ran the Kluth CA Backup/Restore Appdata prior to the upgrade, can I do the restore on the new drive? Thanks in advance! cylon-diagnostics-20230326-1339.zip Quote Link to comment
MAM59 Posted March 26, 2023 Share Posted March 26, 2023 21 minutes ago, rockbox948 said: I received message from the browser that the page needed to be refreshed. When I did so, the Main page showed the array to still be offline Urks! 😞 This is an evil and known bug that happens with some browsers (mainly firefox). The only correct answer to this is: NO! (cancel!) If you agree, shit happens (as you have already noticed now the hard way). Quote Link to comment
rockbox948 Posted March 26, 2023 Author Share Posted March 26, 2023 12 minutes ago, MAM59 said: Urks! 😞 This is an evil and known bug that happens with some browsers (mainly firefox). The only correct answer to this is: NO! (cancel!) If you agree, shit happens (as you have already noticed now the hard way). Well hell... I was definitely using Firefox so that explains why things didn't go as they were supposed to. What is the remedy? Quote Link to comment
MAM59 Posted March 26, 2023 Share Posted March 26, 2023 1 minute ago, rockbox948 said: What is the remedy? Next time just hit "cancel", the array will be stopped and the gui will survive. Quote Link to comment
rockbox948 Posted March 26, 2023 Author Share Posted March 26, 2023 1 minute ago, MAM59 said: Next time just hit "cancel", the array will be stopped and the gui will survive. "Next time"? So I go through the process again? Will the data on the original cache get erased if I set it back to being the cache and start over? Quote Link to comment
MAM59 Posted March 26, 2023 Share Posted March 26, 2023 1 minute ago, rockbox948 said: "Next time"? I am talking about the nagging window that popped up and asked you to resend the request. THAT is a bug and should not happen. Cancel it! Else you will cancel your last command (stop the array) and the gui will become "strange". This has actually nothing to do with "erasing" the cache, it just canceled what you were just doing. If the popup appeared after the "erase" command, erase never happened. So it would be better for you to start again and when the popup comes, cancel it and continue as described. Quote Link to comment
rockbox948 Posted March 26, 2023 Author Share Posted March 26, 2023 1 hour ago, MAM59 said: So it would be better for you to start again and when the popup comes, cancel it and continue as described. I guess my question is how to start again? Do I stop the array, unassign the NVMe and reassign the old cache? Would doing that erase the old cache? I ask about the deleting of data because of what the second step in this process says. Quote Link to comment
MAM59 Posted March 27, 2023 Share Posted March 27, 2023 no, read the instructions carefully! They do not apply to your situation, they are meant for people the are running TWO cache SSDs combined as a RAID Array. There you can pull out one, put in a new one and the old data will be restored automatically. But you only have ONE drive to be replaced. You COULD add this new drive to the old pool, wait until it is synced, take out die old drive and degregate the pool back to a single drive. But usually it is much easier just to stop all dockers and VMs and copy all data from the cache to a folder on the Array. Anyway, you have switched already and i assume, the machine is back up again and working? So no need to rewind something. If you want to erase the old ssd, just reinsert it, use the plugin "unassigned devices" to "preclear" it (this will erase everything and wipe it out with zeros). I dont understand your current situation and what you want to do now (standard excuse: "english is not my natural language") Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 Like mentioned that procedure won't work to replace a single device pool, if you still need help with that post new diags after arrays start. Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 I completely missed that strikethrough part. Here are the diagnostics because I do still need help. Any help you can provide is appreciated. cylon-diagnostics-20230327-0639.zip Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 (edited) 6 hours ago, MAM59 said: no, read the instructions carefully! They do not apply to your situation, they are meant for people the are running TWO cache SSDs combined as a RAID Array. There you can pull out one, put in a new one and the old data will be restored automatically. But you only have ONE drive to be replaced. You COULD add this new drive to the old pool, wait until it is synced, take out die old drive and degregate the pool back to a single drive. But usually it is much easier just to stop all dockers and VMs and copy all data from the cache to a folder on the Array. Anyway, you have switched already and i assume, the machine is back up again and working? So no need to rewind something. If you want to erase the old ssd, just reinsert it, use the plugin "unassigned devices" to "preclear" it (this will erase everything and wipe it out with zeros). I dont understand your current situation and what you want to do now (standard excuse: "english is not my natural language") You are correct, I completely missed the part about not working on a single device pool. The system is back up but without the old appdata. Edited March 27, 2023 by rockbox948 Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 Post the output of: btrfs fi show I assume the Samsung 840 EVO was the old cache? Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 42 minutes ago, JorgeB said: Post the output of: btrfs fi show I assume the Samsung 840 EVO was the old cache? That is correct. Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 And the output I asked please. Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 (edited) 4 minutes ago, JorgeB said: And the output I asked please. cylon-diagnostics-20230327-0639.zip Let me know if this is not what you requested. Edited March 27, 2023 by rockbox948 Quote Link to comment
MAM59 Posted March 27, 2023 Share Posted March 27, 2023 if i would be you, I would not panic yet. I guess, all data is still on the old Samsung 840 and is just waiting to be moved over to the new cache drive. (Unless you have formatted the old one already) * Stop all dockers and VMs (NOT the array!) * Mount the old Disk with unassigned devices, use the file manager plug in (or use the shell with "mc") to copy over everything from the old drive. * restart Dockers and VMs (they should be fine again now) Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 26 minutes ago, rockbox948 said: Let me know if this is not what you requested. That's not what I need, in the terminal type: btrfs fi show And post the resulting output. Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 @JorgeB Label: none uuid: 67579e2f-140d-47d0-9633-67d6b6adbed1 Total devices 1 FS bytes used 144.00KiB devid 1 size 931.51GiB used 2.02GiB path /dev/nvme0n1p1 Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 Now output of: btrfs-select-super -s 1 /dev/sdc1 Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 @JorgeB Thanks using SB copy 1, bytenr 67108864 Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 Stop array, unassign the NVMe cache device, start array (with no devices assigned as cache), stop array, assign the 840 EVO to cache, start array, confirm old cache is back. Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 5 minutes ago, JorgeB said: Stop array, unassign the NVMe cache device, start array (with no devices assigned as cache), stop array, assign the 840 EVO to cache, start array, confirm old cache is back. Tasked completed and confirmed old cache is back. Quote Link to comment
JorgeB Posted March 27, 2023 Share Posted March 27, 2023 Good, you can now backup and then restore the data to the new device, or add the NVMe device to that pool, wait for the balance to complete, when done, remove the old SSD from the pool. Quote Link to comment
rockbox948 Posted March 27, 2023 Author Share Posted March 27, 2023 @JorgeB Thanks for your help. Of the two options you presented, which is the most fool-proof? Obviously, that is the one that I will need to use😁 Quote Link to comment
Solution JorgeB Posted March 27, 2023 Solution Share Posted March 27, 2023 Under normal circumstances the 2nd option would be easier, unless something goes wrong during the balance, so always good to make sure backups are up to date before starting, then add the NVMe device to the cache pool, wait for the balance to finish, it will finish when the cache activity stops and you can stop the array, stop array, unassign the 840 EVO SSD, start array, a new balance will start to delete the old device, once that finishes you are done. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.