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