Blame gnome-help/ru/disk-repair.page

Packit 6d2957
Packit 6d2957
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="disk-repair" xml:lang="ru">
Packit 6d2957
  <info>
Packit 6d2957
    <link type="guide" xref="disk"/>
Packit 6d2957
Packit 6d2957
Packit 6d2957
    <credit type="author">
Packit 6d2957
      <name>Проект документирования GNOME</name>
Packit 6d2957
      <email>gnome-doc-list@gnome.org</email>
Packit 6d2957
    </credit>
Packit 6d2957
Packit 6d2957
    <revision pkgversion="3.25.90" date="2017-08-17" status="review"/>
Packit 6d2957
Packit 6d2957
    <desc>Check if a filesystem is damaged and bring it back into a usable
Packit 6d2957
          state.</desc>
Packit 6d2957
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
Packit 6d2957
  
Packit 6d2957
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 6d2957
      <mal:name>Александр Прокудин</mal:name>
Packit 6d2957
      <mal:email>alexandre.prokoudine@gmail.com</mal:email>
Packit 6d2957
      <mal:years>2011</mal:years>
Packit 6d2957
    </mal:credit>
Packit 6d2957
  
Packit 6d2957
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 6d2957
      <mal:name>Алексей Кабанов</mal:name>
Packit 6d2957
      <mal:email>ak099@mail.ru</mal:email>
Packit 6d2957
      <mal:years>2011-2012</mal:years>
Packit 6d2957
    </mal:credit>
Packit 6d2957
  
Packit 6d2957
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 6d2957
      <mal:name>Станислав Соловей</mal:name>
Packit 6d2957
      <mal:email>whats_up@tut.by</mal:email>
Packit 6d2957
      <mal:years>2013-2014</mal:years>
Packit 6d2957
    </mal:credit>
Packit 6d2957
  
Packit 6d2957
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 6d2957
      <mal:name>Юлия Дронова</mal:name>
Packit 6d2957
      <mal:email>juliette.tux@gmail.com</mal:email>
Packit 6d2957
      <mal:years>2013-2014</mal:years>
Packit 6d2957
    </mal:credit>
Packit 6d2957
  
Packit 6d2957
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 6d2957
      <mal:name>Юрий Мясоедов</mal:name>
Packit 6d2957
      <mal:email>ymyasoedov@yandex.ru</mal:email>
Packit 6d2957
      <mal:years>2015</mal:years>
Packit 6d2957
    </mal:credit>
Packit 6d2957
  </info>
Packit 6d2957
Packit 6d2957
<title>Repair a damaged filesystem</title>
Packit 6d2957
Packit 6d2957
  

Filesystems can be corrupted due to unexpected power loss, system crashes

Packit 6d2957
     and unsafe removal of the drive.
Packit 6d2957
     After such an incident it is recommended to repair or at least
Packit 6d2957
     check the filesystem to prevent future data loss.

Packit 6d2957
  

Sometimes a repair is required in order to mount or modify a filesystem.

Packit 6d2957
     Even if a check does not report any damage the filesystem might
Packit 6d2957
     still be marked as ‘dirty’ internally and require a repair.

Packit 6d2957
Packit 6d2957
<steps>
Packit 6d2957
  <title>Check if a filesystem is damaged</title>
Packit 6d2957
  <item>
Packit 6d2957
    

Откройте <gui>Обзор</gui> и откройте приложение <app>Диски</app>.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

Select the disk containing the filesystem in question from the list of

Packit 6d2957
       storage devices on the left. If there is more than one volume on the
Packit 6d2957
       disk, select the volume which contains the filesystem.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

In the toolbar underneath the <gui>Volumes</gui> section, click the

Packit 6d2957
    menu button. Then click <gui>Check Filesystem…</gui>.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

Depending on how much data is stored in the filesystem a check may take

Packit 6d2957
       longer time. Confirm to start the action in the dialog that pops up.

Packit 6d2957
   

The action will not modify the filesystem but will unmount it if needed.

Packit 6d2957
      Be patient while the filesystem is checked.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

After completion you will be notified whether the filesystem is damaged.

Packit 6d2957
       Note that in some cases even if the filesystem is undamaged it still
Packit 6d2957
       may need to be repaired to reset an internal ‘dirty’ marker.

Packit 6d2957
  </item>
Packit 6d2957
</steps>
Packit 6d2957
Packit 6d2957
<note style="warning">
Packit 6d2957
 <title>Possible data loss when repairing</title>
Packit 6d2957
  

If the filesystem structure is damaged it can affect the files stored

Packit 6d2957
     in it. In some cases these files can not be brought into a valid form
Packit 6d2957
     again and will be deleted or moved to a special directory. It is normally
Packit 6d2957
     the lost+found folder in the top level directory of the filesystem
Packit 6d2957
     where these recovered file parts can be found.

Packit 6d2957
  

If the data is too valuable to be lost during this process, you are

Packit 6d2957
     advised to back it up by saving an image of the volume before
Packit 6d2957
     repairing.

Packit 6d2957
  

This image can be then processed with forensic analysis tools like

Packit 6d2957
     <app>sleuthkit</app> to further recover missing files and data parts
Packit 6d2957
     which were not restored during the repair, and also previously removed
Packit 6d2957
     files.

Packit 6d2957
</note>
Packit 6d2957
Packit 6d2957
<steps>
Packit 6d2957
  <title>Repair a filesystem</title>
Packit 6d2957
  <item>
Packit 6d2957
    

Откройте <gui>Обзор</gui> и откройте приложение <app>Диски</app>.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

Select the disk containing the filesystem in question from the list

Packit 6d2957
       of storage devices on the left. If there is more than one volume on
Packit 6d2957
       the disk, select the volume which contains the filesystem.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

In the toolbar underneath the <gui>Volumes</gui> section, click the

Packit 6d2957
    menu button. Then click <gui>Repair Filesystem…</gui>.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

Depending on how much data is stored in the filesystem a repair may take

Packit 6d2957
       longer time. Confirm to start the action in the dialog that pops up.

Packit 6d2957
   

The action will unmount the filesystem if needed. The repair action tries

Packit 6d2957
   to bring the filesystem into a consistent state and moves files which were
Packit 6d2957
   damaged in a special folder. Be patient while the filesystem is
Packit 6d2957
   repaired.

Packit 6d2957
  </item>
Packit 6d2957
  <item>
Packit 6d2957
    

After completion you will be notified whether the filesystem could be

Packit 6d2957
       successfully repaired. In case of success it can be used again in the
Packit 6d2957
       normal way.

Packit 6d2957
    

If the filesystem could not be repaired, back it up by saving an image

Packit 6d2957
       of the volume to be able to retrieve important files later. This can
Packit 6d2957
       be done by mounting the image read-only or using forensic analysis tools
Packit 6d2957
       like <app>sleuthkit</app>.

Packit 6d2957
    

To make use of the volume again it has to be

Packit 6d2957
       <link xref="disk-format">formatted</link> with a new filesystem. All
Packit 6d2957
       data will be discarded.

Packit 6d2957
  </item>
Packit 6d2957
</steps>
Packit 6d2957
Packit 6d2957
</page>