<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; 文件系统分区oracle恢复</title>
	<atom:link href="https://www.xifenfei.com/tag/%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%e5%88%86%e5%8c%baoracle%e6%81%a2%e5%a4%8d/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Tue, 17 Nov 2026 13:36:46 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>文件系统重新分区oracle恢复</title>
		<link>https://www.xifenfei.com/2021/06/fs-repartition-oracle-recovery.html</link>
		<comments>https://www.xifenfei.com/2021/06/fs-repartition-oracle-recovery.html#comments</comments>
		<pubDate>Mon, 07 Jun 2021 15:56:28 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[非常规恢复]]></category>
		<category><![CDATA[fdisk oracle恢复]]></category>
		<category><![CDATA[oracle碎片]]></category>
		<category><![CDATA[文件系统分区oracle恢复]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=9294</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2021/06/fs-repartition-oracle-recovery.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2021/06/fs-repartition-oracle-recovery.html" target="_blank">文件系统重新分区oracle恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>最近处理的一个恢复,算是这几年中的一个奇葩.<br />
1. oracle dg 主备库raid同时损坏,找硬件恢复厂商软件重组raid,恢复厂商判断所有磁盘全部都是好的<br />
2. 主库系统被重装,文件系统重新分区.备库在使用duplicate搭建dg的过程中(通过alert日志分析以前的dg是正常的,直接rm掉了所有文件,然后使用duplicate搭建),只是部分文件拷贝到了备库<br />
3. 备份放在一台单独的存储上,但是当上去看是发现存储上面空空的,没有任何数据(通过对ctl的分析,确认存储上面只有一个月之前的备份记录,估计也被删除或者重新分区了(通过后续分析,判断应该是被重新分区了)<br />
客户没有和我们说任何信息,就是说突然两个raid都损坏了,找硬件厂商进行恢复,硬件厂商开始也觉得这个会比较简单,直接通过raid模拟恢复出来lun,然后通过软件恢复出来一些数据文件(反馈给我的信息是少了redo,需要我们协助恢复),通过深入分析,发现少了大量数据文件,基于现在的恢复基本上没意义.然后通过低主库的raid模拟恢复,拷贝出来数据文件,结果发现恢复出来的文件大小,和文件头记录不匹配<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607232818.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607232818.png" alt="20210607232818" width="800" height="554" class="alignnone size-full wp-image-9297" /></a><br />
<hr />
这里显示文件大小应该是30G,但是实际拷贝的文件只有26G大小<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607232731.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607232731.png" alt="20210607232731" width="1043" height="424" class="alignnone size-full wp-image-9298" /></a><br />
<hr />
通过底层进一步分析,发现任何大于4G的文件,按照4G为单位间隔损坏(4G好,4G损坏,4G好……)<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210605203719.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210605203719.png" alt="20210605203719" width="854" height="335" class="alignnone size-full wp-image-9299" /></a><br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210605201235.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210605201235.png" alt="20210605201235" width="851" height="339" class="alignnone size-full wp-image-9300" /></a><br />
<hr />
出现这类情况,通过底层分析,判断是客户对磁盘进行了重新分区,引起底层问题导致<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607214629.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607214629.png" alt="20210607214629" width="689" height="248" class="alignnone size-full wp-image-9301" /></a><br />
<hr />
基于这样的情况,没有太多好的方法处理,直接使用底层碎片技术进行恢复类似oracle 碎片层面恢复,我们进行了挺多的,类似：<br />
<a href="https://www.xifenfei.com/2019/12/dbca-delete-and-rm-database-recovery.html" title="dbca删除库和rm删库恢复" rel="noopener" target="_blank">dbca删除库和rm删库恢复</a><br />
<a href="https://www.xifenfei.com/2018/11/file-system-corruption-oracle-recovery.html" title="文件系统损坏导致数据文件异常恢复" rel="noopener" target="_blank">文件系统损坏导致数据文件异常恢复</a><br />
<a href="https://www.xifenfei.com/2018/05/datafile-size-0k-recovery.html" title="Oracle 数据文件大小为0kb或者文件丢失恢复" rel="noopener" target="_blank">Oracle 数据文件大小为0kb或者文件丢失恢复</a><br />
<a href="https://www.xifenfei.com/2016/10/alter-database-create-datafile-recovery.html" title="alter database create datafile 导致数据文件丢失恢复" rel="noopener" target="_blank">alter database create datafile 导致数据文件丢失恢复</a><br />
<a href="https://www.xifenfei.com/2021/03/rm-recovery-fragmentation-recovery.html" title="rm -rf 删除数据文件恢复方法—文件系统反删除+oracle碎片重组" rel="noopener" target="_blank">rm -rf 删除数据文件恢复方法—文件系统反删除+oracle碎片重组</a><br />
运气不错,顺利open数据库<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607234450.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210607234450.png" alt="20210607234450" width="512" height="650" class="alignnone size-full wp-image-9303" /></a><br />
<hr />
本次恢复走了很多弯路,主要是不清楚客户那边处于什么原因,多次隐秘故障原因,没有如实的告知我们故障情况,一步步尝试,走了很多弯路,耽误了不少时间.如果可能请尽量告诉我们准确情况,便于我们准确做出判断,快速高效的恢复.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/03/rm-recovery-fragmentation-recovery.html" rel="bookmark" class="crp_title">rm -rf 删除数据文件恢复方法&#8212;文件系统反删除+oracle碎片重组</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/04/win-fs-corruption-recovery.html" rel="bookmark" class="crp_title">win文件系统损坏oracle恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/01/oracle-recovery-tools-update.html" rel="bookmark" class="crp_title">Oracle Recovery Tools 12月份更新</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/05/11-2-0-4-psu-service-not-start.html" rel="bookmark" class="crp_title">win 11.2.0.4打patch后服务无法正常启动处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/10/makop-recovery.html" rel="bookmark" class="crp_title">.makop加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/04/drop-tablespace-recovery.html" rel="bookmark" class="crp_title">分享运气超级好的一次drop tablespace 数据恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/03/star-newemail-tg-devos.html" rel="bookmark" class="crp_title">[star-new@email.tg].Devos加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/03/oracle-rm-rf-recovery.html" rel="bookmark" class="crp_title">linux rm -rf 删除数据文件恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/03/eking-db-recovery.html" rel="bookmark" class="crp_title">.eking扩展名数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/11/rename-datafile-name-recovery.html" rel="bookmark" class="crp_title">数据库文件被勒索改名数据库恢复&#8212;LOCK2G</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/12/40t-blackmail-oracle-recovery.html" rel="bookmark" class="crp_title">40T勒索加密Oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/08/security-vulnerability-scanning.html" rel="bookmark" class="crp_title">安全漏洞扫描结果让人无语</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2021/06/fs-repartition-oracle-recovery.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
