-
What Is VMFS?
-
Mounting VMFs in Linux Using VMFS-Tools
-
Mounting an Existing VMFS Datastore on a New ESXi Host
-
Comprehensive Protection for Vmware Environments: Vinchin Backup & Recovery
-
Mount VMFS FAQs
-
Conclusion
If your ESXi host crashes, but the server's local disks (disks) are still available, you can always copy the virtual machine files (data drives and configuration files) from the VMFS datastore and run the VM on a different server (even on VMware Workstation or Hyper-V). The main problem is that common operating systems (Windows and Linux) do not recognize partitions with the VMFS file system by default, because they do not have VMFS drivers. In this article, we will see how to access virtual machine files on disks with the VMFS file system.
What Is VMFS?
VMware Virtual Machine File System (VMFS) is a high-performance cluster file system that extends the application of virtualization technology beyond a single system. VMFS allows multiple virtual machines to access a consolidated cluster storage pool, significantly increasing resource utilization. It serves as the foundation for virtualization across multiple servers, enabling various services such as VMware vMotion, Distributed Resource Scheduler, and VMware High Availability.
Features of VMFS
An automatic file system with a hierarchical directory structure
Optimization for virtual machines in a cluster environment
Lock management and distributed logical volume management
Dynamic expansion of data storage across multiple storage partitions
A cluster file system with logging for rapid recovery
Encapsulating the entire virtual machine state in a single directory
Mounting VMFs in Linux Using VMFS-Tools
Mounting a VMFS volume on a non-VMware system like Linux requires the installation of vmfs-tools. This method is ideal for accessing VMFS volumes when VMware environments are unavailable, or when migrating to a different hypervisor, such as Proxmox.
Note: vmfs-tools/vmfs-fuse has limited support for newer VMFS versions and may not fully support VMFS6 created by recent ESXi releases.
Below is the step-by-step guide:
1. Install vmfs-tools
On Ubuntu or Debian, you can install vmfs-tools using the following command:
sudo apt-get install vmfs-tools
2. Identify the VMFS Partition
Use fdisk or lsblk to identify the VMFS partition:
sudo fdisk -l
The VMFS partition is usually labeled as VMFS, and its type might be fb.
3. Mount the VMFS Volume
Once you have identified the partition, use the following command to mount it:
sudo vmfs-fuse /dev/sdX /mnt/vmfs
Replace /dev/sdX with the actual device name, and /mnt/vmfs with the desired mount point.
4. Access the Mounted Files
Navigate to the mount point to access the VMDK files and other VM data:
cd /mnt/vmfs ls
5. Unmounting the VMFS Volume
Once you are done, you can unmount the volume using:
sudo umount /mnt/vmfs
Mounting an Existing VMFS Datastore on a New ESXi Host
The most common way to access data on the VMFS partition of a failed server is to connect its disks to a new ESXi server. In this way, you can reconnect the physical hard drives and LUNs from the storage device (via FC or iSCSI).
The new ESXi host must correctly recognize the attached VMFS datastore for you to access the files on it. Follow the steps below to connect the existing VMFS storage to a new ESXi host without formatting it:
1. Use the vSphere Web Client to connect to the new ESXi server;
2. Attach the drive to the new server and run a storage rescan;
3. Go to Configuration > Datastore section and select the option to create a new datastore;
4. Select the storage type: Disk or LUN;
5. From the list of available devices, select the connected drive (LUN) with the VMFS storage;
6. Choose the connection method. Select the option to keep the existing signature;
7. Click the Finish button;
8. Go to the host's Storage section. Select the connected storage. Click the Datastore Browser button to display its contents;
9. You can now find the necessary “.vmx” files, register them on the host, and immediately start the critical virtual machines.
Below is a table of comparison of the two methods above:
| Method | Best For | Advantages | Limitations |
| VMFS-tools on Linux | File extraction | Access VMFS without ESXi | Limited VMFS support |
| Mount on new ESXi | Full VM recovery | Native VMware support | Requires another ESXi host |
Comprehensive Protection for Vmware Environments: Vinchin Backup & Recovery
Although VMFS mounting can help recover VM files after an ESXi failure, it is still a reactive recovery method. A dedicated VMware backup solution provides faster recovery, automated protection, and better disaster recovery readiness.
Vinchin Backup & Recovery provides comprehensive data protection for VMware environments, offering features such as backup, recovery, replication, and migration for VMware virtual machines. It utilizes deduplication and compression technologies to significantly reduce storage consumption, improving overall storage efficiency. With granular recovery capabilities, users can quickly restore entire virtual machines or individual files, ensuring business continuity. Additionally, vinchin supports various backup strategies, including incremental, differential, and full backups, allowing users to choose the most suitable approach for different scenarios, enhancing the security and stability of VMware virtualized environments.
It only takes 4 steps for you to backup VMware VMs:
1. Expand VM Backup > Backup and select the VMware VM you want to backup from the expanded list.

2. Select the backup destination by configuring the target node and storage device as you desire.

3. Configure backup strategies. You can either start the job now or schedule it aligned with backup time windows and personalized methods.

4. Check the details you set just now and click Submit to let the backup begin.

Try the 60-day full featured free trail of Vinchin Backup & Recovery now to easily protect your VMware data and achieve automated backup and fast recovery!
Mount VMFS FAQs
Q1: Can I mount VMFS on a non-VMware hypervisor like Proxmox?
A: Yes, it is possible to mount VMFS on Proxmox using vmfs-fuse.
Q2: What is the difference between VMFS versions (e.g., VMFS 5 vs. VMFS 6)?
A: VMFS 5 and VMFS 6 are both versions of VMware's file system used for storing virtual machine data. VMFS 6 introduced improvements like automatic space reclamation (using UNMAP) and support for 4K Native Drives. VMFS 5 uses a 1MB block size, while VMFS 6 can use a smaller 512-byte block size.
Conclusion
Mounting VMFS volumes is an essential process for managing storage in virtualized environments, particularly when handling tasks like data recovery, VM migration, or troubleshooting. VMware provides native tools within vSphere and ESXi for seamless volume management, but in cases where you need to access VMFS from non-VMware systems, solutions like “vmfs-tools” on Linux come into play. Each method offers distinct advantages depending on your environment and requirements.
Share on: