Previously, all the company's VPS hosts often crashed and restarted, causing a great impact to the customer. The specific error message is a disk error. In view of the previous use of two 1 TB hard disks for RAID 1, now I want to add two 1 TB hard disks as RAID 1 and then add the new disk array to the original ESX system storage system. However, due to misoperations of IDC personnel, the disk is not added successfully, the original storage system cannot be recognized even after restoration. So I thought of a variety of software that can read the VMFS file format, but many of them are demo versions, but they can't be repeated.
Previously, all the company's VPS hosts often crashed and restarted, causing a great impact to the customer. The specific error message is a disk error. In view of the previous use of two 1 TB hard disks for RAID 1, now I want to add two 1 TB hard disks as RAID 1 and then add the new disk array to the original ESX system storage system. However, due to misoperations of IDC personnel, the disk is not added successfully, the original storage system cannot be recognized even after restoration.
So I thought of a variety of software that can read the VMFS file format, but many of them are in the demo version. I can see that they cannot copy files. to copy files, I have to spend money to purchase the software, unfortunately, google accidentally saw a vmfs-tools Package in the Ubuntu system to implement this function, so I was so happy to download it and finally succeeded.
The procedure is as follows:
1. first, you must install the unbuntu system, which can be X86 or X64. The version must be 9.10 or later. The 10.04 X64 version is used here. The specific installation is not described in detail, after installation, remember to install the compilation package as follows:
Sudo apt-get install build-essential
2. Install vmfs-tools
Sudo apt-get install vmfs-tools
If you cannot use apt-get installation, you can also directly download the source file compilation installation, is the http://glandium.org/projects/vmfs-tools/
Make & make install
3. mount a hard disk in the vmfs File Format
Www.linuxidc.com @ linuxidc ~ $ Sudo fdisk-l
Disk/dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065*512 = 8225280 bytes Sector size (logical/physical ): 512 bytes/512 bytes I/O size (minimum/optimal): 512 bytes/512 bytes Disk identifier: 0x49e2fd2f Device Boot Start End Blocks Id System
/Dev/sdb1*1 140 1124518 + 83 Linux
/Dev/sdb2 141 154 112455 fc VMware VMKCORE
/Dev/sdb3 155 19457 155051347 + f W95 Ext 'd (LBA)
/Dev/sdb5 155 19457 155051316 fb VMware VMFS
/Dev/sdb5 is the partition in the vmfs file format.
Www.linuxidc.com @ linuxidc ~ $ Sudo vmfs-fuse/dev/sdb5/opt/vmfs
Run this command to mount the vmfs partition to/opt/vmfs and run the cp command to copy the files.
4. If you want to know