1832095 Members
3064 Online
110038 Solutions
New Discussion

root file system is full

 
SOLVED
Go to solution
Norman_21
Honored Contributor

root file system is full

Hello experts,

Please adivse the best method to check and purge the root file system. It is %100 full and I'm not sure what to do!
/dev/vg00/lvol3 86016 86016 0 100% /

This happend after I issued the command
find / *.gz -cpio /dev/rmt/c4t0d0BEST
it seems the output was not directed to the tape. instead it went somewhere within the root file systems.
points will be assinged.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
8 REPLIES 8
Rajeev  Shukla
Honored Contributor
Solution

Re: root file system is full

Hi,

Check the size of the file /dev/rmt/c4t0d0BEST if its not a device file then remove it.

Cheers
Rajeev
Rajeev  Shukla
Honored Contributor

Re: root file system is full

and to check if /dev/rmt/c4t0d0BEST is a valid device file before deleting it do
lssf /dev/rmt/c4t0d0BEST
it should not give u ??? after address.

Also check for any files bigger in size in /dev or / where it has dumped the output.

Cheers
rajeev
Norman_21
Honored Contributor

Re: root file system is full

Shukla,

You know what, I just figured out that I used a stranger device name which is not existed in my hp-ux box.
It seems that I need some sleep.

Thanks.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Rajeev  Shukla
Honored Contributor

Re: root file system is full

Never mind it happens, but take extra precaution when its a production machine. And ya as systems need regular reboot and maintenance so do men. You need rest..

Cheers
Rajeev
Norman_21
Honored Contributor

Re: root file system is full

Shukla,

Is the command correct and will only backup the *.gz.
how to restore it and list the contents of the backup tape created by cpio.

Thanks.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Rajeev  Shukla
Honored Contributor

Re: root file system is full

Yes the command you have given is right.
And to view the contents of cpio tape use
cpio -ivB < /dev/rmt/
and to extract the cpio tape use
cpio -iuvB < /dev/rmt/

Cheers
Rajeev
Norman_21
Honored Contributor

Re: root file system is full

Thanks Rajeev,

The command was directing everthing to the tape. However, I've corrected the issue:
find / -name "*.gz" -cpio

Thanks for the other info.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: root file system is full

Thread closed
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003