<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Crash on ZRJ | 学习笔记</title>
        <link>https://blog.zrj.me/tags/crash/</link>
        <description>Recent content in Crash on ZRJ | 学习笔记</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>zh-CN</language>
        <lastBuildDate>Sun, 21 Apr 2013 09:51:48 +0800</lastBuildDate><atom:link href="https://blog.zrj.me/tags/crash/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>note a disk crash</title>
        <link>https://blog.zrj.me/posts/2013-04-21-note-a-disk-crash/</link>
        <pubDate>Sun, 21 Apr 2013 09:51:48 +0800</pubDate>
        
        <guid>https://blog.zrj.me/posts/2013-04-21-note-a-disk-crash/</guid>
        <description>&lt;p&gt;for some reason the i can not input in chinese, so note the message in english&lt;/p&gt;
&lt;p&gt;first, system crash, win 7, and then auto run chkdsk, for a long time&lt;/p&gt;
&lt;p&gt;then, i restart the computer into a USB portable system, runing WinPE&lt;/p&gt;
&lt;p&gt;i can copy the data from the old disk(500G) to the new disk (2TB), but too slow, so i force stop it&lt;/p&gt;
&lt;p&gt;then i install a ubuntu at the end of the new disk, and try to copy the data in linux system, i hope that will faster&lt;/p&gt;
&lt;p&gt;but i got a error message says&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Unable to mount 430 GB Filesystem&lt;/p&gt;
&lt;p&gt;Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount &amp;lsquo;/dev/sdb1&amp;rsquo;: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it&amp;rsquo;s a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the &amp;lsquo;dmraid&amp;rsquo; documentation for more details.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;after search, baidu leading me to here, &lt;a class=&#34;link&#34; href=&#34;http://hi.baidu.com/laozhenghit/item/921f93fc05c8225ac8f33745&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;http://hi.baidu.com/laozhenghit/item/921f93fc05c8225ac8f33745&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;reference: &lt;a class=&#34;link&#34; href=&#34;http://wmarkito.wordpress.com/2010/12/29/how-to-fix-mftmirr-does-not-match-mft-record-0/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;http://wmarkito.wordpress.com/2010/12/29/how-to-fix-mftmirr-does-not-match-mft-record-0/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sometimes, when you are executing a file transfer between your computer hard drive and an external drive and your computer shutdown for some reason (in my case, no battery/ac power) it’s pretty common to get some errors on external drives that uses NTFS as they file system.&lt;/p&gt;
&lt;p&gt;The most common message is:&lt;/p&gt;
&lt;p&gt;Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount ‘/dev/sdb3′: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation for more details.&lt;/p&gt;
&lt;p&gt;One workaround for this issue is to do as the message says, boot on Windows and try to use the NTFS tool that Windows offer. But a perfect solution for a Linux users is to use the ntfsprogs utility.&lt;/p&gt;
&lt;p&gt;ntfsprogs is a suite of NTFS utilities based around a shared library. The tools are available for free and come with full source code.&lt;/p&gt;
&lt;p&gt;* mkntfs: Create an NTFS volume on a partition * ntfscat: Print a file on the standard output * ntfsclone: Efficiently backup/restore a volume at the sector level * ntfscluster: Given a cluster, or sector, find the file * ntfsfix: Forces Windows to check NTFS at boot time * ntfsinfo: Dump a file’s attributes, completely * ntfslabel: Display or set a volume’s label * ntfslib: Move all the common code into a shared library * ntfsls: List directory contents * ntfsresize: Resize an NTFS volume * ntfsundelete: Find files that have been deleted and recover them * ntfswipe: Write zeros over the unused parts of the disk * ntfsdefrag: Defragment files, directories and the MFT * ntfsck: Perform consistancy checks on a volume * nttools: Command-line tools to view/change an offline NTFS volume, e.g. ntfscp, ntfsgrep, ntfstouch, ntfsrm, ntfsrmdir, ntfsmkdir * ntfsdiskedit: Walk the tree of NTFS ondisk structures (and alter them)&lt;/p&gt;
&lt;p&gt;Be careful with these utilities, they might damage the filesystem, or your hard disk !&lt;/p&gt;
&lt;p&gt;With ntfsprogs installed (sudo apt-get install ntfsprogs) you should execute the following commands in a terminal:&lt;/p&gt;
&lt;p&gt;sudo ntfsfix /dev/partitionName&lt;/p&gt;
&lt;p&gt;After this command you should expect the following output:&lt;/p&gt;
&lt;p&gt;~$ sudo ntfsfix /dev/sdb3 Mounting volume&amp;hellip; FAILED Attempting to correct errors&amp;hellip; Processing $MFT and $MFTMirr&amp;hellip; Reading $MFT&amp;hellip; OK Reading $MFTMirr&amp;hellip; OK Comparing $MFTMirr to $MFT&amp;hellip; FAILED Correcting differences in $MFTMirr record 0&amp;hellip;OK Processing of $MFT and $MFTMirr completed successfully. Setting required flags on partition&amp;hellip; OK Going to empty the journal ($LogFile)&amp;hellip; OK NTFS volume version is 3.1. NTFS partition /dev/sdb3 was processed successfully.&lt;/p&gt;
&lt;p&gt;After this step you should be able to access your external drive partition as usual, mount or use nautilus to access your files.&lt;/p&gt;
&lt;p&gt;Source: &lt;a class=&#34;link&#34; href=&#34;http://gnuwin32.sourceforge.net/packages/ntfsprogs.htm&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;http://gnuwin32.sourceforge.net/packages/ntfsprogs.htm&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;finally i copied all the data in winPE using fastcopy&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
