- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - VMware
- >
- ESXi Newbie Needs Help Adding Hard Drives
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2010 10:46 AM
10-14-2010 10:46 AM
ESXi Newbie Needs Help Adding Hard Drives
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2010 04:09 PM
10-14-2010 04:09 PM
Re: ESXi Newbie Needs Help Adding Hard Drives
I had college of mind who has installed the ESX like that and was struggling to create additional VMFS partition on RAID 5 partition. . When he tried to see if I can add using add store wizard but we were not able to see anything under storage wizard
How do we then create additional VMFS partition? We can not add it as extend as discussed in my previous blog. I then found beautiful KB and ask them to follow step by step (You never know if VMware make it paid so copying it on blog)
To create a new VMFS volume from the command line:
1. Locate the LUN you wish to format. For example, vmhba1:2:0.
2. Log in to the ESX console, either directly or through an SSH client.
3. Rescan the adapter to ensure that ESX is updated with the latest storage information. Run the command:
esxcfg-rescan vmhba
where
4. Locate the SCSI device from the console in order to find the device node for the LUN, and make note of the identifier.
For versions of ESX earlier than 4.0, run the command:
esxcfg-vmhbadevs -m
Note: For ESX 3.x, the identifier is in the form of vmhba
.
For ESX 4.0 and later, run the command:
esxcfg-scsidevs -c
Note: For ESX 4.0, the identifier is in the form of naa.
For a Linux device, run the command:
fdisk /dev/sd
where
For a VMkernel device, run the command:
fdisk /vmfs/disk/
where
7. Type p and then Enter to determine if any VMFS partitions already exist.
Note: VMFS partitions are identified by a partition system ID of fb.
8. Type n and then Enter to create a new partition.
9. Type p and then Enter to create a primary partition.
10. Type 1 and then Enter to create partition number 1.
Note: If partitions already exist but you want to use the free space, type 2, 3 or 4. You cannot have more than 4 primary partitions.
11. Select the defaults to use the complete disk.
12. Type t and then Enter to set the partition's system ID.
13. Type fb and then Enter to set the partition system ID to fb (VMware VMFS volume).
14. Skip to step 16 if the partition you created in step 9 is not the first partition.
15. Type x and then Enter to go into expert mode.
16. Type b and then Enter to adjust the starting block number.
17. Type 1 and then Enter to choose partition 1.
18. Type 128 and then Enter to set the offset to 128.
19. Type w and then Enter to write label and partition information to the disk.
20. Use vmkfstools to format the partition.
For ESX 3.x, run the command:
# vmkfstools -C vmfs3 -b
Note: Refer to the applicable identifier in step 4. The last number is the partition number, which must match the partition you created with fdisk.
For example:
# vmkfstools -C vmfs3 -b 8m -S LocalVMFS /vmfs/devices/disks/vmhba1:2:0:
This creates a new VMFS3 volume named LocalVMFS on the target vmhba1:2:0:1 with an 8 MB block size.
For ESX 4.x, run the command:
# vmkfstools -C vmfs3 -b
Note: Please refer to the applicable identifier in step 4. The last number is the partition number, which must match the partition you created with fdisk.
For example:
# vmkfstools -C vmfs3 -b 8m -S LocalVMFS /vmfs/devices/disks/naa.6090a038f0cd6e5165a344460000909b:1
This creates a new VMFS3 volume named LocalVMFS on the target naa.6090a038f0cd6e5165a344460000909b:1 with an 8 MB block size.
21. Rescan the HBAs on all of the ESX hosts to update them with the new information.