>On Tue, 2002-04-09 at 06:57, Jianping Zhu wrote:
>>
>> I have a redhat 7.1 linux server. I am running out space of the
filesystem
>> /usr. I need some 20 M space because my boss need to put some files
there
>> imediately. I know it very risk to delete files from there.
>
>So don't delete files from there.  Look at the rpm packages you have
>installed, instead, and decide if there are any you can remove.
>
>>  I thought may /usr/games is not essentail. Can delete it? what
directory
>> else can I potentially delete?
>
>Probably not.  Try this to clean it out:
>rpm -ef /usr/games/*
>
>Never tried it before, but I think that'll remove the packages
>containing files in /usr/games.
>
>Also, try this:
>rpm -qa --qf "%-20{SIZE} %{NAME}\n" | sort -n | less
>
>Look for things you can safely delete.  Good candidates are -devel
>packages, along with the compiler (gcc, make, etc), kernel-headers,
>kernel-source (there's a big one!).  Look around in /usr/src... if
>there's anything left in there after removing the kernel-source package,
>they can probably be safely deleted as well (/usr/src/redhat/*/*)

You can link one of those directories (or the new ones) to
another filesystem.

For example link /usr/share to the new mounted /extradisk/usr/share

Rick


#### signature.asc has been removed from this note on April 09 2002 by Rick
van der Linde





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to