Moving the ADM to another drive

Share your awesome tips and tricks here.

Moderator: Lillian.W@AST

Post Reply
djtron
Posts: 11
youtube meble na wymiar Warszawa
Joined: Fri Sep 24, 2021 8:57 am

Moving the ADM to another drive

Post by djtron »

Hi, I've an AS 3104t 4bay with 1st drive of 8tb toshiba enterprise and 2nd drive of 1tb normal desktop drive. My enterprise drive is very noise and vibrates too much. Would it lessen the system OS access/noise if I switch my drive, e.g., normal desktop drive as the 1st drive where the system will install the OS and make the enterprise drive as the 2nd drive for data?

Is there any quick way to switch the data or I need to copy all my data drive to another external drive and setup the system again? Thank you.
User avatar
orion
Posts: 3482
Joined: Wed May 29, 2013 11:09 am

Re: Moving the ADM to another drive

Post by orion »

ADM OS should locate onto every disk. Applications are installed onto volume 1 which is almost active all the time. You'd better indeed to use quiet disk(s) (for example, SSD) to create volume 1. It's correct that you should backup your data externally, then reinitialize NAS.
MaciejW
Posts: 1
Joined: Mon Jan 10, 2022 3:19 pm

Re: Moving the ADM to another drive

Post by MaciejW »

Hi, have you managed to move ADM to another drive? I wanted to do something like that as well (single system disk, no RAID), but to be honest, I don't know how.
michauw
Posts: 7
Joined: Sat Dec 25, 2021 7:16 pm

Re: Moving the ADM to another drive

Post by michauw »

I tried to do something similar today. I am struggling with the constant noise caused by hard disks and I thought that it is worth trying to put the system on a single SSD disk and then create a raid1 from two hard disks. I managed to do it, but a fresh ADM (factory reset) installation defaults the ssd to the raid array so that /dev/md0, /dev/md126 is configured for 4 disks (even if there are none available)

See cat /proc/mdstat output below
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md1 : active raid1 sda4[0]
112697344 blocks super 1.2 [1/1]

md126 : active raid1 sda3[0]
2094080 blocks super 1.2 [4/1] [U___]

md0 : active raid1 sda2[0]
2094080 blocks super 1.2 [4/1] [U___]

unused devices: <none>

Inserting subsequent disks automatically assigns them to the array created in this way.

I tried to manually override the configuration for md0 and md126

Code: Select all

mdadm --grow --force --raid-devices=1 /dev/md0
and it manages to do it, but after restarting ADM, automatic initialization takes place (factory reset)

If anyone has any way to get ADM to work on a single SSD without involving the remaining HDDs in the raid, I would be grateful for sharing
michauw
Posts: 7
Joined: Sat Dec 25, 2021 7:16 pm

Re: Moving the ADM to another drive

Post by michauw »

and this is how it looks when i add hard drives to the nas:

ersonalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sdc4[1] sdb4[0]
3902429184 blocks super 1.2 [2/2] [UU]
[>....................] resync = 0.0% (193152/3902429184) finish=673.3min speed=96576K/sec

md1 : active raid1 sda4[0]
112697344 blocks super 1.2 [1/1]

md126 : active raid1 sdc3[5] sdb3[4] sda3[0]
2094080 blocks super 1.2 [4/3] [UUU_]

md0 : active raid1 sdc2[5] sdb2[4] sda2[0]
2094080 blocks super 1.2 [4/3] [UUU_]

unused devices: <none>

As you can see md0 and md126 automatically includes partitions from addedd hard drives to the array.


m.
Post Reply

Return to “Tips & Tricks”