1条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏
匿名用户还能继续往该磁盘中写入数据吗?
可以,在磁盘组数据平衡分布的情况下,只要free_mb有空间,就可以写入,只不过为负的时候,比如你设置默认normal冗余度,此时损坏一块磁盘,剩余空间无法“再次”满足normal冗余度,此时不会造成数据丢失。
冗余度与失败组设置最终是为了在丢失或损坏几块ASM磁盘,磁盘组数据依然可以保持完整,在不坏盘情况下,free_mb即所有可用空间,usable_file_mb即安全可用空间,即在损坏冗余度允许的磁盘数时,依然可以再次满足normal冗余度。
计算公式如下:
usable_file_mb=(free_mb - require_mirror_free_mb) / 冗余度
# 计算的前提可以从下面定义看出,一定是以相应冗余度允许丢失磁盘数进行计算,默认normal冗余度不指定失败组时是以磁盘为单位设置failgroup,如果手工分配了failgroup,则需要以failgroup的大小计算require_mirror_free_mb、usable_file_mb
REQUIRED_MIRROR_FREE_MB
Amount of space that is required to be available in a given disk group in order to restore redundancy after one or more disk failures. The amount of space displayed in this column takes mirroring effects into account.
USABLE_FILE_MB
Amount of free space that can be safely utilized taking mirroring into account and yet be able to restore redundancy after a disk failure
评论
有用 0
墨值悬赏