Sunday, April 07, 2013

QNAP Online RAID 5 Migration

Recently added two new physical drives into a QNAP NAS (TS-419P II) and performed online migration of the existing single drive to a 3 drive RAID 5 setup, here is how I got on.

I shut down the NAS, although I later read this is unnecessary and the drives can be hot swapped, selected the previous drive from the list in RAID management in the admin pages. Clicked the MIGRATE button, selected the two new drives and chose RAID 5. Full documentation here.

The system warns that all services will be shut down and shows a % progress for the migration. This took about 12 hrs to get to 49% where it got stuck and without intervention aborted the migration and reverted  back to the single drive setup.

Second try, after googling my problem, this time I manually disabled all of the QPKG applications through the admin pages. Again took about 12 hrs to get to 49% where it stuck for a few hrs. Further reading on the forums mentions mySQL and JAVA as being two particular packages that might need a manual kill (SSH in and use the kill -9 command). 

After Java was stopped the progress updated to 50% and the screen displayed the 3 drives as a RAID 5 array, the remainder of the migration took another 12 hrs to complete. Here is the item in the RAID management table.