Advertisement

06.09.2008 at 06:30AM PDT, ID: 23468925
[x]
Attachment Details

Creating Datastore partition

Asked by gregorybe in VMware

Tags: Vmware, ESX, 3.5

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 advanceStart Free Trial
[+][-]06.09.2008 at 07:00AM PDT, ID: 21743210

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 07:32AM PDT, ID: 21743454

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 09:16AM PDT, ID: 21744364

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: VMware
Tags: Vmware, ESX, 3.5
Sign Up Now!
Solution Provided By: bhanukir7
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.09.2008 at 11:58PM PDT, ID: 21748984

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.10.2008 at 11:07AM PDT, ID: 21753509

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628