tstVDIo.vd revision 6334484843d504beb16631b2a5fcd01e50b88b9b
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# $Id$
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync#
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# Storage: Simple I/O testing for most backends.
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync#
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync#
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# Copyright (C) 2011 Oracle Corporation
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync#
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# available from http://www.virtualbox.org. This file is free software;
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# you can redistribute it and/or modify it under the terms of the GNU
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# General Public License (GPL) as published by the Free Software
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync#
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# Init I/O RNG for generating random data for writes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynciorngcreate size=10M mode=manual seed=1234567890
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# VMDK disk
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncprint msg=Testing_VMDK
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreatedisk name=test verify=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=base name=tstShared.vmdk type=dynamic backend=VMDK size=200M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared2.vmdk type=dynamic backend=VMDK size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared3.vmdk type=dynamic backend=VMDK size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncdestroydisk name=test
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# VDI disk
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncprint msg=Testing_VDI
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreatedisk name=test verify=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=base name=tstShared.vdi type=dynamic backend=VDI size=200M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared2.vdi type=dynamic backend=VDI size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared3.vdi type=dynamic backend=VDI size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncdestroydisk name=test
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync# VHD disk
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncprint msg=Testing_VHD
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreatedisk name=test verify=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=base name=tstShared.vhd type=dynamic backend=VHD size=200M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=100
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=seq blocksize=64k off=0-200M size=200M writes=0
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared2.vhd type=dynamic backend=VHD size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynccreate disk=test mode=diff name=tstShared3.vhd type=dynamic backend=VHD size=20M
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncio disk=test async=yes max-reqs=32 mode=rnd blocksize=64k off=0-200M size=200M writes=50
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncclose disk=test mode=single delete=yes
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsyncdestroydisk name=test
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsynciorngdestroy
6334484843d504beb16631b2a5fcd01e50b88b9bvboxsync