March 2, 200719 yr Upgrading to UnRaid v3.0+ from a previous version. Having just gone through the stressful procedure of upgrading to v3 of UnRaid from v2.06 I though I'd create a step by step "easy" guide to help others through the experience. All the necessary information is on the Lime-Technologies website, but it really isn't that straight forward to work out what needs doing in which order jumping between the various bits of information from various documents necessary to complete the process. First off I'd like to say this is an easy process once you know what to do. This information is entirely gained from my experiences and what I've worked out, together with help from others on these forums and is not through any knowledge or expertise in UnRaid, Linux or anything else. Disclaimer - I've done my best to help here, I think I've got this right, at least it worked for me but I make NO GUARANTEES, I can't take responsibility if this messes up for you. I'd appreciate it if one of the more experienced "UnRaiders" could take a careful read and see if there are any errors & omissions. I know how important our data is to us, and have tried to be very careful, but a checking over by someone else would be re-assuring to me as well others wishing to upgrade. UPGRADING TO v3.0+ OF UNRAID FROM v1.x OR v2.x Buy a Suitable New USB Key I bought a Sandisk Cruzer Crossfire which I had a pig of a job to get going, though following these instructions it hopefully will not be a problem for you. Others have recommended the Sony Microvault USB Keys which have apparently worked straight away. I've ordered one of the Microvaults for my 2nd system. If anyone can recommended the best boot speed performing usb key I'll gladly amend this document. Download HP Flash Formatter Tool & Reformat your USB Key This step may not be necessary, but in the case of my Sandisk Cruzer Crossfire I couldn't get my system to boot until I had formatted the USB Key with this tool, Simply formatting in Windows wasn't sufficient. I'd recommend doing this step anyway. The tool can be downloaded from HP's website, avalaible from HP's Website Here. I formatted using the "Fat32" & "Quick Format" settings. Once finished use the "Safely Remove Hardware" facility (located near the system clock in XP) to disconnect the USB Key from your PC and remove it. Make a note of your HDD Locations Models & Serial Numbers on your old UnRaid setup Make a note of the drive IDs and serial numbers and positions in the array on your old version of unRaid. You will need these drive IDs and serial numbers to assign the drives after you boot up your new 3.x version of unRaid. This information is easily found via the Web Interface. In this image you can clearly see the disk locations & Models, but I've blanked out my serial numbers; you will need yours to make sure you get the drives in the right order on the new array. Stop Your Unraid Server & plug the new USB Key into it Using the web interface STOP your array and then power down your UnRaid server. Leaving your existing Unraid USB Key in place insert your new key into a different USB slot on the UnRaid Server & reboot it. Telnet to the Server to get USB Key GUID information In order to run v3 you are going to need an upgraded licence for your USB Key from Lime Technologies support, this key is tied to the GUID of specific USB Key device. You will also need to know the Server's network name or IP address. The Server Name will be listed at the top of the UnRaid Web Inteface page, by default it will be "Tower" if you haven't changed it. Open A command window (Usually found at Start -> All Programs -> Acccesories -> Command Prompt). Type:- Telnet Tower Then Press Enter, you could have alternatively typed "Telnet xx.xx.xx.xx where the x's represent the IP Address of your Server. You should have a "Tower Login:" prompt. At the login Prompt Enter:- root (all in lower case) You should now have a "root@Tower:~#" prompt. Carefully Enter:- cat /proc/scsi/usb-storage-1/1 The output of the command should look something like this: Host scsi1: usb-storage Vendor: SanDisk Corporation Product: Cruzer Micro Serial Number: 20051739920A3B20EB5A Protocol: Transparent SCSI Transport: Bulk GUID: 078151511739920a3b20db5a Attached: Yes Copy this text into an email and send it to Lime Technology ([email protected]) who will send you a registration key for your new Flash. This may take a day or 2. You can now close the Telnet session by typing:- exit in the Telnet window Stop the UnRaid Server again via the Web Interface & Power Down Once off remove the new USB flash drive from your UnRaid Server restart (still using the old key) & wait for your USB-Key registration to arrive via email. Once you received the USB-Key registration license.... Insert USB-Key to your Windows PC You will need to know what device letter has been allocated to it, you can to this by locating your device under "My Computer" or "Windows Explorer" and making a note of the device letter next to it. In my case it was "G:", but you many it will be "E:" or "F:" Download the "syslinux" tool & run it Download the syslinux tool Here. For ease you should download it to a simple directory, for example, c:\, and then run it by clicking on Start/Run. In the dialog box enter:c:\syslinux.exe f: (Note that Instead of c:\ use whatever directory path you downloaded syslinux to, and instead of f: use whatever drive letter Windows mounted your Flash on). The syslinx tool will create a hidden file named ldlinux.sys on the Flash and make it bootable. Download unRAID Server and extract the files from the zip archive to your Flash. Download the UnRaid server software from Here. At the time of writing this the latest "final" version was "unRaid Server 3.0.zip". I'd recommend sticking to the full releases at this stage, avoiding the betas until you've successfully completed the installation. Extract all the files in the zip file to your USB-Key. Copy the registration key file to the config directory of the Flash. Obtain your current UnRaid system setting from your Server Use "telnet" again to open a command window on your currently running unRAID server and carefully type the following command: dd if=/dev/sda2 of=/boot/super.dat bs=4096 count=1 This will create a file named super.dat that contains your current array configuration. You can now close the Telnet session by typing:- exit Using "Windows Explorer", navigate to the flash share on your UnRaid Server and copy the following three files to the config directory of your new Flash: * super.dat * ident.cfg * network.cfg Note: the model.cfg file is no longer used, and you should use the disk.cfg file which comes with the new release. Boot the new Flash Stop & Power down your UnRaid server, and then boot it back up using the new Flash instead of the old Key. Users of some motherboards, including some of the default recommenced Intel Boards may find they need to make a change in their Bios settings to enable the new USB key to be the boot device. Note: the default disk.cfg file included with the unRAID Server download is fine for all IDE-based servers. If you are currently running a SATA or mixed SATA/IDE system, please refer to the Documentation Here for more instructions Reassign the drives in the correct order Stop the array using the Web Inteface and use the Devices page to assign your drives back in the correct order. Be Careful! - I didn't get this right when I did mine which resulted in a parity re-build. If you get your old Parity disk in the wrong position you may lose the data on the drive you place into the parity position in this procedure. I was lucky and didn't lose anything That's it, it's not as difficult as it may seem, I tried to spell each stage out as simply as I can and for that reason this document is longer than it really needed to be, but hopefully this'll get you up & running on v3. I'm hoping that you won't have any difficulty re-booting, but with some motherboards you will need to manually change the boot priority in the Bios to defaut to the new USB-Key. Below are some more tips from the Lime-Technologies Site if you are having difficulties getting the UnRaid Server going. Trouble shooting if it won't boot If it doesn’t boot, reset your server and enter the BIOS setup. Navigate to the appropriate screen(s) and select you USB Flash device as the boot device. Save your BIOS settings and try to boot the Flash. If the Flash will not boot, read over the following tips. BIOS Setup Tips The system BIOS can be complicated and the exact BIOS settings will vary from motherboard to motherboard. Here are a few tips to increase your chances of success. First, ensure that the Flash is the only USB device plugged in. Second, plug the Flash directly into a motherboard I/O panel USB port if possible, instead of any front panel USB ports. Next, go back into the system BIOS and try changing some of the following settings (taking note to the changes made): * Try in sequence: o USB-HDD o USB-ZIP * Try disabling USB 2.0 support (this will default to USB 1.1). * Try switching on or off any “Fast Boot” feature. * Try Switching on or off “USB keyboard” support. Good luck! Mark.
March 3, 200719 yr You could also install the basic version of unraid to the usb key first and boot to it. Go to the management page and click on the devices tab. It will show you the serial number for the key
March 3, 200719 yr You might mention to make a note of the drive IDs and serial numbers and positions in the array on your old version of unRaid before you upgrade from 1.x or 2.x. You will need those drive IDs and serial numbers to assign the drives after you boot up your new 3.x version of unRaid. What I did was make a screen capture of the disk management page and printed it. (Alt-printscreen captures the active window to the clipboard, then paste in mspaint, or word and print it) After you boot up on 3.x you will need to assign drives to slots on the array. You do not want to make a mistake here. Make sure the drives are all assigned to their proper slots before you restart the array. If you are using Tom's originally recommended Intel motherboard, you will need to go into the bios and select your new USB flash as the boot device to boot it. You will need to go back in to re-select your old USB drive when you put it back in while waiting for your serial number key file from Tom. The Intel BIOS seems to track the boot device by serial number and if the serial number it boots from does not exist (because you are using a different USB drive) it resorts to attempting to boot from your hard disk. (and there is nothing there to boot from) You need to get into the BIOS to pick the new USB drive as the boot device. Joe L. Joe L.
March 3, 200719 yr Author Thanks for the comments... You could also install the basic version of unraid to the usb key first and boot to it. Go to the management page and click on the devices tab. It will show you the serial number for the keyThat's a great tip. I'd heard that you could also extract the information from Disk Management under WindowsXP but I couldn't work out how to do that. I was going to do some screen caps to show how. I'll modify the document later, unfortunately I don't have time right now. I've made Joe's changes as they are steps/points I missed rather than an alternative method. You might mention to make a note of the drive IDs and serial numbers and positions in the array on your old version of unRaid before you upgrade from 1.x or 2.x. You will need those drive IDs and serial numbers to assign the drives after you boot up your new 3.x version of unRaid. After you boot up on 3.x you will need to assign drives to slots on the array. You do not want to make a mistake here. Make sure the drives are all assigned to their proper slots before you restart the array. I've done that now. I hadn't appreciated this step was necessary, I thought I only had to do this because I messed up my initial v2.06 install. Had I realised it was part of the procedure for everyone I probably would have got it right myself. The point of this walk-through was to spell it out in order to make it easier for others who, like me, are nervous about changing thier system. If you are using Tom's originally recommended Intel motherboard, you will need to go into the bios and select your new USB flash as the boot device to boot it. I've put in a note to that effect. You will need to go back in to re-select your old USB drive when you put it back in while waiting for your serial number key file from Tom.That will only be necessary if following erikatcuse's technique for obtaining the USB Key's GUID. If you follow the information I extracted from the various Lime-Tech documents you only boot from the new Key once you have the GUID info, so no need to go back. I'm a little busy this morning, but I will modify the document to include erikatcuse's method as an alternative, I think it's actually easier It's because of the help I've had here that I wanted to give something back to the forums to help others, I'm not knowledgeable enough to give advice of a quality some of you guys can, but I felt documenting my experiences and laying them out in a step by step fashion may assist others. Thanks to everyone for all their advice so far... I bet I haven't finished asking questions myself Mark.
Archived
This topic is now archived and is closed to further replies.