Upgrading HDDs in RAID-1 (4TB drives)

200 views
Skip to first unread message

Dmitri Varenov

unread,
Apr 15, 2022, 9:55:19 AM4/15/22
to Alt-F
Good day!

Guys, first of all, i would like to thank Joao for his great work on ALT-F.
I hope you guys can guide me to the right solution. I used my DNS-323-A1 with two 4TB disks in RAID-1 for years and now got a couple of 8TB drives.
Started to search this group for an answer what is the best way to upgrade the HDDs in Raid-1.

I found a discussion ( https://groups.google.com/g/alt-f/c/MMDq96UoLgk ) which describes the procedure with disk swapping one by one and enlarging RAID and FS after the rebuild is complete.
But there is one mention from Joao - "The following is only for metadata 0.9 and if the new disk is smaller than 2.2TB, as bigger disks require RAID metadata 1.x and that can't be changed without breaking the array". Do i understand correctly that this procedure will not work for me as i have a bigger drives?
If so, what is the best way to change drives and move the data? 

Also, i tried to degrade the Raid, took one of HDDs and connected to my Linux PC by USB box as to try to mount it to get the data. But it led to some strange things - disk was identified with the half of it's original size with only one partition available while it contains two. After putting it back to NAS the RAID restored without any problem. I don't know what is the cause of this, but maybe someone already had a similar problem. 


As for now, i see only one possible option (it's harsh and time consuming):
1. Degrade RAID-1 on NAS
2. Take one HDD, connect to PC and try to repartition/reformat (hope this helps to mount it correctly)
3. Copy all the data from degraded Raid on NAS to PC with reformated HDD
4. Turn of NAS, replace the HDDs, create new RAID-1 on this disks at 8 TB size
5. Copy all data from PC mounted drive to NAS once again. 

 I hope someone has a better idea then the above mentioned. Thank you very much for your time and reply. 

João Cardoso

unread,
Apr 15, 2022, 12:29:56 PM4/15/22
to Alt-F

mk360

unread,
Apr 24, 2022, 4:34:07 PM4/24/22
to al...@googlegroups.com

Hi,

I'm tried to apply these instructions, but I get the error "Stopping all services and disks... failed:
eject error, st=0"

What can I do?

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/a854276f-8852-4c22-9f9e-e19e3a1207c6n%40googlegroups.com.

João Cardoso

unread,
Apr 25, 2022, 11:18:59 AM4/25/22
to Alt-F
On Sunday, April 24, 2022 at 9:34:07 PM UTC+1 mk360 wrote:

Hi,

I'm tried to apply these instructions, but I get the error "Stopping all services and disks... failed:
eject error, st=0"

What can I do?


Packages->Alt-F, uncheck "Boot Enabled", Submit and Reboot.
On reboot, no Alt-F on-disk installed packages will be available, "stop all services" should succeed and you can continue the disk upgrade procedure.
To reactivate the Alt-F packages, after you finish the disk upgrade, that's enough to "ActivateNow" under Package->Alt-F, but to guarantee that it will happen at each boot, check  "Boot Enabled" and Submit.
Reply all
Reply to author
Forward
0 new messages