ONTAP Discussions
ONTAP Discussions
I've just installed vSim 9.10.1 and, having expanded the root volume to 5GB by adding 5 disks to it, would like to delete any unused disks and replace them with 9GB ones.
So I'm trying to get my head around how the simulator works with disks - both virtually, and with the 4 "drives" that VMWare is giving it.
i) Why is VMWare configured to give the vSim 4 disks? Are these related to the "shelves"?
ii) What is the relationship between the disks as shown by the storage disk show command:
Usable Disk Container Container
Disk Size Shelf Bay Type Type Name Owner
---------------- ---------- ----- --- ------- ----------- --------- --------
NET-1.1 - - 16 FCAL unassigned - -
NET-1.2 - - 17 FCAL unassigned - -
NET-1.3 - - 18 FCAL unassigned - -
NET-1.4 - - 19 FCAL unassigned - -
NET-1.5 - - 20 FCAL unassigned - -
NET-1.6 - - 21 FCAL unassigned - -
NET-1.7 - - 22 FCAL unassigned - -
NET-1.8 - - 24 FCAL unassigned - -
NET-1.9 - - 25 FCAL unassigned - -
NET-1.10 - - 26 FCAL unassigned - -
NET-1.11 - - 27 FCAL unassigned - -
NET-1.12 - - 28 FCAL unassigned - -
NET-1.13 - - 29 FCAL unassigned - -
NET-1.14 1.97GB - 16 FCAL broken - NetApp_9-10-01
NET-1.15 1.97GB - 17 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.16 1.97GB - 18 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.17 1020MB - 19 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.18 1020MB - 20 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.19 1020MB - 21 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.20 1020MB - 22 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.21 1020MB - 24 FCAL aggregate aggr0_NetApp_9_10_01
NetApp_9-10-01
NET-1.22 - - 25 FCAL unassigned - -
NET-1.23 - - 26 FCAL unassigned - -
NET-1.24 - - 27 FCAL unassigned - -
NET-1.25 - - 32 FCAL unassigned - -
NET-1.26 - - 28 FCAL unassigned - -
NET-1.27 - - 29 FCAL unassigned - -
NET-1.28 - - 32 FCAL unassigned - -
28 entries were displayed.
and doing an ls -al of the /sim/dev/,disks directory:
total 9439632
-rwxr-xr-x 1 root wheel 912 Sep 20 18:07 ,reservations
drwxr-xr-x 2 root wheel 2048 Sep 20 18:07 .
drwxr-xr-x 4 root wheel 512 Sep 20 18:07 ..
-rw-r--r-- 1 root wheel 1372 Sep 20 18:07 Shelf:DiskShelf14
-rw-r--r-- 1 root wheel 2159272960 Sep 21 16:11 v0.16:NETAPP__:VD-2000MB-FZ-520:13513500:4152448
-rw-r--r-- 1 root wheel 2159272960 Sep 21 16:29 v0.17:NETAPP__:VD-2000MB-FZ-520:13513501:4152448
-rw-r--r-- 1 root wheel 2159272960 Sep 21 16:29 v0.18:NETAPP__:VD-2000MB-FZ-520:13513502:4152448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 16:29 v0.19:NETAPP__:VD-1000MB-FZ-520:14143503:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 16:29 v0.20:NETAPP__:VD-1000MB-FZ-520:14143504:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 16:29 v0.21:NETAPP__:VD-1000MB-FZ-520:14143505:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 16:29 v0.22:NETAPP__:VD-1000MB-FZ-520:14143506:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 16:29 v0.24:NETAPP__:VD-1000MB-FZ-520:14143507:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:08 v0.25:NETAPP__:VD-1000MB-FZ-520:14143508:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:10 v0.26:NETAPP__:VD-1000MB-FZ-520:14143509:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:10 v0.27:NETAPP__:VD-1000MB-FZ-520:14143510:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:10 v0.28:NETAPP__:VD-1000MB-FZ-520:14143511:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:10 v0.29:NETAPP__:VD-1000MB-FZ-520:14143512:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 21 14:10 v0.32:NETAPP__:VD-1000MB-FZ-520:14143513:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.16:NETAPP__:VD-1000MB-FZ-520:16413500:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.17:NETAPP__:VD-1000MB-FZ-520:16413501:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.18:NETAPP__:VD-1000MB-FZ-520:16413502:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.19:NETAPP__:VD-1000MB-FZ-520:16413503:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.20:NETAPP__:VD-1000MB-FZ-520:16413504:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.21:NETAPP__:VD-1000MB-FZ-520:16413505:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.22:NETAPP__:VD-1000MB-FZ-520:16413506:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.24:NETAPP__:VD-1000MB-FZ-520:16413507:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.25:NETAPP__:VD-1000MB-FZ-520:16413508:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.26:NETAPP__:VD-1000MB-FZ-520:16413509:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.27:NETAPP__:VD-1000MB-FZ-520:16413510:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.28:NETAPP__:VD-1000MB-FZ-520:16413511:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.29:NETAPP__:VD-1000MB-FZ-520:16413512:2104448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.32:NETAPP__:VD-1000MB-FZ-520:16413513:2104448
How do I delete the unwanted disks so I can create new, larger ones?
Solved! See The Solution
Simulate_ONTAP_9.10.1_Installation_and_Setup_Guide.pdf in the simulator download page, covers some of the info you are looking for.
In short -The simulator image comes pre-configured with 28 x 1 GB disks; 14 each on simulated disk shelves 0 and 1. Simulated disk shelves 2 and 3 are not populated. You can configure up to a maximum of 220 GB total space for each Simulate ONTAP node.
You can add/populate 2 more shelf x 14 Disks to your Simulator in order to expand the root aggr0, and/or for creating data aggregate with desired 9GB disk.
i) Why is VMWare configured to give the vSim 4 disks? Are these related to the "shelves"?
Yes.
ii) What is the relationship between the disks as shown by the storage disk show command:
storage disk show = shows pre-assigned/populated disks which correspond to shelf 0 & 1
ls -al of the /sim/dev/,disks = available disk types that you could utilise for populating shelf 2 & 3 (maximum of 9 GB per simulated disk drive)
Simulate_ONTAP_9.10.1_Installation_and_Setup_Guide.pdf in the simulator download page, covers some of the info you are looking for.
In short -The simulator image comes pre-configured with 28 x 1 GB disks; 14 each on simulated disk shelves 0 and 1. Simulated disk shelves 2 and 3 are not populated. You can configure up to a maximum of 220 GB total space for each Simulate ONTAP node.
You can add/populate 2 more shelf x 14 Disks to your Simulator in order to expand the root aggr0, and/or for creating data aggregate with desired 9GB disk.
i) Why is VMWare configured to give the vSim 4 disks? Are these related to the "shelves"?
Yes.
ii) What is the relationship between the disks as shown by the storage disk show command:
storage disk show = shows pre-assigned/populated disks which correspond to shelf 0 & 1
ls -al of the /sim/dev/,disks = available disk types that you could utilise for populating shelf 2 & 3 (maximum of 9 GB per simulated disk drive)
Thanks. Couple more questions!
i) With regards to the VMWare disks and the shelves, are these a one-to-one mapping? ie, does Ontap shelf 0 correspond to the VMWare first disk, Ontap shelf 1 to VMWare 2nd disk, etc?
ii) WRT "pre-assigned/populated disks" such as:
NET-1.13 - - 29 FCAL unassigned - -
NET-1.14 1.97GB - 16 FCAL broken - NetApp_9-10-01
and the listings in /sim/dev/,disks such as:
-rw-r--r-- 1 root wheel 2159272960 Sep 21 16:11 v0.16:NETAPP__:VD-2000MB-FZ-520:13513500:4152448
-rw-r--r-- 1 root wheel 1094312960 Sep 20 18:07 v1.16:NETAPP__:VD-1000MB-FZ-520:16413500:2104448
is there a way to know what corresponds to what? There are 28 of "VOL1-nn" entries (where "nn" is sequential 1 through 28) whereas the v0.nn and v1.nn entries seem kinda random; they start at 16 and there are no 23, 29-31 entries for example. Are some not being listed by ls -al for some reason?
What I'd like to do is remove the unused disks and recreate them using larger disk types so I can have more storage space, but I can't see how to determine which of the v0.nn & v1.nn entries aren't being used.
Check out posts from Sean Hatfield here - About SeanHatfield - NetApp Community
He is the vSim master.