Pre moving drives questions.

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Pre moving drives questions.

Post by JWIL79 »

Hi.

I'm moving my drives in a few days, when "hopefully" my new QNAP TS-H886-D1622-16G arrives.

I have a question regarding moving of drives.
I checked that my drives can be moved ok, though the QNAP "Move drive checker".

But I am still a little worried my raid will not be seen correctly.
Now I have a 6 disk raid 5, + 1 SSD Drive (OS) setup on my now not working NAS.

Now my question is, after updating the firmware, as mentioned in point 2 of https://www.qnap.com/en/how-to/knowledg ... he-old-one
Should I move all 6+1 drives over at the same time, or can I move the SSD over first, make sure it works and then insert the remaining 6 drives, and maintain the raid 5 on those drives.
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Pre moving drives questions.

Post by dolbyman »

moved from ? I can;t see the old NAS

system should always be on 2 drives or more .. (raid1+)
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Re: Pre moving drives questions.

Post by JWIL79 »

The old NAS is an TVS-882, and as mentioned the https://www.qnap.com/en/nas-migration/ shows that the drives can be moved ok.
And yes my system is not on a raid
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Pre moving drives questions.

Post by dolbyman »

Migration would result in QTS not QuTS...if you are ok with that

Move all drives over (cold) for the migration..make sure you have current backups in case it does not work
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Re: Pre moving drives questions.

Post by JWIL79 »

ok, thanks.

what if I for example install a RAID 5 with 6 other disk, then swap them all over for my current RAID 5 disks, could that work with preserving the files on the RAID ?. As I might have trashed the OS trying to fix a problem i had with the TVS-882 not booting.
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Pre moving drives questions.

Post by dolbyman »

The OS is on the disks..so chances are if you messed that up, the new system might also not boot
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Re: Pre moving drives questions.

Post by JWIL79 »

Thanks.

Well the OS seems to boot correctly, with the firmware update I did, must have done something just on my old NAS.

The new NAS boots on the OS drive from the TvS-882, and the OS knows that there should be a RAID5 setup, but does not recognise the drives as these drives.

It gives the following error
"RAID group "2" is inactive. Storage pool: 1."

Also had a previous message, that said the raid was inactive and that I should go to "Storage/Snapshots" but didn't not specify what I should do there..

I tried "Attach and Recover Storage Pool" but this did not help with recovering the RAID.

Any idea on how to recover the drives ?

I found something on the following site
https://askubuntu.com/questions/944564/ ... r-computer

That one could try and run "mdadm --assemble --scan"
This is in regards to moving some raid drives onto a completely new machine, but that the person checked a configuration file at /etc/mdadm/mdadm.conf, but I cant find that file in the /etc/ folder on the NAS
That command is for Ubunto, but could that command work to recover the raid ?
brucemalti
New here
Posts: 8
Joined: Thu Dec 09, 2021 10:23 pm

Re: Pre moving drives questions.

Post by brucemalti »

JWIL79 wrote: Sat Dec 04, 2021 9:08 am Thanks.

Well the OS seems to boot correctly, with the firmware update I did, must have done something just on my old NAS.

The new NAS boots on the OS drive from the TvS-882, and the OS knows that there should be a RAID5 setup, but does not recognise the drives as these drives.

It gives the following error
"RAID group "2" is inactive. Storage pool: 1."

Also had a previous message, that said the raid was inactive and that I should go to "Storage/Snapshots" but didn't not specify what I should do there..

I tried "Attach and Recover Storage Pool" but this did not help with recovering the RAID.

Any idea on how to recover the drives ?

I found something on the following site
https://askubuntu.com/questions/944564/ ... r-computer

That one could try and run "mdadm --assemble --scan"
This is in regards to moving some raid drives onto a completely new machine, but that the person checked a configuration file at /etc/mdadm/mdadm.conf, but I cant find that file in the /etc/ folder on the NAS
That command is for Ubunto, but could that command work to recover the raid ?
Did you manage to solve the above? I am in a similar situation
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Re: Pre moving drives questions.

Post by JWIL79 »

brucemalti wrote: Fri Dec 10, 2021 12:12 am

Did you manage to solve the above? I am in a similar situation
Sadly, i have not solved it yet.

The TS-H886-D1622-16G that i bought, seems to be able to see the raid, but the raid is offline.

This is 2 part.
1: With the SSD drive from the TVS-882, the raid is not shown with fdisk, but using the webinterface i get the following error "RAID group "2" is inactive. Storage pool: 1."

2: With a newly initialised SSD on the TS-H886, the system sees the raid with fdisk, but also says it does not contain a valid partition table..
info here viewtopic.php?f=25&t=164114
Tried fixing the partition table with the command "e2fsck -fv", but that fails, as it apparently the device is mounted.
Using umount, I get the response that the device is not mounted.
JWIL79
Starting out
Posts: 17
Joined: Fri Oct 22, 2010 2:32 am

Re: Pre moving drives questions.

Post by JWIL79 »

Solution
I got my primary issue solved. getting access to the RAID.
I got this by getting my original TVS-882 up and running.
The error it had was not booting correctly.
More specific info on this info: viewtopic.php?f=50&t=163865
The final solution to the issue I had, was updating the firmware on the TVS-882. QNAP pointed me towards a firmware that worked, and was a little older than the ones I had tried previously
User avatar
a13antichrist
Know my way around
Posts: 142
Joined: Tue Apr 17, 2018 10:06 pm
Location: Amsterdam, NL

Re: Pre moving drives questions.

Post by a13antichrist »

Did they say why you needed to use an older version of the 882 firmware?
TVS-871 @ 58tb formatted R6, Mellanox MCX312b 10Gbe,
R9 5950x || RTX3090 || 64Gb 3600Mhz || Intel X520 10Gbe
MbP M1 Max || 32C GPU || 64Gb || QNAP T310G1S SFP+ 10Gbe
R3 2200G mini HTPC
Mikrotik switches & routers
OpenWRT & DD-WRT wifi
Post Reply

Return to “System & Disk Volume Management”