Jan Höppner
15b7f9d83f
lsdasd: Add support for thin-provisioned volumes
...
Make lsdasd aware of thinly provisioned (Extent Space Efficient (ESE))
DASD volumes.
The ESE information is added to the discipline output and the extended
output additionally lists information about logical capacity, allocated
space, and the extent size.
Output before:
Bus-ID Status Name Device Type BlkSz Size Blocks
==============================================================================
0.0.95e0 alias ECKD
0.0.7eb4 active dasda 94:0 ECKD 4096 7043MB 1803060
0.0.7eb7 active dasdb 94:4 ECKD 4096 7043MB 1803060
0.0.95d0 active dasdc 94:8 ECKD 4096 42259MB 10818360
0.0.95d1 n/f dasdd 94:12 ECKD
0.0.95d4 n/f dasde 94:16 ECKD
0.0.95d5 active dasdh 94:28 ECKD 4096 831097MB 212761080
Output after:
Bus-ID Status Name Device Type BlkSz Size Blocks
================================================================================
0.0.95e0 alias ECKD
0.0.7eb4 active dasda 94:0 ECKD 4096 7043MB 1803060
0.0.7eb7 active dasdb 94:4 ECKD 4096 7043MB 1803060
0.0.95d0 active dasdc 94:8 ECKD (ESE) 4096 42259MB 10818360
0.0.95d1 n/f dasdd 94:12 ECKD (ESE)
0.0.95d4 n/f dasde 94:16 ECKD (ESE)
0.0.95d5 active dasdh 94:28 ECKD (ESE) 4096 831097MB 212761080
Extended output before:
0.0.95d0/dasdc/94:8
status: active
type: ECKD
blksz: 4096
size: 42259MB
blocks: 10818360
use_diag: 0
readonly: 0
eer_enabled: 0
erplog: 0
hpf: 1
uid: IBM.750000000ABT31.9500.d0
paths_installed: 38 39 3a 3b
paths_in_use: 38 39 3a 3b
paths_non_preferred:
paths_invalid_cabling:
paths_cuir_quiesced:
paths_invalid_hpf_characteristics:
paths_error_threshold_exceeded:
Extended output after:
0.0.95d0/dasdc/94:8
status: active
type: ECKD (ESE)
blksz: 4096
size: 42259MB
blocks: 10818360
extent_size: 1113
logical_capacity: 60102
space_allocated: 18921
use_diag: 0
readonly: 0
eer_enabled: 0
erplog: 0
hpf: 1
uid: IBM.750000000ABT31.9500.d0
paths_installed: 38 39 3a 3b
paths_in_use: 38 39 3a 3b
paths_non_preferred:
paths_invalid_cabling:
paths_cuir_quiesced:
paths_invalid_hpf_characteristics:
paths_error_threshold_exceeded:
Reviewed-by: Stefan Haberland <sth@linux.ibm.com >
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com >
2019-08-08 15:27:21 +02:00