Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:raid [2017/02/23 13:28]
solovyanov
linux:raid [2017/03/20 11:51] (current)
tomsa [Setting up RAID10 with tw_cli]
Line 176: Line 176:
 Generating the RAID10 field with disks in ports from 8 to 17: Generating the RAID10 field with disks in ports from 8 to 17:
   ./tw_cli /c0 add type=raid10 disk=8-17 noautoverify   ./tw_cli /c0 add type=raid10 disk=8-17 noautoverify
-Software removing a disk from port 14:+Software ​way of removing a disk from port 14:
   ./tw_cli maint remove c0 p14   ./tw_cli maint remove c0 p14
 Taking a look of what has it done: Taking a look of what has it done:
Line 182: Line 182:
 "​Adding"​ a disk back to the file system (more like identifying it): "​Adding"​ a disk back to the file system (more like identifying it):
   ./tw_cli maint rescan c0   ./tw_cli maint rescan c0
 +Starting the verification process (if the unit was not previously initialized,​ it will be):
 +  ./tw_cli /c0/u0 start verify
 +If you need to check which disk is connected to each port, you can use this command, it will light the external GUI light:
 +  ./tw_cli /c0/p16 set identify=on
 +
 +Add disk to raid:
 +   ​tw-cli /c0/u0 start rebuild disk=16
 +   
 +If the disk is in another unit (i.e. u1), just delete the unit
 +  tw-cli /c0/u1 del
  
 Problem: after physically removing a disk and installing it back, RAID started re-initializing by its own will without letting the master know. It's just bad. Problem: after physically removing a disk and installing it back, RAID started re-initializing by its own will without letting the master know. It's just bad.
-  ​+ 
 
linux/raid.1487852935.txt.gz · Last modified: 2017/02/23 13:28 by solovyanov