Redshift群集中的空磁盘

时间:2014-07-24 12:39:17

标签: amazon-web-services amazon-redshift

我有两个节点8xl集群。今天我决定看看亚马逊提供的一些指标,我注意到有些磁盘是空的。

来自亚马逊文档:

capacity    integer     Total capacity of the partition in 1 MB disk blocks. 

SQL:

select owner, used, tossed, capacity, trim(mount) as mount
from stv_partitions
where capacity < 1;
 owner | used | tossed | capacity |   mount   
-------+------+--------+----------+-----------
     0 |    0 |      1 |        0 | /dev/xvdo
     1 |    0 |      1 |        0 | /dev/xvdo
(2 rows)

有人可以向我解释为什么我会看到这个?这是预期的行为吗?

更新

 owner | host | diskno |  part_begin   |   part_end    | used | tossed | capacity | reads | writes | seek_forward | seek_back | is_san | failed | mbps |                                                                                                                              mount                                                                                                                               
-------+------+--------+---------------+---------------+------+--------+----------+-------+--------+--------------+-----------+--------+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 |    1 |     13 |             0 | 1000126283776 |    0 |      1 |        0 |     0 |      0 |            0 |         0 |      0 |      1 |    0 | /dev/xvdo                                                                                                                                                                                                                                                       
     0 |    1 |     13 | 1000126283776 | 2000252567552 |    0 |      1 |        0 |     0 |      0 |            0 |         0 |      0 |      1 |    0 | /dev/xvdo    

1 个答案:

答案 0 :(得分:1)

这是因为设备发生故障(= 1),因此磁盘容量设置为0.

相关问题