Using VxFS as a shared file system

VxFS is also supported as "namefs" in the WPAR, so a VxFS file system can also be shared between the global environment and WPARs.

To use VxFS as a shared file system

  1. Mount vxfs on some directory in the global environment.
    # mount -V vxfs /dev/vx/dsk/testdg/vol1 /mnt
  2. Mount that directory in /wpar/ wpar1/vxfs_dir.
    # mount /mnt /wpars/wpar1/vxfs_dir/
  3. Start the WPAR.
    # startwpar -Dv wpar1 2>/wpar1_tl2
  4. Login to the WPAR.
    # clogin wpar1
  5. After login to wpar1, /vxfs_dir will appear as namefs.
    # mount
    node 		mounted mounted over vfs 		date 		      options
    ----- 	-------------------- -----	------------ -------------
           Global	/ 		         jfs2 		Jun 23 03:30 rw,log=INLINE
           Global	/home 	      jfs2 		Jun 23 03:30 rw,log=INLINE
           Global	/opt 		      namefs Jun 23 03:30 ro
           Global	/proc 	      namefs Jun 23 03:30 rw
           Global	/tmp 		      jfs2 		Jun 23 03:30 rw,log=INLINE
    		     Global	/usr 		      namefs Jun 23 03:30 ro
    		     Global	/var 		      jfs2 		Jun 23 03:30 rw,log=INLINE
           Global	/vxfs_dir 	  namefs Jun 23 03:29 rw