Seems this is becoming part of a series. Like the last few posts, this one was also produced from objective 1.1 of the VCDX Blueprint, and is part of my exam prep.
Manage VMFS file systems using command line tools.
[root@ProfessionalVMware root]# vmkfstools
No valid command specified
OPTIONS FOR FILE SYSTEMS:
vmkfstools -C –createfs vmfs3
-b –blocksize #[mMkK]
-S –setfsname fsName
-Z –extendfs extension-partition
-P –queryfs -h –humanreadable
-x –upgradetype [zeroedthick|eagerzeroedthick|thin]
In this case I’ve only included the relevant output.
Creating a VMFS file system:
[root@ProfessionalVMware root]# vmkfstools –create vmfs3 –b 8M –s NewVolume vmhba1:2:0:3
Getting some details on a VMFS file system:
[root@ProfessionalVMware root]# vmkfstools -P /vmfs/volumes/storage1/
VMFS-3.31 file system spanning 1 partitions.
File system label (if any): storage1
Capacity 34628173824 (33024 file blocks * 1048576), 34158411776 (32576 blocks) avail
Partitions spanned (on "lvm"):
While the content may seem obvious to some, this post is here to help those that still have their exams to prep for, or find themselves wandering about aimlessly on the CLI trying to configure NFS. Thanks for tuning in.