320 lines
4.7 KiB
HTML
320 lines
4.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Why expand and shrink volumes?</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="EVMS User Guide"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Expanding and shrinking volumes"
|
|
HREF="expandshrink.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Expanding and shrinking volumes"
|
|
HREF="expandshrink.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Example: shrink a volume"
|
|
HREF="exshrink.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>EVMS User Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="expandshrink.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 16. Expanding and shrinking volumes</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="exshrink.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="whyexpandshrink"
|
|
></A
|
|
>16.1. Why expand and shrink volumes?</H1
|
|
><P
|
|
>Expanding and shrinking volumes are common volume operations on most systems. For example, it might be necessary to shrink a particular volume to create
|
|
free space for another volume to expand into or to create a new volume.</P
|
|
><P
|
|
>EVMS simplifies the process for expanding and shrinking volumes, and
|
|
protects the integrity of your data, by coordinating expand and shrink
|
|
operations with the volume's file system. For example, when shrinking a
|
|
volume, EVMS first shrinks the underlying file system appropriately to protect
|
|
the data. When expanding a volume, EVMS expands the file system automatically
|
|
when new space becomes available.</P
|
|
><P
|
|
>Not all file system interface modules (FSIM) types supported by EVMS
|
|
allow shrink and expand operations, and some only perform the operations when
|
|
the file system is mounted ("online"). The following table details the
|
|
shrink and expand options available for each type of FSIM.
|
|
</P
|
|
><P
|
|
><DIV
|
|
CLASS="table"
|
|
><A
|
|
NAME="AEN3141"
|
|
></A
|
|
><P
|
|
><B
|
|
>Table 16-1. FSIM support for expand and shrink operations</B
|
|
></P
|
|
><TABLE
|
|
BORDER="1"
|
|
CLASS="CALSTABLE"
|
|
><THEAD
|
|
><TR
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>FSIM type</TH
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Shrinks</TH
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Expands</TH
|
|
></TR
|
|
></THEAD
|
|
><TBODY
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>JFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>No</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Online only</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>XFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>No</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Online only</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>ReiserFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline and online</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>ext2/3</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>SWAPFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>OpenGFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>No</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Online only</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>NTFS</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
>Offline only</TD
|
|
></TR
|
|
></TBODY
|
|
></TABLE
|
|
></DIV
|
|
>
|
|
|
|
</P
|
|
><P
|
|
>You can perform all of the supported shrink and expand operations with each of the EVMS user interfaces.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="expandshrink.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="exshrink.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Expanding and shrinking volumes</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="expandshrink.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Example: shrink a volume</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |