From 23658ffa3083572fc118481264260cbd4ca86697 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 8 Jun 2003 20:32:46 -0400 Subject: [PATCH] resize2fs.8.in: Make explicit that you need to run resize2fs after using fdisk to adjust the partition size when expanding the filesystem. (Addresses Debian Bug #195616) --- resize/ChangeLog | 6 ++++++ resize/resize2fs.8.in | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/resize/ChangeLog b/resize/ChangeLog index ecf15f5..e7667c8 100644 --- a/resize/ChangeLog +++ b/resize/ChangeLog @@ -1,3 +1,9 @@ +2003-06-08 Theodore Ts'o + + * resize2fs.8.in: Make explicit that you need to run resize2fs + after using fdisk to adjust the partition size when + expanding the filesystem. (Addresses Debian Bug #195616) + 2003-05-13 root * main.c (main): Add the ability to specify units to the size diff --git a/resize/resize2fs.8.in b/resize/resize2fs.8.in index 8ea7b15..1dab501 100644 --- a/resize/resize2fs.8.in +++ b/resize/resize2fs.8.in @@ -54,10 +54,15 @@ 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. When +by deleting the partition and recreating it with a larger size. +When recreating the partition, make sure you create it with the same starting disk cylinder as before! Otherwise, the resize operation will -certainly not work, and you may lose your entire filesystem. +certainly not work, and you may lose your entire filesystem. +After running +.BR fdisk (8), +run resize2fs to resize the ext2 filesystem +to use all of the space in the newly enlarged partition. .PP If you wish to shrink an ext2 partition, first use .B resize2fs -- 1.8.3.1