additional configuration information # cat /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0d0s1 - - swap - no - /dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no - /devices - /devices devfs - no - ctfs - /system/contract ctfs - no - objfs - /system/object objfs - no - swap - /tmp tmpfs - yes - /dev/dsk/c0d1s4 - /zones/test1 ufs 1 yes -
# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 19G 3.2G 16G 17% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 881M 764K 880M 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object fd 0K 0K 0K 0% /dev/fd swap 958M 78M 880M 9% /tmp swap 880M 24K 880M 1% /var/run /vol/dev/dsk/c1t0d0/sol_11_x86 3.7G 3.7G 0K 100% /cdrom/sol_11_x86 /usr/lib/libc/libc_hwcap1.so.1 19G 3.2G 16G 17% /lib/libc.so.1 /dev/dsk/c0d1s4 2.4G 71M 2.3G 3% /zones/test1 # lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- -------- ------ --------- ------ ---------- c0d0s0 yes yes yes no - # lufslist -n c0d0s0 boot environment name: c0d0s0 This boot environment is currently active. This boot environment will be active on next system boot. Filesystem fstype device size Mounted on Mount Options ----------------------- -------- ------------ ------------------- -------------- /dev/dsk/c0d0s1 swap 542868480 - - /dev/dsk/c0d0s0 ufs 20875760640 / - # zoneadm list -icv ID NAME STATUS PATH BRAND IP 0 global running / native shared 11 test1 running /zones/test1 native shared # zonecfg -z test1 info zonename: test1 zonepath: /zones/test1 brand: native autoboot: false bootargs: pool: limitpriv: scheduling-class: ip-type: shared inherit-pkg-dir: dir: /lib inherit-pkg-dir: dir: /platform inherit-pkg-dir: dir: /sbin inherit-pkg-dir: dir: /usr # LiveUpgrade with non-global Zones on separate root filesystem source BE with name "c0d0s0" c0d0s0 --> root partition c0d0s1 --> swap partition / shared between BEs c0d1s4 --> ZoneRoot mounted on /zones/test1 target BE with name "new" c0d1s0 --> root partition c0d0s1 --> swap partition / shared between BEs c0d1s5 --> ZoneRoot mounted on /zones/test1 create the BE # lucreate -m /:/dev/dsk/c0d1s0:ufs -m /zones/test1:/dev/dsk/c0d1s5:ufs -n new Discovering physical storage devices Discovering logical storage devices Cross referencing storage devices with boot environment configurations Determining types of file systems supported Validating file system requests Preparing logical storage devices Preparing physical storage devices Configuring physical storage devices Configuring logical storage devices Analyzing system configuration. Comparing source boot environment <c0d0s0> file systems with the file system(s) you specified for the new boot environment. Determining which file systems should be in the new boot environment. Updating boot environment description database on all BEs. Searching /dev for possible boot environment filesystem devices Updating system configuration files. The device </dev/dsk/c0d1s0> is not a root device for any boot environment; cannot get BE ID. Creating configuration for boot environment <new>. Source boot environment is <c0d0s0>. Creating boot environment <new>. Checking for GRUB menu on boot environment <new>. The boot environment <new> does not contain the GRUB menu. Creating file systems on boot environment <new>. Creating <ufs> file system for </> in zone <global> on </dev/dsk/c0d1s0>. Creating <ufs> file system for </zones/test1> in zone <global> on </dev/dsk/c0d1s5>. Mounting file systems for boot environment <new>. Calculating required sizes of file systems for boot environment <new>. Populating file systems on boot environment <new>. Checking selection integrity. Integrity check OK. Populating contents of mount point </>. Populating contents of mount point </zones/test1>. Copying. Creating shared file system mount points. Copying root of zone <test1>. Creating compare databases for boot environment <new>. Creating compare database for file system </zones/test1>. Creating compare database for file system </>. Updating compare databases on boot environment <new>. Making boot environment <new> bootable. Updating bootenv.rc on ABE <new>. Population of boot environment <new> successful. Creation of boot environment <new> successful. # # lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- -------- ------ --------- ------ ---------- c0d0s0 yes yes yes no - new yes no no yes - # lufslist -n new boot environment name: new Filesystem fstype device size Mounted on Mount Options ----------------------- -------- ------------ ------------------- -------------- /dev/dsk/c0d0s1 swap 542868480 - - /dev/dsk/c0d1s0 ufs 5371107840 / - # the mount of the BE "new" failed # lumount new ERROR: unable to mount zones: zoneadm: zone 'test1': can't stat /.alt.new/zones/test1/root: No such file or directory zoneadm: zone 'test1': call to zoneadmd failed ERROR: unable to mount zone <test1> in </.alt.new> ERROR: unmounting partially mounted boot environment file systems ERROR: umount: warning: /dev/dsk/c0d1s0 not in mnttab umount: /dev/dsk/c0d1s0 not mounted ERROR: cannot unmount </dev/dsk/c0d1s0> ERROR: cannot mount boot environment by name <new> # This message posted from opensolaris.org
