Branded zone Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris Branded zone Solaris 9
# 8  
Old 04-24-2015
I'm using root id. How give right permission?
Image
# 9  
Old 04-24-2015
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?
# 10  
Old 04-24-2015
Fail also. M10 sparc machine.
Code:
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#


Last edited by mzainal; 04-24-2015 at 08:58 AM.. Reason: New line
# 11  
Old 04-27-2015
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?

Code:
# 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.

Last edited by mzainal; 04-27-2015 at 06:29 AM.. Reason: creation disk
# 12  
Old 05-10-2015
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.

Last edited by mzainal; 05-10-2015 at 10:31 PM.. Reason: New issue.
# 13  
Old 05-11-2015
If the command svcs is not found try using its path instead:

Code:
# /usr/bin/svcs <service>

Try starting the ssh daemon:

Code:
# svcadm enable network/ssh

Mounting filesystems when the system boots is done by putting the required entries into /etc/vfstab
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Help setting up a bhyve branded zone

So I started with following the example on the omnios page for bhyve (sorry, I can't provide the link because I'm a post shy of the 5 to give a URL): And found that in the end I was able to create a running bhyve zone, but accessing it via zlogin results in a blank console. I've tried Debian 9... (14 Replies)
Discussion started by: stratacast1
14 Replies

2. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

3. Solaris

Solaris 10 branded zone with IPMP

All. I am trying to create a 10 branded zone on a Sol 11.1 T5. The Global is using IPMP...so aggregating is out of the question. Has anyone successfully created a branded zone with IPMP? If they have can you please show me the steps you took to get this to run. Thanks (4 Replies)
Discussion started by: aeroforce
4 Replies

4. Solaris

NFS server on Solaris 10 branded zone

I am trying to get a NFS share on a Solaris 10 branded zone. I have read that this is not possible...but I was hoping someone here could tell me different. share -F nfs -o ro,anon=0 /dir This would really surprise me that you cannot do this. Thanks (2 Replies)
Discussion started by: aeroforce
2 Replies

5. 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

6. Solaris

Solaris 9 branded zone on a Solaris 10 server

I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server. What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies

7. Solaris

Prerequisites for Solaris10 Branded Zone within Solaris 11 Express

Dear all, we are trying to install a Solaris10 Branded Zone on a Solaris 11 Express system getting this message: ***The image patch level is downrev for running in a solaris10 branded zone*** The Sparc Solaris 10 system is running Release 11/06 and Patch 119254-70 is installed. Does the... (0 Replies)
Discussion started by: xunil321
0 Replies

8. Solaris

Three questions - migrating to branded zone

1. i read that VxFS (3.x) installed on a solaris 8 will not work on a branded zone. fair enough, but what is the impact of having the packages installed when the flarcreate is done? will the container fail to boot with those packages installed? 2. NTP client and server doesnt work on branded... (11 Replies)
Discussion started by: frustin
11 Replies

9. Solaris

Postprocess issue installing Solaris 9 Branded Zone

Hello, I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log: Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies
Login or Register to Ask a Question