unable to install a zone: Copying <0> files to the zone.
Hi forum users,
I really hope someone has any idea what could be wrong here.
First of all, the server is patched with security and recommended patches, except for 118344-13 -> R-- SunOS 5.10_x86: Fault Manager Patchwhich I will install on the next maintenance day. It already has 4 zones running without problem.
However when I try to install a new zone now it always fails.
# zoneadm -z blah install
Preparing to install zone <blah>.
Creating list of files to copy from the global zone.
Copying <0> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
ERROR: package <SUNWcsu> is not complete: skipping installation of package
ERROR: package <SUNWcsr> is not complete: skipping installation of package
ERROR: package <SUNWcsl> is not complete: skipping installation of package
...
ERROR: package <SMCreadl> is not complete: skipping installation of package
ERROR: cannot determine dependency ordered package list from package repository </var/sadm/pkg>
ERROR: cannot generate dependency ordered list of packages from global zone </var/sadm/pkg>
ERROR: failed to initialize packages from global zone <> to zone </zones/blah/root>
ERROR: cannot copy and initialize packages from global zone to local zone <blah> path </zones/blah/root>
ERROR: cannot create zone boot environment <blah>
zoneadm: zone 'blah': '/usr/lib/lu/lucreatezone' failed with exit code 74.
To me it seems obvious that the problem lies in the fact that it doesnt even copy a single file to the configured zone, therefor it can't install any packages and all the rest fails too. The big question of course is, why does it think it only needs to copy 0 files? Has anyone encountered such a problem before? I havent found anything yet on patches breaking zoneadm install but might have missed it.
Does it looks like a HD corruption?Might be since the Sun Management Console agent does seem to freeze on that server too once in a while.

