From 046f0084dcfddf1fd931c1f332fedbea0b4e13a6 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Sun, 11 Jul 2021 16:16:22 -0500 Subject: [PATCH] Update vbox-create-n-attach-disks-SAS90.sh --- ZFS/vbox-create-n-attach-disks-SAS90.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ZFS/vbox-create-n-attach-disks-SAS90.sh b/ZFS/vbox-create-n-attach-disks-SAS90.sh index 56dbcee..4be4846 100644 --- a/ZFS/vbox-create-n-attach-disks-SAS90.sh +++ b/ZFS/vbox-create-n-attach-disks-SAS90.sh @@ -2,16 +2,12 @@ # 2021 Dave Bechtel - for testing ZFS DRAID 2.1.x # create ZFS data disks and attach them to existing VM +# OLD version - use 96 drives instead # REF: http://www.allgoodbits.org/articles/view/54 # REF: https://superuser.com/questions/741734/virtualbox-how-can-i-add-mount-a-iso-image-file-from-command-line vmname=test-zfs-21-Draid -#VBoxManage createvm --name "$vmname" --ostype 'Linux_64' --basefolder "$HOME" --register -#VBoxManage modifyvm "$vmname" --description "NOTE this is just a temp VM used to conveniently register ISOs with vbox media manager - it was created with $0" - -#VBoxManage storagectl $vmname --name IDE --add ide --controller piix3 --portcount 2 --bootable on -#VBoxManage storageattach "$vmname" --storagectl IDE --port 0 --device 0 --type dvddrive --medium emptydrive #"X:\Folder\containing\the.iso" #4,000,797,696 - must be evenly div.by 512 = sector size nd=24 @@ -44,10 +40,6 @@ function mkdiskSAS () { for this in $(seq -w $startd $nd); do echo $PWD/${this} -# "Actual" 2TB - REF: https://www.virtualbox.org/manual/ch08.html#vboxmanage-createmedium -# time VBoxManage createmedium disk --filename $PWD/zfs$this.vdi --sizebyte 2000398934016 - -# "Actual" 4GB - REF: https://www.virtualbox.org/manual/ch08.html#vboxmanage-createmedium time VBoxManage createmedium disk --filename $PWD/zfs-SAS$this.vdi --sizebyte 4000797696 VBoxManage storageattach "$vmname" --storagectl SAS --port $port --device 0 --type hdd --medium $PWD/zfs-SAS$this.vdi