With the conditions for editing RAID, the edit button of the storage pool is still gray and cannot be clicked?
Posted: 18 Sep 2021, 16:52
Troubleshooting
Applicable models
All TNAS models
Applicable version
TOS 4.1.x ~ TOS 4.2.x
Cause Analysis
Use a large enough hard disk to replace the failed hard disk or add it to the NAS, but the edit button in the storage pool is grayed out, so the new hard disk cannot be restored or added to the RAID. The reason may be that the capacity of your hard disk is slightly different from other hard disks. Therefore, the system judges that the hard disk does not match the other hard disks in the RAID, and the hard disk cannot be added to the raid.
Solution
1. Go to Control Panel> Storage Pool, and create a new Single type storage pool with your new hard drive
2. Delete the newly created storage pool
3. Log in to the SSH terminal and switch to the root user How to log in to the SSH terminal?
4. Execute the following commands to observe the relationship between RAID and each hard disk:
5. Finally, execute the following command to add the new hard drive to the RAID:
"sd[a-z]4" represents hard disk partition;
"a-z" represents the serial number of the hard disk, and the serial number of the newly added hard disk needs to be determined;
"4" represents the fourth partition, that is, the key data partition;
"md0" stands for storage pool 1. If you want to edit storage pool 2, enter "md1", and so on.
Applicable models
All TNAS models
Applicable version
TOS 4.1.x ~ TOS 4.2.x
Cause Analysis
Use a large enough hard disk to replace the failed hard disk or add it to the NAS, but the edit button in the storage pool is grayed out, so the new hard disk cannot be restored or added to the RAID. The reason may be that the capacity of your hard disk is slightly different from other hard disks. Therefore, the system judges that the hard disk does not match the other hard disks in the RAID, and the hard disk cannot be added to the raid.
Solution
1. Go to Control Panel> Storage Pool, and create a new Single type storage pool with your new hard drive
2. Delete the newly created storage pool
3. Log in to the SSH terminal and switch to the root user How to log in to the SSH terminal?
4. Execute the following commands to observe the relationship between RAID and each hard disk:
Code: Select all
lsblk
"sd[a-z]4" represents hard disk partition;
"a-z" represents the serial number of the hard disk, and the serial number of the newly added hard disk needs to be determined;
"4" represents the fourth partition, that is, the key data partition;
"md0" stands for storage pool 1. If you want to edit storage pool 2, enter "md1", and so on.
Code: Select all
mdadm -a /dev/md0 /dev/sd[a-z]4