Updating the CBS superblock
This section covers the steps required to update the CBS superblock.
Ensure that the sizes of the CBS pool and CBS pool data are properly increased according to the Increasing
the size of the CBS pool section.
Procedure performed by
: Customer or field service
To update the CBS superblock, follow these steps:
Step 1. Copy the current CBS superblock to a temporary file:
h
heeaad
d --cc 4
40
09
96
6 //d
deevv//m
maap
pp
peerr//vvd
do
o >
> //ttm
mp
p//ssu
up
peerrb
bllo
occkk..ttm
mp
p
Step 2. Check the current values in the previously created temporary file:
#
# ccaatt //ttm
mp
p//ssu
up
peerrb
bllo
occkk..ttm
mp
p
{"special_thin_blocks": {"TEMPLATE": {"size_sectors": "93066911448", "thinid": 2, "uuid":
"0657a4c083b44d8bb0d22cb4e6d0d750"}, "METADATA": {"size_sectors": "2097152", "thinid": 1, "uuid":
"a0528f49b71948aa8be9d7f4d490b97f"}}, "thin_block_tracking_enabled": true, "name": "CBS Superblock",
"pool_device": {"size_sectors": "93066911448", "block_size_sectors": 8192}, "data_device":
[{"offset_sectors": "67608872", "start_offset_sectors": "0", "size_sectors": "93066911448"}],
"metadata_device": {"offset_sectors": "34054440", "size_sectors": "33554432"}, "thin_block_metadata":
{"record_size_bytes": 256, "record_count": 1000000, "superblock_offset_bytes": 4096}, "version": 2,
"metadata_backup_device": {"offset_sectors": "500008", "size_sectors": "33554432"}}
Step 3. Get the new number of 512–byte sectors:
d
dm
msseettu
up
p ttaab
bllee C
CB
BS
S__P
PO
OO
OL
L
0 186220306136 thin-pool 253:11 253:8 8192 0 0
There are now
186,220,306,136
512–byte sectors.
Step 4. Update the
pool_device : size_sectors
and
data_device : size_sectors
in
/tmp/superblock.tmp
a. Edit to file:
vvii //ttm
mp
p//ssu
up
peerrb
bllo
occkk..ttm
mp
p
b. Type ii to input data.
c. Replace the values of the
pool_device : size_sectors
and
data_device : size_sectors
with the
number of 512–byte sectors from step 4.
In our example, this value is
186,220,306,136
512–byte sectors.
Storage block capacity upgrade
35
Summary of Contents for ThinkAgile CP 4000 Series
Page 1: ...Lenovo ThinkAgile CP Storage Capacity Upgrade Guide Models CP4000 CP6000 ...
Page 4: ...ii Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 6: ...iv Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 8: ...vi Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 26: ...18 Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 54: ...46 Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 64: ...56 Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 66: ...58 Lenovo ThinkAgile CP Storage Capacity Upgrade Guide ...
Page 67: ......
Page 68: ......