VMware Cloud Community
akkayyakapisett
Enthusiast
Enthusiast

create vmfs datastore on esx 3.5 local scsi disk

hi please need help

can any one tell me how to create vmfs datastore on local

esx 3.5 scsi disk...............

awaiting your answer

Reply
0 Kudos
8 Replies
apatel1
Enthusiast
Enthusiast

You can create a datastore in the VI Client by going to Configuration --> Storage --> Add Storage. Just make sure not to accidentally format any existing partitions.

Hope that helps! Please help me out by marking my response as "helpful" or "correct" if you feel that it was useful!

-Amit

Please help me out by awarding points for a "helpful" or "correct" response if you feel that it was useful! -Amit
akkayyakapisett
Enthusiast
Enthusiast

I formated the esx on doing the above.

so i reinstall the esx 3.5 and it works ...........

Thanks man.......

Reply
0 Kudos
Voen
Contributor
Contributor

Hello,

Any thought as to why local datastore will no longer show up when I click to create a datastore? I used RDP scripted install to install ESX 3.5x host and in the past I was able to create local data stores with no problem. Suddenly, nothing shows up in the Select Disk/LUN screen. Any help would be greatly appreciated!

Reply
0 Kudos
vmmeup
Expert
Expert

Most likely it's your script. When you are creating partitions it's likely that you have one of the partitions growing to fill all available disk space. If this is case change it to a fixed size and then have the script create a vmfs partition that you would set to fill all available space. If you notice below the last parition I set is the vmfs and I set it to grow. If you are using HP hardware make sure you don't use sba and use cciss/c0d0 for your drive.

clearpart --all --initlabel --drives=sda

part /boot --fstype ext3 --size 250 --ondisk=sda

part swap --size 1600 --ondisk=sda

part / --fstype ext3 --size 5120 --ondisk=sda

part /var --fstype ext3 --size 4096 --ondisk=sda

part /tmp --fstype ext3 --size 4096 --ondisk=sda

part /opt --fstype ext3 --size 4096 --ondisk=sda

part /home --fstype ext3 --size 2048 --ondisk=sda

part None --fstype vmkcore --size 100 --ondisk=sda

part None --fstype vmfs3 --size 1 --grow --ondisk=sda

-Sid Smith

http://www.dailyhypervisor.com

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
Voen
Contributor
Contributor

-Sid, Thank you, I was missing the last line for creating that vmfs3 partition. Is there any way to apply this line after the host was already provisioned or do I need to rebuild it again? Not too familiar with Linux syntax, but when i just try to type that last line in the ESX 3.5x console I get "part: command not found". Thanks for you help again!

Reply
0 Kudos
vmmeup
Expert
Expert

No there is not. The last line in the sample I gave is the actual creation of a partition that get's formatted vmfs3. Unless you have free disk space on your drive you can't create the partition and format it.

-Sid

http://www.dailyhypervisor.com

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
Reply
0 Kudos
Voen
Contributor
Contributor

There was about 100G of unpartitioned space. I've run across a post from 2007 from RParker where he outlined step by step instruction on creating a partition and formatting it as vmfs. That's what I did and I got my local data store!!! I figured out what happened...somehow our RDP jobs got moved - the job that I've used on that host was designed for SAN attached hosts in the cluster, thus the last line to create the local vmfs partition was removed from the script on purpose to avoid anyone from putting VMs on a local data store vs. SAN. Again, thanks for your help and the sample script - that's how I found the missing line!

-Voen

Reply
0 Kudos
vmmeup
Expert
Expert

Don't forget to assign correct or helpful answers if you found the information to be useful or correct. Smiley Wink

-Sid

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
Reply
0 Kudos