Creating A Solaris Zone - Unable to install - Are network settings required?


 
Thread Tools Search this Thread
Operating Systems Solaris Creating A Solaris Zone - Unable to install - Are network settings required?
# 1  
Old 04-13-2010
Creating A Solaris Zone - Unable to install - Are network settings required?

Hi

i have created a solaris zone but have not yet connected any network cables for this new zone,

can i set the zone up without running the command 'add net' and not adding an ip or physical interface?

i tried to add dummy internet settings and get this
zonecfg:coddr> add net
zonecfg:coddr:net> set address=10.25.254.127
zonecfg:coddr:net> set physical=nxge4
zonecfg:coddr:net> end
zonecfg:coddr> verify
net: address cannot be specified for an exclusive IP type
coddr: Invalid argument
zonecfg:coddr> end
The end command only makes sense in the resource scope.
zonecfg:coddr> verify
net: address cannot be specified for an exclusive IP type
coddr: Invalid argument
zonecfg:coddr> commit
net: address cannot be specified for an exclusive IP type
Zone coddr failed to verify
coddr: Invalid argument
zonecfg:coddr> exit

if i try to install my zone as its currently running at a configured state i get this error

# zoneadm -z coddr install
Preparing to install zone <coddr>.
Checking <ufs> file system on device </dev/rdsk/c2t0d0s7> to be mounted at </export/home/coddr/root>
ERROR: file system check </usr/lib/fs/ufs/fsck> of </dev/rdsk/c2t0d0s7> failed: exit status <33>: run fsck manually
ERROR: file system <ufs> on device </dev/rdsk/c2t0d0s7> is inconsistent and cannot be mounted
ERROR: cannot setup zone <coddr> inherited and configured file systems
ERROR: cannot setup zone <coddr> file systems inherited and configured from the global zone
ERROR: cannot create zone boot environment <coddr

i then have to uninstall the zone so it goes back to configured state

do i need network settings, is this why my zone wont install?

also i want to start setting up my disks, not really sure how to do this so ive just done the following

global# zonecfg -z my-zone
zonecfg:my-zone> add fs
zonecfg:my-zone:fs> set dir=/oracledb1
zonecfg:my-zone:fs> set special=/dev/dsk/c2t0d0s7
zonecfg:my-zone:fs> set raw=/dev/rdsk/c2t0d0s7
zonecfg:my-zone:fs> set type=ufs
zonecfg:my-zone:fs> end (verify and commit then exit)

this seemed to go through ok, do i need to do anything else to setup disks? anything on the etc/vfstab file?

please advise thank you
# 2  
Old 04-13-2010
you have to post the whole configuration... there are problems with you filesystems.
# 3  
Old 04-13-2010
hi how do i do this?

please can you tell me the command?

thank you
# 4  
Old 04-13-2010
just tell us what you want to do and post the zone config... have a look at the "zonecfg" command for more informations.
also please use code tags for commandline outputs!
# 5  
Old 04-13-2010
Quote:
Originally Posted by newbiesolaris10
i have created a solaris zone but have not yet connected any network cables for this new zone
You don't need to dedicate a physical interface to a zone. It can share one available on the global zone.
Quote:
can i set the zone up without running the command 'add net' and not adding an ip or physical interface?
Absolutely. A zone doesn't requires a network interface beyond localhost.
Quote:
i tried to add dummy internet settings and get this
zonecfg:coddr> add net
zonecfg:coddr:net> set address=10.25.254.127
zonecfg:coddr:net> set physical=nxge4
zonecfg:coddr:net> end
zonecfg:coddr> verify
net: address cannot be specified for an exclusive IP type
...
The issue is you have created an exclusive IP zone but want to set its IP address from the global zone. This is incorrect. Exclusive IP zones interfaces are set inside the zone.
Quote:
if i try to install my zone as its currently running at a configured state i get this error

# zoneadm -z coddr install
Preparing to install zone <coddr>.
Checking <ufs> file system on device </dev/rdsk/c2t0d0s7> to be mounted at </export/home/coddr/root>
ERROR: file system check </usr/lib/fs/ufs/fsck> of </dev/rdsk/c2t0d0s7> failed: exit status <33>: run fsck manually
ERROR: file system <ufs> on device </dev/rdsk/c2t0d0s7> is inconsistent and cannot be mounted
There is something really wrong with your settings/filesystems here. You should also consider ZFS instead of UFS to store your zone filesystems.
Quote:
also i want to start setting up my disks, not really sure how to do this so ive just done the following

global# zonecfg -z my-zone
zonecfg:my-zone> add fs
zonecfg:my-zone:fs> set dir=/oracledb1
zonecfg:my-zone:fs> set special=/dev/dsk/c2t0d0s7
zonecfg:my-zone:fs> set raw=/dev/rdsk/c2t0d0s7
zonecfg:my-zone:fs> set type=ufs
zonecfg:my-zone:fs> end (verify and commit then exit)

this seemed to go through ok, do i need to do anything else to setup disks?
What is you goal here ? is /dev/dsk/c2t0d0s7 already mounted on the global zone ?
It is usually simpler to use lofs mounts for zones.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Configure Solaris zone on new network

Hi, I have a Solaris 10 zone which I need to configure on a new network. I have configured the new IP on the zone itself and I can ping the interface from a node on the same network, but not from another network. Basically I need to know how to route the traffic from the zone to it's... (3 Replies)
Discussion started by: sparcman
3 Replies

3. Solaris

No way to install a flar archive of Solaris 10 to Solaris 11.4 zone

I want to migrate a solaris 10 os to solaris 11.4 zone. I did this a)Collect some data like id sysid,disks,ip,etc..on solaris10 OK b)Create this file.cfg with this command on solaris 10 zonep2vchk -c > /migration/sol10.cfg OK c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

4. Solaris

Solaris non-global zone network vlan

Have 2 nics on physical system net0 phys 1500 up -- net1 phys 1500 up -- 1. I want to create a link aggregation with LACP enabled with above 2 nics 2. Create port-group(Like we create on ESXi) with VLAN-ID 2141 3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies

5. Solaris

Cannot install zone on Solaris 11

I am trying to install a zone on Solaris 11. I am following the instructions for zones intro at oracle.com (I can't post the url yet.) I get up to Listing 2 when the error occurs. # zoneadm -z testzone install The following ZFS file system(s) have been created: ... (7 Replies)
Discussion started by: Kinesia
7 Replies

6. Solaris

Unable to get Solaris 11 Zone onto the network

Hello, I followed these instructions to create a Solaris 11 zone: http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html And I am unable to ping anything from the Local Zone except for the IP address of the global zone. My global zone has an IP... (6 Replies)
Discussion started by: unblockable
6 Replies

7. Solaris

Branded Solaris 10 zone no network

I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate. #zonecfg -z <device> >create -b >set brand=solaris10 >set zonepath=/zonez/<device> >set ip-type=exclusive >add net... (1 Reply)
Discussion started by: aeroforce
1 Replies

8. Solaris

Java Solaris 10 Zone settings

I have the following situation 1) Start JBoss Server 1 2) Within application - print as normal 3) Start JBoss Server 2 4) Printing STOPS on Server 1; Printing does NOT WORK on Server 2 Only solution is to stop Server 2; Restart Server 1 Then Printing works as normal. Doung a truss... (8 Replies)
Discussion started by: pmm
8 Replies

9. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

10. Solaris

Unable to install the Network Card

Hi, After I installed Solaris 10 in the Intel platform (chipset 865*) network card was not detected, were shall I get this driver? iam new to Solaris. (2 Replies)
Discussion started by: pravin_2929
2 Replies
Login or Register to Ask a Question

Featured Tech Videos