[root@olga lamw]# vmware-vim-cmd hostsvc/summary/fsvolume
Name Type SubType Path Device Capacity Mode
dlgCore-FC-LUN200.Templates VmfsVolume VMFS /vmfs/volumes/48e1cd81-81223593-6cd8-00215acaa2b2 vmhba1:0:200:1 133949292544 readWrite
dlgCore-FC-LUN202.VMstorage2 VmfsVolume VMFS /vmfs/volumes/48e1a4a6-3b55e69b-02a9-001f29c948e2 vmhba1:0:202:1 162940321792 readWrite
olga-local-SAS.Storage VmfsVolume VMFS /vmfs/volumes/49167992-ac31f0a5-3f9f-001f29c7a04c vmhba0:0:0:5 274072600576 readWrite
dlgCore-FC-LUN203.VMstorage3 VmfsVolume VMFS /vmfs/volumes/48e16ed0-420158d5-5601-00215acaa2b2 vmhba1:0:203:1 164014063616 readWrite
dlgCore-FC-LUN201.VMstorage1 VmfsVolume VMFS /vmfs/volumes/48e1b819-3443974c-03c4-001f29c948e2 vmhba1:0:201:1 161866579968 readWrite
[root@olga lamw]# vdf -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 7.9G 1.2G 6.3G 16% /
/dev/cciss/c0d0p1 244M 27M 204M 12% /boot
/dev/cciss/c0d0p7 2.0G 33M 1.9G 2% /home
none 391M 0 391M 0% /dev/shm
/dev/cciss/c0d0p8 2.0G 33M 1.9G 2% /tmp
/dev/cciss/c0d0p6 4.0G 289M 3.5G 8% /var
/vmfs/devices 273G 0 273G 0% /vmfs/devices
/vmfs/volumes/48e16ed0-420158d5-5601-00215acaa2b2
152G 108G 44G 70% /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
/vmfs/volumes/48e1a4a6-3b55e69b-02a9-001f29c948e2
151G 105G 46G 69% /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
/vmfs/volumes/48e1b819-3443974c-03c4-001f29c948e2
150G 126G 24G 84% /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
/vmfs/volumes/48e1cd81-81223593-6cd8-00215acaa2b2
124G 71G 53G 57% /vmfs/volumes/dlgCore-FC-LUN200.Templates
/vmfs/volumes/49167992-ac31f0a5-3f9f-001f29c7a04c
255G 1.3G 253G 0% /vmfs/volumes/olga-local-SAS.Storage
######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
# duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################
Requested parameters:
Master Virtual Machine Image: /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx
Requested Number of Linked Clones: 32 VMs
Initial Master Memory: 2048 MB
Initial Master VMDK Size: 10 GB
Expected Storage Consumption: 84 GB
Please verify that there is enough storage space for the requested configuration before running
Would you like to continue with these parameters y/n?
y
Generating Linked Clones ...
59% Complete! - Linked Clones Created: 19/32
Generating Linked Clones ...
100% Complete! - Linked Clones Created: 32/32
Waiting for Virtual Machine(s) to obtain their MAC addresses...
Linked clones VM MAC addresses stored at:
lcs_created_on-2008-12-09-210343/UCSB-GAUCHOS
Start time: Tue Dec 9 21:00:06 PST 2008
End time: Tue Dec 9 21:03:40 PST 2008
Duration : 3.57 Minutes
#FREE SPACE DATASTORE(S)
1) 44G /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
2) 44G /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
3) 24G /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
4) 53G /vmfs/volumes/dlgCore-FC-LUN200.Templates
5) 253G /vmfs/volumes/olga-local-SAS.Storage
6) Quit
Please select datastore(s) to be used: (e.g. 1,2,3):
4,5
######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
# duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################
Requested parameters:
Master Virtual Machine Image: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-RESNET/UCSB-RESNET.vmx
Requested Number of Linked Clones: 64 VMs
Initial Master Memory: 2048 MB
Initial Master VMDK Size: 10 GB
Expected Storage Consumption: 167 GB
Please verify that there is enough storage space for the requested configuration before running
Distributed Write I/O Scheme selected. Linked clones will be evenly distributed across the following datastore(s):
/vmfs/volumes/dlgCore-FC-LUN200.Templates
/vmfs/volumes/olga-local-SAS.Storage
Would you like to continue with these parameters y/n?
y
Generating Linked Clones ...
100% Complete! - Linked Clones Created: 64/64
Waiting for Virtual Machine(s) to obtain their MAC Addresses...
Linked clones VM MAC addresses stored at:
lcs_created_on-2008-12-09-211724/UCSB-RESNET
Start time: Tue Dec 9 21:12:43 PST 2008
End time: Tue Dec 9 21:17:19 PST 2008
Duration : 4.60 Minutes


#FREE SPACE DATASTORE(S)
1) 44G /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
2) 43G /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
3) 24G /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
4) 53G /vmfs/volumes/dlgCore-FC-LUN200.Templates
5) 253G /vmfs/volumes/olga-local-SAS.Storage
6) Quit
Please select datastore(s) to be used: (e.g. 1,2,3):
1,2
######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
# duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################
Requested parameters:
Master Virtual Machine Image: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-ENGINEERING/UCSB-ENGINEERING.vmx
Naming convention for Linked-Cloned Master Virtual Machine: MASTER-LinkedClones-{1-2}
Naming convention for Linked-Cloned Virtual Machines: LinkedClones-{1-128}
Looking to create: 2 Master VMs
Requested Number of Linked Clones: 128 VMs
Initial Master Memory: 2048 MB
Initial Master VMDK Size: 10 GB
Expected Storage Consumption: 353 GB
Please verify that there is enough storage space for the requested configuration before running
Distributed Read & Write I/O Scheme selected. Operation will duplicate master image and evenly generate
linked clones from these dupulicated images across the specified datastore(s):
/vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
/vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
Distribution of Linked Clones per datastore: 64
MASTER-LinkedClones-1 will be stored on:
/vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
The following VMs will be linked to "MASTER-LinkedClones-1" under this datastore:
LinkedClones-{1-64}
MASTER-LinkedClones-2 will be stored on:
/vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
The following VMs will be linked to "MASTER-LinkedClones-2" under this datastore:
LinkedClones-{65-128}
Would you like to continue with these parameters y/n?
y
Creating MASTER-LinkedClones-1 on: /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
Creating MASTER-LinkedClones-2 on: /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
Initiating vmkfstools copy ...
Initiating vmkfstools copy ...
0% Complete! - Linked Clones Created: 0/128
Registering newly created MASTER-LinkedClones-1 ...
Registering newly created MASTER-LinkedClones-2 ...
2% Complete! - Linked Clones Created: 3/128
100% Complete! - Linked Clones Created: 128/128
Waiting for Virtual Machine(s) to obtain their MAC addresses...
Linked clones VM MAC addresses stored at:
lcs_created_on-2008-12-09-214627/MASTER-LinkedClones-1
lcs_created_on-2008-12-09-214627/MASTER-LinkedClones-2
Start time: Tue Dec 9 21:36:49 PST 2008
End time: Tue Dec 9 21:46:22 PST 2008
Duration : 9.55 Minutes


./ghetto-esx-linked-clones.sh /vmfs/volumes/4857f047-4e4ec6bf-a8b8-001b78361a3c/VM-MasterImage/VM-MasterImage.vmx LinkedClone- 1 200
./ghetto-esx-linked-clones.sh vmfs/volumes/himalaya-local-SATA.Storage/VM-MasterImage/VM-MasterImage.vmx LinkedClone- 1 200
There are no comments on this document