Difference between revisions of "Vnx-install-root fs"

From VNX
Jump to: navigation, search
(UML root filesystems)
Line 17: Line 17:
 
* '''<ext>''': the extension of the image. For example: qcow2.
 
* '''<ext>''': the extension of the image. For example: qcow2.
 
Example:
 
Example:
* '''vnx_rootfs_kvm-ubuntu-11.04-v021.qcow2''' is a VNX root filesystem created with KVM, with an Ubuntu 11.04 without gui installed. The version of the rootfs is v021 and the format is qcow2.
+
* '''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.
  
 
=== Downloading instructions ===
 
=== Downloading instructions ===
Line 27: Line 27:
 
<li>'''Ubuntu:'''</li>
 
<li>'''Ubuntu:'''</li>
 
<ul>
 
<ul>
<li>'''Ubuntu 11.04 (v021):'''</li>
+
<li>'''Ubuntu 11.04 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-11.04-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-11.04-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-11.04-v021.qcow2 rootfs_ubuntu
+
  ln -s vnx_rootfs_kvm_ubuntu-11.04-v022.qcow2 rootfs_ubuntu
<li>'''Ubuntu 11.04 with GUI (v021):'''</li>
+
<li>'''Ubuntu 11.04 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-gui-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-11.04-gui-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-11.04-gui-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-11.04-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-11.04-gui-v021.qcow2 rootfs_ubuntu-gui
+
  ln -s vnx_rootfs_kvm_ubuntu-11.04-gui-v022.qcow2 rootfs_ubuntu-gui
<li>'''Ubuntu 10.10 (v021):'''</li>
+
<li>'''Ubuntu 10.10 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-10.10-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-10.10-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-10.10-v021.qcow2 rootfs_ubuntu
+
  ln -s vnx_rootfs_kvm_ubuntu-10.10-v022.qcow2 rootfs_ubuntu
<li>'''Ubuntu 10.10 with GUI (v021):'''</li>
+
<li>'''Ubuntu 10.10 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-gui-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.10-gui-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-10.10-gui-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-10.10-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-10.10-gui-v021.qcow2 rootfs_ubuntu-gui
+
  ln -s vnx_rootfs_kvm_ubuntu-10.10-gui-v022.qcow2 rootfs_ubuntu-gui
<li>'''Ubuntu 10.04 (v021):'''</li>
+
<li>'''Ubuntu 10.04 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-10.04-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-10.04-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-10.04-v021.qcow2 rootfs_ubuntu
+
  ln -s vnx_rootfs_kvm_ubuntu-10.04-v022.qcow2 rootfs_ubuntu
<li>'''Ubuntu 10.04 with GUI (v021):'''</li>
+
<li>'''Ubuntu 10.04 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-gui-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-10.04-gui-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-10.04-gui-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-10.04-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-10.04-gui-v021.qcow2 rootfs_ubuntu-gui
+
  ln -s vnx_rootfs_kvm_ubuntu-10.04-gui-v022.qcow2 rootfs_ubuntu-gui
<li>'''Ubuntu 9.10 (v021):'''</li>
+
<li>'''Ubuntu 9.10 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-9.10-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_ubuntu-9.10-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_ubuntu-9.10-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_ubuntu-9.10-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_ubuntu-9.10-v021.qcow2 rootfs_ubuntu
+
  ln -s vnx_rootfs_kvm_ubuntu-9.10-v022.qcow2 rootfs_ubuntu
 
</ul>
 
</ul>
  
 
<li>'''Freebsd:'''</li>
 
<li>'''Freebsd:'''</li>
 
<ul>
 
<ul>
<li>'''Freebsd 8.2 (v021):'''</li>
+
<li>'''Freebsd 8.2 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-8.2-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_freebsd-8.2-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_freebsd-8.2-v021.qcow2 rootfs_freebsd
+
  ln -s vnx_rootfs_kvm_freebsd-8.2-v022.qcow2 rootfs_freebsd
<li>'''Freebsd 8.2 with GUI (v021):'''</li>
+
<li>'''Freebsd 8.2 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-8.2-gui-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_freebsd-8.2-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_freebsd-8.2-gui-v021.qcow2 rootfs_freebsd-gui
+
  ln -s vnx_rootfs_kvm_freebsd-8.2-gui-v022.qcow2 rootfs_freebsd-gui
<li>'''Freebsd 7.4 (v021):'''</li>
+
<li>'''Freebsd 7.4 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-7.4-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_freebsd-7.4-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_freebsd-7.4-v021.qcow2 rootfs_freebsd
+
  ln -s vnx_rootfs_kvm_freebsd-7.4-v022.qcow2 rootfs_freebsd
<li>'''Freebsd 7.4 with GUI (v021):'''</li>
+
<li>'''Freebsd 7.4 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_freebsd-7.4-gui-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_freebsd-7.4-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_freebsd-7.4-gui-v021.qcow2 rootfs_freebsd-gui
+
  ln -s vnx_rootfs_kvm_freebsd-7.4-gui-v022.qcow2 rootfs_freebsd-gui
 
</ul>
 
</ul>
  
 
<li>'''Fedora:'''</li>
 
<li>'''Fedora:'''</li>
 
<ul>
 
<ul>
<li>'''Fedora 14 (v021):'''</li>
+
<li>'''Fedora 14 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-v021.qcow2.bz2
+
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-v022.qcow2.bz2
  bunzip2 vnx_rootfs_kvm_fedora-14-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_fedora-14-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_fedora-14-v021.qcow2 rootfs_fedora
+
  ln -s vnx_rootfs_kvm_fedora-14-v022.qcow2 rootfs_fedora
<li>'''Fedora 14 with GUI (v021):'''</li>
+
<li>'''Fedora 14 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_fedora-14-gui-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_fedora-14-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_fedora-14-gui-v021.qcow2 rootfs_fedora-gui
+
  ln -s vnx_rootfs_kvm_fedora-14-gui-v022.qcow2 rootfs_fedora-gui
 
</ul>
 
</ul>
  
 
<li>'''CentOS:'''</li>
 
<li>'''CentOS:'''</li>
 
<ul>
 
<ul>
<li>'''Centos 5.6 (v021):'''</li>
+
<li>'''Centos 5.6 (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_centos-5.6-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_centos-5.6-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_centos-5.6-v021.qcow2 rootfs_centos
+
  ln -s vnx_rootfs_kvm_centos-5.6-v022.qcow2 rootfs_centos
<li>'''Centos 5.6 with GUI (v021):'''</li>
+
<li>'''Centos 5.6 with GUI (v022):'''</li>
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/vnx/filesystems/vnx_rootfs_kvm_centos-5.6-gui-v021.qcow2.bz2
+
  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-v021.qcow2.bz2
+
  bunzip2 vnx_rootfs_kvm_centos-5.6-gui-v022.qcow2.bz2
  ln -s vnx_rootfs_kvm_centos-5.6-gui-v021.qcow2 rootfs_centos-gui
+
  ln -s vnx_rootfs_kvm_centos-5.6-gui-v022.qcow2 rootfs_centos-gui
 
</ul>
 
</ul>
  
Line 127: Line 127:
 
  # VNUML vnx_rootfs_kvm_tutorial and kernel
 
  # VNUML vnx_rootfs_kvm_tutorial and kernel
 
  cd /usr/share/vnx/filesystems
 
  cd /usr/share/vnx/filesystems
  wget -N http://vnx.dit.upm.es/download/vnx/filesystems/vnx_rootfs_uml-debian-6.0-v021.bz2
+
  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-v021.bz2
+
  bunzip2 vnx_rootfs_uml-debian-6.0-v022.bz2
  ln -s vnx_rootfs_uml-debian-6.0-v021 rootfs_tutorial
+
  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-v021.img.bz2
+
  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-v021.img.bz2
+
  bunzip2 vnx_rootfs_uml-n3vlr-0.11-v022.img.bz2
  ln -s vnx_rootfs_uml-n3vlr-0.11-v021.img rootfs_light
+
  ln -s vnx_rootfs_uml-n3vlr-0.11-v022.img rootfs_light
  
 
And the associated kernel:
 
And the associated kernel:

Revision as of 08:28, 19 October 2011

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".

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.

Downloading instructions

Use the following commands to download them and install (the creation of the symbolic link at the end is optional; create it if you want a rootfs to be the default filesystem to be used by the example scenarios):

KVM 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