PVFS2 Failover Policy - 当一块硬盘坏了以后,PVFS如何应对?数据会丢失么?
2011-04-23 10:39
357 查看
很不幸,当PVFS集群中一块硬盘坏了以后,数据会全部丢失。PVFS的建议是每个节点用两块硬盘,做硬件RAID1,然后就可以避免这样的问题,在软件 层次上,PVFS不提供RAID相关的功能。这里是PVFS的开发人员给我的回信,写的很清楚了,人家还写了为什么PVFS不做软件层次上的RAID的原 因:
On Sun, Jun 04, 2006 at 10:18:22PM +0800, Eric Zhang wrote:
> Pvfs runs smoothly and everything is OK. But I want to know what
> will happen if any disk damaged, I mean, If one of these disks
> failed, all data will lose? How pvfs2 deals with this situation?
PVFS2 deals with this situation the same way a raid-0 array would deal
with it: there would be a loss of data, and you'd have to restore
from backups. The common solution is to deploy raid 1 on each pvfs2
storage node. then pvfs2 can sustain one disk failure per storage
node.
> have read the "pvfs-ha.pdf" but this kind of solution based on my
> cluster nodes have redundance disks that I don't have. Does pvfs
> support redundance storage policy? Just like RAID 1, when data
> arrives, we write it to two nodes and at the same time, we write
> another copy of data to the other two nodes. Thanks, any
> suggestions will be appreciated.
If you don't want to pay for additional hardware and you don't want to
pay for enough storage to back up pvfs2, then you'll have to treat
PVFS2 as it was intended: as a fast scratch space for applications.
Commonly, data is staged onto pvfs2 before running an IO-intensive
application and shipped off of to storage which is presumably
backed-up.
Software-based redundancy is a lot harder to solve at the file-system
layer than it is at the device layer. Specifically, it's a real
challenge to in effect write two copies of data without cutting
overall write performance in half. Several research efforts are
ongoing to deliver software redundancy with high performance, but
these efforts are still in early stages.
I hope this explanation is clear. There is definitely a lot of demand
for software-based reduncancy, and we're working on it.
On Sun, Jun 04, 2006 at 10:18:22PM +0800, Eric Zhang wrote:
> Pvfs runs smoothly and everything is OK. But I want to know what
> will happen if any disk damaged, I mean, If one of these disks
> failed, all data will lose? How pvfs2 deals with this situation?
PVFS2 deals with this situation the same way a raid-0 array would deal
with it: there would be a loss of data, and you'd have to restore
from backups. The common solution is to deploy raid 1 on each pvfs2
storage node. then pvfs2 can sustain one disk failure per storage
node.
> have read the "pvfs-ha.pdf" but this kind of solution based on my
> cluster nodes have redundance disks that I don't have. Does pvfs
> support redundance storage policy? Just like RAID 1, when data
> arrives, we write it to two nodes and at the same time, we write
> another copy of data to the other two nodes. Thanks, any
> suggestions will be appreciated.
If you don't want to pay for additional hardware and you don't want to
pay for enough storage to back up pvfs2, then you'll have to treat
PVFS2 as it was intended: as a fast scratch space for applications.
Commonly, data is staged onto pvfs2 before running an IO-intensive
application and shipped off of to storage which is presumably
backed-up.
Software-based redundancy is a lot harder to solve at the file-system
layer than it is at the device layer. Specifically, it's a real
challenge to in effect write two copies of data without cutting
overall write performance in half. Several research efforts are
ongoing to deliver software redundancy with high performance, but
these efforts are still in early stages.
I hope this explanation is clear. There is definitely a lot of demand
for software-based reduncancy, and we're working on it.
相关文章推荐
- 如何让硬盘丢失的数据恢复
- 移动硬盘分区后丢失数据如何恢复
- 如何防止数据丢失(移动硬盘、U盘)
- 硬盘数据丢失该如何恢复
- win10如何避免硬盘数据被损坏或丢失?win10防止硬盘数据损坏或丢失的设置方法
- 如何恢复硬盘数据丢失的数据
- 苹果电脑硬盘数据丢失后如何恢复?
- 硬盘数据丢失如何恢复
- 硬盘数据丢失,到底该如何修复?
- 如何恢复win8系统硬盘丢失数据
- 电脑出现数据丢失误删的情况应该如何应对
- 硬盘数据常见数据丢失的原因和恢复的方法
- 如何应对数据科学的“负担症候群”
- MySQL二阶段提交以及xtrabackup如何保证备份不丢失数据
- 如何做数据恢复(四)-恢复丢失的卷或分区
- 硬盘坏道造成的数据丢失怎么恢复
- 2.数据库没有备份---应如何还原丢失的数据
- linux删除文件之后,硬盘空间丢失如何处理
- 遇到硬盘数据丢失问题,选择EasyRecovery
- 如何恢复格式化后的移动硬盘数据