Re: how to make more space in / ?

From: Pavel Pokorny (Pavel.Pokorny_at_vscht.REMOVEME.cz)
Date: 06/11/04


Date: Fri, 11 Jun 2004 12:01:31 +0000 (UTC)

Paul Sure <phv_temp@yahoo.com> wrote:
> Hi

> Increasing the root filesystem / can be done several ways assuming you use
> LVM.
> 1) creating a make recovery tape with the -i option and change the size of
> / using the menu's. This, I consider, is the easiest way. However, if you
> use software mirroring you have to create the mirror again. This only works
> if your vg00 ( minus swap space on vg00 ) is small enough to fit on a dds
> tape.
> 2) boot from a cd and increase / with the lvextend and extendfs commands.
> This doesn't work when / is software mirrored. Solution first unmirror /.

> Easiest way out is to locate a directory on the root file system that
> consumes a lot of space, create a new file system named "dir_new" move all
> files from the big directory to "dir_new". First check with fuser (or lsof
> if you have this nice utility) if there are any file in use on "dir" before
> moving the file and before umounting "dir_new" and mounting it again on
> "dir". Also change this in the /etc/fstab

> Before going to do this look for big "core" files and delete them. Also
> check if root did not create big files somewhere on / that can be moved to
> another file system.

> As another guy already mentioned, check /dev/rmt for big files. Several
> times I or an collegue made a type error meaning /dev/rmt/1m and creating a
> big /dev/rmt/1n file :).

> Paul

> P.S. I shall pass Prague on 18 july om my way to Usti nad Orlici so if you
> want some assistance let me know :)

Prague is a beautiful city worth visiting,
but unfortunately I am not in Prague this July and August.
If you feel I can help you, let me know by e-mail
and I will give you my phone number.

Thanks a lot

-- 
Pavel Pokorny
Math Dept, Prague Institute of Chemical Technology
http://www.vscht.cz/mat/Pavel.Pokorny
> "Pavel Pokorny" <Pavel.Pokorny@vscht.REMOVEME.cz> wrote in message
> news:ca7c4k$1fue$1@ns.felk.cvut.cz...
> >
> >   Dear hpux friends
> >
> > can you, please, tell me how to make more space in / ?
> > I have only a few % left:
> >
> > $ bdf
> > Filesystem          kbytes    used   avail %used Mounted on
> > /dev/vg00/lvol3    1201993 1011715   70078   94% /
> > (skipping others)
> >
> > Thank you
> >
> > -- 
> > Pavel Pokorny
> > Math Dept, Prague Institute of Chemical Technology
> > http://www.vscht.cz/mat/Pavel.Pokorny


Relevant Pages