[Solved] Switching Between Two Flash Drives


Recommended Posts

Still running 4.7. I'd like to start building a 5.0 environment on a separate flash drive, and have the ability to go back and forth between releases.  Is copying super.dat when switching flash drives all that's necessary?

 

I seem to remember that Tom said that it wasn’t a problem going back to 4.7 after newperms has been run.

Link to comment

Then all you need to do is set up a config on each one, and just select which one to boot from via your BIOS boot menu each time you want to switch.

No, not quite that easy.    They BOTH must be labeled UNRAID, and only one UNRAID labeled volume must exist.

 

The trick is to unplug one flash drive and plug in the other while powered down (or at least AFTER you've stopped the array, but before rebooting.)

Link to comment

... actually makes it simpler, however, since you don't have to change anything vis-à-vis the boot device.    Just shut down; swap the flash drives; and turn the system back on  :)

Well, you might need to select the alternate flash drive to boot from. 

Since the first flash drive would be missing (since you unplugged it) many BIOS will then default to booting from the first hard disk installed.  It would not likely to automatically boot from the alternate flash drive.

 

Joe L. 

Link to comment

But the real question is:

 

If you have a flash drive with a fully functional 4.7, labeled UNRAID, license key, disks configured, shares set up, etc.

 

And a flash with a fully functional 5.x,labeled UNRAID,  license key, disks configured, shares set up, etc.

 

Can you shutdown a server under one OS, pull the flash, copy super.dat to the other flash, insert the other flash, and bring up the server under the other OS.

 

The goal is that both OS's are happy, no irregularities, and no rebuilding of the raid drive required under either OS. Is the super.dat file the only thing that needs to change when switching flash drives?

 

I would like to be able to switch back and forth several times before committing to 5.x, with minimal impact.

Link to comment

But the real question is:

 

If you have a flash drive with a fully functional 4.7, labeled UNRAID, license key, disks configured, shares set up, etc.

 

And a flash with a fully functional 5.x,labeled UNRAID,  license key, disks configured, shares set up, etc.

 

Can you shutdown a server under one OS, pull the flash, copy super.dat to the other flash, insert the other flash, and bring up the server under the other OS.

 

The goal is that both OS's are happy, no irregularities, and no rebuilding of the raid drive required under either OS. Is the super.dat file the only thing that needs to change when switching flash drives?

 

I would like to be able to switch back and forth several times before committing to 5.x, with minimal impact.

I know the super.dat format is not exactly identical between 4.7 and 5.X.

 

I have a 4.7 system and a 5.0rc15a system.  The md_private.h file in them describes the super.dat file.

 

They are "mostly" the same, but the trailing portion of the 5.X file has an array of structures for 24 data disks.  The trailing portion of the 4.7 file has an array of structures for 21 disks.

 

You might be able to get away with it, since obviously anyone upgrading must have the smaller 21 disk super.dat.  And it must end up as a 24 disk super.dat somehow.

 

However, I'd be careful.  Save copies of the super.dat files with the array stopped as insurance.

 

Joe L.

 

 

Link to comment

Joe knows more about this than I do;  but I'd think that a more likely area of confusion would be the security descriptors IF you're using user accounts.    I just run my systems "wide open" -- if you're on my network, you can use my UnRAID systems;  but I know the security model changed somewhat between v4 and v5.

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.