LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-20-2010, 03:12 PM   #1
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,598

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
Problem creating second zone: "Copying <0> files to the zone."


I have an M3000 running Sol10u8 (just installed last month) with kernel 142900-13 as a zone host.

I successfully installed one zone and am using it now. I am running into problems creating the second.

Code:
 # zoneadm -z sol02 install
A ZFS file system has been created for this zone.
Preparing to install zone <solsan02>.
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.
Preparing to initialize <1895> packages on the zone.
Initialized <1895> packages on zone.
Zone <sol02> is initialized.
Installation of these packages generated errors: <SUNWpostgr-82-libs SUNWpostgr-82-client SUNWpostgr-82-server SUNWpostgr-82-contrib SUNWpostgr-82-devel>
Installation of <1> packages was skipped.
Installation of these packages generated warnings: <SUNWcsr SUNWxwfnt SUNWxwplr SUNWfontconfig-root SUNWxwcft SUNWkrbr SUNWsmbar SUNWgssc SUNWtnamr SUNWtnetr SUNWwbcor SUNWtsr SUNWtxfnt SUNW5xmft SUNWdoc SUNWinstall-patch-utils-root SUNWipmir SUNWppror SUNWpkgcmdsr SUNWipplr SUNWocfr SUNWvolr SUNWnfscr SUNWmconr SUNWwebminr SUNWaccr SUNWgttf SUNWapch2r SUNWgttfe SUNWgxfnt SUNWbsr SUNWhdft SUNWdhcsr SUNWxwoft SUNWhkfnt SUNWnisr SUNWypr SUNWzebrar SUNW5ttf SUNWhkttf SUNWolrte SUNWatfsr SUNW5ttfe SUNWbindr SUNWhttf SUNWhttfe SUNWbnur SUNWhxfnt SUNWcnsr SUNWjxmft SUNWkdcr SUNWpcr SUNWpsr SUNWcxmft SUNWcdft SUNWkxmft SUNWinttf SUNWsacom SUNWcttf SUNWcttfe SUNWcxfnt SUNWnfssr SUNWntp4r SUNWftpr SUNWntpr SUNWpostgr-82-server-data-root SUNWpostgr-83-server-data-root SUNWjwnsr SUNWjxcft SUNWjxfnt SUNWjxoft SUNWrcapr SUNWrcmdr SUNWservicetagr SUNWslpr SUNWsndmr SUNWsmmgr SUNWsshdr SUNWkttf SUNWkttfe SUNWkuxft SUNWkxfnt SUNWkxfte SUNWi1of SUNWstsfr SUNWswupclr SUNWstosreg SUNWpsn SUNWsthwreg>
The file </zonepool/sol02/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
Code:
 #         zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
zonepool                      26.0G   366G    24K  /zonepool
zonepool/sol01             25.8G  54.2G  25.2G  /zonepool/sol01
zonepool/sol01@cleanstate   522M      -  4.63G  -
zonepool/sol02              244M   366G   244M  /zonepool/sol02
244M is a little low.

Zone config:
Code:
# zonecfg -z sol02 info 
zonename: sol02
zonepath: /zonepool/sol02
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: FSS
ip-type: shared
net:
        address: 10.0.0.14/24
        physical: bge1
        defrouter: 10.0.0.1
capped-memory:
        physical: 6G
        [swap: 8G]
rctl:
        name: zone.max-swap
        value: (priv=privileged,limit=8589934592,action=deny)
In the zone's log file mentioned above there are a few "package <foo> was not installed". I thought I made progress by removing SUNWsneep, but I was wrong. There's one left -
Quote:
The package <.save.SUNWadmr> is either not fully installed in the global zone, or the package contains a request script.
But there's no package named .save.SUNWadmr and SUNWadmr is all patched (120199-15).

Also in the install file are a lot of errors like:
Code:
*** package <SUNWcsr> installed with warnings:

WARNING: attribute verification of </zonepool/sol02/root/etc/certs/SUNWObjectCA> failed
    pathname does not exist
NOTE: When the package <SUNWcsr> was installed in the global zone,
the file <etc/certs/SUNWObjectCA> was also installed. After the file was
installed in the global zone, the contents and/or attributes of the file
changed. The contents of this file must never be changed. As a result,
the changes in this file have been duplicated in the non-global zone
<sol02> in the file </zonepool/sol02/root/etc/certs/SUNWObjectCA>.
But that file exists on the global zone and I haven't touched it:
Code:
# ls -ld /etc/certs/SUNWObjectCA
-rw-r--r--   2 root     sys         1761 Mar 12  2008 /etc/certs/SUNWObjectCA
The only patch / package I can think of that got installed after the first zone was created was sneep, but as mentioned uninstalling that did not help.

So what the heck is the problem? Some Google results mention a corrupt /var/sadm - how do I tell/fix?

I don't have ZFS deduplication - my version doesn't support it (`zfs get all zonepool | grep dedup` returns nothing)

Edit 07/21 9:30AM:

I got rid of the SUNWadmr warning by reinstalling it. I removed Postgres and did some more playing around. Now it claims to copy 18,000 files, but that process completes pretty quickly, and many packages still generate warnings. I can boot the zone and log in, but things are missing, like apropos and /var/lib/postrun/postrun-runq (which causes system-postrun to fail). Both exist on the global zone.

Code:
# zoneadm -z sol02 install
cannot create ZFS dataset zonepool/sol02: dataset already exists
Preparing to install zone <sol02>.
Creating list of files to copy from the global zone.
Copying <18963> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1845> packages on the zone.
Initialized <1845> packages on zone.                                 
Zone <sol02> is initialized.
Installation of <1> packages was skipped.
Installation of these packages generated warnings: <SUNWwbcor SUNWtsr SUNWdoc SUNWinstall-patch-utils-root SUNWipmir SUNWppror SUNWpkgcmdsr SUNWipplr SUNWocfr SUNWvolr SUNWnfscr SUNWmconr SUNWwebminr SUNWaccr SUNWapch2r SUNWbsr SUNWdhcsr SUNWnisr SUNWypr SUNWzebrar SUNWatfsr SUNWbindr SUNWbnur SUNWcnsr SUNWkdcr SUNWpcr SUNWpsr SUNWsacom SUNWnfssr SUNWntp4r SUNWftpr SUNWntpr SUNWrcmdr SUNWrcapr SUNWjwnsr SUNWservicetagr SUNWslpr SUNWsndmr SUNWsmmgr SUNWsshdr SUNWstsfr SUNWswupclr SUNWstosreg SUNWpsn SUNWsthwreg>
The file </zonepool/solsan02/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
# zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
zonepool                      26.4G   365G    24K  /zonepool
zonepool/sol01             25.8G  54.2G  25.1G  /zonepool/sol01
zonepool/solsan01@cleanstate   675M      -  4.63G  -
zonepool/sol02              607M  59.4G   607M  /zonepool/sol02
Edit 07/21 3PM:
New zones on my other M3000 look like this:
Code:
 # zoneadm -z sol02 install
A ZFS file system has been created for this zone.
Preparing to install zone <sol02>.
Creating list of files to copy from the global zone.
Copying <221903> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1935> packages on the zone.
Initializing package <1931> of <1935>: percent complete: 99%    
Initialized <1935> packages on zone.
Zone <sol02> is initialized.
Installation of <1> packages was skipped.
The file </zonepool/sol02/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
So I could move sol01 to this host and reinstall the first host, but I'm hoping I won't have to.

Last edited by AlucardZero; 07-21-2010 at 01:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
Creating a DNS "dead Zone" Quest101 Linux - Networking 2 04-27-2009 04:13 PM
"ext3_new_block: Allocating block in system zone" from RAID5 device tan_ce Linux - Server 3 11-25-2008 06:37 AM
Why my "multiple desktop zone" is lost on controll pannel? ArthurHuang Linux - Desktop 8 01-21-2008 10:24 AM
DNS error : "localhost.zone file not found" rajat Linux - Server 2 04-25-2007 11:26 PM


All times are GMT -5. The time now is 08:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration