Re: [zones-discuss] [Fwd: df -h in zone cluster]

2009-05-04 Thread Jerry Jelinek

Ellard Roush wrote:

Hi,

The question raised by Sunil seems to be a zones question.
Does anyone have an explanation or is this a bug ?


This is a bug in df with respect to the way it works on
zfs datasets inside a zone.  I just filed the following bug
on this:

6837019 df on zfs filesystem inside zone reports size 0

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] [Fwd: df -h in zone cluster]

2009-04-30 Thread Joseph Balenzano
I think this is the same issue as CR 6798104.  There is a workaround you 
can try which is documented in the report, which is use a df utility




Get a private copy of df from a Solaris 10 8/07 or 120011-14 and use the 
*private* copy when you need to check on the filesystem status.

*** DO NOT replace the df binary that comes with S10U6 with an older version ***



Ellard Roush wrote:

Hi,

The question raised by Sunil seems to be a zones question.
Does anyone have an explanation or is this a bug ?

Regards,
Ellard

 Original Message 
Subject: df -h in zone cluster
Date: Thu, 30 Apr 2009 10:28:38 -0400
From: Sunil Sohani 
To: sunclus...@sun.com

Hi,

IHAC running "zone clusters". They are are running some monitoring 
software within zone cluster which does "df -h" to monitor disk space.


Here is sample output:

# df -h
Filesystem size   used  avail capacity  Mounted on
/0K   8.1G13G39%/
/dev21G   8.1G13G39%/dev
/lib31G   9.6G21G32%/lib
/platform   31G   9.6G21G32%/platform
/sbin   31G   9.6G21G32%/sbin
/usr31G   9.6G21G32%/usr
/usr/local  31G   9.6G21G32%/usr/local
proc 0K 0K 0K 0%/proc
ctfs 0K 0K 0K 0%/system/contract
mnttab   0K 0K 0K 0%/etc/mnttab
objfs0K 0K 0K 0%/system/object
swap17G   376K17G 1%/etc/svc/volatile
fd   0K 0K 0K 0%/dev/fd
swap17G64K17G 1%/tmp
swap17G56K17G 1%/var/run
/sbin   31G   9.6G21G32%/var/cluster/sbin.org
/usr/cluster/lib/sc/ifconfig_client_proxy
31G   9.6G21G32%/sbin/ifconfig
zdtgdbq01/odb0K29K86G 1%/odb
zdtgdbq01/odb/dtg02/flashdata01
 0K   5.1G   4.9G52%
/odb/dtg02/flashdata01

zdtgdbq01/odb/dtg02/oraarch
 0K   525M   9.5G 6%/odb/dtg02/oraarch
zdtgdbq01/odb/dtg02/orabackup
 0K14M  10.0G 1%/odb/dtg02/orabackup
zdtgdbq01/odb/dtg02/orabin
 0K   2.2G   7.8G22%/odb/dtg02/orabin
zdtgdbq01/odb/dtg02/oradata01
 0K   1.2G   8.8G12%/odb/dtg02/oradata01
zdtgdbq01/odb/dtg02/oradata02
 0K   1.3G   8.7G13%/odb/dtg02/oradata02
zdtgdbq01/odb/oem01/orabin
 0K   1.9G   8.1G19%/odb/oem01/orabin

zdtgdbq01 is a ZFS pool used for Oracle database that has been added 
to this "zone cluster". Monitoring software looks at "size" column and 
sees "0K" and starts sending alerts.


Is there a solution for this? Or is that how it is going to be and 
they need to change the way they monitor it?


Customer thinks they haven't configured the resource group properly.

Sunil

___
zones-discuss mailing list
zones-discuss@opensolaris.org



--
---
  __ Joseph Balenzano
  /_/\   ISV Engineering
 / \\ \  Sun Microsystems Inc.
/_\ \\ / joseph.balenz...@sun.com 
   /_/ \/ / /Phone/Fax 203.653.4186 
  /_/ /   \//\  
  \_\//\   / /
   \_/ / /\ /
\_/ \\ \
 \_\ \\

  \_\/
-- 


___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] [Fwd: df -h in zone cluster]

2009-04-30 Thread Ellard Roush

Hi,

The question raised by Sunil seems to be a zones question.
Does anyone have an explanation or is this a bug ?

Regards,
Ellard

 Original Message 
Subject: df -h in zone cluster
Date: Thu, 30 Apr 2009 10:28:38 -0400
From: Sunil Sohani 
To: sunclus...@sun.com

Hi,

IHAC running "zone clusters". They are are running some monitoring software 
within zone cluster which does "df -h" to monitor disk space.


Here is sample output:

# df -h
Filesystem size   used  avail capacity  Mounted on
/0K   8.1G13G39%/
/dev21G   8.1G13G39%/dev
/lib31G   9.6G21G32%/lib
/platform   31G   9.6G21G32%/platform
/sbin   31G   9.6G21G32%/sbin
/usr31G   9.6G21G32%/usr
/usr/local  31G   9.6G21G32%/usr/local
proc 0K 0K 0K 0%/proc
ctfs 0K 0K 0K 0%/system/contract
mnttab   0K 0K 0K 0%/etc/mnttab
objfs0K 0K 0K 0%/system/object
swap17G   376K17G 1%/etc/svc/volatile
fd   0K 0K 0K 0%/dev/fd
swap17G64K17G 1%/tmp
swap17G56K17G 1%/var/run
/sbin   31G   9.6G21G32%/var/cluster/sbin.org
/usr/cluster/lib/sc/ifconfig_client_proxy
31G   9.6G21G32%/sbin/ifconfig
zdtgdbq01/odb0K29K86G 1%/odb
zdtgdbq01/odb/dtg02/flashdata01
 0K   5.1G   4.9G52%/odb/dtg02/flashdata01
zdtgdbq01/odb/dtg02/oraarch
 0K   525M   9.5G 6%/odb/dtg02/oraarch
zdtgdbq01/odb/dtg02/orabackup
 0K14M  10.0G 1%/odb/dtg02/orabackup
zdtgdbq01/odb/dtg02/orabin
 0K   2.2G   7.8G22%/odb/dtg02/orabin
zdtgdbq01/odb/dtg02/oradata01
 0K   1.2G   8.8G12%/odb/dtg02/oradata01
zdtgdbq01/odb/dtg02/oradata02
 0K   1.3G   8.7G13%/odb/dtg02/oradata02
zdtgdbq01/odb/oem01/orabin
 0K   1.9G   8.1G19%/odb/oem01/orabin

zdtgdbq01 is a ZFS pool used for Oracle database that has been added to this 
"zone cluster". Monitoring software looks at "size" column and sees "0K" and 
starts sending alerts.


Is there a solution for this? Or is that how it is going to be and they need to 
change the way they monitor it?


Customer thinks they haven't configured the resource group properly.

Sunil

___
zones-discuss mailing list
zones-discuss@opensolaris.org