Hi,
Take look to this rule :
DISK /ocadat/dmp-1 101 101 HOST ocapi
This results in :
Filesystem /ocadat/dmp-1 (found 1, req. at most 0)
?????
Le 22 juin 06 à 15:09, Nicolas Dorfsman a écrit :
Le 22 juin 06 à 15:01, Nicolas Dorfsman a écrit :
Hi,
Take look to this rule :
DISK /ocadat/dmp-1 101 101 HOST ocapi
RTFM ! HOST=ocapi .
Grrr.
Someting is annoying.
I'd like to have default things (for any host) AND some special
definitions by HOST.
I've tried without success. How disk rules are compiled ? I mean, if I have something like :
HOST=titi DISK %^/tata/.* 90 101
HOST=john DISK /opt 99 100
HOST=* DISK %/temp/J.. 50 99
...is host titi will apply the last rule ?
There is a DEFAULT block in hobbit-clients.cfg, that should be the last entry in the file:
DEFAULT # These are the built-in defaults. UP 1h LOAD 5.0 10.0 DISK * 90 95 MEMPHYS 100 101 MEMSWAP 50 80 MEMACT 90 97
Thanks, Larry Barber
On 6/23/06, Nicolas Dorfsman <ndo at unikservice.com> wrote:
Le 22 juin 06 à 15:09, Nicolas Dorfsman a écrit :
Le 22 juin 06 à 15:01, Nicolas Dorfsman a écrit :
Hi, Take look to this rule :DISK /ocadat/dmp-1 101 101 HOST ocapi
RTFM ! HOST=ocapi .
Grrr.
Someting is annoying.
I'd like to have default things (for any host) AND some special definitions by HOST.
I've tried without success. How disk rules are compiled ? I mean, if I have something like :
HOST=titi DISK %^/tata/.* 90 101
HOST=john DISK /opt 99 100
HOST=* DISK %/temp/J.. 50 99
...is host titi will apply the last rule ?
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Le 23 juin 06 à 22:59, Larry Barber a écrit :
There is a DEFAULT block in hobbit-clients.cfg, that should be the
last entry in the file:
Actually, it's a pattern matching problem.
Filesystems to match were :
/donnees/ARCH/oratmp /donnees/ARCH58/orarbs /donnees/ARCH59/orarbs /donnees/ARCH59/.... ....
I've tried :
DISK %^/donne.*/ora.../.* 100 101 --> no match
then :
DISK %^/donnees/ARCH../.* 100 101 --> no match
So, I tried : DISK %^/donnees/ARCH/.* 100 101 DISK %^/donnees/ARCH58/.* 100 101 DISK %^/donnees/ARCH59/.* 100 101
and it works.
I don't understand why my previous pattern can't match...
Nicolas
participants (2)
-
lebarber@gmail.com
-
ndo@unikservice.com