The present invention provides a processing method and device for a computer hard disk failure. The host includes a plurality of hard disks. The processing method of the computer hard disk failure includes selecting one of the hard disks as the main hard disk and the other as a preparatory hard disk, detecting the size of the main hard disk and the precondition of each of the hard disks. The capacity size of the hard disk is prepared; according to the capacity difference between the main hard disk and the prepared hard disk, each of the prepared hard disks is grouped; the running state of the main hard disk is monitored; when the failure of the main hard disk is monitored, the target preparation hard disk is selected according to the group relative to the size of the main hard disk. The target hard disk is searched, and the calculated data on the fault computer is transferred to the target preparation hard disk. Through the technical scheme of the invention, a hard disk is provided for the computer, the maintenance time of the computer and the cost of human resources are reduced, and the performance of the storage system is maintained.
【技术实现步骤摘要】
计算机硬盘故障的处理方法及装置
本专利技术涉及计算机
,具体而言,涉及一种计算机硬盘故障的处理方法及一种计算机硬盘故障的处理装置。
技术介绍
随着科学技术的不断发展,计算机的使用逐渐普遍,计算机主机上的硬盘是电子设备中主要的存储设备,作为电子设备用户的资料和信息的载体,硬盘上往往保存有大量的重要资料,硬盘的容量变的越来越大,使得在计算机的日常使用和维护过程中,需要对硬盘进行实时监控,及时发现故障硬盘并更换,避免造成影响。但是现有技术中,在检测到硬盘故障时,便进行警报,随即需要人为对故障硬盘进行拔插与检修操作,才能继续工作,较为费时费力,造成维护时间较长及人力资源成本较高,容易影响到存储系统的工作性能。
技术实现思路
本专利技术正是基于上述技术问题至少之一,提出了一种新的计算机硬盘故障的处理方案,能够在检测到硬盘故障时,及时转移故障硬盘内的文件资料到安全的预备硬盘内,以便保持用户的正常工作,省时省力,降低了计算机的维护时间及人力资源的成本,维护了存储系统的工作性能。有鉴于此,本专利技术提出了一种新的计算机硬盘故障的处理方法,所述主机包括多个硬盘,所述计算机硬盘故障的处理方法包括:选取所述多个硬盘中的一个作为主硬盘,其它作为预备硬盘;检测所述主硬盘的容量大小和每个所述预备硬盘的容量大小;根据所述主硬盘与每个所述预备硬盘的容量差异,对每个所述预备硬盘进行分组;监测所述主硬盘的运行状态;当监测到所述主硬盘发生故障时,按组筛选与所述主硬盘容量大小相对应的目标预备硬盘;当查找到所述目标预备硬盘,将故障计算机上的计算数据迁移到所述目标预备硬盘。在该技术方案中,主机包括 ...
【技术保护点】
1.一种计算机硬盘故障的处理方法,其特征在于,所述主机包括多个硬盘,所述计算机硬盘故障的处理方法包括:选取所述多个硬盘中的一个作为主硬盘,其它作为预备硬盘;检测所述主硬盘的容量大小和每个所述预备硬盘的容量大小;根据所述主硬盘与每个所述预备硬盘的容量差异,对每个所述预备硬盘进行分组;监测所述主硬盘的运行状态;当监测到所述主硬盘发生故障时,按组筛选与所述主硬盘容量大小相对应的目标预备硬盘;当查找到所述目标预备硬盘,将故障计算机上的计算数据迁移到所述目标预备硬盘。
【技术特征摘要】
1.一种计算机硬盘故障的处理方法,其特征在于,所述主机包括多个硬盘,所述计算机硬盘故障的处理方法包括:选取所述多个硬盘中的一个作为主硬盘,其它作为预备硬盘;检测所述主硬盘的容量大小和每个所述预备硬盘的容量大小;根据所述主硬盘与每个所述预备硬盘的容量差异,对每个所述预备硬盘进行分组;监测所述主硬盘的运行状态;当监测到所述主硬盘发生故障时,按组筛选与所述主硬盘容量大小相对应的目标预备硬盘;当查找到所述目标预备硬盘,将故障计算机上的计算数据迁移到所述目标预备硬盘。2.根据权利要求1所述的计算机硬盘故障的处理方法,其特征在于,所述当监测到所述主硬盘发生故障时,按组筛选与所述主硬盘容量大小相对应的目标预备硬盘的具体步骤包括:当监测到所述主硬盘发生硬件故障时,检测当前所述主硬盘的数据占比;根据检测到的所述数据占比,选择与所述数据占比相一致的第一分组;检测所述第一分组内的预备硬盘的运行状态;当检测到所述第一分组内的预备硬盘的运行状态为空闲状态时,将处于空闲状态的预备硬盘作为所述目标预备硬盘。3.根据权利要求1或2所述的计算机硬盘故障的处理方法,其特征在于,当监测到所述主硬盘发生硬件故障时,进行硬盘故障警报提示。4.一种计算机硬盘故障的处理装置,其特征在于,所述...
【专利技术属性】
技术研发人员:孙睿,李冰,李铮,王盛,姚晓辉,
申请(专利权)人:河南职业技术学院,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。