Difference between revisions of "Vnx-modify-rootfs"
(→Start a virtusl machine in direct mode) |
|||
Line 7: | Line 7: | ||
− | == Start a | + | == Start a virtual machine in direct mode == |
+ | |||
+ | To start a virtual machine directly mounting a rootfs and having Internet connection, you can use vnx command with the following parameters: | ||
+ | vnx --modify_rootfs <rootfs_name> | ||
+ | being <rootfs_name> the rootfs filename. | ||
<ul> | <ul> | ||
− | <li> | + | <li></li> |
<ul> | <ul> | ||
− | <li>Using | + | <li>Using |
− | |||
− | |||
<li>Creating a libvirt XML virtual machine definition (see examples in /usr/share/vnx/examples directory) and starting it using virsh:</li> | <li>Creating a libvirt XML virtual machine definition (see examples in /usr/share/vnx/examples directory) and starting it using virsh:</li> | ||
virsh create rootfs_XXX.xml | virsh create rootfs_XXX.xml |
Revision as of 02:01, 30 June 2013
Updating or modifying a VNX root filesystem
In order to update or modify a VNX root filesystem (rootfs from now on), you have two possible methods:
Mount the root filesystem from the host
Start a virtual machine in direct mode
To start a virtual machine directly mounting a rootfs and having Internet connection, you can use vnx command with the following parameters:
vnx --modify_rootfs <rootfs_name>
being <rootfs_name> the rootfs filename.
- Using
- Creating a libvirt XML virtual machine definition (see examples in /usr/share/vnx/examples directory) and starting it using virsh:
virsh create rootfs_XXX.xml
and manually opening the console using:
virt-viewer <vmname>
being <vmname> the name assigned by libvirt to the virtual machine (you can get it with "virsh list" command).
Updating VNXACE daemon
If you have a rootfs with the autoconfiguration and command execution daemon (ACE) already installed, you can use the autoupdate functionality to update the daemon to a newer version. Just follow this procedure:
Linux and FreeBSD
- Start the virtual machine with the following command line options:
vnx --modify-rootfs <rootfs_name> --update-aced -y
being <rootfs_name> the rootfs filename. This command will try to update the VNXACE daemon to the latest version automatically (-y option).
- Mounting the update disk:
mount /dev/sdb /mnt # For Linux mount -t msdosfs /dev/ad1 /mnt # For FreeBSD
perl /mnt/vnxaced-lf/install_vnxaced
Windows
To be completed
Olive
To be completed