Re: input/output error on disk(?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09-10-16 00:00:16, charles zeitler wrote:
> thanks for the help...
> 
> On Thu, Oct 15, 2009 at 9:14 PM, Tony Nelson

> > I don't know of anything specifically intended to find the damaged
> > files.  e2fsck will map out bad blocks, but doesn't (AFAIK) tell 
> > one which files are damaged.  I think tar can be used to find such,
> > files but I'm not sure.  As you know of one file that has a 
> > problem, I suggest trying this command on the directory which 
> > contains that file:
> >
> >    # tar -cf - --ignore-failed-read /path/to/bad/file's/dir \
> >      /dev/null
> >
> > Possibly -v will also be needed.  In that case, the full scan 
> should
> > probably write the messages to a file:
> >
> >    # tar -cvf - --ignore-failed-read --one-file-system / \
> >      >/dev/null 2>/some/other/volume/tarfiles.txt
> >
> > I don't happen to have any bad blocks to try this on.

> tar seems not to read files that are headed to /dev/null (?)

Lovely.  Well then:

    # tar -cvf - --ignore-failed-read --one-file-system / \
      2>/some/other/volume/tarfiles.txt | cat >/dev/null

> trying cat instead. since i am working with hundreds of
> gigabytes... it could take awhile.

Good luck.

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux