Unix Technical Forum

Weird output from df after file system full (Solaris 10)

This is a discussion on Weird output from df after file system full (Solaris 10) within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Check this out: df -h Filesystem size used avail capacity Mounted on /dev/dsk/emcpower1a 49G 16384E 79G 36105706404683% /u02 I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:20 AM
Roland Gerlach
 
Posts: n/a
Default Weird output from df after file system full (Solaris 10)

Check this out:
df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/emcpower1a 49G 16384E 79G 36105706404683% /u02

I wanted to restore my oracle databases from tape so I first removed
all of the database files in /u01, /u02, and /u03. I ran the restore
and recovered all the files but ended up with a file system full on
/u02:
/dev/md/dsk/d30 15G 2.5G 12G 17% /u01
/dev/dsk/emcpower1a 49G 49G 0K 100% /u02
/dev/dsk/emcpower0a 15G 98M 15G 1% /u03
That's when I remembered that I'd forgot to stop oracle first so the
oracle processes were still holding the old database files open and
therefore they hadn't been deleted.

I stopped oracle and then checked df:
/dev/md/dsk/d30 15G 2.5G 12G 17% /u01
/dev/dsk/emcpower1a 49G 16384E 79G 36105706404683% /u02
/dev/dsk/emcpower0a 15G 16M 15G 1% /u03
All I can say is WOW!

I umounted /u02 which took a very long time - pressing ^C didn't return
a command prompt, nor did ^\. Eventually /u02 did unmount.

I ran a fsck /u02 which found no problems. Remounted /u02 and
everything is fine again.

I've seen this problem once before on this same box when I first
switched to Solaris 10.

For what it's worth, this is the output from mount:
/u01 on /dev/md/dsk/d30
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=154001e
on Fri Mar 3 12:01:02 2006
/u03 on /dev/dsk/emcpower0a
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=2680000
on Fri Mar 3 13:29:01 2006
/u02 on /dev/dsk/emcpower1a
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=2680008
on Thu Mar 23 13:28:41 2006

Any ideas?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:20 AM
Frank Batschulat
 
Posts: n/a
Default Re: Weird output from df after file system full (Solaris 10)

On Thu, 23 Mar 2006 03:59:12 +0100, Roland Gerlach
<roland.gerlach@gmail.com> wrote:

> Check this out:
> df -h
> Filesystem size used avail capacity Mounted on
> /dev/dsk/emcpower1a 49G 16384E 79G 36105706404683% /u02
>
> I wanted to restore my oracle databases from tape so I first removed
> all of the database files in /u01, /u02, and /u03. I ran the restore
> and recovered all the files but ended up with a file system full on
> /u02:
> /dev/md/dsk/d30 15G 2.5G 12G 17% /u01
> /dev/dsk/emcpower1a 49G 49G 0K 100% /u02
> /dev/dsk/emcpower0a 15G 98M 15G 1% /u03
> That's when I remembered that I'd forgot to stop oracle first so the
> oracle processes were still holding the old database files open and
> therefore they hadn't been deleted.
>
> I stopped oracle and then checked df:
> /dev/md/dsk/d30 15G 2.5G 12G 17% /u01
> /dev/dsk/emcpower1a 49G 16384E 79G 36105706404683% /u02
> /dev/dsk/emcpower0a 15G 16M 15G 1% /u03
> All I can say is WOW!
>
> I umounted /u02 which took a very long time - pressing ^C didn't return
> a command prompt, nor did ^\. Eventually /u02 did unmount.
>
> I ran a fsck /u02 which found no problems. Remounted /u02 and
> everything is fine again.
>
> I've seen this problem once before on this same box when I first
> switched to Solaris 10.
>
> For what it's worth, this is the output from mount:
> /u01 on /dev/md/dsk/d30
> read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=154001e
> on Fri Mar 3 12:01:02 2006
> /u03 on /dev/dsk/emcpower0a
> read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=2680000
> on Fri Mar 3 13:29:01 2006
> /u02 on /dev/dsk/emcpower1a
> read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=2680008
> on Thu Mar 23 13:28:41 2006
>
> Any ideas?


this is bug:

6362734 df output corrupt after under heavy stress

a fix is under the works.

---
frankB


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:20 AM
roland.gerlach@gmail.com
 
Posts: n/a
Default Re: Weird output from df after file system full (Solaris 10)

Thanks for the reply. When I seached sunsolve for 6362734, I also
found 6391678 df miscalculates used and capacity values during large
deletes which claims that "Depending upon the amount of data being
deleted, df can see this problem for around 30 seconds before it
eventually reports the statistics correctly". So I didn't need to
umount the filesystem after all.

Thanks once again.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com