Oracle® JRockit Virtual Edition User's Guide Release 2.0.0 Part Number E22518-01 |
|
|
View PDF |
The file system within a virtual machine that was created by using Oracle JRockit Virtual Edition is similar to that in most UNIX-like operating systems. It consists of a single root (/
) directory.
The virtual disk (of the size defined in the configuration file) is mounted in the root directory. It contains the following files and directories.
/jrockitve
: This directory contains the Oracle JRockit JVM files, configuration files for the virtual machine, and files that provide the required kernel capabilities for Oracle JRockit Virtual Edition.
The Java application files.
The file structure of the Java application within the virtual machine file system matches the structures of the directories specified in the <jrockitve-filesystem-imports>
element of the configuration file.
VERSION
: This file contains the release numbers of the components of Oracle JRockit Virtual Edition.
You can access the file system within a running virtual machine by using SSH protocol-based clients (SCP and SFTP). For more information, see Chapter 5, "Accessing the File System of a Running Virtual Machine by Using the SSH Protocol."
When a virtual machine is not running, you can access the file system by using the -f (--file) option of the Image Tool.
External clients and processes cannot access the local file system within a virtual machine when the virtual machine is running. They can, however, access shared file storage locations (such as an NFS location) that are defined by using the -r
vm_cfg
add mount
operation of the Image Tool. For more information, see -r (--reconfigure) in Appendix A, "Image Tool Command-Line Option Reference." Before assembling a virtual machine image, you can define NFS locations by using the configuration file. For more information, see the description of mount element in Appendix B, "Configuration File Element Reference."
Notes:
Oracle JRockit Virtual Edition supports NFS Version 3 only.
You can set the virtual machine as an NFS client, not as an NFS server. Therefore, you cannot export a file system.
Oracle JRockit Virtual Edition supports accessing NFS servers through the UDP transport protocol. The current version does not support access through TCP.