On anything less than 5.3 then you have to either recreate by hand or
if its a rootvg filesystem then using the "shrink filesystem" option on
a mksysb restore (( you can change /home manually though ))

Rgds
Mark Taylor

10-04-2007, 12:40 AM

unix

Re: Shrink filesystem

Yes, under AIX 5.3 only. Caveat - if this is an active production
system I would do it after hours to avoid overhead.

Mark Taylor wrote:[color=blue]
> astalavista wrote:[color=green]
> > Hi,
> >
> > Is it possible to shrink a JFS2 filesystem ?
> > online ? ( no-umount)
> > how ?
> >
> > Thanks for your lights[/color]
>
> yep, on AIX 5.3 only though .. chfs -a size=-1G /filesystem
>
> On anything less than 5.3 then you have to either recreate by hand or
> if its a rootvg filesystem then using the "shrink filesystem" option on
> a mksysb restore (( you can change /home manually though ))
>
> Rgds
> Mark Taylor[/color]