|
Description
|
On brandz, zonecfg creating a zone failed sporadically. It's not often, but it did happen.
bash-3.00# uname -a
SunOS canaan 5.11 brandz-builds_2006-08-28 i86pc i386 i86pc
bash-3.00# cat /etc/motd
Sun Microsystems Inc. SunOS 5.11 brandz-builds 2006-08-28 October 2007
bfu'ed from /ws/brandz/archives/i386/nightly-nd on 2006-08-29
Sun Microsystems Inc. SunOS 5.11 snv_35 October 2007
Execute below commands for sometime, error messages would occur,
bash-3.00# while :; do zonecfg -z lx_test "create -b;set brand=lx;set zonepath=/export1/lx_test;verify;commit"; zonecfg -z lx_test delete -F; done
Zone lx_test failed to verify
lx_test: Problem saving file
Zone lx_test failed to verify
lx_test: Problem saving file
Configuration not saved.
lx_test: No such zone configured
......
How long does it take for the failure to occur? I ran the test for
10 minutes with no failure. That should have been ~10000 iterations.
Are you still seeing the failure? If so, are you running a debug or
non-debug kernel? What type of machine is it? A sporadic failure like
this is often a race condition, so I'm trying to figure out whether your
machine is faster or slower than mine.
Of course, this should be a strictly serial process, so there should be no
possibility of a race occuring.
I tried this test again, it's still reproducible after running for several minutes(less than 6 minutes). I was running on a non-debug kenrel(onnv-gate:2006-09-17),
machine info:
bash-3.00# uname -a
SunOS canaan 5.11 onnv-gate:2006-09-17 i86pc i386 i86pc
bash-3.00# cat /etc/motd
Sun Microsystems Inc. SunOS 5.11 onnv-gate:2006-09-17 October 2007
bfu'ed from /ws/onnv-gate/archives/i386/nightly-nd on 2006-09-18
Sun Microsystems Inc. SunOS 5.11 snv_35 October 2007
bash-3.00#
bash-3.00# psrinfo -v
Status of virtual processor 0 as of: 09/22/2006 13:31:54
on-line since 09/18/2006 11:19:40.
The i386 processor operates at 2791 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 09/22/2006 13:31:54
on-line since 09/18/2006 11:19:43.
The i386 processor operates at 2791 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 2 as of: 09/22/2006 13:31:54
on-line since 09/18/2006 11:19:43.
The i386 processor operates at 2791 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 3 as of: 09/22/2006 13:31:54
on-line since 09/18/2006 11:19:44.
The i386 processor operates at 2791 MHz,
and has an i387 compatible floating point processor.
Please login my machine if it's hard to reproduce there(it seems be easy
to occur on x86)
machine: canaan.prc
passwd of root: XXXXXX
|