Difference between revisions of "Vnx-install-root fs"
(→Downloading instructions) |
(→Downloading instructions) |
||
Line 18: | Line 18: | ||
<li>Use '-r <rootfsfilename>' if you want to download a specific root filesystem in no interactive way.</li> | <li>Use '-r <rootfsfilename>' if you want to download a specific root filesystem in no interactive way.</li> | ||
</ul> | </ul> | ||
− | <li>Use the commands listed in next subsection for each root filesystem (the creation of the symbolic link at the end is optional | + | <li>Use the commands listed in next subsection for each root filesystem (the creation of the symbolic link at the end is optional).</li> |
</ul> | </ul> | ||
Revision as of 18:18, 23 May 2012
Downloading VNX root filesystems
You can download VNX preconfigured root filesystems from VNX repository at http://vnx.dit.upm.es/vnx/filesystems.
All root filesystems but Fedora and CentOS ones have a "root" and a "vnx" account with password "xxxx". Fedora and CentOS systems have password "xxxxxx" (a minimum of six chars are needed in this case).
Contents
[hide]Downloading instructions
You can use two methods to download and install VNX root filesystems:
- Use the vnx_download_rootfs tools distributed with VNX:
- Type:
cd /usr/share/vnx/filesystems /usr/share/vnx/bin/vnx_download_rootfs
VERY IMPORTANT: root filesystems are not updated any time VNX version changes. So, after download and install a rootfs, it is highly recomended to update the VNXACE daemon following the procedure described here.
KVM root fylesystems available
- Ubuntu:
- Ubuntu 12.04 (v024):
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-12.04-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-12.04-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-12.04-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-12.04-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-12.04-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-12.04-gui-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-11.04-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-11.04-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-11.04-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-11.04-gui-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-10.10-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-10.10-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-10.10-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-10.10-gui-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-10.04-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-10.04-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-10.04-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-10.04-gui-v024.qcow2 rootfs_ubuntu
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-9.10-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_ubuntu-9.10-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_ubuntu-9.10-v024.qcow2 rootfs_ubuntu
- Fedora 16 (v024):
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-16-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-16-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-16-v024.qcow2 rootfs_fedora
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-16-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-16-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-16-gui-v024.qcow2 rootfs_fedora
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-14-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-14-v024.qcow2 rootfs_fedora
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-gui-v024.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-14-gui-v024.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-14-gui-v024.qcow2 rootfs_fedora
- Freebsd 8.2 (v022):
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-8.2-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_freebsd-8.2-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_freebsd-8.2-v022.qcow2 rootfs_freebsd
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-8.2-gui-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_freebsd-8.2-gui-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_freebsd-8.2-gui-v022.qcow2 rootfs_freebsd-gui
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-7.4-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_freebsd-7.4-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_freebsd-7.4-v022.qcow2 rootfs_freebsd
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-7.4-gui-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_freebsd-7.4-gui-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_freebsd-7.4-gui-v022.qcow2 rootfs_freebsd-gui
- Fedora 14 (v022):
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-14-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-14-v022.qcow2 rootfs_fedora
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-gui-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_fedora-14-gui-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_fedora-14-gui-v022.qcow2 rootfs_fedora-gui
- Centos 5.6 (v022):
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_centos-5.6-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_centos-5.6-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_centos-5.6-v022.qcow2 rootfs_centos
cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_centos-5.6-gui-v022.qcow2.bz2 bunzip2 vnx_rootfs_kvm_centos-5.6-gui-v022.qcow2.bz2 ln -s vnx_rootfs_kvm_centos-5.6-gui-v022.qcow2 rootfs_centos-gui
- For legal reasons we cannot distribute any of these root filesystems. See VNX documentation for detailed recipes to create or use these type of root fylesystems.
UML root filesystems
If you plan to use the old UML root filesystems created for VNUML, you have to download the rootfs itself:
# VNUML vnx_rootfs_kvm_tutorial and kernel cd /usr/share/vnx/filesystems wget -N http://vnx.dit.upm.es/download/vnx/filesystems/vnx_rootfs_uml-debian-6.0-v022.bz2 bunzip2 vnx_rootfs_uml-debian-6.0-v022.bz2 ln -s vnx_rootfs_uml-debian-6.0-v022 rootfs_tutorial wget -N http://vnx.dit.upm.es/download/vnx/filesystems/vnx_rootfs_uml-n3vlr-0.11-v022.img.bz2 bunzip2 vnx_rootfs_uml-n3vlr-0.11-v022.img.bz2 ln -s vnx_rootfs_uml-n3vlr-0.11-v022.img rootfs_light
And the associated kernel:
cd /usr/share/vnx/kernels wget -N http://jungla.dit.upm.es/~vnx/download/kernels/linux-2.6.18.1-bb2-xt-4m chmod +x linux-2.6.18.1-bb2-xt-4m ln -s linux-2.6.18.1-bb2-xt-4m linux
Naming convention
Root filesystems names follow this format:
vnx_rootfs_<virtplatform>_<osname>-<osversion>-[gui-]<rootfsversion>.<ext>
being:
- <virtplatform>: the virtualization platform the root filesystem was created for (kvm, uml, etc).
- <osname>: the name of the operating system (or distribution in the case of Linux). Ej: ubuntu, freebsd, win7, etc.
- <osversion>: the version of the OS.
- gui: included if the root filesystem has a graphical user interface
- <rootfsversion>: the version of the rootfs itself.
- <ext>: the extension of the image. For example: qcow2.
Example:
- vnx_rootfs_kvm-ubuntu-11.04-v022.qcow2 is a VNX root filesystem created with KVM, with an Ubuntu 11.04 without gui installed. The version of the rootfs is v022 and the format is qcow2.