From 41e55437fd9de3e6c569184e457ab2841c88782e Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 21 May 2006 19:33:46 -0400 Subject: [PATCH] Clarify resize2fs man page and add reference to LVM Addresses Debian Bug: #368179 Signed-off-by: "Theodore Ts'o" --- resize/ChangeLog | 6 ++++++ resize/resize2fs.8.in | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/resize/ChangeLog b/resize/ChangeLog index ce8e2f6..435fbd1 100644 --- a/resize/ChangeLog +++ b/resize/ChangeLog @@ -1,3 +1,9 @@ +2006-05-21 Theodore Tso + + * resize2fs.8.in: Clarify man page to indicate that supports ext2 + and ext3 filesystems, and add reference to LVM. + (Addresses Debian Bug: #368179) + 2006-05-14 Theodore Tso * main.c (main, determine_fs_stride), resize2fs.8.in: Add a new diff --git a/resize/resize2fs.8.in b/resize/resize2fs.8.in index 4f869e9..6a87606 100644 --- a/resize/resize2fs.8.in +++ b/resize/resize2fs.8.in @@ -31,8 +31,8 @@ resize2fs \- ext2/ext3 file system resizer .SH DESCRIPTION The .B resize2fs -program will resize ext2 file systems. It can be used to enlarge or -shrink an unmounted ext2 file system located on +program will resize ext2 or ext3 file systems. It can be used to enlarge or +shrink an unmounted file system located on .IR device . If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As @@ -63,7 +63,10 @@ program does not manipulate the size of partitions. If you wish to enlarge a filesystem, you must first make sure you can expand the size of the underlying partition first. This can be done using .BR fdisk (8) -by deleting the partition and recreating it with a larger size. +by deleting the partition and recreating it with a larger size or using +.BR lvextend (8), +if you're using the logical volume manager +.BR lvm (8). When recreating the partition, make sure you create it with the same starting disk cylinder as before! Otherwise, the resize operation will @@ -131,4 +134,6 @@ may be redistributed under the terms of the GPL. .SH SEE ALSO .BR fdisk (8), .BR e2fsck (8), -.BR mke2fs (8) +.BR mke2fs (8), +.BR lvm (8), +.BR lvextend (8) -- 1.8.3.1