Blame gnome-help/da/disk-resize.page

Packit Bot 4b9ea4
Packit Bot 4b9ea4
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="disk-resize" xml:lang="da">
Packit Bot 4b9ea4
  <info>
Packit Bot 4b9ea4
    <link type="guide" xref="disk"/>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <credit type="author">
Packit Bot 4b9ea4
      <name>GNOME Documentation Project</name>
Packit Bot 4b9ea4
      <email>gnome-doc-list@gnome.org</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <revision pkgversion="3.25.90" date="2017-08-17" status="review"/>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <desc>Shrink or grow a filesystem and its partition.</desc>
Packit Bot 4b9ea4
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
Packit Bot 4b9ea4
  </info>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
<title>Adjust the size of a filesystem</title>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  

A filesystem can be grown to make use of the free space after its

Packit Bot 4b9ea4
     partition. Often this is even possible while the filesystem is
Packit Bot 4b9ea4
     mounted.

Packit Bot 4b9ea4
  

To make space for another partition after the filesystem, it can be

Packit Bot 4b9ea4
     shrunk according to the free space within it.

Packit Bot 4b9ea4
  

Not all filesystems have resize support.

Packit Bot 4b9ea4
  

The partition size will be changed together with the filesystem size.

Packit Bot 4b9ea4
     It is also possible to resize a partition without a filesystem in the
Packit Bot 4b9ea4
     same way.

Packit Bot 4b9ea4
Packit Bot 4b9ea4
<steps>
Packit Bot 4b9ea4
  <title>Resize a filesystem/partition</title>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
    

Open <app>Disks</app> from the <gui>Activities</gui> overview.

Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
    

Select the disk containing the filesystem in question from the list

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

Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
    

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

Packit Bot 4b9ea4
       menu button. Then click <gui>Resize Filesystem…</gui> or
Packit Bot 4b9ea4
       <gui>Resize…</gui> if there is no filesystem.

Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
    

A dialog will open where the new size can be chosen. The filesystem will

Packit Bot 4b9ea4
       be mounted to calculate the minimum size by the amount of current
Packit Bot 4b9ea4
       content. If shrinking is not supported the minimum size is the current
Packit Bot 4b9ea4
       size. Leave enough space within the filesystem when shrinking to ensure
Packit Bot 4b9ea4
       that it can work fast and reliably.

Packit Bot 4b9ea4
    

Depending on how much data has to be moved from the shrunk part, the

Packit Bot 4b9ea4
       filesystem resize may take longer time.

Packit Bot 4b9ea4
    <note style="warning">
Packit Bot 4b9ea4
      

The filesystem resize automatically involves

Packit Bot 4b9ea4
         <link xref="disk-repair">repairing</link> of the filesystem. Therefore
Packit Bot 4b9ea4
         it is advised to back up important data before starting. The action
Packit Bot 4b9ea4
         must not be stopped or it will result in a damaged filesystem.

Packit Bot 4b9ea4
    </note>
Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
      

Confirm to start the action by clicking

Packit Bot 4b9ea4
         <gui style="button">Resize</gui>.

Packit Bot 4b9ea4
   

The action will unmount the filesystem if resizing a mounted filesystem

Packit Bot 4b9ea4
      is not supported. Be patient while the filesystem is resized.

Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
  <item>
Packit Bot 4b9ea4
    

After completion of the needed resize and repair actions the filesystem

Packit Bot 4b9ea4
       is ready to be used again.

Packit Bot 4b9ea4
  </item>
Packit Bot 4b9ea4
</steps>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
</page>