msxfs.dll function loading code

msxfs.dll function loading code #include “stdafx.h” #include “WSXFSLoader.h” NS_AWP_DEVICE_WOSA_BEGIN WSXFSLoader::WSXFSLoader() { hDllLib = LoadLibrary(_T(“msxfs.dll”)); if (hDllLib == nullptr) return; WCHAR lpDllPath[MAX_PATH]; GetModuleFileName(hDllLib, lpDllPath, sizeof(lpDllPath)); // Get the process file path HINSTANCE hModule = GetModuleHandle(NULL); WCHAR lpszPath[MAX_PATH]; DWORD dwPathLength = GetModuleFileName(hModule, lpszPath, sizeof(lpszPath)); //Intercept directory *(wcsrchr(lpszPath, ‘\’) + 1) = 0; wcscat_s(lpszPath, _T(“Temp\”)); //WFM m_fpWFMAllocateBuffer = […]

Super practical! Use xfsdump and xfsrestore to create an impeccable data backup and recovery strategy

Foreword Last time we analyzed the recovery method of the EXT file system. With the help of the extundelete tool, only EXT type files can be recovered, but the CentOS 7 system cannot be recovered, because centos7 uses xfs type files by default. There are several types of xfs file system recovery tools: xfsprogs: xfs […]

MinIO solves the problem of full inode of ext4 hard disk (xfs dynamically expands the proportion of inode space)

Table of Contents 1. Problem description Two, the solution 1. Backup minio data to other disks or machines 2. Unmount 3. Do not format the data, change the ext4 file format to xfs file format (unsuccessful, use the following method) 3. Format data 1. Force format xfs 2. Mount 4. Inode space ratio of xfs […]

Backup and Restore of Linux XFS File System

Article directory Backup and Restore of Linux XFS File System XFS file system backup xfsdump grammar xfsdump backs up complete filesystems Incremental backup with xfsdump XFS filesystem restore xfsrestore grammar Use xfsrestore to observe and backup data content after xfsdump Simple recovery of level 0 filesystems Restoring incremental backup data Restore only some files to […]

[Solved] Error: Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c.

The following is the error reported in solving the problem: Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c. Caller xfs_free_extent Internal error xfs_trans_cancel at line 990 of flie fs/xfs/xfs_trans.c. xfs_repair: /dev/mapper/cl-root contains a mounted filesystem xfs_repair: /dev/mapper/cl-root contains a mounted writable filesystem fatal error – couldn’t initialize XFS library Reason I found that most […]

[Solved] Problem solving: The virtual machine centos7 cannot be started normally: XFS (vda3): Corruption of in-memory data detected. Shutting doum filesystem

The system enters rescue mode after booting, and the error is as follows: Generating “/run/initramfs/rdsosreport.txt” Entering emergency mode. Exit the shell to continue. Tupe “journalctl” to view sustem logs. You might want to save “/run/initramfs/rdsosreport.txt” to a USB stick or /boot after mounting them and attach it to a bug report. Through the prompt: View […]