Hello,
I have been looking for a solution for creating a vmware datastore,
I've found some EE topics
(like this
http://www.experts-exchange.com/Software/VMWare/Q_23428667.html?sfQueryTermInfo=1+creat+datastor+esx+vmkfstool) but no luck.
Then I followed this topic:
http://communities.vmware.com/thread/61570[root@ROOTSERVER3 root]# fdisk -l
Disk /dev/sda: 145.4 GB, 145492017152 bytes
255 heads, 63 sectors/track, 17688 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 650 5116702+ 83 Linux
/dev/sda3 651 17352 134158815 fb Unknown
/dev/sda4 17353 17688 2698920 f Win95 Ext'd (LBA)
/dev/sda5 17676 17688 104391 fc Unknown
/dev/sda6 17353 17421 554179+ 82 Linux swap
/dev/sda7 17422 17675 2040223+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 249.3 GB, 249376538624 bytes
255 heads, 63 sectors/track, 30318 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30318 243529303+ 83 Linux
[root@ROOTSERVER3 root]# esxcfg-vmhbadevs -a
vmhba1:0:0 /dev/sda
vmhba1:1:0 /dev/sdb
[root@ROOTSERVER3 root]# vmkfstools -C vmfs3 -S "sda3" vmhba1:0:0
Creating vmfs3 file system on "vmhba1:0:0" with blockSize 1048576 and volume label "sda3".
Usage: vmkfstools -C vmfs3 /vmfs/devices/disks/vmhbaW
:X:Y:Z
Error: Invalid handle
Is this the right command: vmkfstools -C vmfs3 -S vmhba1:0:0:3 ? (I want to be sure first)
Thanks in advance
Start Free Trial