1830342 Members
2599 Online
110001 Solutions
New Discussion

Disk Full?

 
Robie Lutsey
Frequent Advisor

Disk Full?

Hey guys!

I am getting the following error:

Arc: build navpoint point
Building points...
FATAL ERROR
MSEEK: No space left on device
while accessing file (writing 1024 (-1) bytes to 9216): /dsk9/dncproj/dnc7ct/lib
data/lib_coa7/tiles/hdka/navpoint/prf.adf
ISP channel# 1 was not properly closed (INFEND)
Bailing out of PNTPRF

however my BDF output looks like this:
Filesystem kbytes used avail %used Mounted on
/dev/dsk/c0t6d0 1550284 868931 526324 62% /
/dev/dsk/c1t4d0 8699070 6734114 1095049 86% /dsk9
/dev/dsk/c1t0d0 4053992 1524553 2529439 38% /dsk0

Any ideas?
17 REPLIES 17
harry d brown jr
Honored Contributor

Re: Disk Full?


Maybe the application deleted the file already, or was unable to completed the write?

What does

/dsk9/dncproj/dnc7ct/libdata/lib_coa7/tiles/hdka/navpoint/prf.adf

look like?

live free or die
harry
Live Free or Die
Robie Lutsey
Frequent Advisor

Re: Disk Full?

It's some sort of database file. I'm concered that I am getting a disk full error but the disk is not full according to the BDF output.
S.K. Chan
Honored Contributor

Re: Disk Full?

Maybe the write does not complete, when it could not find any more disk space it aborted and hence bdf shows the output before the file was written.
Pete Randall
Outstanding Contributor

Re: Disk Full?

If the file being written is larger than the 14% remaining on /dsk9, the write will fail.
Subsequent bdf will show the 86% because the file isn't there.

Can you try watching it? Do multiple bdf's while it's being written and you should see the usage growing right on up to 99%.

Pete

Pete
MANOJ SRIVASTAVA
Honored Contributor

Re: Disk Full?

The file size that is being written is more than the free size . does it ahppen immmedately
or after sometime
and waht is the o/p of bdf then as it will deifnatley take some time to fill up .
Just monitor the bdf after every 2 seconds and then see which mount point is getting full

while true
do
date >> /tmp/diskfull
bdf >> /tmp/diskfull
sleep 2
done

and run this script when u are running the command , the partiotn will fill up to 99% before erroring out as it looks the files size is more that the free size avaialble . you can also try storing it in dsk0 as it seems to ahve more space.


Manoj Srivastava
Robie Lutsey
Frequent Advisor

Re: Disk Full?

Ok that BDF output script didn't show any change when recreating the error. I changed it so it would output every second and still no change. Any other ideas?
Robie Lutsey
Frequent Advisor

Re: Disk Full?

Ok Now I recovered a directory from backup tape to another HP-UX system we have and attempted to open the database and no errors. Now when I copy the directory on to that device (/dsk9) I am getting an error indication that it's corrupt. Could this be a clue to a failing drive?

MANOJ SRIVASTAVA
Honored Contributor

Re: Disk Full?

Yes ofcourse

can u do a diskinfo on that disk , i think there lvm structure report more free baclks than they actually are , also if you shift hte o/p to go to the other mount point does it work properly.

dmesg o/p should also be a good palce to look for i/o errors.


Manoj Srivastava
robie_1
Occasional Advisor

Re: Disk Full?

Hi you guys. Thanks for all your help so far. I'm taking over this thread from Cliff, and have a question. Do you think a fsck would be helpful on dsk9? If it is going bad wouldn't that kind of prove it?
If a thing is worth doing, it is worth doing right.
MANOJ SRIVASTAVA
Honored Contributor

Re: Disk Full?

You are right please do that also bcoz incase there are irregualrites it will come up infsck also.


Manoj Srivastava
Martin Johnson
Honored Contributor

Re: Disk Full?

Yes, run fsck on the files systems on that disk.

If the file in question is a database file, have you used the database tools to look at the contents of the file? To verify integrety?

HTH
Marty
robie_1
Occasional Advisor

Re: Disk Full?

will do, right now I'm waiting on a backup of the disk to finish before I pull out the scalple(shovel).
If a thing is worth doing, it is worth doing right.
robie_1
Occasional Advisor

Re: Disk Full?

Hello again.

I have done a fsck, and both the sanity check and the normal fsck return ok.

the diskinfo also failed to return any unusual status.

I'm not sure where to look after this.

TIA,
robiel
If a thing is worth doing, it is worth doing right.
steven Burgess_2
Honored Contributor

Re: Disk Full?

Hi

Cliff and Robie

You can show your appreciation to the guys that have helped you in this thread by assigning points. A little gratitude is all thats required. You may get more input that way

N/A please

Steve
take your time and think things through
Robie Lutsey
Frequent Advisor

Re: Disk Full?

Steven, I always assign points (See Profile). I tend to wait until after the issue is resolved though. Thanks everyone for your help.

Any other clues to resolving this issue?
steven Burgess_2
Honored Contributor

Re: Disk Full?

Cliff

Sorry,

What does

du -sk /dsk9

Give

Steve
take your time and think things through
robie_1
Occasional Advisor

Re: Disk Full?

du -dk /dsk9 returns
6734113 /dsk9
hope that helps.
If a thing is worth doing, it is worth doing right.