Hi,
I want to install branded zone sol 9 in sol 10. I keep getting same error. Please advice me.
Thanks.
Hi,
I want to install branded zone sol 9 in sol 10. I keep getting same error. Please advice me.
Thanks.
Can't really see that image (attachment) very well. Can you please cut & paste the error to a post.
There should be no problems putting a legacy (branded) Solaris 9 zone on Solaris 10.
How to make under zoned on?
You'd do better to follow guidance direct from Oracle:-
About Oracle Solaris 9 Branded Zones - System Administration Guide: Oracle Solaris 9 Containers
---------- Post updated at 09:50 AM ---------- Previous update was at 09:48 AM ----------
Having said that, the tutorial that you posted the link to looks pretty good too.
I already follow from the link. Come out with above error.
---------- Post updated at 11:38 PM ---------- Previous update was at 07:11 AM ----------
I get same error even i create another branded zone with different zonepath:
[Friday, 2015 April 24 12:16:52 MYT] running: p2v -u s9-s9zone
[Friday, 2015 April 24 12:16:52 MYT] Postprocess: Gathering information about zone s9-s9zone
[Friday, 2015 April 24 12:16:52 MYT] Postprocess: Creating mount points
touch: cannot create /export/home/sparc/root/etc/mnttab: No such file or directory
chmod: WARNING: can't access /export/home/sparc/root/etc/mnttab
[Friday, 2015 April 24 12:16:52 MYT] Postprocess: Processing /etc/system
cp: cannot access /export/home/sparc/root/etc/system
[Friday, 2015 April 24 12:16:52 MYT] Result: Postprocessing failed.
[Friday, 2015 April 24 12:16:52 MYT]
bash-3.2# zonecfg -z s9-s9zone info
zonename: s9-s9zone
zonepath: /export/home/sparc
brand: solaris9
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
address: 10.126.101.19
physical: igb1
defrouter not specified
Any idea what i miss?
It is an access rights issue. p2v cannot create the required directory tree before populating it with the migrating data.
Check out the access rights on the mount point. Open the rights up, at least whilst executing p2v.
What user account are you running under???? (root or sudo would be best to circumvent access rights issues)
p2v is having a problem creating files on your designated zone path.
Try setting the zone mount point access to 777 whilst migrating data.
What hardware is this? This may be a stupid thing to say but you know that you cannot migrate a Sparc system to a zone on a x86 system?
Typically, zones are created on their own disk slice (of suitable size to take the migrating data) which is mounted on a mount point on the root filesystem. I think here you are using an area on your /export filesystem. yes?
Fail also. M10 sparc machine.
bash-3.2# cat /var/tmp/s9-test.install.6997.log
[Jumaat, 2015 April 24 19:55:02 MYT] Log File: /var/tmp/s9-test.install.6997.log
[Jumaat, 2015 April 24 19:55:02 MYT] Product: Solaris 9 Containers 1.0
[Jumaat, 2015 April 24 19:55:02 MYT] Installer: solaris9 brand installer 1.21
[Jumaat, 2015 April 24 19:55:02 MYT] Zone: s9-test
[Jumaat, 2015 April 24 19:55:02 MYT] Path: /export/home/sparc
[Jumaat, 2015 April 24 19:55:02 MYT] Starting pre-installation tasks.
[Jumaat, 2015 April 24 19:55:02 MYT] Installation started for zone "s9-test"
[Jumaat, 2015 April 24 19:55:02 MYT] Source: /export/s9-system.flar
[Jumaat, 2015 April 24 19:55:02 MYT] Media Type: flash archive
[Jumaat, 2015 April 24 19:55:02 MYT] Installing: This may take several minutes...
[Jumaat, 2015 April 24 19:55:02 MYT] cd /export/home/sparc/root &&
[Jumaat, 2015 April 24 19:55:02 MYT] do_flar < "/export/s9-system.flar"
[Jumaat, 2015 April 24 19:56:02 MYT] Postprocessing: This may take several minutes...
[Jumaat, 2015 April 24 19:56:02 MYT] running: p2v s9-test
[Jumaat, 2015 April 24 19:56:02 MYT] Postprocess: Gathering information about zone s9-test
[Jumaat, 2015 April 24 19:56:02 MYT] Postprocess: Creating mount points
touch: cannot create /export/home/sparc/root/etc/mnttab: No such file or directory
chmod: WARNING: can't access /export/home/sparc/root/etc/mnttab
[Jumaat, 2015 April 24 19:56:02 MYT] Postprocess: Processing /etc/system
cp: cannot access /export/home/sparc/root/etc/system
[Jumaat, 2015 April 24 19:56:02 MYT] Result: Postprocessing failed.
[Jumaat, 2015 April 24 19:56:02 MYT]
[Jumaat, 2015 April 24 19:56:02 MYT] Result: *** Installation FAILED ***
[Jumaat, 2015 April 24 19:56:02 MYT] Log File: /var/tmp/s9-test.install.6997.log
bash-3.2# ls -la
total 23099505
drwxr-xr-x 4 root root 7 Apr 24 19:55 .
drwxr-xr-x 3 root sys 4 Apr 24 10:40 ..
-rw-r--r-- 1 root root 574464 Apr 22 14:51 pkgutil.pkg
-rw-r--r-- 1 root root 6230462887 Apr 22 22:01 s9-s9zone.flar
-rw-r--r-- 1 root root 5586998069 Apr 23 11:34 s9-system.flar
drwx------ 3 root root 3 Apr 24 19:55 sparc
drwx------ 2 root root 2 Apr 24 15:39 testzone
bash-3.2#
Error previous post is from flar file. Flar file corrupted. Now install done. But branded running zone cannot be access using telnet or putty. From zoneadm list -v, i can see it running.
I can login using rlogin. But for remote, i cannot access. I also can ping that zone. I try to restart ssh service but it said ssh service not available. Any idea what wrong?
svcs not found.
This is test-zone. I login using ssh. How to create directory from / with limit 50G?
# df -h
Filesystem size used avail capacity Mounted on
/ 398G 2.0G 396G 1% /
/.SUNWnative/lib 112G 13G 98G 12% /.SUNWnative/lib
/.SUNWnative/platform
112G 13G 98G 12% /.SUNWnative/platform
/.SUNWnative/usr 112G 13G 98G 12% /.SUNWnative/usr
/dev 398G 2.0G 396G 1% /dev
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 16G 21M 16G 1% /etc/svc/volatile
/dev/ksyms 112G 13G 98G 12% /dev/ksyms
fd 0K 0K 0K 0% /dev/fd
swap 16G 21M 16G 1% /tmp
# zfs
zfs: not found
# zpool
zpool: not found
How to add new disk? Is it same as oracle vm? We create image file and it will appear as disk in solaris zone? I'm confused. Normally at first creation we are using zonepath.
I just done slice in zone. Now zone can boot up. But ssh service not running. When i run command svcs, it's said command not found. How to add?
I need to mount manually disk. How to add in service so i can mount auto when OS boot up? Just like rc.local in linux.
If the command svcs is not found try using its path instead:
# /usr/bin/svcs <service>
Try starting the ssh daemon:
# svcadm enable network/ssh
Mounting filesystems when the system boots is done by putting the required entries into /etc/vfstab