How to reduce filesystem size.
Chuck Karish
karish at pangea.Stanford.EDU
Fri Nov 9 15:08:14 AEST 1990
In article <8024 at adobe.UUCP> jensen at adobe.COM () writes:
> I recently used the chfs command to expand the filesystems on my disk.
> Unfortunately I made /usr unnecessarily large. Now chfs will not
> allow me to reduce the size of /usr. Does anyone know how to do this
> (other than reformatting the disk ;-) ?
- telinit 1
- umount all
- archive /usr onto tape
- delete the /usr logical volume, using smit or rmlv/rmfs/whatever
- create a new /usr logical volume of the correct size
- restore /usr from tape
- mount all
- telinit 2
A bit tedious, but it does save all the installation/update/patching/
configuring you've done in /usr.
--
Chuck Karish karish at mindcraft.com
More information about the Comp.unix.aix
mailing list