I'm attempting to run mbralign on a Linux host against an VMware NFS datastore on a FAS2020. When I run mbralign against proliant.vmdk, I get the following message: "failed to open proliant-000001.vmdk with read access". Any idea what might be causing this?
To check that your existing partitions are aligned, issue the command: fdisk -lu The output is similar to: Device boot Start End Blocks Id System /dev/sdj1 128 167766794 83883333+ fb Unknown Aligned partitions start at 128. If the Start value is 63 (the default), the partition is not aligned. If you choose not to use the VI Client and create partitions with vmkfstools, or if you want to align the default installation partition before use, take the following steps to use fdisk to align a partition manually from the ESX Server service console: Recommendations for Aligning VMFS Partitions 3 1. Enter fdisk /dev/sd where is the device suffix. 2. Determine if any VMware VMFS partitions already exist. VMware VMFS partitions are identified by a partition system ID of fb. Type d to delete to delete these partitions. Note: This destroys all data currently residing on the VMware VMFS partitions you delete. Ensure you back up this data first if you need it. 3. Type n to create a new partition. 4. Type p to create a primary partition. 5. Type 1 to create partition No. 1. 6. Select the defaults to use the complete disk. 7. Type t to set the partition’s system ID. 8. Type fb to set the partition system ID to fb (VMware VMFS volume). 9. Type x to go into expert mode. 10. Type b to adjust the starting block number. 11. Type 1 to choose partition 1. 12. Type 128 to set it to 128 (the array’s stripe element size). 13. Type w to write label and partition information to disk. A best practice for Linux physical as well as virtual machines is to align file system partitions using fdisk. Use the fdisk procedure in the previous section of this paper, and instead of setting the partition system id to fb, set it to 83 (Linux) or other appropriate partition system ID.