User Tools

Site Tools


storage:svc_add_storage

V7000 add storage cmd

Add online a new canister

IBM_FlashSystem:V5100-01:superuser>lsenclosure
id status type    managed IO_group_id IO_group_name product_MTM serial_number total_canisters online_canisters ...
1  online control yes     0           io_grp0       2078-4H4    xxxxxx        2               2                
2  online control no      0           io_grp0       2078-4H4    xxxxxx        2               2      

Here we can see the second disk drawer is online but unmanaged

Change it to managed to use it:

IBM_FlashSystem:V5100-01:superuser>chenclosure -managed yes 2

Now we are ready to create a pool (mdiskgroup) and mdisks (raid)

IBM_FlashSystem:V5100-01:superuser>lsdrive
id status error_sequence_number use    tech_type   capacity mdisk_id mdisk_name member_id enclosure_id slot_id node_id node_name auto_manage drive_class_id
0  online                       member tier0_flash 20.0TB   0        mdisk0     0         1            8                         inactive    0        
1  online                       member tier0_flash 20.0TB   0        mdisk0     1         1            11                        inactive    0        
2  online                       member tier0_flash 20.0TB   0        mdisk0     2         1            5                         inactive    0        
3  online                       member tier0_flash 20.0TB   0        mdisk0     3         1            4                         inactive    0        
4  online                       member tier0_flash 20.0TB   0        mdisk0     4         1            2                         inactive    0        
...
8  online                       unused             20.0TB   0                             1            2                         inactive    0

For traditionnal RAIDs (RAID5 or 6 or other), change the drives functions

Change each drive function to candidate to use the drives into a RAID, and spare for the rest Syntax

chdrive -use unused         drive_id
             candidate
             spare
             failed  

Ex:

IBM_FlashSystem:V5100-01:superuser>chdrive -usr candidate 8

Create a pool (mdiskgroup), extendsize can be 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, or 8192 (MB).

IBM_FlashSystem:V5100-01:superuser>
mkmdiskgrp -ext 512 -name pool01

Create RAIDs and add it to pool01

IBM_FlashSystem:V5100-01:superuser>mkarray -level raid5 -drive 5:6:7:8:9:10 -strip 256 -name mdisk01 pool01

For Distributed RAID (V7000 level > 8.1)

IBM_FlashSystem:V5100-01:superuser>mkdistributedarray -driveclass 1 -drivecount 7 -level raid6 -rebuildareas 1 -strip 256 -stripewidth 6 pool01

Now you can see you pools

IBM_FlashSystem:V5100-01:superuser>lsmdiskgrp
id name  status mdisk_count vdisk_count capacity extent_size free_capacity virtual_capacity used_capacity ...
0  Pool0 online 1           78          158.98TB 4096        154.84TB      6.12TB           2.93TB   ...
1  pool01 online 1          0           10TB     512         10TB ...
storage/svc_add_storage.txt · Last modified: 2021/11/26 11:24 by manu