Need urgent help with Solaris10 zone migrations

Posted on 2011-09-12
Last Modified: 2013-12-27
Hi All,

I need urgent help and would appreciate your quick responses to this request, below is the senario or situation and then action plan to correct it.

We have been having performances issue with Oracle database servers with recent investigations we were able to find that some of SAN LUN (which are SATA drive) causing this performance issues where drive is busy 100%, now we decided to replace these SATA drive with Fiber channel drives which are much faster. I have find below questions with this regards.Again we are using UFS for this host.

1) Once new Fiber channel LUNs are presented I can make FS and mount them my question is how can I migrate data and zone configurations from old zone to new zone within the server from SATA drive to new Fiber channels drive, I would appreciate if you could provide me the commands for it.

Any additional commands on this will be highly appreciated.

This is very urgent so please respond very quickly.

Question by:ikhan_1971
  • 4
  • 3

Author Comment

ID: 36527079

This is very urgent !!!!

Can someone please respond to this question?

I am taking following steps in moving this Solaris zone to another file system within the zone.

1) Halt, unmount and commented out entries on zone that need to be moved.
2) Once LUN presented at controller LDOM will move to guest LDOM where this zone reside, once verified in format create file system and create directory and mount it.
3) run below command to move zone to another file system

zoneadm -z zonename move new zonenamepath

The biggest question I have is that in instruction it says to run above command the new zonepath should be local file system
and I think above is local file system since we configured and mounted that LUN and add it to /etc/vfstab on this host but not 100% sure.

Please review above step and provide an update.


Accepted Solution

sakman earned 250 total points
ID: 36529836
If the LUN was formatted with UFS and mounted, then it is a local file system.
To verify: df -kFufs /new_mount_point

Also, you should not have to manually comment out anything since the zoneadm move will update the zone files.
LVL 21

Assisted Solution

robocat earned 250 total points
ID: 36529837

"Local file system" means "not on NFS" or any other network file system.

Any filesystem on a LUN should be considered as a local filesystem and you can move your zone to this filesystem without any problems.

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.


Author Closing Comment

ID: 36533012
Thanks for all responses on this.



Author Comment

ID: 36538251
Urgent help needed!!!!

I do have one more question here and would appreciate your quick responses.

Does the zonename for example “wbi-perp-z02” should match with its zonepath as /export/zones/wbi-perp-z02?? Or /export/zones/wbi-Perp-z02(with capital p letter will also work.
The reason is with regard to moving of this zone to another path I have old path “/export/zones/wbi-perp-z02” which I would like to replace with new path “/export/zones/wbi-Perp-z02” and keeping the same zonename as "wbi-perp-z02".
Please advice to this in your earlier convenience

Expert Comment

ID: 36538380
You can move your zone to /export/zones/wbi-Perp-z02 and keep the old /export/zones/wbi-perp-z02.  

The zone configuration XML file in /etc/zones will be named after your zone name "wbi-perp-z02", but inside the XML file will be the path to that zone “/export/zones/wbi-Perp-z02”.

You need to be careful because down the road it may not be clear which zone path is which.  And if you are backing up your zone or running cron jobs in it you need to make sure every time the small "p" is used you replace it with the capital "P".

Author Comment

ID: 36538530
Thanks very much for very quick response.

Ok, let us say everything worked out well zone "wbi-perp-z02" is up and running with new patch /export/zones/Perp-z02 and at the same time I would like to unmount old path and commented entries under /etc/vfstab, now I would like to change new zonepath to old one */wbi-perp-z02.

Can you provide simple procedure for to accomplish this?


Expert Comment

ID: 36538791
You should be able to do shutdown your new zone, edit the /etc/zones/wbi-perp-z02.xml and change the "zonepath" line, update your vfstab, and then boot your zone.


Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
reinstall 1 81
Virtualizing TAPE on dual VIOS 3 88
Unix How to Bulk Remove Multiple Directories from FileSystem 10 77
Field name with special character (Ñ) in Oracle 11 51
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question