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.