Go to main content

Creating and Using Oracle® Solaris 10 Zones

Exit Print View

Updated: October 2017

Other Archive Creation Methods

    You can use alternate methods for creating the archive. The installer can accept the following archive formats:

  • cpio archives

  • gzip compressed cpio archives

  • bzip2 compressed cpio archives

  • pax archives created with the –x xustar (XUSTAR) format

  • ufsdump level zero (full) backups

Additionally, the installer can only accept a directory of files created by using an archiving utility that saves and restores file permissions, ownership, and links.

For more information, see the cpio(1), pax(1), bzip2 (1) , gzip (1) , and ufsdump(1M) man pages.

Note -  If you use a method other than flash archive for creating an archive for P2V, you must unmount the processor-dependent libc.so.1 lofs-mounted hardware capabilities (hwcap) library on the source system before you create the archive. Otherwise, the zone installed with the archive might not boot on the target system.

The mountpoints to unmount vary by architecture and release of Oracle Solaris 10. You must grep the mountpoints for libc and umount any that exist. After you have created the archive, you can remount the proper hardware capabilities by restarting the filesystem/root service.

  1. Determine optimized libc mountpoints.

    source-system# mount | egrep '(libc_psr.so.1|libc.so.1)'
  2. umount any exisitinglibc mountpoints.

    SPARC command examples:

    source-system# umount /platform/sun4v/lib/libc_psr.so.1  
    source-system# umount /platform/sun4v/lib/sparcv9/libc_psr.so.1

    x86 command example:

    source-system# umount /lib/libc.so.1
  3. Create an archive of the Oracle Solaris 10 system.

  4. Restart the filesystem/root service .

    source-system# svcadm restart svc:/system/filesystem/root:default