1<page xmlns="http://projectmallard.org/1.0/"
2      type="topic" style="task"
3      id="disk-resize">
4  <info>
5    <link type="guide" xref="disk"/>
6
7
8    <credit type="author">
9      <name>GNOME Documentation Project</name>
10      <email>gnome-doc-list@gnome.org</email>
11    </credit>
12
13    <revision pkgversion="3.25.90" date="2017-08-17" status="review"/>
14
15    <desc>Shrink or grow a filesystem and its partition.</desc>
16    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
17  </info>
18
19<title>Adjust the size of a filesystem</title>
20
21  <p>A filesystem can be grown to make use of the free space after its
22     partition. Often this is even possible while the filesystem is
23     mounted.</p>
24  <p>To make space for another partition after the filesystem, it can be
25     shrunk according to the free space within it.</p>
26  <p>Not all filesystems have resize support.</p>
27  <p>The partition size will be changed together with the filesystem size.
28     It is also possible to resize a partition without a filesystem in the
29     same way.</p>
30
31<steps>
32  <title>Resize a filesystem/partition</title>
33  <item>
34    <p>Open <app>Disks</app> from the <gui>Activities</gui> overview.</p>
35  </item>
36  <item>
37    <p>Select the disk containing the filesystem in question from the list
38       of storage devices on the left. If there is more than one volume on
39       the disk, select the volume which contains the filesystem.</p>
40  </item>
41  <item>
42    <p>In the toolbar underneath the <gui>Volumes</gui> section, click the
43       menu button. Then click <gui>Resize Filesystem…</gui> or
44       <gui>Resize…</gui> if there is no filesystem.</p>
45  </item>
46  <item>
47    <p>A dialog will open where the new size can be chosen. The filesystem will
48       be mounted to calculate the minimum size by the amount of current
49       content. If shrinking is not supported the minimum size is the current
50       size. Leave enough space within the filesystem when shrinking to ensure
51       that it can work fast and reliably.</p>
52    <p>Depending on how much data has to be moved from the shrunk part, the
53       filesystem resize may take longer time.</p>
54    <note style="warning">
55      <p>The filesystem resize automatically involves
56         <link xref="disk-repair">repairing</link> of the filesystem. Therefore
57         it is advised to back up important data before starting. The action
58         must not be stopped or it will result in a damaged filesystem.</p>
59    </note>
60  </item>
61  <item>
62      <p>Confirm to start the action by clicking
63         <gui style="button">Resize</gui>.</p>
64   <p>The action will unmount the filesystem if resizing a mounted filesystem
65      is not supported. Be patient while the filesystem is resized.</p>
66  </item>
67  <item>
68    <p>After completion of the needed resize and repair actions the filesystem
69       is ready to be used again.</p>
70  </item>
71</steps>
72
73</page>
74