Operating System - HP-UX
1826061 Members
4086 Online
109690 Solutions
New Discussion

write failed, file system is full

 
Saifudheen_1
Advisor

write failed, file system is full

Hi,
I have problem with HP-UX A.37.00 B 9000/835 installed on hp server 8000, while booting the system showing the following mesg.

/: write failed,file system is full
cp:bad copy to /tmp mirror.tmp
rm:/tmp/mirror.tmp non-existant
/:file system full.

/:write failed,file system is full
/etc/bcherckrc:

the it will come to the prompt (inbeckrc:)#

plese give me some immediate solutions

thanks
saifu

8 REPLIES 8
MarkSyder
Honored Contributor

Re: write failed, file system is full

The message suggests it's the /tmp filesystem that's full: confirm with bdf

Assuming this is correct, you can delete anything over a week old thus (it is a temporary storage area, so this is safe):

cd /tmp
find . -mtime +7 -exec rm {} \;

If you still have problems look for big files:

ll|sort -k5,5nr|pg

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Pete Randall
Outstanding Contributor

Re: write failed, file system is full

saifu,

Either /tmp or / appears to be full. Run bdf to see which file system is having problems, then look at how to address them. Look for core files that can be removed. Clean out /tmp with "find /tmp -type f -mtime +2 -exec rm {} \;".


Pete

Pete
Todd McDaniel_1
Honored Contributor

Re: write failed, file system is full

boot to single and mount /tmp... remove any data not needed to get it below 90% at least. If you mount from single there wont be any programs running which would query /tmp and allow you clear it well enough to boot to multi user.


Or as a drastic course, you might have to lvremove LVOL/tmp and lvcreate it again...
Unix, the other white meat.
KapilRaj
Honored Contributor

Re: write failed, file system is full

If it is not really full that means system has not mounted /tmp due to somie errors .. Try an fsck from that prompt

fsck -y

Kaps
Nothing is impossible
Robert-Jan Goossens
Honored Contributor

Re: write failed, file system is full

Hi Saufu,

To get out of the (inbeckrc:)# prompt
type "exit" or .

Regards,
Robert-Jan
Roberto Polli
Trusted Contributor

Re: write failed, file system is full

In the future you should avboid to have both / and /tmp on the same partition/LV.

Peace, R.
Saifudheen_1
Advisor

Re: write failed, file system is full

Hi,

Thank you for your quick support. I have deleted some file from \tmp. now file system fill message not coming. but i have another problem now. when the system boot showing the following msg.

/etc/fsclean: /dev/dsk/c2000d0s11 not ok, run fsck.

when i run the fsck command i am getting this msg.

Bad super block: Trashed values in super block..

pls help me to solve this problem at earliest.

thanks
saifu
Todd McDaniel_1
Honored Contributor

Re: write failed, file system is full

try fsck -o full etc...

There is a superblock option to replace a bad superblock but I am not familiar with that.


If that doesn't work you might need to rebuild /tmp in single mode. and reboot again.
Unix, the other white meat.