[Centos] Shrinking a ext3 filesystem ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 2005-03-26 at 19:48 +0100, Gilles CHAUVIN wrote:
> On Sat, 26 Mar 2005 13:33:58 -0500, Ignacio Vazquez-Abrams
> <ivazquez@xxxxxxxxxxxx> wrote:
> > On Sat, 2005-03-26 at 19:02 +0100, Gilles CHAUVIN wrote:
> > > The replacing tool is ext2online but this one seems to only be able to
> > > grow a filesystem (not reducing it). What tool do I have to use to
> > > shrink a ext3 filesystem ?
> > 
> > ext2online. Unmount the filesystem first.
> > 
> > 
> 
> Thanks but that doesn't seems to be the correct solution :(
> 
> # mount /dev/VG00/GCN 
> 
> # ext2online /dev/VG00/GCN
> ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
> ext2online: new size is same as current (262144)
> 
> # umount /dev/VG00/GCN 
> 
> # ext2online /dev/VG00/GCN
> ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
> ext2online: can't find /dev/mapper/VG00-GCN, is it mounted?
> usage: ext2online [...]
> 
> Am I doing something wrong or is ext2online not the correct tool for this ?

The ext2online man page says:

       ...    It is possible to use
       ext2resize(8) to shrink and enlarge an  unmounted  filesystem.

-- 
C. Linus Hicks <lhicks at nc dot rr dot com>


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux